|
|
TESTING 和 STABLE的 网卡设置是不是不一样?我根据STABLE设置了TESTING下的 /etc/network/interface 固定IP地址。结果网卡无法在系统起动时自动起动,必须进入系统后输入ifup eth0才行,郁闷。设置如下:
# The loopback network interface
auto lo eth0
iface lo inet loopback
# The primary network interface
#allow-hotplug eth0
#auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
如果改成:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
网卡也无法自动起动。
如果用DHCP就没问题。。。
请高手指教,谢谢 |
|