Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I also found this post very useful. On Fedora Core 1 things are a bit simpler. I've attached my notes below, which worked OK for me on FC1 with the 20040523 tarball of madwifi. Right now CVS access is down.
Problem is, after I do this I get random delayed doubled characters at the keyboard when in Gnome, though not from any of the virtual text consoles. Anyone else seen anything like that? I have a D-Link DWL-G650.
-------------------------------------------------------------------------------------------
My notes for installing madwifi on Fedora Core 1.
1. If you haven't, install the kernel-source RPM for your kernel.
2. The following commands have to be done as root unless you, as I do, 'chmod
-R /usr/src/linux-2.4' to an ordinary user.
cd /usr/src/linux-2.4
cp configs/kernel-2.4.22-CPU.config .config # replace CPU with yours
make menuconfig
# when menuconfig starts, tab once to highlight EXIT, hit Enter, then
# accept default answer to "Save configuration" with another Enter.
make dep
3. cd to your madwifi directory and do "make" then, as root, "make install"
4. Put the following lines in a file called /etc/sysconfig/network-scripts/ifcfg-ath0:
WPA is supported but only via the 'wpa' branch of madwifi. See the project home page at http://sf.net/projects/madwifi for details. Sam Leffler says that as soon as a few more bugs are squashed, the WPA branch will become the only one.
Remember, we are trying to install a network card, so if you don't have it installed, you can't download anything. I make this mistake often when giving advice.
I followed your instructions up to the cvs command and got a host bla bla bla doesn't exist error so I am stuck. . .
Also, for future peoples, some people might not know how to find out what kernel version they have and all that other info too. Is there a simple way to find this info out?
Yes, there is a bootstrap problem when you're trying to get on line. My best advice is to buy a cheap wired network card and build WiFi with it installed, then make the switch per my instructions. Most mobos and laptops nowadays come with integrated wired network, so you may not even need to buy a card.
To find out what kernel version you're using:
uname -a
The output will be similar to
Linux localhost.localdomain 2.4.22-1.2194.nptl #1 Thu Jun 17 10:56:28 EDT 2004 i686 athlon i386 GNU/Linux
which tells you you're running 2.4.22-1.2194.nptl on an athlon CPU. On Fedora, though, if you simply do
I found a recent madwifi driver online so I didn't need to use cvs. Anyway, I did the export thing and the make && make install. I am sure I did it correctly because there were no errors from what I could see.
Anyway when I try to modprobe it tells me that there is no wlan module and when I try the insmod they say no such file wlan. There are three files in the net directory wlan.ko is one of them.
I'm using Mandrake 10 2.6.3 Kernel and I used a kernel source link for the make and make install. I'm guessing that I can't skip these steps, do you know what I did wrong? Or didn't do?
Thnx for the detailed desc. Not many people get so detailed on these forums and it is hard for us newbies
I am having similar problems using Fedora Core 2 after compiling the 2.6.7 kernel (Fedora came with 2.6.5-1.358). I downloaded the latest madwifi from the cvs that now has wpa built-in. I'd appreciate any advice. These seem to be only warnings, but it didn't used to do them when I was using RedHat 9 and 2.4 kernels.
Here are a couple of the warnings of each type (no CRC and undefined)
*** Warning: "ieee80211_crypto_register" [/usr/local/src/madwifi-20040809/net80211/wlan_wep.ko] has no CRC!
*** Warning: "rc4_crypt_skip" [/usr/local/src/madwifi-20040809/net80211/wlan_wep.ko] has no CRC!
*** Warning: "ieee80211_crypto_unregister" [/usr/local/src/madwifi-20040809/net80211/wlan_wep.ko] has no CRC!
*** Warning: "rc4_init" [/usr/local/src/madwifi-20040809/net80211/wlan_wep.ko] has no CRC!
*** Warning: "ether_sprintf" [/usr/local/src/madwifi-20040809/net80211/wlan_wep.ko] has no CRC!
With the 2.6.x kernel, you need to have the module-init-tools package installed. That's where the error QM_MODULES is coming from. (I'm guessing you see this error alot at bootup as well...)
Just run:
apt-get update
apt-get install module-init-tools
P.S. After you install the package, recompile your kernel and run 'make modules_install' as well.
I'm happy to see that some of you have been able to use my how-to.
It seems that I need to clearify what is said in the subject; this is a how-to for the 2.4 kernel series, and NOT for 2.6 series.
I have not made the change to 2.6 on my laptops and I do not plan to do so for some time yet, therefor I cannot provide
any help on getting this to work on 2.6.
Also this how-to is getting rather outdated and may not work anymore due to being irrelevant in its current state.
I do not plan on posting a how-to for 2.6 any time soon, so please do not ask, all information that should be needed can be found
in the README and INSTALL files that is included with the madwifi package, alternatively the wireless-tools package.
If your using Debian 2.6.x there is a very good chance it will work. Though I can only speek for the Atheros Driver for Wifi (madwifi).
I have a D-Link AirPlusXtreme DWL-G520 PCI installed on a Gateway 1.7MHZ 384MB PC
I got it to work and communicate with the D-Link DWL-2100AP 108Mbps Access Point.
The Access Point is connected to a Linksys ROUTER that is connected to my ADSL Modem
which is connected to the ISP via DSL (phone line).
My only problem is I cannot seem to get the PC to talk to the internet via wireless though all the hardware works. I could use some help, my guess is I need to set some static routing or such.
Since this is a 2.6.x issue if anyone is interested I will email how I got the wifi running this far, perhaps I'll get the rest done soon.
WOW! DigitalVixen, I can't thank you enough for the Madwifi walk through. I followed your steps exactly, up to the point of confusion over whether I wanted to use 802.11a, and how to switch the mode. I'm running Mandrake 10.1, kernel 2.6.8.1-12mdk and on a hunch I launched MCC and sure enough, it let me load the atheros driver and config it with nice pretty graphics I can't tell if I was more surprised or shocked when it worked, but I'm a happy camper now that it does. The only downside is that the lights on my DWL-g650 blink too much. Oh well, caveat emptor!
After many days of nothing I stumbled across this howto. THANK YOU SO MUCH. I was able to use it to get my wireless up using WEP. Then once I knew madwifi was set up and working I installed wpa_supplicant and am now successfully using WPA encryption on my Slackware 10.0 box. I added a couple lines to rc.local to start up my dhcpcd and all is well. If anyone is interested I used this howto with the following setup:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.