Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
By AceofSpades19 at 2007-11-18 15:33
Greetings, welcome to my guide on Ndiswrapper and wpa_supplicant
Compiling Ndiswrapper from source
1. Get the ndiswrapper source code from http://ndiswrapper.sourceforge.net and untar it(I presume you know how to untar sourcecode)
NOTE:Make sure you have gcc, kernel source and kernel headers installed before compiling ndiswrapper
2.cd to where the ndiswrapper sourcecode is, run
then, as root
3.cd to the directory with your wireless drivers, and run, as root
Code:
ndiswrapper -i <driver>.inf
4.now run, as root
5. now run, as root
Code:
modprobe ndiswrapper
now your card should be up
Installing Ndiswrapper on Ubuntu with .deb packages
1. install these packages http://packages.ubuntu.com/feisty/misc/ndiswrapper-common and http://packages.ubuntu.com/feisty/misc/ndiswrapper-utils-1.9
2.cd to the directory with the wireless drivers and run, as root
Code:
ndiswrapper -i <driver>.inf
3. Now run, as root
4.Now run, as root
Code:
modprobe ndiswrapper
Getting wpa_supplicant working
1. first verify that you have it installed by typing
if that doesn't do anything, install it through your distro's package manager
2. Now you must make a config file in /etc, called wpa_supplicant.conf, here is a sample
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
scan_ssid=1
ssid="putacesspointnamehere"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="putpasskeyhere"
}
That template has worked very well for me
3. now run, as root
Code:
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -w
replace wlan0 with the actual device name of your wireless card
4.now run, as root
replace wlan0 with actual device name of your wireless card
Now you should be connected to the internet, congratulations
All times are GMT -5. The time now is 11:17 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News