DHCP改成手動設定固定IP記錄 + 換Ubuntu更新來源庫記錄
最近更新怪怪的
把tw更改來源至us
$ sudo vi /etc/apt/sources.list
:%s/tw./us./g
DHCP改成手動設定固定IP記錄
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.222
netmask 255.255.255.0
network 192.160.0.1
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8
# dns-search lianhung.com.tw
把tw更改來源至us
$ sudo vi /etc/apt/sources.list
:%s/tw./us./g
DHCP改成手動設定固定IP記錄
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.222
netmask 255.255.255.0
network 192.160.0.1
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8
# dns-search lianhung.com.tw
留言