手動連線上網設定 /etc/network/interfaces

手動連線上網

/etc/network/interfaces

auto lo
iface lo inet loopback


iface config inet dhcp


iface pppoe inet manual
pre-up /sbin/ifconfig eth0 up
up ifup ppp0=dsl-provider
down ifdown ppp0=dslprovider
post-down /sbin/ifconfig eth0 down


iface dsl-provider inet ppp
provider dsl-provider


iface wlan0 inet dhcp
wpa-ssid abc
wpa-scan-ssid 1 #需要,因 hidden SSID
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" "密碼" 

http://www.debian.org/doc/manuals/debian-reference/ch05.en.html

http://unix.stackexchange.com/questions/48431/connect-to-hidden-wifi-ap-with-wpa-supplicant

http://ubuntuforums.org/showthread.php?t=202834

你可能感兴趣的:(linux,gnu,pppoe)