LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-29-2005, 01:08 PM   #1
superdude_876
Member
 
Registered: Jan 2005
Location: Canada
Distribution: SuSE 10.0
Posts: 55

Rep: Reputation: 15
Question Madwifi Kernel Modules


I'm trying to install madwifi on my Slackware linux computer running kernel 2.6.13.4. I have tried both the regular download and the Slackware one but with both I try to load the kernel modules and it says that they are invald. Any idea what my problem is?
 
Old 10-29-2005, 04:49 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,452

Rep: Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712
The madwifi package for Slackware at http://www.slackware.com/~alien/slackbuilds/madwifi/ (assuming you're talking about that) isnot available for the 2.6.13.4 kernel. Just packages for the regular Slackware kernels.
You'd have to build a package yourself using the sources and the SlackBuild script that you'll find at http://www.slackware.com/~alien/slac...madwifi/build/. The resulting package will be compatible for your 2.6.13.4 kernel.

Eric
 
Old 10-30-2005, 01:35 PM   #3
rphook
LQ Newbie
 
Registered: Sep 2004
Location: I don't have a clue
Distribution: something trendy
Posts: 19

Rep: Reputation: 0
building kernel modules

This is somewhat interesting, from what you have said in order to install a current version of the madwifi driver. Someone needs to download the current source code for the madwifi driver, then build that driver for their specific machine using some compiler, or perhaps the make command. Now to the newbie user like myself, the make command is a little interesting, I'm not exactly sure what the entire command structure is for the make command. I have however read through the entire man pages to try and understand how it works, and it is pretty daunting.
Now lets assume I do figure out how to compile the madwifi driver correctly, I then need to insert it into the kernel. That in and of itself is a huge process, one where I need to run make menuconfig, and alter the module options. But that still doesn't solve my madwifi driver problem of how to insert it into the kernel. Do I need to run "insmod" to the newly compiled madwifi driver, then reconfigure the kernel, and hope it shows up in the menu tree.
Not only that but lets say I do get the driver to be recognized by the kernel, and the kernel configured into a bzimage. Now I need to understand how in the world Lilo or Grub works, and reconfigure that to point to bzimage I just made, not to mention to put the bzimage into the right root directory with the right permisisons.
I would really like it if someone would help me with this, I have been working with ndiswrapper for some time, but I hate having to run it everytime I boot up, it also doesn't work very well for some of the tools I normally use. I would greatly appreciate some help on this. Thankyou.
 
Old 10-30-2005, 06:19 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,452

Rep: Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712Reputation: 7712
If you're running a 2.6.13.4 kernel on Slackware, you sure as hell are not the newbie you're posing as. No Slackware comes with that kernel ready-to-run.
I told in my post "using the sources and the SlackBuild script that you'll find at http://www.slackware.com/~alien/slac...madwifi/build/ ". It's quite simple and I will write it all down for you if you do not want to do the research: you download all the files you find at that URL, you run ./madwifi.SlackBuild as root, and a madwifi package will be created for you in /tmp/tmp-madwifi/.

Read more about getting Madwifi to work on Slackware here: http://madwifi.org/wiki/UserDocs/Distro/Slackware

Eric
 
Old 12-07-2005, 09:29 AM   #5
spektrum
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
I was looking around on the net for good campatible wificards. I run the 2.6.14.3 kernel version, so I found these posts extremly helpfull. Since this card was very easy to find. I bought it today but i ran into some problems...
I compiled and istalled the package mentioned on this list.

lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 80) 00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b198
00:0b.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
00:0b.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
00:0b.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
00:0c.0 Ethernet controller: Unknown device 168c:0013 (rev 01)
00:0f.0 RAID bus controller: VIA Technologies, Inc.: Unknown device 3149 (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. USB (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3227
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (re
v 60)
00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:14.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0045 (rev a1)


this output was actually stored in the nvidia-installer.log !?!?!
WARNING: Module /lib/modules/2.6.14.3/net/wlan_acl.ko.gz is not an elf objec
WARNING: Module /lib/modules/2.6.14.3/net/ath_hal.ko.gz is not an elf object
WARNING: Module /lib/modules/2.6.14.3/net/wlan_wep.ko.gz is not an elf objec
WARNING: Module /lib/modules/2.6.14.3/net/wlan.ko.gz is not an elf object
WARNING: Module /lib/modules/2.6.14.3/net/wlan_tkip.ko.gz is not an elf obje
WARNING: Module /lib/modules/2.6.14.3/net/ath_pci.ko.gz is not an elf object
WARNING: Module /lib/modules/2.6.14.3/net/wlan_xauth.ko.gz is not an elf obj
WARNING: Module /lib/modules/2.6.14.3/net/wlan_ccmp.ko.gz is not an elf obje

I do not really know what this means...? maybe they should not be gzipped? anyway my card is not detected.
 
Old 12-07-2005, 10:09 AM   #6
spektrum
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
no problem. fixed it

I just uncompressed the modules. It worked
Thanks for the help on these posts anyway!
 
  


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
MADwifi/cryptoAPI in kernel 2.6.13-gentoo-r3 kougar Linux - Newbie 1 10-19-2005 05:31 AM
need help with kernel source and madwifi linuxcam Linux - Wireless Networking 10 07-06-2005 03:16 PM
madwifi for SMP kernel mimithebrain Mandriva 0 04-06-2005 01:38 PM
regarding kernel-module-madwifi pranith Linux - Software 0 01-28-2005 08:53 PM
madwifi and kernel 2.6.8 ravalox Linux - Wireless Networking 2 08-27-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration