LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-28-2005, 01:54 PM   #1
lordpeter
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
WPA and ndiswrapper


I am trying to use a WMP54g (v2 with the Broadcom chipset) with FC3 and ndiswrapper 0.12.

First, the easy part. I set up the device to use wlan0 in /etc/modprobe.conf. I manually created an /etc/sysconfig/network-scripts/ifcfg-wlan0 file. Next I set the network to use WEP encryption and manually created an /etc/sysconfig/network-scripts/keys-wlan0 file. Up to this point everything worked properly.

Now the hard part. I installed wpa_supplicant 0.2.6 and changed the network to WPA-PSK. But when I try to run

wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant-0.2.6/wpa_supplicant.conf -dd

I get an error message

Unsupported driver 'ndiswrapper'

and when I reboot it can't find the SSID, I get the error that says

Determining IP information for wlan0... failed: no link present. Check cable?

Having gotten this far is right at the limit of my understanding and I have no idea whwere to go next.
 
Old 01-29-2005, 09:22 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
You followed these directions exactly?
http://www.linux-wireless.org/Wirele...tall-HOWTO.txt
 
Old 02-03-2005, 05:13 PM   #3
lordpeter
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I have solved my problem with the driver -- it was due to an error in the .config file.

In the meantime, I have actually gotten the card to work (when it feels like doing so -- sometimes the WPA authentication just will not hook up) using the following series of commands:

ifconfig wlan0 up
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant-0.2.6/wpa_supplicant.conf
dhclient wlan0

There are just two little problems.
(1) I have to run this sequence every time I start the machine (which I can live with if I have to)
and
(2) I can only run these commands as root (otherwise I get "command not found"), so I can never access the network as myself. I feel as though I must be overlooking something really obvious but I don't know what...
 
Old 02-03-2005, 07:55 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Try putting those commands in /etc/rc.d/rc.local file.
 
Old 02-07-2005, 08:25 PM   #5
lordpeter
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
putting the commands into rc.local caused the machine to hang during bootup, but changing the entry in ifcfg-wlan0 to ONBOOT=no seems to have fixed that problem. I am still having problems with DHCP; I am working on that.

Last edited by lordpeter; 02-09-2005 at 02:08 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless NIC can't Authenticate to AP using WPA; ndiswrapper/wpa_supplicant patkalolo Linux - Wireless Networking 8 07-31-2006 02:47 PM
WPA-PSK w/ ndiswrapper microsoft/linux Linux - Laptop and Netbook 1 08-29-2005 09:02 PM
WPA-PSK TKIP Ndiswrapper - No data issue sti2envy Linux - Wireless Networking 0 03-09-2005 11:53 PM
Ndiswrapper And Wpa In Suse 9.1 biastoch Linux - Wireless Networking 8 11-03-2004 05:29 PM
ndiswrapper and WPA biastoch Linux - Wireless Networking 2 10-12-2004 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration