Linux Wireless LAN Support
As ever, the Linux community provides excellent support for wireless LAN on Linux. No one seems to have a definitive guide of how to get it going though, so I thought I'd write up my experiences (of nothing else, this will add to the bits and bobs of information that are around on the subject!).
Background
I have a Redhat 7.3 system (from Digital Networks UK). DN-UK compile in a slightly modified kernel into the factory installed systems. I'm not sure what this is actually for, and I suspect has little relevance here. My system is a desktop, and has no
Wireless Cards
Initially, I bought an XI325H card, again from Seg (info). It's completely unlabelled, and so gives no information about the manufacturer or the card's chipset. I hacked about with this for a bit, and then bought a Netgear MA401, which I got working quite easily. I then found my XI325H also worked fine with the same config as the Netgear.
When starting out in this field, I would suggest buying a branded card that is listed as supported on the 62 compatibility list.
How to Get it Going
First of all, the kernel (2.4.18, in my case) needs to be compiled with
Also, I made all
Secondly, I installed an RPM from the Redhat CDs (or get it from the website). I put on the pcmcia-cs package to get /etc/pcmcia/* files. Also, the wireless tools package is required (to give you things like "iwconfig" to actually set parameters in wireless devices). This package should also be in the distribution, but I got wireless-tools-21-3 from rpmfind.net and used that.
To recap, by now the system should have
I'm sure there are smarter ways to do this, but I found a reboot here got everything running as it should. The
I then added the following entries to /etc/pcmcia/config:
card "NETGEAR
manfid 0x000b, 0x7300<br /> bind "orinoco_cs"29
I found you can safely stop and restart the
This (still) confuses me. The Orinoco driver is supposed to be part of the kernel, yet I can't find the option that gets it compiled as a module. Anyone know what I'm missing?
I downloaded orinoco-0.12.tar.gz from http://ozlabs.org/people/dgibson/dldwd/ and compiled and installed it as per it's instructions. Then, restarted the
Apr 18 14:55:22 localhost cardmgr[603]: initializing socket 0
Apr 18 14:55:22 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Apr 18 14:55:22 localhost cardmgr[603]: socket 0:
Apr 18 14:55:22 localhost cardmgr[603]: executing: 'modprobe orinoco_cs'
Apr 18 14:55:22 localhost cardmgr[603]: executing: './network start eth1'
Apr 18 14:55:22 localhost cardmgr[603]: exiting
I found that although all this had taken place, the card still would not communicate with the Access Point. I later found that this was due to the /etc/pcmcia/wireless.opts file. I originally had an entry for the specific hardware address of the Netgear card, but I found that making that a wildcard worked fine (after all, I want the system to configure any wireless card in the same way, so actually that's fine).
I also found I had to play about with /etc/sysconfig/network-scripts/ifcfg* files to get the wireless interface to actually get the IP address I wanted and so on. Since I wanted to use the wireless interface for everything, and not to use the built in wired ethernet, I set"ONBOOT=no" in "ifcfg-eth0". Since the wireless device came in as eth1, I just copied "ifcfg-eth0" to "ifcfg-eth1" and then changed the IP address line.
References
I found the following sites pretty handy along the way:
* http://pcmcia-cs.sourceforge.net/
* http://ozlabs.org/people/dgibson/dldwd/<br /> * http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html<br /> * http://sourceforge.net/projects/orinoco/47
Of course, things like Alltheweb and Google are pretty handy too ;-)
Finally, if you've got a problem getting your wireless or
Attachment | Size |
---|---|
kernel-config.txt | 23.01 KB |