- 取得連結
- 以電子郵件傳送
- 其他應用程式
- 取得連結
- 以電子郵件傳送
- 其他應用程式
DHCP設定方式
sudo vim /etc/network/interfaces
內容:
auto eth0
iface eth0 inet dhcp
固定IP設定方式
sudo vim /etc/network/interfaces
內容:
auto eth0
iface eth0 inet static
address 192.168.1.123
netmask 255.255.255.0
gateway 192.168.1.1
sudo vim /etc/network/interfaces
內容:
auto eth0
iface eth0 inet dhcp
固定IP設定方式
sudo vim /etc/network/interfaces
內容:
auto eth0
iface eth0 inet static
address 192.168.1.123
netmask 255.255.255.0
gateway 192.168.1.1
*gateway 填寫router那台的ip
設定完成後重啟網路:
sudo /etc/init.d/networking restart
留言
張貼留言