?

Log in

No account? Create an account
Dick's and wireless snoopin' - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Dick's and wireless snoopin' [Nov. 14th, 2001|12:38 am]
Brad Fitzpatrick
[Tags|, ]

I went to Dick's to get a burger and decided to take my laptop and strength.pl along with me. Or vice versa ... whatever.

Anyway, I found 4 other base stations beside my own.

But get this ... when I pulled out of my house, the thing was working like a champ, detecting my own signal until I was a bit down the street. When I came home it didn't start detecting until I'd been sitting in my driveway for 5 or 6 seconds.

Which suggests ... I can poll iwconfig as often as I want, but either the driver or the hardware itself is backing off its detection rate, perhaps in effort to save battery power and the strength reported by iwconfig at any given time is likely bogus.

So now what I need to do is research how to change that ... if it's controlled by the driver, that should be not-so-hard. If it's in hardware, I might be screwed. Or, I'll just have to downgrade to war pedaling: laptop in backback, headphones on (connected to laptop) ... biking around neighborhoods ... heh.

Did some research. Looks like I need to force the card into CAM (constant awake/access mode) which'll take 10x the power, but whatever.

More research: drivers/net/wireless/orinoco.c ... dldwd_ioctl_{set/get}power ... prq->flags & IW_POWER_MODE ... looks like it'll be quite easy.

Wait, damn ... iwconfig lets you set it also! Doh! Helps to read man pages ahead of time. heh.
LinkReply

Comments:
[User Picture]From: detritus
2001-11-14 11:15 pm (UTC)
Don't you have a DC adapter for the laptop from the Ohio trip?
(Reply) (Thread)
[User Picture]From: brad
2001-11-14 11:17 pm (UTC)
Well, yeah.

But using wires/power is less hard-core. :)
(Reply) (Parent) (Thread)
[User Picture]From: supersat
2001-11-25 08:38 pm (UTC)
Have you heard of NetStumbler?
(Reply) (Thread)