We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-01-27 18:11:37 +0200 |
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 "Connection did not succeed" error.
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.
2 | retagged |
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 "Connection did not succeed" error.
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.
3 | No.3 Revision |
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 "Connection did not succeed" error."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.
4 | No.4 Revision |
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.