LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-30-2009, 10:33 PM   #1
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Distro to create Wireless Access Point - Atheros AR5212 PCI NIC


I would like to build a Wireless Access Point into an existing firewall. I have tried to set up the firewall/WAP using Debian Lenny, however, the distro apparently does not include Atheros drivers (ath5k) that support the required Wifi NIC mode (Master mode). The specific wireless NIC I am using is the Linksys DWL-G510 Wireless PCI Adapter(rev.B), using chipset 'AR2413 802.11bg NIC (rev 01)'. The NIC works fine in Managed mode, and can connect to another WAP when used as a wireless client.
If someone can provide a specific recipe for a WAP using a specific combination of Linux and current PCI wireless card, I would probably be willing to buy a new NIC.
My goal is to provide a WAN connection on one ethernet, LAN on a second ethernet, and a WAP bridged to the LAN ethernet. This is intended to allow either wired or wireless hosts to access other LAN hosts as well as general Internet access through the firewall. I am presently using a firewall package HomeLANsecurity, and intend to continue to do so.
Any pointers to good, recent, online articles that pertain to the drivers using my NIC would be welcomed.
Thanks.
--- rod.

Last edited by theNbomr; 01-01-2010 at 12:28 PM.
 
Old 12-31-2009, 05:22 PM   #2
ofaring
Member
 
Registered: Feb 2006
Location: Ontario, Canada
Distribution: Debian, sometimes BSD.
Posts: 44
Blog Entries: 13

Rep: Reputation: 21
First off, I love your signature.
Quote:
If it isn't broken, fix it until it is.
That's something I happen to have practised many, many times. Excellent...! Also, that's a great link you've got there.

Anyway, I just wanted to address your statement about drivers. The ath5k drivers are not well developed in the Debian "stable" kernel version: 2.6.26. Instead, I would recommend you try the madwifi driver available through Apt, etc.

Code:
# apt-get install module-assistant madwifi-source madwifi-tools
# m-a prepare
# m-a a-i madwifi
Voila.

While I'm not positive whether or not madwifi supports your chipset, (You did mention ath5k, as opposed to the Marvell chipset.) I imagine that it will, since it's an older one. And it's sure easy to find out.

Good luck.
 
Old 01-01-2010, 12:34 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Original Poster
Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Okay, I will try that. However, I tried to use the madwifi drivers with a different distro and different host (same wireless NIC), and found that for this NIC, it would not invoke the Master mode required to implement a Wireless Access Point. It seems that this is a less used mode and support for it either never gets created, or it lags behind support for other more mainstream features.

I wish I could find a good document that explains how all of the various pieces fit together. There seem to be so many sources and styles of drivers and related components (hostapd, wpa_supplicant, etc.). Some seem to be tied to certain drivers, some seem to be 'otpional' but only work in certain situations, etc. I am starting to digest it all, but it is a slow process.


Thanks for your response.
--- rod.
 
Old 01-17-2010, 08:43 AM   #4
madyogi
LQ Newbie
 
Registered: Feb 2009
Location: Poland
Distribution: My own, Fedora, OpenSuse
Posts: 19

Rep: Reputation: 2
Does this helps you?
ftp://ftp.ptatera.pl/pub/doc/ap-linux-how-to.pdf
It's not Debian based but rather OS independent (based on sources).

I connect with AP using a laptop, running Fedora 11 and over the ndiswrapper 1.54. Works very stable with full 54 Mb/s.

Good luck...
 
Old 01-18-2010, 03:24 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Original Poster
Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Thanks for posting that, madyogi. It looks quite do-able. What specific make/model was the Wireless NIC that you used? I looked at the list of NICs that the chip manufacturer says use the chip, and very few look familiar to me. Is there a 'brand-name' instance, and in particular, one that always uses that chip (as opposed the the numerous others that are named the same but have different silicon under the hood)?
--- rod.
 
Old 01-19-2010, 09:58 AM   #6
madyogi
LQ Newbie
 
Registered: Feb 2009
Location: Poland
Distribution: My own, Fedora, OpenSuse
Posts: 19

Rep: Reputation: 2
For my AP I used a cheap OEM card, produced by TECHNIC LAN (that's what the PCB says), the model is WIPR-3012. Truly I wasn't hoping for it to be a perfect choice for Linux support. Took it because of its price. I guess I was lucky...

As far as I know, the RaLink's chips are always plugged into cheaper, low budget models. You won't find them in 3Com and surprisingly they are quite good. It's hard to name any of models - I'm not a wireless hardware geek, just needed the AP and made one...

The driver you will need must support the 'libnl' library and 'mac80211' kernel module extension (guess, thats it).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
EnGenius Atheros -AR5212/AR5213- wireless problem, help ^!^ sharista Linux - Networking 0 02-04-2009 09:50 AM
Slackware Wireless PCI Card Access Point, shared internet via DHCP NIC orbit Slackware 4 10-13-2008 02:42 AM
Ubuntu 8.04 wireless problems on t60 thinkpad using atheros wireless adapter AR5212 NuxIT Linux - Wireless Networking 0 08-21-2008 05:54 AM
Integrated 802.11b/g Atheros AR5212 Wireless LAN not detected Pap00se Suse/Novell 3 07-03-2006 10:19 AM
Wireless Access Point using Slackware 9 and Netgear MA311 PCI eric.r.turner LinuxQuestions.org Member Success Stories 2 09-07-2003 11:10 PM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration