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

Jolla C cannot use my router's WiFi; how do I troubleshoot?

asked 2016-12-30 23:59:09 +0300

Faroe gravatar image

updated 2017-01-01 12:33:36 +0300

Hello all!

When I switch on the WLAN on my Jolla C and select my router's WiFi access point, the phone seems to connect to it just fine. However, I cannot access the internet this way. The browser cannot load any pages and the Jolla Store appears stuck loading information about apps.

When I connect to another access point, such as that of my wife's 3G tablet, everything works as expected, so the problem must be caused by some kind of incompatibility between the Jolla C and my router, which is a TP-Link TL-MR6400 4G LTE box. Other wireless devices work fine with the router. I don't really know where I should start looking for a solution. What options should I try changing in the router's configuration?

I've run commands such as iw list and iw wlan0 scan dump -u in FingerTerm, but I don't understand much about wireless technologies, so the output from these commands doesn't make a lot of sense to me. I'd be happy to share my findings here, though, if needed.

One strange thing I noticed is that when I have the phone connected to the router's WiFi, I am able to ping a given IP address or host name in FingerTerm, even though at the same time the browser cannot see the internet.

EDIT: A couple of things I forgot to mention:

  1. The problematic WLAN does allow me to SSH into the phone and transfer files via SFTP, but then again that might be obvious.

  2. Most of the time when trying to use the router's access point, the Jolla browser only gives me an empty white page and a progress bar that doesn't advance anywhere. If I wait for a minute or so, the browser screen becomes garbled, usually filled with a geometric, quilt-like pattern. On some occasions, though, I eventually just get the "Page cannot be loaded" error message.

EDIT: Happy new year, everyone! I followed the steps outlined by @onurati:

  1. The phone is indeed able to access the router's configuration page.

  2. I entered the IP 91.198.174.192 into the browser, i.e. the IP of en.m.wikipedia.org. The page remained empty for a while, after which the browser displayed this message: "Server not found. en.m.wikipedia.org could not be found. Please check the name and try again." I also tried Google's IP and got similar results.

  3. I can browse the web without any problems using other access points. I reserved a different IP address for the phone in the router's configuration, but that didn't seem to make a difference.

  4. The router was set up to select the best channel automatically. I tried channels 6 and 10, but they didn't work.

edit retag flag offensive close delete

Comments

what are your wlan settings ? longpress on the wlan network...

pawel ( 2016-12-31 16:55:38 +0300 )edit

(Translating these to English the best I can...) Encryption - WPA-PSK; Proxy - not used; Refresh IP automatically - on

Faroe ( 2016-12-31 18:41:46 +0300 )edit

Please post/link all logs (incl journalctl stuff)

bomo ( 2016-12-31 19:28:36 +0300 )edit

It's weird that actually the ssh/sftp connection work, but not the browser. I don't have a Jolla C, but if I faced this problem, I would probably go as follows:

  1. Type the IP address of your router in the browser and check whether you can see the configuration page. If yes, then you might simply have an issue with the gateway/DNS settings.
  2. Type the IP address of a known site (e.g. for google.com: 74.125.206.94) and check whether the site is accessible. If yes, then you most likely have a DNS issue. That's, the device is not able to convert host names to IP addresses because it's a not able to reach a DNS server.
  3. Connect to another WiFi access point with your phone, for instance by activating a temporary AP on one of your other mobile devices. Are you able to browse the web? If yes, then you might have some kind of filtering activated on port 80 for your current IP on your router. Try to assign your phone a new IP address.
  4. This one is the least likely option imho. Your phone may be having issues with the current WiFi frequency of your router (I observed this lately on Jolla Tablet). Go to your router's WiFi setup and try to configure another WiFi channel. You might have to switch to manual/advanced setup first in order to do so.
onurati ( 2016-12-31 21:25:06 +0300 )edit

@bomo What logs would those be and where can I find them? How exactly should I use journalctl? When I run it without any parameters, it says: No journal files were found.

Faroe ( 2017-01-01 11:52:04 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-12-31 21:59:32 +0300

tortoisedoc gravatar image

updated 2016-12-31 22:07:30 +0300

Sounds like a dns issue to me. As IP's work, it might be the dns of the gateway (=router in your case) might not get properly configured on the phone?

edit flag offensive delete publish link more

Comments

Try adding google dns to resolv.conf

coderus ( 2017-01-01 05:54:34 +0300 )edit

@coderus Thank you! I replaced the line nameserver 127.0.0.1 in /etc/resolv.conf with nameserver 8.8.8.8 and I am now able to browse the web. I also got the same result by configuring the router to use 8.8.8.8 as the primary DNS instead of the default 0.0.0.0 and leaving /etc/resolv.conf unchanged. However, I don't feel comfortable using Google's DNS server with either the phone or the router, so I'm going to look for other options.

Faroe ( 2017-01-01 14:35:56 +0300 )edit

I use https://www.opendns.com/, they're now owned by Cisco. Whoever you choose they'll use your data for something, there are some DNS providers which claim not to use your data but I've not tried them.

timearp ( 2017-01-02 19:00:16 +0300 )edit

Switch to a VPN in that case; they won't be going too far.

tortoisedoc ( 2017-01-02 22:43:58 +0300 )edit

Sorry I haven't had time to get back earlier. I added another nameserver line into /etc/resolv.conf after 127.0.0.1, containing the DNS address provided by my ISP. Both the browser and the Jolla Store now work fine via WLAN, so for the moment I'm happy with this solution. I might have a look into some alternative DNS providers later. Thank you!

Faroe ( 2017-01-08 11:36:40 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-12-30 23:59:09 +0300

Seen: 500 times

Last updated: Jan 01 '17