![]() |
Running just 'iwconfig' after the initial iwconfig setup command should show your essid and key etc. If so, then it's associated ok. After that you'll have to run a program to actually do the dhcp setup, I don't know what the dhcp client is called on the 770, try just entering 'dhcp' and press <tab>. It's usually either of dhcp-client or dhcpcd, but could be something else. In any case, whatever its name run it with 'wlan0' as argument (e.g. 'dhcp-client wlan0')
|
Quote:
I think he is trying to connect to a specific network... with a specific IP. The actual command for dhcp is dhcpclient wlan0 |
Quote:
I did: sudo gainroot ifconfig wlan0 up iwconfig wlan0 mode managed essid my_ap_essid after that, i confirm that the n770 did not connect to the ap, even though they are in the same room... running "iwlist wlan0 scanning", lists my AP. (btw, my ap's essid is hidden) |
I found the way to connect my Nokia to WLAN. Run following commands:
ifconfig wlan0 up iwconfig essid "My access Point" enc MY_KEY mode managed udhcpc -i wlan0 Note that ESSID should be in the quotes. Otherwise it won't be assigned correctly (at least in my case). To check that everything ok run first iwconfig wlan0. It should display you options of your access point. Then run ifconfig to see that IP is assigned to your device. |
Yes, any word with spaces in must be inside quotes on Unix (or you may backslash the spaces), otherwise the word after the space will be taken as the next argument instead.
|
This ONLY works if the ap is NOT hiding the essid...
(it's strange, because from another linux machine I can connect without any problems...) However, connecting from the top bar icon, works. (it's just a bit slow...) so, the question is: How to manually connect the Nokia 770 to a wifi hotspot with a hidden essid? |
Here is an another way to bring WLAN up from command line. It's possible to do using dbus:
Quote:
|
Re: Connect to WLAN from command line
I stand corrected all commands in Debian are just like BSD are all different from *nix
|
Re: Connect to WLAN from command line
I have heard that the DHCP client on the 770 is called 'udhcpc', but I haven't had any real luck with it. I was hoping the command line would give me a second crack at DHCP when my 770 fails with the dreaded "link local address" (yes, my 770 is still all but useless to me in public places where there are lots of Wi-Fi networks present).
|
Re: Connect to WLAN from command line
Be sure that you became a root - 1. Flash you Nokia with some options (see maemo wiki) and run a command sudo gainroot. All network commands are available only for root.
|
All times are GMT. The time now is 02:20. |
vBulletin® Version 3.8.8