LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Madwifi Kernel Modules (https://www.linuxquestions.org/questions/linux-wireless-networking-41/madwifi-kernel-modules-378089/)

superdude_876 10-29-2005 01:08 PM

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?

Alien Bob 10-29-2005 04:49 PM

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

rphook 10-30-2005 01:35 PM

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.

Alien Bob 10-30-2005 06:19 PM

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

spektrum 12-07-2005 09:29 AM

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.

spektrum 12-07-2005 10:09 AM

no problem. fixed it
 
I just uncompressed the modules. It worked :)
Thanks for the help on these posts anyway!


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