|
|

楼主 |
发表于 2008-12-23 22:35:02
|
显示全部楼层
Post by xeoc;1928668
- -!,谁给介绍interface的具体写法?
這是個例子,你應該看得懂的。
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.168
netmask 255.255.255.0
gateway 192.168.0.1
iptables-restore < /etc/iptables.up.rules &
auto wlan1
iface wlan1 inet static
address 192.168.0.168
netmask 255.255.255.0
gateway 192.168.0.1
pre-up iwconfig wlan1 essid freebox enc s:0149804436 | wpa_supplicant -Dwext -i wlan1 -c /etc/wpa_supplicant.conf & |
|