Wlan/WiFi connection can't be established
I've been trying to connect to a WRT54G wifi (b/g) router with DD-WRT firmware recently, which gave me some headache. First, let me say that any other mobile device I ever had talked with the router without any issues. It's clearly a Jolla-specific thing, and currently I have no clue where the problem lies.
There are a number of similar reports on the net, however none of them got me further (search Google for "jolla wrt54g connect"). The network itself has a decent signal strength BTW, so genral reception problems can be safely ignored.
Event though I completely omitted the UI after I saw that it's futile to try further, here's the behaviour: When going to System Settings > WLAN, the network in question ("gwark") and a couple more show up. Next I'm selecting gwark, the UI wants me to supply a password. After hitting connect I receive a "Problem with connection" error (green message box on top of the screen).
After that, I went on configuring wpa-supplicant to match the router configuration and supply the necessary data:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="gwark"
proto=RSN
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="XXXX"
scan_ssid=1
priority=2
}
Afterwards I launch wpa_supplicant (after killing the old process and removing its /var/run file):
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d
When correctly configured, the ESSID should show up now in iwconfig for the wlan0 interface, but it doesn't. The regular log states
wlan0: Trying to associate with SSID 'gwark'
wlan0: CTRL-EVENT-ASSOC-REJECT status_code=1
The debug output of wpa_suplicant can be found here: wpa_supplicant.log.
I don't expect the problem to go away magically. It's quite consisten, so any hints are appreciated.
Did you try to add the network to connman from commandline?
Sailor ( 2014-01-27 18:37:15 +0200 )editI didn't try this, as I lacked the connectivity to install it at the time. What indication do you have though that it makes a difference compared to the native tools that operate below? In the end connman abstracts wpa_supplicant.
marsch ( 2014-01-27 20:27:59 +0200 )editI had some problems with the native tools and connman interfering each other so I stayed with connman to fix my ipv6 issues and wlan 802.1x issues. But it's just a guess which worked for me.
Sailor ( 2014-01-27 20:33:16 +0200 )editGoing to try it, thanks. But it would still be very interesting to me if people involved in WiFi connectivity engineering of the Jolla could give their 5 ct.
marsch ( 2014-01-27 22:59:54 +0200 )editI received the Jolla Tablet and I have this exact same thing happening trying to connect to my WLAN. My phone (Jolla) works just fine against the same WLAN ap. I'm trying to investigate a bit.
euj ( 2016-04-16 19:16:51 +0200 )edit