Automatic connection to different hotspots
Having finally found a combination of kernel and prism54 versions that works with reliably with my setup (2.6.7 with prism54 1.1 on an old toshiba satellite with a WG511), I'm now happily using my laptop all over town. However, apart from my home network, which I've set up as the default connection, all other networks require me to run through a set of iwconfig/ifconfig/dhcpcd commands manually. Is there a utility that will do this automatically?
I've both kismet and airsnort installed, and they're quite useful, but unless I've overlooked some features they are purely sniffers. I want something that will display a list of ambient networks, allow me to select from the list, and ideally store any relevant connection information (WEP keys, in particular), so I don't have to re-enter them every time I reconnect to a network I've been before. I can write my own if necessary, but it just seems so obvious a task that someone out there must have done it before (and probably better). O, and in an ideal world, this utility would not depend on KDE or GNOME. |
You might want to check out KwifiManager, which does some of what you want. It can store up to four different configurations and despite the K moniker, it runs on pretty much any X desktop. However, it might require a KDE library or two. However, I don't think it scans for new networks.
I got tired of pretty much the same problem, so I wrote a script that stores the info for my home network, but before it configures the card it first scans for available networks and then presents a list to choose from. Since my home network is the only one I use WEP for, it doesn't store keys for other networks, but it wouldn't be hard to modify it to do so. Since I use ndiswrapper, it loads that module, but that would be easy to change to load different modules. It is also written for Slackware, so it may need some tweaking to work with other distros. Code:
#!/usr/bin/perl |
All times are GMT -5. The time now is 10:17 AM. |