 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

14th July 2008, 03:11 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
Fedora as WAP?
I've been searching the forums for a while now and haven't been able to find any posts on setting up fedora (8) as a wireless access point using NAT..
This is obviously possible, but after installing a new wireless PCI card in my fedora 8 box I can't seem to figure out how to broadcast the card as a WAP so that it's visible from other wireless devices.
Does anyone know how this is done?
|

14th July 2008, 03:32 AM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,298

|
|
The key feature is switching the interface to "Managed" mode, but then a lot of details apply.
You may find this link educational,
http://www.linux.com/articles/55617
but also look into what the Linux based router software (dd-wrt, open-wrt) do as an example.
|

17th July 2008, 05:53 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
Quote:
|
Originally Posted by stevea
The key feature is switching the interface to "Managed" mode, but then a lot of details apply.
You may find this link educational,
http://www.linux.com/articles/55617
but also look into what the Linux based router software (dd-wrt, open-wrt) do as an example.
|
Thanks for the reply.
I tried following the tutorial on this page and tried modifying it for fedora/red hat (since it was written for debian) and I still haven't been able to get it working. And...by that I mean that the SSID isn't broadcasting at all.
This also may be due to the fact that hostapd doesn't seem to be running (even after I call the file /usr/sbin/hostapd) Any ideas?
|

21st July 2008, 04:33 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 30

|
|
|
what brand wireless card you have, if it's atheros and supported via madwifi (all of them are basicly) I can paste a small script I made for myself that will give you a wap instantly
|

21st July 2008, 10:08 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
well..i've got a linksys wmp54g with a RaLink chipset ..can't seem to find much linux support for it, in this manner
|

21st July 2008, 10:28 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 148

|
|
You could see if this helps:
http://linux-wless.passys.nl/query_p...ndname=Linksys
If you can figure out which version of the hardware you have you can see if any of the supporting drivers allow managed mode.
|

22nd July 2008, 04:17 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
well, i tried the one for my card...the driver didn't seem to really take, and I was unable to set the card to Master mode...maybe I'll return the card and see if I can't find one with the prism chipset for madwifi and hostapd
|

22nd July 2008, 04:50 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 148

|
|
You don't want prism. Get a card with an atheros chip, which uses the madwifi driver. I have had a prism based adapter, ralink, and atheros, and the atheros driver is by far the best. In fact, I'm using a linux box with an atheros based card as a WAP to get wireless in order to type this
|

22nd July 2008, 05:02 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
lol. thanks for the heads up matt i'll have to check it out and see if i can get something locally now
|

22nd July 2008, 05:40 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
btw, what card are you running in that linux WAP?
|

22nd July 2008, 08:42 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 30

|
|
|
" In fact, I'm using a linux box with an atheros based card as a WAP to get wireless in order to type this"
he's using an atheros card, same as I am, for an access point.
|

23rd July 2008, 03:55 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
So I think I'm gunna go with a Netgear WPN311. According to Madwifi's site it's compatible, and by all information I can find it's got an Atheros chipset...plus it's got a removeable antenna with what looks like a reverse SMA connector.
Any thoughts?
|

23rd July 2008, 06:22 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 148

|
|
I'm using this card:
http://www.tp-link.com/products/product_des.asp?id=13
TP-Link TL-WN650G
For no other reason that it was super cheap and available. The signal strength leaves a little to be desired, but it works everywhere I need it to.
It looks like the WPN311 will do you just fine:
http://madwifi.org/wiki/Compatibility/Netgear#WPN311
Definitely the removable antenna is a nice touch.
madwifi.org is a great resource for understanding how to use the driver. The project actually provides two, ath5k is newer, and madwifi is a bit more mature. Fedora kernels have the ath5k driver built in because it doesn't require any closed source software. But I still prefer the madwifi driver, which is available as a pair of kernel modules (madwifi-kmdl-`uname -r` and madwifi-hal-kmdl-`uname -r`) from atrpms (and probably livna). The hal part is closed source, provided by Atheros while the ath5k driver in the kernel is reverse engineered. In order to use madwifi you'll have to stop the kernel driver (ath5k) from loading.
|

23rd July 2008, 08:12 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
sweet. once again thanks for the heads up matt. as far as stopping the ath5k driver..that shouldn't be too difficult. I imagine something along the lines of a rmmod and adding to the blacklist file...but I'll cross that river when it comes. thanks again.
|

8th August 2008, 03:00 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 42

|
|
|
Well hey all, just thought I'd update on how this is going. I finally received the Netgear WPN311(NAR)..and setup the AP to run WPA and forward through eth0...in the NAT fashion of course ;-)
Anywho, I've run into a few small problems. The first issue is of course the defect in the madwifi 0.9.3.3 and 0.9.4 drivers..which cause a system freeze when setting the card on any channel higher than 1. I know there are a few current open tickets on this..and haven't seen if anyone has come up with a fix..? sooo any insight on that would be great.
The second issue currently, is in having hostapd start on boot. after installation there doesn't seem to be a script in /etc/init.d to start it as a server..I can however just run /usr/sbin/hostapd <config file> to get it going that way.. However, in order to call the program on boot I've tried putting an entry in the /etc/rc.local file (which causes the system to not fully boot run level 5..I assume this is because the startup waits for all commands to finish loading..and since hostapd constantly runs, the next command in line can't be called)
I've also tried putting an entry in the $HOME/.bashrc file...which seems to call the program on startup fine...unless you're not root (also, everytime you su, that command wants to execute..which gets very annoying). Does anyone have a possible solution for either of these problems (maybe putting a call to run a separate xterm session to run the hostapd file could work?)
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:13 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|