|
各位兄台,昨天晚上安装的 squeeze。默认开机发现 网卡没有启动
# ifconfig 显示为空
使用 ifconfig eth0 up && dhclient eth0 手动开启 网卡
获取 ip 地址
我的 /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto eth0
- iface eht0 inet dhcp
复制代码
$ dmesg |grep eth
- [ 3.432380] 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) f0:4d:a2:34:c2:97
- [ 3.432382] 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
- [ 3.432413] 0000:00:19.0: eth0: MAC: 8, PHY: 8, PBA No: 2011ff-0ff
- [ 261.116523] ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 262.716754] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
- [ 262.716757] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
- [ 262.717155] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- [ 272.980254] eth0: no IPv6 routers present
复制代码
$ update-rc.d networking defaults
- update-rc.d: using dependency based boot sequencing
- update-rc.d: warning: networking start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (S)
- update-rc.d: warning: networking stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 6)
复制代码
谢谢各位,兄台了@ |
|