You are not logged in.
Pages: 1
Hello,
I have a Vodafone station.
A TP-Link 4G router without a sim card is connected to it.
When I am connected to the TP-Link with my smartphone, I can access ipv4 (e.g. reddit.com) addresses with my smartphone.
But not with my notebook (Arch Linux).
However, if I am connected to the Vodafone station with this, this is not a problem.
I can connect to ipv6 (e.g. archlinux.org) when I am connected with the TP-Link.
I use the NetworkManager to connect to the WiFi.
Unfortunately, I am not at all familiar with networks.
Can someone please help me?
Last edited by Saphira (2025-04-06 19:57:42)
Offline
Please post the outputs of
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
ip a
ip rOffline
% 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
cups.path | multi-user.target.wants
cups.service | multi-user.target.wants
cups.service | printer.target.wants
cups.socket | sockets.target.wants
dbus-org.bluez.service | system
dbus-org.freedesktop.network1.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service | system
dbus-org.freedesktop.timesync1.service | system
dhcpcd.service | multi-user.target.wants
gcr-ssh-agent.socket | sockets.target.wants
getty@tty1.service | getty.target.wants
NetworkManager.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
p11-kit-server.socket | sockets.target.wants
pcscd.socket | sockets.target.wants
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
systemd-networkd.service | multi-user.target.wants
systemd-networkd.socket | sockets.target.wants
systemd-networkd-wait-online.service | network-online.target.wants
systemd-network-generator.service | sysinit.target.wants
systemd-resolved.service | sysinit.target.wants
systemd-timesyncd.service | sysinit.target.wants
tor.service | multi-user.target.wants
xdg-user-dirs-update.service | default.target.wants% 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 noprefixroute
valid_lft forever preferred_lft forever
2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
altname XXXXXXXXXXXXXXXXXXXXXXXXXX
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
altname XXXXXXXXXXXXXXXXXXXXXXXX
inet 192.168.1.105/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp4s0
valid_lft 85999sec preferred_lft 85999sec
inet6 XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX/64 scope global dynamic noprefixroute
valid_lft 297sec preferred_lft 117sec
inet6 XXXX:XXXX:XXXX:XXXX:1f52:6826:7252:ae86/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 297sec preferred_lft 117sec
inet6 fe80::43e8:87ab:efed:d523/64 scope link
valid_lft forever preferred_lft forever
inet6 fe80::1205:fe54:3e31:2619/64 scope link noprefixroute
valid_lft forever preferred_lft foreverdefault via 192.168.1.1 dev wlp4s0 proto dhcp src 192.168.1.105 metric 600
default via 192.168.1.1 dev wlp4s0 proto dhcp src 192.168.1.105 metric 3003
192.168.1.0/24 dev wlp4s0 proto kernel scope link src 192.168.1.105 metric 600
192.168.1.0/24 dev wlp4s0 proto dhcp scope link src 192.168.1.105 metric 3003 I removed the ipv6 and the MAC adresses
I hope thats okay.
Last edited by Saphira (2025-04-06 09:02:44)
Offline
You actually have an IPv4 lease however:
* disable dhcpcd.service
* disable everything systemd-networkd* in that list
* replace pulseaudio w/ pipewire-pulse, I guess (unrelated to the network situation)
Offline
Thank you but its still not working
% 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
cups.path | multi-user.target.wants
cups.service | multi-user.target.wants
cups.service | printer.target.wants
cups.socket | sockets.target.wants
dbus-org.bluez.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service | system
dbus-org.freedesktop.timesync1.service | system
gcr-ssh-agent.socket | sockets.target.wants
getty@tty1.service | getty.target.wants
NetworkManager.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
p11-kit-server.socket | sockets.target.wants
pcscd.socket | sockets.target.wants
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
systemd-resolved.service | sysinit.target.wants
systemd-timesyncd.service | sysinit.target.wants
tor.service | multi-user.target.wants
xdg-user-dirs-update.service | default.target.wants3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether XXXXXXXXXXXXXXXXX brd ff:ff:ff:ff:ff:ff
altname XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
inet 192.168.1.105/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp4s0
valid_lft 86393sec preferred_lft 86393sec
inet6 XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX/64 scope global dynamic noprefixroute
valid_lft 294sec preferred_lft 114sec
inet6 fe80::1205:fe54:3e31:2619/64 scope link noprefixroute
valid_lft forever preferred_lft forever% ip r
default via 192.168.1.1 dev wlp4s0 proto dhcp src 192.168.1.105 metric 600
192.168.1.0/24 dev wlp4s0 proto kernel scope link src 192.168.1.105 metric 600 Offline
dig -tA reddit.com
ping -4 -c1 reddit.com
ping -c1 151.101.1.140
ip r get 151.101.1.140Offline
% dig -tA reddit.com
;; communications error to 192.168.1.1#53: timed out
;; communications error to 192.168.1.1#53: timed out
;; communications error to 192.168.1.1#53: timed out
; <<>> DiG 9.20.7 <<>> -tA reddit.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31065
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: c799fa3d0c8c79320100000067f294bc43ab441e6cf97e39 (good)
;; QUESTION SECTION:
;reddit.com. IN A
;; ANSWER SECTION:
reddit.com. 71 IN A 151.101.65.140
reddit.com. 71 IN A 151.101.193.140
reddit.com. 71 IN A 151.101.1.140
reddit.com. 71 IN A 151.101.129.140
;; Query time: 31 msec
;; SERVER: 2a02:908:2:b::1#53(2a02:908:2:b::1) (UDP)
;; WHEN: Sun Apr 06 16:50:36 CEST 2025
;; MSG SIZE rcvd: 131% ping -4 -c1 reddit.com
PING reddit.com (151.101.1.140) 56(84) bytes of data.
--- reddit.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms% ping -c1 151.101.1.140
PING 151.101.1.140 (151.101.1.140) 56(84) bytes of data.
--- 151.101.1.140 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms% ip r get 151.101.1.140
151.101.1.140 via 192.168.1.1 dev wlp4s0 src 192.168.1.105 uid 1000
cache Offline
;; communications error to 192.168.1.1#53: timed out
;; communications error to 192.168.1.1#53: timed out
;; communications error to 192.168.1.1#53: timed outping -c1 192.168.1.1Do you control the router? Can you restart it?
You have a lease, but the router doesn't respond.
In doubt please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st(This will upload it to 0x0.st, your MACs will show up there, but they're rather meaningless unless
a) you post them across the internet what links those posts to the same origin
b) somebody wants to frame you by spoofing them as part of a wider effort to impersonate you…
Offline
Okay, i set now the DNS Server from the router to quad9 and rebooted it.
Now I can access to reddit.
But i dont know if the DNS Server or the reboot fixed it.
Before i set the DNS Server and rebooted it i was able to ping the router:
% ping -c1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=6.19 ms
--- 192.168.1.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 6.189/6.189/6.189/0.000 msbut dig still had a timed out
Offline
Thank you very much ![]()
Offline
Most likely the reboot, you could not reach IPv4 addresses w/o DNS either.
Do you dual boot windows or something like that?
(The router might just have had a hiccup, but windows hibernates instead of shutting down what might have resulted in you re-using its lease on linux and the router being confused about what's going on with that host)
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
No, these Arch Linux is the only OS i have installed.
Offline
Pages: 1