1.重新啟動網路:
sudo /etc/init.d/networking restart
2.啟動網路:
sudo /etc/init.d/networking start
3.關閉網路:
sudo /etc/init.d/networking stop
4. 設定網路組態
sudo vi /etc/network/interfaces
#DHCP
auto eth0
iface eth0 inet dhcp
#Static IP 設定方式:
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.254
5.pppoe設定上網
sudo pppoeconf
沒有留言:
張貼留言