[maemo-developers] [maemo-developers] Scanning WLAN problem
From: kalle ahokangas kalleahok at gmail.comDate: Thu Feb 1 15:20:57 EET 2007
- Previous message: [maemo-developers] invoking method get_ipinfo
- Next message: [maemo-developers] QT4 devkit for maemo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok, I figured out what the problem was. I noticed that when you are scanning as root user the behaviour is like decribed in prevous posts. So to get the scanning work simultaneously with internet connection do not become as root. - Kalle 2007/1/31, kalle ahokangas <kalleahok at gmail.com>: > > Hi, > Thanks for responses. > The exact scenario is to collect only the rssi information from APs and > send that information to server. This procedure is repeated in a loop > and it doesnt work like it should. I can collect all the information I > need but you can not scan APs if your internet connection is up?! > I'm not trying to do any penetratin tests or anything similar. > > Are you Mathias saying that there is no way to scan APs while the internet > connection is up and running? > > I'll repeat my questions so you can understand my problem: > > My questions are: > 1. Is there a way to get scanning to work while the network connection is > on? > 2. If not what is the best solution to implement requested functionality > (scan network -> send information to server)? > 3. How does N800 work in this scenario? > > - Kalle > > 2007/1/31, Nicolas FR <nicolasfr at gmail.com>: > > > > Depending on what kind of information you need, you might also use the > > python wireless tools bindings (pyiw > > http://www.emperorlinux.com/etc/contrib/?page=pyiw ). I have > > successfully compiled and used them on the Sharp Zaurus > > (http://geek-fr.com/blog/python_qt_wifi_and_the_zaurus). > > > > In 15 minutes with Python you can make your Wifi network scanner and > > post the results to a server. > > > > Nicolas. > > > > On 1/31/07, kalle ahokangas <kalleahok at gmail.com> wrote: > > > Hi all, > > > > > > I'm developing an application to Nokia 770 which scans available > > network > > > infomation and then sends collected infomation to server. > > > > > > I'm using modifed wireless tools ( > > > http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html ) > > > wlist source which works fine and > > > I can get all WLAN netwok information I need, but I can't send them to > > > server because in order to get the scanning to work the current > > > working network connection must be disconnected. > > > > > > If I use script to connect to network automatically the problem still > > > exists: > > > > > > #!/bin/sh > > > source /usr/bin/connectivity_preload > > > .sh > > > ./wifiscan > > > > > > If I have network setup I cant perform scanning iwlist > > prints'Interface > > > doesn't support scanning'. This is because function iw_get_range_info > > in > > > iwlib.c > > > returns !=1. > > > > > > My questions are: > > > 1. Is there a way to get scanning to work while the network connection > > is > > > on? > > > 2. If not what is the best solution to implement requested > > functionality > > > (scan network -> send information to server)? > > > 3. How does N800 work in this scenario? > > > > > > Any help would be appreciated. > > > Thanks in advance. > > > > > > - Kalle > > > _______________________________________________ > > > maemo-developers mailing list > > > maemo-developers at maemo.org > > > https://maemo.org/mailman/listinfo/maemo-developers > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070201/a9827ca4/attachment.htm
- Previous message: [maemo-developers] invoking method get_ipinfo
- Next message: [maemo-developers] QT4 devkit for maemo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]