手动连线上网设定/etc/network/interfaces
01
auto lo
02
iface lo inet loopback
03
04
05
iface config inet dhcp
06
07
08
iface pppoe inet manual
09
pre-up /sbin/ifconfig eth0 up
10
up ifup ppp0=dsl-provider
11
down ifdown ppp0=dslprovider
12
post-down /sbin/ifconfig eth0 down
13
14
15
iface dsl-provider inet ppp
16
provider dsl-provider
17
18
19
iface wlan0 inet dhcp
20
wpa-ssid abc
21
wpa-scan-ssid 1 #需要,因 hidden SSID
22
wpa-psk <span style="font-size:9pt;line-height:1.5;"></span>