robert_pectol
August 16th, 2006, 01:46 AM
Here's a simple script that allows you to scan the area for wireless networks using your wireless network interface. Simply copy the following block of code and paste it into your text editor, save it as, 'wiscan.sh', and set it to be executable (chmod 755 wiscan.sh). At this point, you can already run the script from the command line! First, it will automatically detect the presense of a wireless network interface in your Ubuntu box. Next, it will use that interface to conduct a quick scan of the area for any wireless networks. Then, it will generate a nice little gui dialog with the results of the scan! Pretty cool! :p
Now, instead of having to launch it from the command line, why not create a little taskbar launcher for it? It's easy to do! Simply right-click on an empty space on your taskbar and select, 'Add to panel...' Then select, 'Custom Application Launcher.' For the, 'Name' and, 'Generic Name', you can put, 'WiScan.' For the, 'command:' put, '/path/to/wiscan.sh' and then select an icon for your new WiScan Launcher! Click, 'ok' and you're ready to scan for wireless networks with a simple click of your new WiScan Launcher. You can download the script here:
http://rob.pectol.com/myscripts/wiscan.sh.txt
As pointed out by PvSinNL, the script needs to execute the scan with root privs. I've added that ability to this version of the scanner. It will now prompt you for you system password when needed!
It's not Netstumbler but hey, it gives you a quick and easy view of the wireless networks around! Enjoy! ;)
Now, instead of having to launch it from the command line, why not create a little taskbar launcher for it? It's easy to do! Simply right-click on an empty space on your taskbar and select, 'Add to panel...' Then select, 'Custom Application Launcher.' For the, 'Name' and, 'Generic Name', you can put, 'WiScan.' For the, 'command:' put, '/path/to/wiscan.sh' and then select an icon for your new WiScan Launcher! Click, 'ok' and you're ready to scan for wireless networks with a simple click of your new WiScan Launcher. You can download the script here:
http://rob.pectol.com/myscripts/wiscan.sh.txt
As pointed out by PvSinNL, the script needs to execute the scan with root privs. I've added that ability to this version of the scanner. It will now prompt you for you system password when needed!
It's not Netstumbler but hey, it gives you a quick and easy view of the wireless networks around! Enjoy! ;)