TTEP.CN > 手机 >

手动连线上网设定/etc/network/interfaces

手动连线上网设定/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
路由器
ifup eth0=config

ifdown eth0=config

pppoe

ifup eth0=pppoe

ifdown eth0=pppoe

隐藏的SSID

ifup wlan0

ifdown wlan0

生 psk passphrase

wpa_passphrase "ID" "密"


最近发表
赞助商链接