以太网连接不显示

以太网连接不显示

请帮忙。我有 15.04 版的 UBUNTU。我现在面临的问题是:我已连接到以太网,但它始终显示您现在处于离线状态。它从不显示局域网连接徽标。我还尝试启动新版本的 ubuntu 15.10。但在安装时它显示“您现在已断开连接”。请告诉我问题出在哪里。我现在真的很沮丧。请帮帮我。

lspci -knn | grep Eth -A2:
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
    Subsystem: Elitegroup Computer Systems Device [1019:99d2]
    Kernel driver in use: r8169

sudo iwconfig:
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on

lo        no wireless extensions.

eth0      no wireless extensions.


dmesg |grep Network ;

[   16.207523] audit: type=1400 audit(1453555574.981:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=429 comm="apparmor_parser"
[   16.207529] audit: type=1400 audit(1453555574.981:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=429 comm="apparmor_parser"

ifconfig:

eth0      Link encap:Ethernet  HWaddr 10:78:d2:05:9a:15  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:87 errors:0 dropped:0 overruns:0 frame:0
          TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:10724 (10.7 KB)  TX bytes:10724 (10.7 KB)

cat /etc/network/interfaces:



# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

答案1

使用 wifi 连接到互联网并在终端中运行:

sudo apt-get install r8168-dkms

然后重新启动。这将为该适配器安装备用以太网驱动程序。

相关内容