Linux中,ifconfig只有lo0,没有网卡驱动(eth0,eth1等)

1.开启eth0:ifconfig eth0 up
2.更新IP地址:sudo dhclient eth0
3.然后运行:sudo ifconfig eth0
4.reboot
5.dhclient eth0

posted @ 2017-07-11 19:04  孟夏草木长  阅读(2294)  评论(0编辑  收藏  举报