You are not logged in.
Hello. I'm currently staying at my parent's house for Christmas, and as the house is long, a small wifi extender is needed to reach the whole house. However, I've noticed that whenever I connect to the extension wifi, I am completely unable to access certain websites. This is not an issue I encounter on other OSs. Here is a brief list of some of the websites I can't access
reddit.com
tomshardware.com
smbc-comics.com
amazon.com (including AWS services)
github.com
and many more (mostly webcomics)
I can't find any common elements between the locked websites. This is not a https specific error, nor is it any kind of parental lock or deliberate content blocking (facebook and youtube work fine). I do not experience this error on other devices. When I attempt to access these websites through chrome, I am presented with a "No Internet" screen. curl returns curl: (7) Couldn't connect to server and ping returns ping: connect: Network is unreachable. Furthermore, when I ran ip route to get the router address so I could log in and troubleshot from there, it returned absolutely nothing.
I use Arch on a Lenovo Ideapad 330s with NetworkManager with the default backend and dhcp protocol.
Edit: This is also not a maximum transmission unit error. Both the main wifi and extension have the exact same upper limit on packet size (determined through experimentation).
Last edited by conor-smith (2020-12-17 09:19:06)
Offline
An empty "ip r" cannot resolve other IPs/domains either.
Post the outputs of
ip a
ip r
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -fand probably a complete system journal.
Offline
What is in your /etc/hosts, there could be rules set in there blocking certain sites, if you are certain there are no blocking rules configured on routers.
For some diagnostics on if it is DNS problem, try to do
ping reddit.comThen try to ping reddit by ip
ping 151.101.65.140is what I used however I think that the IP can change a lot, so I would say to: #1 use another device to
dig reddit.com or #2 use a website like this one https://www.ip-tracker.org/locator/ip-l … reddit.com in order to get the ip.
Also what is output of
ip aYou may also want to change your DNS server(s) configured in /etc/resolv.conf.
Offline
My /etc/hosts files is as follows
# Static table lookup for hostnames.
# See hosts(5) for details.
127.0.0.1 localhost
::1 localhost
127.0.0.1 <computer-name>.localdomain <computer-name> pinging 151.101.65.140 (which is the correct IP address as tested by dig) returns the same Network is unreachable error. Curiously enough, I can't seem to ping any IP addresses when connected to the extension wifi whereas I can when on the main wifi (tested with google and youtube as well, both returning the same error). The command outputs are as follows.
> ip a
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: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether c0:b6:f9:46:72:6a brd ff:ff:ff:ff:ff:ff
inet6 2001:8003:8519:1b01:9879:f40:1436:905/64 scope global dynamic noprefixroute
valid_lft 4766sec preferred_lft 4766sec
inet6 fe80::188:2b78:db3d:92d0/64 scope link noprefixroute
valid_lft forever preferred_lft forever
> ip r
> find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service | bluetooth.target.wants
dbus-org.bluez.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dirmngr.socket | sockets.target.wants
getty@tty1.service | getty.target.wants
gpg-agent-browser.socket | sockets.target.wants
gpg-agent-extra.socket | sockets.target.wants
gpg-agent.socket | sockets.target.wants
gpg-agent-ssh.socket | sockets.target.wants
NetworkManager.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
p11-kit-server.socket | sockets.target.wants
paccache.timer | timers.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
suspend@laptop.service | sleep.target.wants
suspend@laptop.service | suspend.target.wantsThese commands were run while connected to the extension wifi done when connected to the extension wifi.
Offline
You don't have an IPv4 lease.
Since NM seems the only relvant service, please post the complete system journal ("sudo journalctl -b", you can use the tip in the first link of my signature to pipe it directly into a pastebin service)
Offline
No need for that.
I went and looked up what dhcp lease was and decided to try using a different dhcp client in the NM backend. I installed dhclient, set it as the preferred dhcp client (per instructions here https://wiki.archlinux.org/index.php/Ne … HCP_client) and restarted the service. ip r now returns a result and I can access the internet.
Thank you for the help
Last edited by conor-smith (2020-12-18 03:55:52)
Offline