[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiled madwifi module, how to 'reload' without rebooting

Jaime Tarrant wrote:
On Thu, 31 Jul 2008 22:36:09 -0400
"H.S." <hs.samix@gmail.com> wrote:


On a Debian Testing I just compiled the new module from
madwifi-source. How do I reload that module without rebooting? lsmod
does not list madwifi as a module. My current modules are:
$> lsmod
Module                  Size  Used by
ath_hal               301696  3 ath_pci,ath_rate_sample

The Madwifi module is ath_pci - see ath_pci above in your lsmod output.

To reload it, something like the below command, as root, should do the

modprobe -rv ath_pci && modprobe -v ath_pci


Thanks for the tips. However, ran in to some problems. Here is what happened:
~# /etc/init.d/hostapd  stop
Stopping advanced IEEE 802.11 management: hostapd.
~# lsmod | grep ath
ath_pci               206936  0
ath_rate_sample        12384  1
wlan 200912 6 wlan_tkip,wlan_xauth,ath_pci,wlan_scan_ap,ath_rate_sample
ath_hal               301696  3 ath_pci,ath_rate_sample
~# modprobe  -rv ath_pci
rmmod /lib/modules/2.6.25-2-686/kernel/drivers/net/ath_pci.ko
~# lsmod | grep ath
ath_rate_sample        12384  0
wlan 200912 4 wlan_tkip,wlan_xauth,wlan_scan_ap,ath_rate_sample
ath_hal               301696  1 ath_rate_sample
~# modprobe -v ath_pci
insmod /lib/modules/2.6.25-2-686/kernel/drivers/net/ath_pci.ko autocreate=ap
FATAL: Error inserting ath_pci (/lib/modules/2.6.25-2-686/kernel/drivers/net/ath_pci.ko): Unknown symbol in module, or unknown parameter (see dmesg)

So I just rebooted the machine.


Reply to: