We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-05-27 05:34:25 +0200

[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

[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

[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