| bingo  
 
 
 
 
 Group: Members
 Posts: 5
 Joined: May 2007
 | 
|  | Posted: May 14 2007,08:29 |  |  okay, I can say that it works even with WPA2 as suggested by fightie and roberts, however, I did not try to load any large files.
 
 Here is the script I am using to start the wireless network with WPA2. It is based on the references provided by roberts and fightie. I put two files with the drivers in the root directory of my USB memory stick, from which I am actually booting: net5211.inf and AR5211.sys. They come from the Atheros drivers for Windows.
 
 
 | Code Sample |  | #!/bin/bash # shell script to start wireless networking with WPA2
 # with DSL 3.3 and Atheros 5212 based mini-PCI card.
 # May 11, 2007
 
 # The original Atheros kernel modules need to be removed.
 # They don't work with WPA/WPA2 probably due to incompatible versions.
 
 rmmod ath_pci
 rmmod ath_rate_sample
 rmmod ath_hal
 
 # Start the ndiswrapper driver using Atheros' Windows drivers.
 # Print a confirmation message that the drivers are loaded.
 
 ndiswrapper -i /cdrom/net5211.inf
 ndiswrapper -l
 
 # Insert the ndiswrapper driver in the kernel
 # First remove any leftover ndiswrapper drivers.
 
 modprobe -r ndiswrapper
 modprobe ndiswrapper
 sleep 5
 
 # Now start wpa_supplicant with the configuration file
 
 wpa_supplicant -B -Dndiswrapper -i wlan0 -c /cdrom/wpa_supplicant.conf
 
 # Obtain an IP address
 
 pump -i wlan0
 | 
 
 I will continue to run tests with the setup; as I said, I haven't tried loading big files yet. For general internet access and browsing it has worked so far. Thanks a lot for your helpful suggestions.
 |