shelly@localhost ~/madwifi-0.9.4/madwifi-0.9.4 $ su
Password:
localhost madwifi-0.9.4 # ifconfig ath0 down
ath0: unknown interface: No such device
localhost madwifi-0.9.4 # ifconfig wifi0 down
wifi0: unknown interface: No such device
localhost madwifi-0.9.4 # cd scripts
localhost scripts # ./madwifi-unload.bash
localhost scripts # ./find-madwifi-modules.sh $(uname -r)
WARNING:
It seems that there are modules left from previous MadWifi installations.
If you are unistalling the MadWifi modules please press "r" to remove them.
If you are installing new MadWifi modules, you should consider removing those
already installed, or else you may experience problems during operation.
Remove old modules?
[l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
r
localhost scripts # cd ..
localhost madwifi-0.9.4 # make
/bin/sh: line 0: cd: /lib/modules/2.6.23-sabayon-r1/build: No such file or direc tory
Makefile.inc:66: *** /lib/modules/2.6.23-sabayon-r1/build is missing, please set KERNELPATH. Stop.
localhost madwifi-0.9.4 # makefile
bash: makefile: command not found
localhost madwifi-0.9.4 # make
/bin/sh: line 0: cd: /lib/modules/2.6.23-sabayon-r1/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.23-sabayon-r1/build is missing, please set KERNELPATH. Stop.
localhost madwifi-0.9.4 # make install
/bin/sh: line 0: cd: /lib/modules/2.6.23-sabayon-r1/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.23-sabayon-r1/build is missing, please set KERNELPATH. Stop.
localhost madwifi-0.9.4 # modprobe ath_pci
WARNING: Could not open '/lib/modules/2.6.23-sabayon-r1/net/ath_hal.ko': No such file or directory
WARNING: Could not open '/lib/modules/2.6.23-sabayon-r1/net/wlan.ko': No such file or directory
FATAL: Could not open '/lib/modules/2.6.23-sabayon-r1/net/ath_pci.ko': No such file or directory