很奇怪的问题(上网)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
poweruser
帖子: 32
注册时间: 2010-12-28 9:50

很奇怪的问题(上网)

#1

帖子 poweruser » 2024-09-19 11:09

ubuntu24.04.1,安装系统后火狐上网没问题,但是网络标识上有问号,应用商店也上不去网。除了浏览器都不能联网。
poweruser
帖子: 32
注册时间: 2010-12-28 9:50

Re: 很奇怪的问题(上网)

#2

帖子 poweruser » 2024-09-19 19:18

zhx@zhx-ThinkPad-E420:~/桌面$ sudo apt-get update
Ign:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Err:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Could not connect to security.ubuntu.com:80 (::). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (124.236.16.201), connection timed out
Err:2 http://archive.ubuntu.com/ubuntu noble InRelease
Could not connect to archive.ubuntu.com:80 (::). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (124.236.16.201), connection timed out
Err:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Err:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Unable to connect to archive.ubuntu.com:http:
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/InRelease Could not connect to archive.ubuntu.com:80 (::). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (124.236.16.201), connection timed out
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... /InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... /InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... /InRelease Could not connect to security.ubuntu.com:80 (::). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (124.236.16.201), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
tusheng
帖子: 743
注册时间: 2007-09-18 8:45

Re: 很奇怪的问题(上网)

#3

帖子 tusheng » 2024-09-20 8:39

是通过什么上网的? 直接在浏览器上可以打开http://archive.ubuntu.com/ubuntu 吗?
不会除了浏览器,其它地方设置了错误的代理吧
yawatasensei
帖子: 25
注册时间: 2024-09-04 19:16
系统: Kali
联系:

Re: 很奇怪的问题(上网)

#4

帖子 yawatasensei » 2024-09-20 14:09

看样子应该不是dns解析的问题,terminal有设置代理吗
poweruser
帖子: 32
注册时间: 2010-12-28 9:50

Re: 很奇怪的问题(上网)

#5

帖子 poweruser » 2024-09-28 13:54

我没有设置过代理,怎么检查是不是有代理?
poweruser
帖子: 32
注册时间: 2010-12-28 9:50

Re: 很奇怪的问题(上网)

#6

帖子 poweruser » 2024-09-28 13:56

tusheng 写了: 2024-09-20 8:39 是通过什么上网的? 直接在浏览器上可以打开http://archive.ubuntu.com/ubuntu 吗?
不会除了浏览器,其它地方设置了错误的代理吧
家里的移动宽带,连接的网线。
tusheng
帖子: 743
注册时间: 2007-09-18 8:45

Re: 很奇怪的问题(上网)

#7

帖子 tusheng » 2024-11-19 8:40

终端里,执行 curl https://www.baidu.com 看看能不能打开百度。 可以排除全局代理

/etc/apt/apt.conf 里面设置了apt的代理
回复