http://debian.linux.pl/viewtopic.php?t=6570
Jednak podczas instalacji po:
Kod: Zaznacz cały
m-a a-i madwifi
http://i41.tinypic.com/2drunmf.png
Ktoś może coś doradzić?
Kod: Zaznacz cały
m-a a-i madwifi
Kod: Zaznacz cały
adduser ogur src
Kod: Zaznacz cały
apt-get install madwifi-source
Kod: Zaznacz cały
cd /usr/src
tar xf madwifi-source.tgz
Kod: Zaznacz cały
cd modules/madwifi
make TARGET=x86_64-elf
Kod: Zaznacz cały
make install
depmod
modprobe ath_pci
Kod: Zaznacz cały
modprobe ath_hal
Kod: Zaznacz cały
iwlist ath0 s
Kod: Zaznacz cały
iwconfig
Kod: Zaznacz cały
bartek:/home/bartek# adduser ogur src
adduser: Użytkownik `ogur' nie istnieje.
bartek:/home/bartek# adduser bartek src
Dodawanie użytkownika `bartek' do grupy `src'...
Dodaję nowego użytkownika bartek do grupy src
Gotowe.
Kod: Zaznacz cały
bartek:/home/bartek# apt-get install madwifi-source
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
madwifi-source jest już w najnowszej wersji.
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
.... jakies tam pakiety....
Aby je usunąć należy użyć "apt-get autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizow
Kod: Zaznacz cały
bartek@bartek:~$ cd /usr/src
bartek@bartek:/usr/src$ tar xf madwifi.tar.gz
tar: modules/madwifi/ath/Makefile: Nie można open: Plik istnieje
tar: modules/madwifi/ath/if_ath_pci.c: Nie można open: Plik istnieje
tar: modules/madwifi/ath/if_ath_pci.h: Nie można open: Plik istnieje
tar: modules/madwifi/ath/Makefile.kernel: Nie można open: Plik istnieje
tar: modules/madwifi/ath/Kconfig: Nie można open: Plik istnieje
tar: modules/madwifi/ath/if_athrate.h: Nie można open: Plik istnieje
tar: modules/madwifi/ath/if_ath.c: Nie można open: Plik istnieje
tar: modules/madwifi/ath/if_athvar.h: Nie można open: Plik istnieje
tar: modules/madwifi/ath/.cvsignore: Nie można open: Plik istnieje
tar: modules/madwifi/ath/version.h: Nie można open: Plik istnieje
tar: modules/madwifi/ath/if_athioctl.h: Nie można open: Plik istnieje
tar: modules/madwifi/ath: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/hal/ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips-le-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips-be-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/armv4-le-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mipsisa32-be-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/powerpc-be-eabi.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/powerpc-le-eabi.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/arm9-le-thumb-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/xscale-be-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mipsisa32-le-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/armv4-be-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mipsisa32-le-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/armv4-le-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/x86_64-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/i386-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips1-be-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/arm9-le-thumb-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/ah_osdep.c: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/ah_osdep.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips1-be-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips1-le-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips-be-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/powerpc-be-eabi.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips-le-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/i386-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips-le-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/armv4-be-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/powerpc-be-eabi.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mipsisa32-be-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/Makefile.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/powerpc-le-eabi.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/armv4-be-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/xscale-be-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mipsisa32-be-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mipsisa32-le-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips1-be-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/arm9-le-thumb-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/armv4-le-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/x86_64-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/powerpc-le-eabi.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/xscale-be-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips1-le-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips1-le-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/x86_64-elf.inc: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/mips-be-elf.opt_ah.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux/i386-elf.hal.o.uu: Nie można open: Plik istnieje
tar: modules/madwifi/hal/linux: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/hal/README: Nie można open: Plik istnieje
tar: modules/madwifi/hal/ah_devid.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/ah_desc.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/version.h: Nie można open: Plik istnieje
tar: modules/madwifi/hal/COPYRIGHT: Nie można open: Plik istnieje
tar: modules/madwifi/hal: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/Makefile: Nie można open: Plik istnieje
tar: modules/madwifi/debian/rules: Nie można open: Plik istnieje
tar: modules/madwifi/debian/changelog: Nie można open: Plik istnieje
tar: modules/madwifi/debian/compat: Nie można open: Plik istnieje
tar: modules/madwifi/debian/control.template: Nie można open: Plik istnieje
tar: modules/madwifi/debian/copyright: Nie można open: Plik istnieje
tar: modules/madwifi/debian: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/release.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_linux.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_linux.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_wireless.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/test_wep.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/Makefile: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/linux: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/net80211/md5.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/md5.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/rc4.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/rc4.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/eapol.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_crypto.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_crypto.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/Makefile.kernel: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/if_ethersubr.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/Kconfig: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_radiotap.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/test_ccmp.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_radius.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_radius.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_acl.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_var.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/if_llc.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_crypto_ccmp.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/if_wavelan_ieee.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_ioctl.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_input.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_xauth.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/test_tkip.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/if_media.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/if_media.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_proto.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_proto.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_output.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_crypto_none.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_crypto_wep.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_crypto_tkip.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_node.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_node.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/.cvsignore: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/version.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_dot1x.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211_dot1x.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211.c: Nie można open: Plik istnieje
tar: modules/madwifi/net80211/ieee80211.h: Nie można open: Plik istnieje
tar: modules/madwifi/net80211: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/Makefile.inc: Nie można open: Plik istnieje
tar: modules/madwifi/ath_hal/Makefile: Nie można open: Plik istnieje
tar: modules/madwifi/ath_hal/Makefile.kernel: Nie można open: Plik istnieje
tar: modules/madwifi/ath_hal/Kconfig: Nie można open: Plik istnieje
tar: modules/madwifi/ath_hal/.cvsignore: Nie można open: Plik istnieje
tar: modules/madwifi/ath_hal: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/include/sys/queue.h: Nie można open: Plik istnieje
tar: modules/madwifi/include/sys: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/include/compat.h: Nie można open: Plik istnieje
tar: modules/madwifi/include: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/ath_rate/amrr/Makefile: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/amrr/Makefile.kernel: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/amrr/amrr.c: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/amrr/amrr.h: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/amrr/.cvsignore: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/amrr: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/ath_rate/onoe/Makefile: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/onoe/Makefile.kernel: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/onoe/Kconfig: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/onoe/onoe.c: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/onoe/onoe.h: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/onoe/.cvsignore: Nie można open: Plik istnieje
tar: modules/madwifi/ath_rate/onoe: Nie można utime: Operacja niedozwolona
tar: modules/madwifi/ath_rate: Nie można utime: Operacja niedozwolona
tar: modules/madwifi: Nie można utime: Operacja niedozwolona
tar: modules: Nie można utime: Operacja niedozwolona
tar: Zakończenie z błędem z powodu uprzednich błędów
bartek@bartek:/usr/src$ su
Hasło:
bartek:/usr/src# tar xf madwifi.tar.gz
bartek:/usr/src#
Kod: Zaznacz cały
bartek:/usr/src# cd modules/madwifi/
bartek:/usr/src/modules/madwifi# make TARGET=x86_64-elf
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/usr/src/modules/madwifi/ath_hal'
make -C /lib/modules/2.6.26-1-amd64/build SUBDIRS=/usr/src/modules/madwifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
CC [M] /usr/src/modules/madwifi/ath_hal/ah_osdep.o
/bin/sh: /pub/gnu/bin/x86_64-linux-gcc: No such file or directory
make[3]: *** [/usr/src/modules/madwifi/ath_hal/ah_osdep.o] Error 1
make[2]: *** [_module_/usr/src/modules/madwifi/ath_hal] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/modules/madwifi/ath_hal'
make: *** [all] Błąd 1
artek:/usr/src/modules/madwifi# make install
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make install) || exit 1; \
done
make[1]: Entering directory `/usr/src/modules/madwifi/ath_hal'
make -C /lib/modules/2.6.26-1-amd64/build SUBDIRS=/usr/src/modules/madwifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
CC [M] /usr/src/modules/madwifi/ath_hal/ah_osdep.o
In file included from include/linux/compiler-gcc4.h:6,
from include/linux/compiler.h:40,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:11,
from include/asm/page.h:36,
from /usr/src/modules/madwifi/ath_hal/../include/compat.h:71,
from <command-line>:0:
include/linux/compiler-gcc.h:43:1: warning: "__packed" redefined
In file included from <command-line>:0:
/usr/src/modules/madwifi/ath_hal/../include/compat.h:55:1: warning: this is the location of the previous definition
In file included from include/linux/cpumask.h:88,
from include/asm/paravirt.h:32,
from include/asm/page.h:146,
from /usr/src/modules/madwifi/ath_hal/../include/compat.h:71,
from <command-line>:0:
include/linux/kernel.h:47:1: warning: "roundup" redefined
In file included from <command-line>:0:
/usr/src/modules/madwifi/ath_hal/../include/compat.h:46:1: warning: this is the location of the previous definition
/usr/src/modules/madwifi/ath_hal/ah_osdep.c:44:26: error: linux/config.h: No such file or directory
/usr/src/modules/madwifi/ath_hal/ah_osdep.c: In function 'ath_hal_getuptime':
/usr/src/modules/madwifi/ath_hal/ah_osdep.c:386: error: 'jiffies' undeclared (first use in this function)
/usr/src/modules/madwifi/ath_hal/ah_osdep.c:386: error: (Each undeclared identifier is reported only once
/usr/src/modules/madwifi/ath_hal/ah_osdep.c:386: error: for each function it appears in.)
/usr/src/modules/madwifi/ath_hal/ah_osdep.c:386: error: 'HZ' undeclared (first use in this function)
/usr/src/modules/madwifi/ath_hal/ah_osdep.c: In function 'ath_hal_sysctl_register':
/usr/src/modules/madwifi/ath_hal/ah_osdep.c:516: error: too many arguments to function 'register_sysctl_table'
make[3]: *** [/usr/src/modules/madwifi/ath_hal/ah_osdep.o] Error 1
make[2]: *** [_module_/usr/src/modules/madwifi/ath_hal] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/modules/madwifi/ath_hal'
make: *** [install] Błąd 1
bartek:/usr/src/modules/madwifi# depmod
bartek:/usr/src/modules/madwifi# modprobe ath_pci
WARNING: All config files need .conf: /etc/modprobe.d/pnp-hotplug, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/display_class, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
FATAL: Module ath_pci not found.
bartek:/usr/src/modules/madwifi# modprobe ath_hal
WARNING: All config files need .conf: /etc/modprobe.d/pnp-hotplug, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/display_class, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
FATAL: Module ath_hal not found.
Kod: Zaznacz cały
bartek:/usr/src/modules/madwifi# iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation
bartek:/usr/src/modules/madwifi# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
Kod: Zaznacz cały
[code]
Kod: Zaznacz cały
[quote][/quote]
Kod: Zaznacz cały
rm -rf /usr/src/modules
Kod: Zaznacz cały
bash: cd: modules/madwifi: Nie ma takiego pliku ani katalogu