![]() |
Can I setup a Wi-Fi access point via shell?
Hi all!
I usually can connect to any Wi-Fi access point without any problems. Unfortunately, I think I've hit Bug 9622 (perhaps the same as Bug 9598), where N900 asks me a WEP key when the access point uses WPA-PSK or WPA2-PSK. Is it possible to setup (or at least edit) an access point from the shell? I hope that I can workaround the bug this way somehow... Thank you for any tips! |
Re: Can I setup a Wi-Fi access point via shell?
Options->Settings->Connection->New
->input some name->Next->No->input ESSID ->select Security method "WPA preshared key" ->input key->Finish->return to Desktop ->tap status menu->Internet Connection ->Connect saved AP otherwise See: http://www.enterprisenetworkingplane...figure-WPA.htm you can use "udhcpc" and "iwconfig" and "wpa-supplicant" from command-line.but i dont recommend because i think they would not apply changes of "wireless connection" in status menu apperantly. |
Re: Can I setup a Wi-Fi access point via shell?
Thanks for the reply. I think I should have said that I had already tried to manually setup the AP like this.
If I set the AP manually, name "Connection 1" and make it use WEP, the "Connection 1" (instead of the original SSID) is shown as available for connection (but doesn't work, obviously). But if I set it to use WPA intead of WEP, "Connection 1" is not shown in the available Wi-Fi connections - the original SSID is displayed, and it doesn't use my custom configuration. I'll try your other tips and report back later, thanks again! |
Re: Can I setup a Wi-Fi access point via shell?
sorry.
I found there is no wpa_supplicant in Maemo repository. It described in Here. Quote:
|
Re: Can I setup a Wi-Fi access point via shell?
Some changes I made with iwconfig seemed to be reflected on the status menu. I don't have wpa-supplicant on the N900 right now (is this one OK, or is there a more recent/better version?), but I might give it a try tomorrow.
|
Re: Can I setup a Wi-Fi access point via shell?
Isn't there a way for access points to both offer WEP and WPA? Maybe it's latching onto the WPA scheme (as it should, honestly).
|
Re: Can I setup a Wi-Fi access point via shell?
It works! Kind of...
I wrote a script to start a connection (I run it as root): Code:
#!/bin/sh |
Re: Can I setup a Wi-Fi access point via shell?
Quote:
|
Re: Can I setup a Wi-Fi access point via shell?
Quote:
Ricardo,have you tried dbus-send command for AP you created manually ? Quote:
|
Re: Can I setup a Wi-Fi access point via shell?
Thank, syake - but it didn't seem to do anything at all...
|
All times are GMT. The time now is 18:01. |
vBulletin® Version 3.8.8