[Bug] usb0 causing WiFi to fail due to IP conflict
I'm not able to browse the web or connect to other devices on WiFi.
After I connect, I get an error message "Problem with connection" at the top of the screen.
I can ping my router (192.168.2.1), but as soon if I ping an external IP, I get the message "connect: Network is unreachable". If I ping a PC within my network, I get "Destination Host Unreachable" If I ping from any PC to Sailfish (192.168.2.53), I get the same message on the PC.
# ip route show
default via 192.168.2.1 dev usb0 scope link
192.168.2.0/24 dev usb0 proto kernel scope link
192.168.2.0/24 dev wlan0 proto kernel scope link src 192.186.2.53
192.168.2.1 dev wlan0 scope link
So it does look like a routing issue - default gateway is set to usb0 and there's probably an IP/subnet conflict as well. This would also explain why I'm able to connect just fine via other APs, as they are assigning a different IP (192.168.1.x / 10.10.1.x etc)
Now I could mess about with the routing table and the ip config and fix the issue temporarily, but I'd much rather:
a) Delete / disable usb0 permanently or b) Reconfigure usb0 with a different IP/subnet on bootup
I'm not too familiar with the internals of Sailfish, so could someone please help me set up the above?
Thanks in advance.
Device: Nexus 4 | Sailfish version: 1.0.5 | Kernel: 3.4.0-perf-ge1d9619
Does this happen even when you have nothing connected to the USB plug, when no network connection should be active on it?
juiceme ( 2014-05-27 07:13:24 +0200 )edit@juiceme: Yes.
d3Xt3r ( 2014-05-27 09:34:32 +0200 )editI wonder if network issues on switching between 3G/4G and Wifi are due to that kind of behaviour. We probably have a piece of solution here.
TNZ ( 2014-05-27 11:08:20 +0200 )edit