我是 Linux 新手,我希望你能帮助我,我正在使用一台几年前建造的具有双启动(Windows 7 / Ubuntu 14.04)的计算机,我的互联网连接使用以太网电缆在 Windows 7 上运行良好,但在 Ubuntu 中不起作用,相反,我正在使用一个运行非常慢的 TL-WN7200ND USB 适配器。
我在这里发布一些信息:
主板:技嘉 970A-UD3P
Ubuntu 启动时显示消息:“等待网络配置”
一些命令的输出:
~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr fc:aa:14:e5:93:c2
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:420 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5179 (5.1 KB) TX bytes:2955 (2.9 KB)
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:1131 errors:0 dropped:0 overruns:0 frame:0
TX packets:1131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:133304 (133.3 KB) TX bytes:133304 (133.3 KB)
wlan0 Link encap:Ethernet HWaddr 90:f6:52:0c:4d:d2
inet addr:192.168.15.206 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::92f6:52ff:fe0c:4dd2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94866 errors:0 dropped:0 overruns:0 frame:0
TX packets:66743 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:91597403 (91.5 MB) TX bytes:11078624 (11.0 MB)
~$ sudo lshw -class network
*-network DISABLED
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 0c
serial: fc:aa:14:e5:93:c2
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:73 ioport:d000(size=256) memory:fe100000-fe100fff memory:d2100000-d2103fff
*-network
description: Wireless interface
physical id: 1
bus info: usb@8:1.4
logical name: wlan0
serial: 90:f6:52:0c:4d:d2
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rt2800usb driverversion=3.16.0-44-generic firmware=0.29 ip=192.168.15.206 link=yes multicast=yes wireless=IEEE 802.11bgn
~$ iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"AXTEL-5879"
Mode:Managed Frequency:2.412 GHz Access Point: E0:1D:3B:46:7B:C8
Bit Rate=58.5 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=31/70 Signal level=-79 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:53 Missed beacon:0
lo no wireless extensions.
~$sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
~$ cat /var/lib/NetworkManager/NetworkManager.state
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
~$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
希望您能帮助我,我真的想开始使用 Ubuntu。谢谢!
答案1
Windows 可以在关机时禁用以太网适配器,如本问答中所述:(Ubuntu(双启动 Windows)以太网未连接/检测)。如果是这种情况,则(在 Windows XP 下)请按照下列步骤操作:
Right click my computer and choose "Properties"
--> "Hardware" tab --> Device Manager
--> Network Adapters
--> "double click" Realtek ...
--> Advanced tab
--> Wake-On-Lan After Shutdown
--> Enable
抱歉,我手边没有 Windows 7,无法列出其详细步骤,但您应该能够通过上面列出的步骤和一点谷歌搜索(如果有必要)来弄清楚。
答案2
您的无线连接似乎正在使用中。通常,您必须禁用一个网络才能启用另一个网络。
您是否尝试过不使用 wifi 设备进行连接?您发布的结果似乎表明您当前已使用无线网络连接到网络,而以太网连接已被禁用。