View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Madwifi and R4V3
PostPosted: Tue Apr 27, 2004 1:26 pm 
Offline
Joined: Sat Mar 06, 2004 4:48 pm
Posts: 14
Location: Livonia, MI
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 27, 2004 2:29 pm 
Offline
Joined: Sat Mar 06, 2004 4:48 pm
Posts: 14
Location: Livonia, MI
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!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 27, 2004 5:33 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 28, 2004 5:35 pm 
Offline
Joined: Sat Mar 06, 2004 4:48 pm
Posts: 14
Location: Livonia, MI
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 28, 2004 8:30 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 7:03 am 
Offline
Joined: Sat Mar 06, 2004 4:48 pm
Posts: 14
Location: Livonia, MI
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!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu