Auto Connect wifi script for linux

IN PROGRESS
Bids
6
Avg Bid (USD)
$195
Project Budget (USD)
$30 - $250

Project Description:
There are multiple USB wifi cards connected to a single laptop (via powered hub)
Card 0 is reserved for ad hoc connections and is already working fine

The rest of the cards need to scan area frequently and connect to wifi networks found

There will be a file in which I can list the preferred networks with their key. (wep/wpa etc)


Every X minutes system will scan surrounding area

If some preferred network is found then connect to them using available cards.
cards and preferred network must be read top down for priority.

So if 5 cards are available and 3 preferred networks are found then card 1 will connect to first preferred network, card 2 to second etc.
After all preferred network have been connected to and connection works, ie can reach 8.8.8.8
connect to open networks with strongest network as highest priority.
DO ONE NEW CONNECTION EVERY X MINUTES

When a connected network is no longer in sight or can not reach 8.8.8.8. make the wifi card available.
Connect to new networks when seen.

every time a new network is connected to. Make that the default route.

Ensure that 1 network is connected to 1 wifi card max.
Do NOT move connection from 1 wifi card to another card just because signal strength has changed.

when i plug in the usb devices at this time i get

tail /var/log/messages
Jul 3 04:54:07 Ecuador2 kernel: rtl8192cu: Board Type 0
Jul 3 04:54:07 Ecuador2 firmware.sh[2891]: Cannot find firmware file 'rtlwifi/rtl8192cufw.bin'
Jul 3 04:54:07 Ecuador2 kernel: usbcore: registered new interface driver usbserial
Jul 3 04:54:07 Ecuador2 kernel: USB Serial support registered for generic
Jul 3 04:54:07 Ecuador2 kernel: usbcore: registered new interface driver usbserial_generic
Jul 3 04:54:07 Ecuador2 kernel: usbserial: USB Serial Driver core
Jul 3 04:54:07 Ecuador2 kernel: USB Serial support registered for GSM modem (1-port)
Jul 3 04:54:07 Ecuador2 kernel: usbcore: registered new interface driver option
Jul 3 04:54:07 Ecuador2 kernel: option: v0.7.2:USB Driver for GSM modems
Jul 3 04:54:07 Ecuador2 logger: usb_modeswitch: adding device ID bda/8176/200: to driver "option"

Skills required:
Linux, Perl, Python, Shell Script, System Admin
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 200
in 5 days
Hire networls
$ 170
in 20 days
Hire sinozhou
$ 150
in 5 days
Hire WtCG3Z7r5
$ 250
in 1 days
Hire rakeshsharma2011
$ 200
in 7 days
Hire sijeeshkt
$ 200
in 10 days