Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st November 2004, 05:27 PM
bärtil Offline
Registered User
 
Join Date: Oct 2004
Posts: 47
HOWTO: WPA authenticated wireless networking on FC3

This is not very good howto but i hope it will help someone.. sorry my bad english!

First dowload ndiswrapper, wpa_supplicant and winxp drivers for your card, move them to /root

Untar and make ndiswrapper:
Code:
cd /root
tar zxvf ndiswrapper-0.11.tar.gz
cd ndiswrapper-0.11
make install
Download and install your winxp wlan drivers:
Code:
mkdir /root/xp_driver
cd /root/xp_driver
unzip ../driver.zip
ndiswrapper -i /root/xp_driver/driver.inf
Write configuration for ndiswrapper to modprobe.conf:
Code:
ndiswrapper -m
Then configure network:
Code:
system-config-network
select New-->Wireless connection-->ndiswrapper(wlan0)
Mode:Auto, Network name:Auto, Channel:your AP channel, Rate:Auto, Key:leave blank
Select dhcp or static, wichone you use.. Apply and close configuration tool
Next make wpa_supplicant:
Code:
cd /root
tar zxvf wpa_supplicant-0.2.5.tar.gz
cd wpa_supplicant-0.2.5
echo CONFIG_DRIVER_NDISWRAPPER=y >.config
make
cp wpa_supplicant wpa_passphrase wpa_cli /usr/local/bin
then edit /etc/wpa_supplicant.conf to look like this:
Code:
ctrl_interface=/var/run/wpa_supplicant # for wpa_cli support

network={
  ssid="myssid"
  psk="mysecret"
  key_mgmt=WPA-PSK
  proto=WPA
}
to get wpa_supplicant automatically load with ifup type
Code:
echo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -wB >> /etc/sysconfig/network-scripts/ifup-wireless
and final type
Code:
ifup wlan0
and networkin should came up, if not check configs match your AP's parameters
if it works use system-config-network to make wlan0 start automatically at boot
Reply With Quote
  #2  
Old 8th November 2004, 03:55 PM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 36
Posts: 533
Thanks for this how to, it works for me.
Except when you need to change the wireless profile. You need to kill wpa_supplicant every time...
Reply With Quote
  #3  
Old 8th November 2004, 04:12 PM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 36
Posts: 533
I found the solution to properly and automaticaly exit wpa_supplicant when the wireless interface is down.
Code:
echo killall wpa_supplicant > /etc/sysconfig/network-scripts/ifdown-wireless
chmod +x /etc/sysconfig/network-scripts/ifdown-wireless
Now each time you put down a wireless interface, wpa_supplicant is killed.
Reply With Quote
  #4  
Old 9th November 2004, 09:04 AM
bärtil Offline
Registered User
 
Join Date: Oct 2004
Posts: 47
yeah, great!
Reply With Quote
  #5  
Old 11th November 2004, 01:10 PM
bentterp Offline
Registered User
 
Join Date: Nov 2004
Location: Sweden
Age: 44
Posts: 1
Hmm, doesn't ndiswrapper clash with 4KSTACKS anymore? Or is that just so obvious that we don't even talk about it?
Reply With Quote
  #6  
Old 11th November 2004, 04:23 PM
bärtil Offline
Registered User
 
Join Date: Oct 2004
Posts: 47
ndiswrapper works fine with FC3, you dont need to worry about 4STACKS.. by the way, anyone heard anything about 64bit wireless drivers?? i want to use 64bit version of FC3
Reply With Quote
  #7  
Old 12th November 2004, 02:17 PM
Dhana Offline
Registered User
 
Join Date: Oct 2004
Location: Bristol UK
Age: 31
Posts: 64
yes, no go until 64 bit drivers for windows get released i'm afraid, if you want wireless i'd stick with 32bit FC3 for now sorry, there is someone who's working on it, but god knows how long that's going to take
Reply With Quote
  #8  
Old 17th November 2004, 11:28 PM
bertj Offline
Registered User
 
Join Date: Nov 2004
Location: Hoofddorp (Amsterdam), Netherlands
Posts: 1
What about an Dell TrueMobile-card with no winxp-drivers present?
Because I won't get Open1x compiled on my FC3-desktop, this HOWTO is my only option to get it work.

Thnx,
Bert
Reply With Quote
  #9  
Old 13th February 2005, 02:45 AM
deucez Offline
Registered User
 
Join Date: Feb 2005
Location: Indiana
Age: 35
Posts: 7
This is a great how to. I'm new to Linux and have used this along with some other information I found on the Internet to get my wireless card (BCM4306) working, but have a problem. When I try to start wlan0 I get the following message.

./ifup-wireless: line 96: wpa_supplicant: command not found

Any ideas what I have done wrong?

I'm running FC3 kernel 2.6.10-1.760.

Thanks
Eric
Reply With Quote
  #10  
Old 13th February 2005, 03:21 AM
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 46
Posts: 8,256
Thank for the info bartil....this may even help me since I am learning networking in windoz and fedora.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #11  
Old 7th March 2005, 08:53 PM
meganbg Offline
Registered User
 
Join Date: Feb 2005
Posts: 11
I did find a 64-bit broadcom driver, but there seems to be a memory leak somewhere in the network (I suspect the driver, but cannot prove it). I found the driver here <http://ubuntuforums.org/attachment.php?attachmentid=186>. Also, for me it has only worked with the as-distributed FC3 2.6.9 kernel. When I updated to 2.6.10, it stopped working...
Reply With Quote
  #12  
Old 7th April 2005, 06:15 AM
mincemeat Offline
Registered User
 
Join Date: Dec 2004
Posts: 3
Quote:
Originally Posted by deucez
When I try to start wlan0 I get the following message.

./ifup-wireless: line 96: wpa_supplicant: command not found

Any ideas what I have done wrong?

I'm running FC3 kernel 2.6.10-1.760.

Thanks
Eric
Hi Eric. I'm sure you've figured it out by now, so if any other noobies are trying this...
This worked for me. The last line in /etc/sysconfig/network-scripts/ifup-wireless should read:

/usr/local/bin/wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -wB

BTW, Bartil, great tutorial. Thanks.

Also, I have noticed that my system locks up with the Broadcom 4306 rev. 3 driver (14e4:4320) and the 2.6.10 kernel so meganbg isn't alone.

Regards,
Christian
Reply With Quote
  #13  
Old 4th May 2005, 12:42 AM
dragon Offline
Registered User
 
Join Date: May 2004
Posts: 72
Identifying card / driver

bertj,

Check the ndiswrapper driver list page: http://ndiswrapper.sourceforge.net/p...index.php/List

It has links to the drivers that appear to work for each card and card-specific instructions for some cards.

Also, if you want to find the chipset of your card (which determines which driver you will need), try running:
Code:
/sbin/lspci
this should produce something like:
Code:
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 01)
02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:03.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 03)
The last line is my wireless LAN card.

Good luck!
Reply With Quote
  #14  
Old 4th May 2005, 12:46 AM
dragon Offline
Registered User
 
Join Date: May 2004
Posts: 72
Quote:
Originally Posted by meganbg
I did find a 64-bit broadcom driver, but there seems to be a memory leak somewhere in the network (I suspect the driver, but cannot prove it). I found the driver here <http://ubuntuforums.org/attachment.php?attachmentid=186>. Also, for me it has only worked with the as-distributed FC3 2.6.9 kernel. When I updated to 2.6.10, it stopped working...
meganbg,

I believe it's necessary to recompile ndiswrapper and reinstall the drivers when you upgrade the kernel. Try this and see how you go.
Reply With Quote
  #15  
Old 4th May 2005, 12:56 AM
dragon Offline
Registered User
 
Join Date: May 2004
Posts: 72
Quote:
Originally Posted by mincemeat

Also, I have noticed that my system locks up with the Broadcom 4306 rev. 3 driver (14e4:4320) and the 2.6.10 kernel so meganbg isn't alone.

Regards,
Christian
Christian,

The freeze may be caused by the driver being too large for the Fedora kernel. This is known as the 4K stack issue, where Fedora will freeze if you attempt to load a driver larger than 4K (although ndiswrapper will load, many Windows drivers are larger than this and this will cause the freeze).

There are two possible solutions:
1) Upgrade to a 16k stack kernel (16 k stack Fedora kernels provided at: http://ndiswrapper.sourceforge.net/p...dex.php/Fedora)
2) Use a Windows 98 driver instead of 2000 / XP. Some of these are smaller, and so don't cause the prolem with the 4k stacks. See: http://ndiswrapper.sourceforge.net/p...index.php/List. This page provides suggestions as to which driver files to use (please note that multiple versions may be packaged in the same driver download, so you may need to pick out the individual driver files to install).

Hope it helps.
Reply With Quote
Reply

Tags
authenticated, fc3, howto, networking, wireless, wpa

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
openjdk java plugin does not work (behind authenticated proxy) pankajp Using Fedora 0 28th February 2009 04:13 PM
[F8] Yum with authenticated ISA proxy CraigWatson Servers & Networking 1 4th July 2008 11:22 PM


Current GMT-time: 21:20 (Monday, 20-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
La Laja Travel Photos on Instagram - Siguiri Photos on Instagram - Tagum Travel Photos on Instagram