02-21-2023, 09:03 AM
(This post was last modified: 02-21-2023, 11:31 AM by Zebulon Walton.)
I've noticed for a while now that after booting up my Pinephone and connecting wifi that internet access wasn't working. It turns out that a default gateway of 192.168.225.1 on device "enxxxxxxxxxxxxx" is spontaneously appearing:
So to get internet access working I need to enter the command "route del default gw 192.168.225.1".
The phone is not connected to any other network device (no ethernet dongle, USB not connected to PC) and mobile networking is disabled - for that matter the modem is soft-disabled. Where is this phantom default gateway coming from?
Code:
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.225.1 0.0.0.0 UG 100 0 0 enxxxxxxxxxxxxx
0.0.0.0 192.168.10.1 0.0.0.0 UG 600 0 0 wlan0
192.168.10.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0
192.168.225.0 0.0.0.0 255.255.255.0 U 100 0 0 enxxxxxxxxxxxx
So to get internet access working I need to enter the command "route del default gw 192.168.225.1".
The phone is not connected to any other network device (no ethernet dongle, USB not connected to PC) and mobile networking is disabled - for that matter the modem is soft-disabled. Where is this phantom default gateway coming from?