--- On Thu, 21/8/08, Florian Boor <[EMAIL PROTECTED]> wrote:
> From: Florian Boor <[EMAIL PROTECTED]>
> Subject: Re: Wirelesstools - how to write shell script like "Select
> connection" from maemo ?
> To: "Darius Jack" <[EMAIL PROTECTED]>
> Cc: [email protected]
> Date: Thursday, 21 August, 2008, 3:12 PM
> Hi,
>
> Darius Jack schrieb:
> > could you tell me how to write shell script to emulate
> "Select connection" from maemo.
> > Wirelesstools work in network connect state.
> > What I need is open scanning for wifi networks, APs in
> not-connected state,
> > scanning for essid, signal level and the like.
> >
> > Any way to set wirelesstools to work in not-connected
> state like "Select connection" from maemo ?
>
> I would not use wirelesstools for this in a Maemo
> environment. Take a look at
> the connectivity API:
> http://maemo.org/api_refs/4.1/libconic-0.16/
>
> With libconic you should have a pretty good control about
> network connectivity
> and you stay compatible with the rest of the system.
>
>
> Greetings
>
> Florian
>
> --
> The dream of yesterday Florian Boor
> is the hope of today Tel: +49
> 271-771091-15
> and the reality of tomorrow. Fax: +49
> 271-771091-19
> [Robert Hutchings Goddard, 1904]
> [EMAIL PROTECTED]
>
> 1D78 2D4D 6C53 1CA4 5588 D07B A8E7 940C 25B7 9A76
Thanks Florian for your kind advice.
I am afraid I need very basic wifi scanning tools to be run in shell script
from time to time.
Already contacted Collin R. Mulliner, asking for such feature.
What I have got from the net
"
#!/bin/sh
#start network automagically
case "$1" in
start )
/sbin/ifconfig wlan0 up
/sbin/ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
/usr/sbin/iwconfig wlan0 mode managed essid MY_SSID key My_KEY
# No Default Route
;;
stop )
: Do Nothing
;;
* )
echo "Unsupported Argument '$1'"
;;
esac
exit 0
"
looks promissing if preceded by with wifi networks scanning code, I am just
looking for.
Darius
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers