ladi wrote:Hi acraigon,
The steps you have taken look ok, but I suspect that your card does not even have an IP address just yet, unless you assigned a static IP address, which is probably unlikely.
You will need to ensure that there is a DHCP server running on your LAN, preferably on your router/access point. Of course, the DHCP client needs to be running on your machine to start with! You can check to see the status of your wireless card by running ifconfig -a (as root).
I have also found that ndiswrapper 1.5 does not seem to work if you do not broadcast your ESSID. I suspect that will be the same with v1.6 as well. I'm hoping it will be fixed in v1.7, so I can change my ESSID and then switch off broadcasting. There was a document I saw that says how to get around this, but let us verify what the problem is first.
I found this document useful, and it formed the basis of the script below which I use to start my wireless card. Once it's working properly, you can plug it into rc.inet1, so that it starts automatically at boot-up. You may need a similar script to take the interface down neatly at shutdown. Please feel free to check whether it works for you. However, I use wpa_supplicant rather than xsupplicant, which I am not very familiar with. I expect, however, that they serve similar purposes. Consider using wpa_supplicant if you are using WPA.
If you do stick with xsupplicant, remember to comment out the wpa line in my script and replace it with the xsupplicant equivalent. That line tells wpa_supplicant to use ndiswrapper to connect to the AP using the security settings in the wpa_supplicant.conf file.
Let us know how it goes.
========== script follows ==============
#load ndiwapper interface
# activate wireless interface
ifconfig wlan0 up
# connect to access point with WPA encryption
wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -B
# start dhcp to bring up network and procure IP address
echo "wireless configuration completed"
#End of script
========== script ends ==============
Users browsing this forum: Bing [Bot] and 0 guests