LinHES Forums http://forums.linhes.org/ |
|
Madwifi and R4V3 http://forums.linhes.org/viewtopic.php?f=2&t=1321 |
Page 1 of 1 |
Author: | shockdoctor [ Tue Apr 27, 2004 1:26 pm ] |
Post subject: | Madwifi and R4V3 |
I just recently upgraded my system to a clean install of R4V3. I was using a Netgear WG311 wireless NIC to connect under R4V2 without any problems. Now I am no longer able to configure the madwifi drivers required to get my NetGear card working. It is expecting to see /usr/src/linux-2.4.25-chw/.config, which no longer exists in R4V3. I installed the kernel sources for 2.4.25 as the madwifi tiki recommends, but it does not create the folder structure I was hoping for and I am still unable to compile the drivers. Does anyone have any idea how I would go about compiling the madwifi drivers in this case, or does anyone have compiled madwifi drivers that they would be willing to share with me. Running a cable to the computer is not an option and I REALLY don't want to spend money on a 802.11B card. |
Author: | shockdoctor [ Tue Apr 27, 2004 2:29 pm ] |
Post subject: | |
I figured out my own problem. I had to perform the following steps: Code: rm -f /lib/modules/2.4.25-chw/build Code: cd /lib/modules/2.4.25-chw Code: ln -s /usr/scr/linux build
Then I had to locate a copy of madwifi-20030802.gz and use that release to compile and install the drivers. Everything appears to be working well now. My only problem now if figuring out how to set up the wireless card with the ssid, WEP key, rate, and all that on bootup. Any pointers would be appreciated! |
Author: | Xsecrets [ Tue Apr 27, 2004 5:33 pm ] |
Post subject: | |
you can set this up in the /etc/network/interfaces file. Should look something like this auto eth0 iface eth0 inet dhcp wireless_essid yourssid wireless_mode managed wireless_key longkeygoesherethisisthehexkey it will complain that this stuff is not supported when it loads, but that's just cruft that hasn't been removed it should work. Of course substitute your initerface name if it is different for example wlan0 for some setups. oh and by the way aren't the madwifi drivers already compiled into r4v3? I know the beta at least had the source there, but I didn't really look at it, because I don't use a wireless card that needs it. |
Author: | shockdoctor [ Wed Apr 28, 2004 5:35 pm ] |
Post subject: | |
if they were already there I somehow managed to completely overlook them. I did try the settings you have suggested, and I sure it would work if I could get the box to load the modules on startup. If memory serves me correctly, when I did a make install the drivers were placed in /lib/modules/2.4.25-chw/net. I copied them into a couple of other locations where I found the standard nic modules, but no luck. For now I just hacked in all the appropriate code into one of the startup scripts in /etc/init.d to get it started. I am having other issues, but the board is touchy in regards to where the cards are all seated so I am sure that is the issue as of right now. |
Author: | Xsecrets [ Wed Apr 28, 2004 8:30 pm ] |
Post subject: | |
to get the modules to load properly you need a couple of lines added to a couple of files. first the /etc/modutils/alliases file should have alias modulename eth0(or wlan0) and the /etc/modules file should have the modulename added to it. also the easy way to get a module to load on boot is to do modconf as root, and find and load the module from there. one note that getting a module to load this way will not add the alias line you need for a network card, but it will add any option lines you need if you add them when loading. |
Author: | shockdoctor [ Thu Apr 29, 2004 7:03 am ] |
Post subject: | |
I'll have to give that a try. I think I saw the appropriate line(s) in the /etc/modules/aliases file. It's probably just not referenced in /etc/modules. Thanks! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |