From 272f989955b3fdff28d30b3386096c46260f2a84 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 10 Jun 2007 00:04:25 +0200 Subject: [PATCH] Added some more examples to /etc/network/interfaces.examples --- debian/changelog | 6 +++++ etc/network/interfaces.examples | 54 ++++++++++++++++++++++++++++++++++------- 2 files changed, 51 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2c7edc6..76c4f42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-etc-core (0.3.12) unstable; urgency=low + + * Added some more examples to /etc/network/interfaces.examples. + + -- Michael Prokop Sun, 10 Jun 2007 00:04:08 +0200 + grml-etc-core (0.3.11) unstable; urgency=low * /etc/zsh/zshrc: diff --git a/etc/network/interfaces.examples b/etc/network/interfaces.examples index 8ffde07..02eba17 100644 --- a/etc/network/interfaces.examples +++ b/etc/network/interfaces.examples @@ -1,4 +1,5 @@ # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) +# Also check out /usr/share/doc/ifupdown/examples/network-interfaces.gz # The loopback interface # automatically added when upgrading @@ -70,8 +71,8 @@ iface lo inet loopback # map 192.168.0.90/24 192.168.0.42 home # map 129.27.140.238/24 129.27.140.241 spsc # map 192.168.0.90/24 192.168.0.100 sevian7 -# map 192.168.0.90/24 192.168.0.1 annenhof -# map 195.177.251.50/255.255.255.224 195.177.251.33 kunstlabor +# map 192.168.0.90/24 192.168.0.1 work +# map 195.177.251.50/255.255.255.224 195.177.251.33 office # # iface home inet static # address 192.168.0.90 @@ -82,7 +83,6 @@ iface lo inet loopback # up cp /etc/apt/sources.list.home /etc/apt/sources.list # up cp /etc/resolv.conf.home /etc/resolv.conf # -# # iface spsc inet static # address 129.27.140.238 # netmask 255.255.255.0 @@ -91,16 +91,52 @@ iface lo inet loopback # up cp /etc/apt/sources.list.spsc /etc/apt/sources.list # up cp /etc/resolv.conf.spsc /etc/resolv.conf # -# iface annenhof inet static +# iface work inet static # address 192.168.0.90 # netmask 255.255.255.0 # gateway 192.168.0.1 # -# up cp /etc/resolv.conf.annenhof /etc/resolv.conf +# up cp /etc/resolv.conf.work /etc/resolv.conf # -# iface sevian7 inet dhcp +# iface dhcp inet dhcp +# +# iface office inet dhcp +# up cp /etc/apt/sources.list.office /etc/apt/sources.list +# +# iface realraum inet static +# wireless_essid graz.funkfeuer.at +# wireless_ap 08:CA:FF:EE:BA:BE +# wireless-mode Ad-Hoc +# address 10.13.0.13 +# netmask 255.255.255.224 +# gateway 10.13.0.1 +# dns-nameservers 83.64.208.23 +# +## Madwifi - http://madwifi.org/wiki/UserDocs/Distro/Debian/ConfiguringtheMadWifidevice +# iface ath0 inet static +# pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap +# post-down wlanconfig ath0 destroy +# wireless-essid my-essid +# +# iface home inet dhcp +# wireless-mode Managed +# wireless-essid secret +# wpa-ssid secret +# wpa-psk secret +# +# iface wpa inet dhcp +# wpa-conf /etc/wpa_supplicant.conf +# +# iface nat inet static +# address 10.23.42.1 +# netmask 255.255.255.0 +# up iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE +# up echo "1" > /proc/sys/net/ipv4/ip_forward +# +# iface oldwpa inet dhcp +# wireless-mode Managed +# wireless-essid mikaasus +# pre-up wpa_supplicant -Dwext -iipw -c/etc/wpa_supplicant.conf -B +# down killall wpa_supplicant # -# iface kunstlabor inet dhcp -# up cp /etc/apt/sources.list.kunstlabor /etc/apt/sources.list - # EOF -- 2.1.4