[maemo-users] Re: Connect to WLAN from command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/6/07, Pigeon <pigeon at pigeond.net> wrote:
>
> >      Download the iwconfig packages, once you got them you will have the
> >      iwconfig iwspy iwlist etc. Look for a howto to use it. Remember
> >      first to ifup wlan0.
> >      iwlist will give you the broadcast AP, but if you want to put one
> >      manually you should use
> >      iwconfig wlan0 ssid "XYZ" key 1011010101AB
> >
> >    Well, I installed wireless tools package and tried to use it:
>
>
>     I had to do something similiar. However iwconfig simply won't work
> properly for some reason, I asked around a while ago:
>
>     http://www.mail-archive.com/maemo-users at maemo.org/msg01896.html
>
>
>     Anyway, I figured a working but dodgy way to get it working.
>
>     Firstly you have to setup the wireless connection at the usual GUI
> configuration. Make sure this works.
>
>     Then I have a script that runs:
>
>     dbus-send --type=method_call --system --dest=com.nokia.icd/com/nokia/icd
> com.nokia.icd.connect string:${IAP} uint32:0
>
>     where $IAP is the identifier (name) of the wireless connection you've
> setup in the GUI config.


Good way!

    What's even worse is, I have to run that command line every 5
> seconds or so (I put it in the script in a while loop to run that and
> then sleep 5), as the connection daemon seems to disconnect
> automatically. I think it disconnects if there's no application using
> the N770 framework/lib to make network connections. So if I have some
> custom software that uses the network it won't help either.


Did you specify an option in the connection manager do not break WLAN
connection never? Maybe it may help to resolve this problem.

Pigeon.
>
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://maemo.org/mailman/listinfo/maemo-users
>



-- 
Cheers,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-users/attachments/20070109/0d9d4b12/attachment.htm 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux