求助:无法连接某个wifi,其余wifi都可以正常连接
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
求助:无法连接某个wifi,其余wifi都可以正常连接
我装到ubuntu16.04, 对于住宿楼wifi每次连接都提示connection failed,我宿舍楼是需要登录弹出网页登录的WIFI,Ubuntu16.10可以连接上,Ubuntu16.04和Ubuntu18.04都连不上,求助大神指导
- astolia
- 论坛版主
- 帖子: 6444
- 注册时间: 2008-09-18 13:11
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
到系统设置里,把Privacy下面的Connectivity Checking关掉。一般就可以了。
还不行的话,参考 https://askubuntu.com/questions/898605/ ... th-dnsmasq 把systemd-resolved换掉
还不行的话,参考 https://askubuntu.com/questions/898605/ ... th-dnsmasq 把systemd-resolved换掉
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
还是不行,还有其他办法吗?
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
现在又出新问题了,之前连得上的wifi,现在连上去但是打不开网页,版主帮帮我啊,要崩溃了
- astolia
- 论坛版主
- 帖子: 6444
- 注册时间: 2008-09-18 13:11
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
感觉你是在把systemd-resolved换成dnsmasq的过程中弄错了东西,比如没有做那个链接里的第二个回答里的操作。
如果你只做了第一个回答里的东西,把他换回去就行了
如果你只做了第一个回答里的东西,把他换回去就行了
代码: 全选
sudo systemctl stop dnsmasq
sudo systemctl disable dnsmasq
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
我做了,还是不行,能远程指导下吗?微信或者QQ请教下?真的崩溃了,要交作业,需要Ubuntu里跑程序,今天最后一天
- astolia
- 论坛版主
- 帖子: 6444
- 注册时间: 2008-09-18 13:11
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
你每次都光说个不行,到底做了哪些操作中间有没有报错信息之类一概不说,我是没办法指导了
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
Install dnsmasq and dependencies (or at least download their packages) before disabling systemd-resolved:
sudo apt-get install dnsmasq
sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo systemctl stop dnsmasq
sudo systemctl start dnsmasq
sudo systemctl restart NetworkManager
sudo rm /etc/resolv.conf; sudo ln -s /var/run/NetworkManager/resolv.conf /etc/resolv.conf
sudo apt-get install dnsmasq
sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo systemctl stop dnsmasq
sudo systemctl start dnsmasq
sudo systemctl restart NetworkManager
sudo rm /etc/resolv.conf; sudo ln -s /var/run/NetworkManager/resolv.conf /etc/resolv.conf
- astolia
- 论坛版主
- 帖子: 6444
- 注册时间: 2008-09-18 13:11
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
你在命令行下ping 163.com看结果是什么,如果错误信息是Name or service not known之类的,那就手动指定一个dns服务器
把nameserver后面的ip地址改成一个dns服务器的ip,比如马云家的223.5.5.5
代码: 全选
sudo gedit /etc/resolv.conf
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
我在法国,也是这个IP吗?
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
可以连接上了,大神,谢谢!但是屋里宿舍的WIFI不知道怎么弄
- astolia
- 论坛版主
- 帖子: 6444
- 注册时间: 2008-09-18 13:11
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
公网ip全球一致,又不会变,只不过比起你用法国当地的dns会慢一些,某些网站也可能被墙。你直接用google的好了8.8.8.8
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02
Re: 求助:无法连接某个wifi,其余wifi都可以正常连接
为啥我会出这个问题呢?我也想弄懂一下,
-
- 帖子: 12
- 注册时间: 2018-11-14 0:02