当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 工作站安装win7和ubuntu16.04出现连不上网的情况
帖子发表于 : 2018-01-29 15:11 

注册: 2018-01-29 15:00
帖子: 3
系统: ubuntu
送出感谢: 0 次
接收感谢: 0 次
请各位大神指点,我是在工作站上安装的win7和ubuntu16.04双系统,由于办公室里面只有一个端口,我们使用路由器分出多条网线上网。现在双系统已经安装成功了,但是在ubuntu下面上不去网,win7下面可以。配置网络,把自动获取改成手动调整为办公室分配到的IP地址,但是虽然显示连上网络,但是网页都打不开,希望大神给予指点!先谢谢各位了!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 工作站安装win7和ubuntu16.04出现连不上网的情况
帖子发表于 : 2018-01-29 16:00 

注册: 2009-08-04 16:33
帖子: 17912
送出感谢: 21
接收感谢: 1924
引用:
虽然显示连上网络,但是网页都打不开,

把下面指令 複製 貼進終端機 執行
1. sudo ip addr show
2. sudo ip route show
3. sudo dhclient -v
4. sudo ping -c 3 127.0.0.1
5. sudo ping -c 3 198.71.84.64
6. sudo ping -c 3 forum.ubuntu.org.cn
7. sudo ls -al /etc/resolv.conf
8. sudo cat /etc/resolv.conf
把指令及回應結果全部直接 選取/複製/貼上來
不要摘錄 以免遺漏重要訊息
不要擷圖 方便回文直接引用你貼上來的資料 方便你閱讀


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 工作站安装win7和ubuntu16.04出现连不上网的情况
帖子发表于 : 2018-01-29 17:12 

注册: 2018-01-29 15:00
帖子: 3
系统: ubuntu
送出感谢: 0 次
接收感谢: 0 次
脚本启动于 2018年01月30日 星期二 16时49分57秒
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudo ip addre show
[sudo] sunzhe 的密码:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp9s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 48:4d:7e:ec:6c:50 brd ff:ff:ff:ff:ff:ff
inet 169.254.8.78/16 brd 169.254.255.255 scope link enp9s0:avahi
valid_lft forever preferred_lft forever
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 48:4d:7e:ec:6c:33 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.102/24 brd 192.168.2.255 scope global enp0s25
valid_lft forever preferred_lft forever
inet6 fe80::ef7b:a821:7605:2971/64 scope link
valid_lft forever preferred_lft forever
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudpo ip route show
default via 192.168.2.1 dev enp0s25 proto static metric 100
default dev enp9s0 scope link metric 1002 linkdown
169.254.0.0/16 dev enp9s0 proto kernel scope link src 169.254.8.78 linkdown
169.254.0.0/16 dev enp0s25 proto static scope link metric 1000
192.168.2.0/24 dev enp0s25 proto kernel scope link src 192.168.2.102 metric 100
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudpo dhclient -cv
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp9s0:avahi/48:4d:7e:ec:6c:50
Sending on LPF/enp9s0:avahi/48:4d:7e:ec:6c:50
Listening on LPF/enp0s25/48:4d:7e:ec:6c:33
Sending on LPF/enp0s25/48:4d:7e:ec:6c:33
Listening on LPF/enp9s0/48:4d:7e:ec:6c:50
Sending on LPF/enp9s0/48:4d:7e:ec:6c:50
Sending on Socket/fallback
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 3 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 3 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 3 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 8 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 3 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 6 (xid=0x72e26274)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 6 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 10 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 9 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 10 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 18 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 9 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 13 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 9 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 14 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 21 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 16 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 19 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 12 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 10 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 7 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 17 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 14 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 11 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 8 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 7 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 21 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 14 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 7 (xid=0xdbe38d47)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 14 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 17 (xid=0x72e26274)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 12 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 13 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 8 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 21 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 14 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 14 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 13 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 12 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 19 (xid=0x72e26274)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 9 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 19 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 10 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 16 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 9 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 15 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 16 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 20 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 18 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 18 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 12 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 18 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 12 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 12 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 16 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 21 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 10 (xid=0xdbe38d47)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 13 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 16 (xid=0x4b871572)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 13 (xid=0x72e26274)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 8 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 13 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 15 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 20 (xid=0x72e26274)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 14 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 20 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 19 (xid=0x72e26274)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 7 (xid=0x4b871572)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 10 (xid=0x4b871572)
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 11 (xid=0xdbe38d47)
DHCPDISCOVER on enp9s0:avahi to 255.255.255.255 port 67 interval 5 (xid=0x72e26274)
DHCPDISCOVER on enp9s0 to 255.255.255.255 port 67 interval 3 (xid=0x4b871572)
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudo ping -c 3 128.0.0.1
PING 128.0.0.1 (128.0.0.1) 56(84) bytes of data.
From 192.168.2.102 icmp_seq=1 Destination Host Unreachable
From 192.168.2.102 icmp_seq=2 Destination Host Unreachable

--- 128.0.0.1 ping statistics ---
3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 2000ms
pipe 2
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudo ping -c 3 128.0.0.198.71.84.64
PING 198.71.84.64 (198.71.84.64) 56(84) bytes of data.
From 192.168.2.102 icmp_seq=1 Destination Host Unreachable
From 192.168.2.102 icmp_seq=2 Destination Host Unreachable

--- 198.71.84.64 ping statistics ---
3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 2017ms
pipe 2
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudo ping -c 3 198.71.84.64forum.ubuntu.org.cn
ping: unknown host forum.ubuntu.org.cn
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudo ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 1月 29 13:40 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ sudo cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
]0;sunzhe@sunzhe-Precision-Tower-7910: ~sunzhe@sunzhe-Precision-Tower-7910:~$ exit
exit

脚本完成,于 2018年01月30日 星期二 17时00分29秒


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 工作站安装win7和ubuntu16.04出现连不上网的情况
帖子发表于 : 2018-01-29 17:56 

注册: 2009-08-04 16:33
帖子: 17912
送出感谢: 21
接收感谢: 1924
引用:
4. sudo ping -c 3 127.0.0.1

引用:
sudo ping -c 3 128.0.0.198.71.84.64

引用:
5. sudo ping -c 3 198.71.84.64

引用:
sudo ping -c 3 198.71.84.64forum.ubuntu.org.cn
ping: unknown host forum.ubuntu.org.cn

1. 127.0.0.1 不是 128.0.0.1
引用:
把下面指令 複製 貼進終端機 執行

2. 為何多出那麼多的  ?
引用:
脚本启动于 2018年01月30日 星期二 16时49分57秒
脚本完成,于 2018年01月30日 星期二 17时00分29秒

3. 請依照

原來的指令
指令的回應
空一格

以利閱讀


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 工作站安装win7和ubuntu16.04出现连不上网的情况
帖子发表于 : 2018-01-30 16:25 

注册: 2018-01-29 15:00
帖子: 3
系统: ubuntu
送出感谢: 0 次
接收感谢: 0 次
谢谢大神的回复,我是生成的屏幕的log文件,出现修改的地方就会出现 这种情况,可能是显示的问题。我猜测是缺少驱动的原因导致上不去网,因为我这里比较着急用,所以我就直接在网上买了一个USB无线网卡,现在能上网了,不过还得再次感谢您的帮助!!!非常感谢!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译