我有一台 HP Compaq nx6310 笔记本电脑,最近在上面安装了 Ubuntu 13.04。我有一台 TP-Link WR720N 路由器,连接到另一个运行 Windows 8 Pro 的系统。问题是我可以连接到路由器,但我的 Ubuntu 系统无法访问互联网,但在 Windows 上可以正常工作。请在这方面帮助我。
输出ifconfig
:
saumya@saumya-HP-Compaq-nx6310:~$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:17:08:30:43:9b
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::217:8ff:fe30:439b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:674 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:125357 (125.3 KB) TX bytes:21771 (21.7 KB)
Interrupt:16
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:616 errors:0 dropped:0 overruns:0 frame:0
TX packets:616 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:47392 (47.3 KB) TX bytes:47392 (47.3 KB)
输出iwconfig
:
saumya@saumya-HP-Compaq-nx6310:~$ iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
输出nm-tool
:
saumya@saumya-HP-Compaq-nx6310:~$ nm-tool
NetworkManager Tool
State: connected (global)
- Device: eth1 [Wired connection 1] -----------------------------------------
Type: Wired
Driver: b44
State: connected
Default: yes
HW Address: 00:17:08:30:43:9B
Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.0.101
Prefix: 24 (255.255.255.0)
Gateway: 192.168.0.1
DNS: 8.8.8.8
DNS: 4.2.2.2
输出ping -c2 192.168.0.1
:
saumya@saumya-HP-Compaq-nx6310:~$ ping -c2 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=0.445 ms
64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=0.158 ms
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.158/0.301/0.445/0.144 ms
输出ping -c2 4.2.2.2
:
saumya@saumya-HP-Compaq-nx6310:~$ ping -c2 4.2.2.2
PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data.
64 bytes from 4.2.2.2: icmp_req=1 ttl=46 time=446 ms
64 bytes from 4.2.2.2: icmp_req=2 ttl=46 time=280 ms
--- 4.2.2.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 280.625/363.365/446.105/82.740 ms