ubuntu-12.04 无法联网 没有eth0解决方法

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
watrul
帖子: 11
注册时间: 2010-09-08 13:18

ubuntu-12.04 无法联网 没有eth0解决方法

#1

帖子 watrul » 2013-01-12 17:16

我的笔记本安装的是ubuntu-12.04.1-desktop-amd64和WIN7双系统。我发现用WIN7时,插网线的接口灯会亮,;通过宽带连接能上网,当用UBUNTU的时候,接口就不亮了,使用DSL无法上网,使用sudo pppoeconf后第一步就错误,大概意思就是无法连接。 :em01 :

我的网卡是 Qualcomm Atheros AR9285 无线Network Adapter

用ifconfig看不到eth0,只能看到lo和wlan0,。
当我禁用了wlan0后,在终端看到 的内容是这样的。
haha@haha-QTC6:~$ ifconfig
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:624 errors:0 dropped:0 overruns:0 frame:0 TX packets:624 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:52784 (52.7 KB) TX bytes:52784 (52.7 KB)

haha@haha-QTC6:~$ sudo vi /etc/network/interfaces

haha@haha-QTC6:~$ sudo /etc/init init/ init.d/ initramfs-tools/

haha@haha-QTC6:~$ sudo /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces...
Cannot find device "eth0" Failed to bring up eth0. [ OK ]

haha@haha-QTC6:~$ ifconfig
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:688 errors:0 dropped:0 overruns:0 frame:0 TX packets:688 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:58032 (58.0 KB) TX bytes:58032 (58.0 KB)
haha@haha-QTC6:~$

我已经在 /etc/network/interfaces添加了eth0,可是ifconfig就只看见LO,没有eth0.
然后我就重启一下ubuntu,在启动时,屏幕显示wait for network configuration
当来到桌面时,就没有网络连接的图标了。
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
找到上网那个的方法了。这类问题是由于操作系统没有对应的网卡驱动所造成的,我们只需要下载对应的linux网卡驱动就能解决此问题
2013年1月16日19时01分48秒,来自ubuntu电脑用户
回复