我是用 seednet 的 DHCP 設定上網的,最近因為
過了一段時間之後就網路就不能用了,是因為 expire 了嘛?
常常要自己重新啟動 /etc/init.d/networking ,
#/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet lookback
#/var/run/dhclient.eth0.leases
lease {
interface "eth0";
fixed-address -.-.200.240;
option subnet-mask 255.255.254.0;
option routers -.-.200.1;
option domain-name-servers 139.175.150.20,139.175.55.244;
option vendor-encapsulated-options 2:4:0:0:0:1;
option dhcp-lease-time 28800;
option dhcp-message-type 5;
option dhcp-server-identifier 139.175.69.1;
option dhcp-renewal-time 14400;
option dhcp-rebinding-time 21600;
renew 1 2005/3/7 05:12:22;
rebind 1 2005/3/7 07:12:22;
expire 1 2005/3/7 09:12:22;
}
麻煩各位,如何不用自己手動更新啊 ?! thanks!