Reply
Thread Tools
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#1
Hi,

was:
Dynamic rerouting - Inter-WiFi handover - how to implement for maemo ?
(update 2)

looking for a shell script to set internet wifi client into RD monitor mode
like Kismet does to scan for avaiable wifi networks
what already search for wifi networks does
Need shell script only (commands)
to start writing dynamic rerouting algorithms.

darius
tinyurl.com/dariusjack

http://www.wi-fiplanet.com/tutorials...le.php/3595531
"
Kismet works by putting the wireless client adapter into RF monitor mode. While in so-called “rfmon” mode, the wireless client is not (and cannot be) associated with any access point. Instead, it listens to all wireless traffic.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#2
If you want wi-fi handover it sounds like you _don't_ want to do it the way kismet does it - as you quote: '(.. cannot be) associated with any access point.'

So, why not scan when you're connected? Something like
iwlist wlan0 scan |grep ESSID | cut -d: -f2 |sort|uniq

Can be modified ad infinitum, look at the raw output of iwlist wlan 0 scan
to see what it provides.

(iwlist is from wirelesstools)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#3
Thanks.
Exactly what I was looking for and have to learn.
The problem is I get
iwlist wlan0 scan
wlan0 Interface doesn't support scanning.

At the same time I xcan select a connection,
so scanning does work any way.
What is a way to make iwlist to work with each option
(channel, ap, power, peers ...) ?

darius

Originally Posted by TA-t3 View Post
If you want wi-fi handover it sounds like you _don't_ want to do it the way kismet does it - as you quote: '(.. cannot be) associated with any access point.'

So, why not scan when you're connected? Something like
iwlist wlan0 scan |grep ESSID | cut -d: -f2 |sort|uniq

Can be modified ad infinitum, look at the raw output of iwlist wlan 0 scan
to see what it provides.

(iwlist is from wirelesstools)
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#4
The command only works if wlan0 is active already (this is different from some other wlan interfaces/drivers for desktop computers). In other words, try the command while you're already connected to an AP.

When you get it working you'll see that it also prints Channel, signal level and more.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#5
My friend, you are great.

I tested iwlist in wlan0 on mode and it didn't work
Interface doesn't support ... and the like.
Now it works.
iwspy is still down.

iwlist wlan0 ap / accesspoints
doesn't work either

iwlist wlan0 scan
lists one network I am connected to only

maemo network scan shows every ap, wifi network

I need shell script emulating find network by maemo
to show me every wireless network.

Darius

Originally Posted by TA-t3 View Post
The command only works if wlan0 is active already (this is different from some other wlan interfaces/drivers for desktop computers). In other words, try the command while you're already connected to an AP.

When you get it working you'll see that it also prints Channel, signal level and more.
 
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#6
(update 2)

one question
on connecting iwlist wlan0 scan
shows 3 cells (wifi networks)
on connected
iwlist wlan0 scan shows the only wifi network (ap) I am connected.

What I need and trye to emulate is
Select connections, to show every and any ap, wifi ndetwork.

Darius
 
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#7
Originally Posted by TA-t3 View Post
If you want wi-fi handover it sounds like you _don't_ want to do it the way kismet does it - as you quote: '(.. cannot be) associated with any access point.'

So, why not scan when you're connected? Something like
iwlist wlan0 scan |grep ESSID | cut -d: -f2 |sort|uniq

Can be modified ad infinitum, look at the raw output of iwlist wlan 0 scan
to see what it provides.

(iwlist is from wirelesstools)
Now works fine.
Unfortunately signal quality/level is much worse vs. Select connection by maemo.
Once a time 1,2 or 3 networks in the same room
and error message:
Failed to read scan data : Invalid argument (from time to time)

Some wirelesstools don't work
ifrename
Error:Can't open configuration file '/etc/iftab': No such file or directory

iwspy
lo Interface doesn't support wireless statistic collection
wlan0 Interface doesn't support wireless statistic collection

Darius
http://www.tinyurl.com/dariusjack
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:37.