求大神帮忙,我的ubuntu14.04无法连接有线网络,可以上无线。

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
yemaobumei
帖子: 6
注册时间: 2014-03-08 17:18
系统: ubuntu

求大神帮忙,我的ubuntu14.04无法连接有线网络,可以上无线。

#1

帖子 yemaobumei » 2014-09-15 15:22

之前装过12.04版的,可以上网。可是换成4.04就上不了有线了。刚刚还按照http://forum.ubuntu.org.cn/viewtopic.php?f=116&t=463646这个帖子,9楼的方法,装了驱动,却显示第一张图的情况,之后连有线网络wired connection 1都不显示了在右上角的图标里。下面贴上各种代码的结果。
uname -a
lspci
sudo lshw -C network
ifconfig
ping 192.168.1.1 -c 4
tail /var/log/syslog -n 20
1. sudo ls -al /etc/resolv.conf
2. sudo cat /etc/resolv.conf
附件
11.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求大神帮忙,我的ubuntu14.04无法连接有线网络,可以上无线。

#2

帖子 poloshiao » 2014-09-15 15:49

1. 把 無線網卡 關閉
或 從右上方 連線圖示 把 無線連線設定 自動連線 打勾取消
2. 重開機
3. 把下面指令 複製 貼進終端機 執行
3-1. sudo lshw -numeric -class network
3-2. sudo ifconfig -a
3-3. sudo route -nv
3-4. sudo rfkill list all
3-5. sudo dhclient -v
把結果直接複製 貼上來 (不必擷圖)
yemaobumei
帖子: 6
注册时间: 2014-03-08 17:18
系统: ubuntu

Re: 求大神帮忙,我的ubuntu14.04无法连接有线网络,可以上无线。

#3

帖子 yemaobumei » 2014-09-15 17:17

22.png
附件
21.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求大神帮忙,我的ubuntu14.04无法连接有线网络,可以上无线。

#4

帖子 poloshiao » 2014-09-15 17:30

把結果直接複製 貼上來 (不必擷圖)
直接複製 貼上來 (不必擷圖)
方便 回覆時 引用你的數據
擷圖 回覆時 引用你的數據 不方便
yemaobumei
帖子: 6
注册时间: 2014-03-08 17:18
系统: ubuntu

Re: 求大神帮忙,我的ubuntu14.04无法连接有线网络,可以上无线。

#5

帖子 yemaobumei » 2014-09-15 18:09

alien@alien-Lenovo-G460:~$ sudo lshw -numeric -class network
[sudo] password for alien:
*-network
description: Network controller
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:06:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=bcma-pci-bridge latency=0
resources: irq:17 memory:d9100000-d9103fff
*-network UNCLAIMED
description: Ethernet controller
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10EC:8136]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:07:00.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list
configuration: latency=0
resources: ioport:2000(size=256) memory:d5110000-d5110fff memory:d5100000-d510ffff memory:d5120000-d513ffff
*-network
description: Wireless interface
physical id: 3
logical name: wlan0
serial: 00:26:82:ea:87:ae
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=brcmsmac driverversion=3.13.0-35-generic firmware=610.812 ip=192.168.253.3 link=yes multicast=yes wireless=IEEE 802.11bgn
alien@alien-Lenovo-G460:~$ sudo ifconfig -a
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:65536 Metric:1
RX packets:2600 errors:0 dropped:0 overruns:0 frame:0
TX packets:2600 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:249690 (249.6 KB) TX bytes:249690 (249.6 KB)

wlan0 Link encap:Ethernet HWaddr 00:26:82:ea:87:ae
inet addr:192.168.253.3 Bcast:192.168.253.255 Mask:255.255.255.0
inet6 addr: fe80::226:82ff:feea:87ae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5173 errors:0 dropped:0 overruns:0 frame:0
TX packets:6480 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2619518 (2.6 MB) TX bytes:875820 (875.8 KB)

alien@alien-Lenovo-G460:~$ sudo route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.253.1 0.0.0.0 UG 0 0 0 wlan0
192.168.253.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
alien@alien-Lenovo-G460:~$ sudo rfkill list all
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
alien@alien-Lenovo-G460:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:26:82:ea:87:ae
Sending on LPF/wlan0/00:26:82:ea:87:ae
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x21d66d74)
DHCPREQUEST of 192.168.253.3 on wlan0 to 255.255.255.255 port 67 (xid=0x21d66d74)
DHCPOFFER of 192.168.253.3 from 192.168.253.1
DHCPACK of 192.168.253.3 from 192.168.253.1
RTNETLINK answers: File exists
bound to 192.168.253.3 -- renewal in 256 seconds.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求大神帮忙,我的ubuntu14.04无法连接有线网络,可以上无线。

#6

帖子 poloshiao » 2014-09-15 20:55

*-network UNCLAIMED
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10EC:8136]
configuration: latency=0
1. 有線網卡 RTL8101E/RTL8102E
2. 沒有作用中驅動
3. http://www.realtek.com.tw/downloads/dow ... 2/RTL8106E
Unix (Linux)
LINUX driver for kernel 3.x and 2.6.x and 2.4.x
Version 1.025
2014/3/4
共有六個下載網址
選一個下載
解壓縮以後 詳細看看 大寫字母的文字檔 看看如何安裝
回复