ubuntu无法联网

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
Ppbellppbell
帖子: 5
注册时间: 2016-09-26 14:40
系统: ubuntu

ubuntu无法联网

#1

帖子 Ppbellppbell » 2016-09-27 12:30

ubuntu无法联网,为什么呢
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu无法联网

#2

帖子 poloshiao » 2016-09-27 12:35

把下面指令 複製 貼進終端機 執行
0. uname -a
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo dhclient -v
把結果直接 選取/複製/貼上來
tsyszmtzq
帖子: 1
注册时间: 2016-11-21 21:36

Re: ubuntu无法联网

#3

帖子 tsyszmtzq » 2016-11-21 21:39

ttt@ttt-Lenovo-Product:~$ uname -a
Linux ttt-Lenovo-Product 4.8.0-22-generic #24-Ubuntu SMP Sat Oct 8 09:14:42 UTC 2016 i686 i686 i686 GNU/Linux
ttt@ttt-Lenovo-Product:~$ lspci -knn | grep -iA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 05)
DeviceName: Onboard LAN
Subsystem: Lenovo 82579LM Gigabit Network Connection [17aa:3070]
Kernel driver in use: e1000e
Kernel modules: e1000e
ttt@ttt-Lenovo-Product:~$ sudo lshw -C net
[sudo] ttt 的密码:
*-network
description: Ethernet interface
product: 82579LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 05
serial: 44:37:e6:90:5a:ae
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=10.0.10.233 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:25 memory:fe700000-fe71ffff memory:fe727000-fe727fff ioport:f020(size=32)
ttt@ttt-Lenovo-Product:~$ sudo ifconfig -a
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.10.233 netmask 255.255.255.0 broadcast 10.0.10.255
inet6 fe80::7442:d06e:1e92:5c4f prefixlen 64 scopeid 0x20<link>
ether 44:37:e6:90:5a:ae txqueuelen 1000 (以太网)
RX packets 89 bytes 9269 (9.2 KB)
RX errors 0 dropped 5 overruns 0 frame 0
TX packets 145 bytes 14342 (14.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfe700000-fe720000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (本地环回)
RX packets 5456 bytes 328024 (328.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5456 bytes 328024 (328.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ttt@ttt-Lenovo-Product:~$ nmcli dev show
GENERAL.设备: eno1
GENERAL.类型: ethernet
GENERAL.硬件地址: 44:37:E6:90:5A:AE
GENERAL.MTU: 1500
GENERAL.状态: 100 (已连接)
GENERAL.连接: 有线连接 1
GENERAL.连接路径: /org/freedesktop/NetworkManager/ActiveConnection/0
WIRED-PROPERTIES.载波: 开启
IP4.地址[1]: 10.0.10.233/24
IP4.网关: 10.0.10.1
IP4.路由[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 10.0.10.1
IP6.地址[1]: fe80::7442:d06e:1e92:5c4f/64
IP6.网关:

GENERAL.设备: lo
GENERAL.类型: loopback
GENERAL.硬件地址: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.状态: 10 (未托管)
GENERAL.连接: --
GENERAL.连接路径: --
IP4.地址[1]: 127.0.0.1/8
IP4.网关:
IP6.地址[1]: ::1/128
IP6.网关:
ttt@ttt-Lenovo-Product:~$ nmcli d s | grep connected | awk '{print $4}' | xargs nmcli c s
名称 UUID 类型 设备
有线连接 1 cf1aa912-2e89-3907-9430-0548902832e9 802-3-ethernet eno1
ttt@ttt-Lenovo-Product:~$ nmcli c s
名称 UUID 类型 设备
有线连接 1 cf1aa912-2e89-3907-9430-0548902832e9 802-3-ethernet eno1
ttt@ttt-Lenovo-Product:~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu无法联网

#4

帖子 poloshiao » 2016-11-22 7:33

把下面指令 複製 貼進終端機 執行
1. ping -c 3 127.0.0.1
2. ping -c 3 10.0.10.233
3. ping -c 3 10.0.10.1
4. ping -c 3 198.71.86.201
5. ping -c 3 forum.ubuntu.org.cn
把結果直接 選取/複製/貼上來
回复