Kod: Zaznacz cały
mistrz@ubuntu:~$ sudo aptitude install wireless-tools module-assistant
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Reading state information... Gotowe
Reading extended state information
Initializing package states... Gotowe
Building tag database... Gotowe
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Gotowe
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Reading state information... Gotowe
Reading extended state information
Initializing package states... Gotowe
Building tag database... Gotowe
mistrz@ubuntu:~$ sudo m-a
Starting the Dialog UI...
Updated infos about 85 packages
Getting source for kernel version: 2.6.22-14-generic
Kernel headers available in /usr/src/linux-headers-2.6.22-14-generic
Creating symlink...
apt-get install build-essential
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Reading state information... Gotowe
build-essential jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Done!
Press Return to continue...
mistrz@ubuntu:~$ tar -zxvf rt2400-cvs-daily.tar.gz
rt2400-cvs-2008030913/
rt2400-cvs-2008030913/FAQ
rt2400-cvs-2008030913/Utility/
rt2400-cvs-2008030913/Utility/CVS/
rt2400-cvs-2008030913/Utility/CVS/Root
rt2400-cvs-2008030913/Utility/CVS/Repository
rt2400-cvs-2008030913/Utility/CVS/Entries.Log
rt2400-cvs-2008030913/Utility/CVS/Entries
rt2400-cvs-2008030913/Utility/ico/
rt2400-cvs-2008030913/Utility/ico/CVS/
rt2400-cvs-2008030913/Utility/ico/CVS/Root
rt2400-cvs-2008030913/Utility/ico/CVS/Repository
rt2400-cvs-2008030913/Utility/ico/CVS/Entries
rt2400-cvs-2008030913/THANKS
rt2400-cvs-2008030913/CHANGELOG
rt2400-cvs-2008030913/CVS/
rt2400-cvs-2008030913/CVS/Root
rt2400-cvs-2008030913/CVS/Repository
rt2400-cvs-2008030913/CVS/Entries.Log
rt2400-cvs-2008030913/CVS/Entries
rt2400-cvs-2008030913/LICENSE
rt2400-cvs-2008030913/Module/
rt2400-cvs-2008030913/Module/auth.c
rt2400-cvs-2008030913/Module/rt2x00debug.h
rt2400-cvs-2008030913/Module/ifcfg-ra0
rt2400-cvs-2008030913/Module/rtmp_main.c
rt2400-cvs-2008030913/Module/rt_config.h
rt2400-cvs-2008030913/Module/assoc.c
rt2400-cvs-2008030913/Module/CVS/
rt2400-cvs-2008030913/Module/CVS/Root
rt2400-cvs-2008030913/Module/CVS/Repository
rt2400-cvs-2008030913/Module/CVS/Entries.Log
rt2400-cvs-2008030913/Module/CVS/Entries
rt2400-cvs-2008030913/Module/docs/
rt2400-cvs-2008030913/Module/docs/HOWTO-Gentoo
rt2400-cvs-2008030913/Module/docs/CVS/
rt2400-cvs-2008030913/Module/docs/CVS/Root
rt2400-cvs-2008030913/Module/docs/CVS/Repository
rt2400-cvs-2008030913/Module/docs/CVS/Entries
rt2400-cvs-2008030913/Module/docs/HOWTO-Mandrake10
rt2400-cvs-2008030913/Module/docs/HOWTO-Suse9
rt2400-cvs-2008030913/Module/docs/HOWTO-Debian
rt2400-cvs-2008030913/Module/docs/iwconfig_usage.txt
rt2400-cvs-2008030913/Module/sync.c
rt2400-cvs-2008030913/Module/rtmp_data.c
rt2400-cvs-2008030913/Module/rtmp_info.c
rt2400-cvs-2008030913/Module/mlme.h
rt2400-cvs-2008030913/Module/connect.c
rt2400-cvs-2008030913/Module/auth_rsp.c
rt2400-cvs-2008030913/Module/oid.h
rt2400-cvs-2008030913/Module/rtmp_init.c
rt2400-cvs-2008030913/Module/TESTING
rt2400-cvs-2008030913/Module/INSTALL
rt2400-cvs-2008030913/Module/rtmp.h
rt2400-cvs-2008030913/Module/mlme.c
rt2400-cvs-2008030913/Module/rt2460.h
rt2400-cvs-2008030913/Module/eeprom.c
rt2400-cvs-2008030913/Module/rtmp_wep.c
rt2400-cvs-2008030913/Module/rtmp_def.h
rt2400-cvs-2008030913/Module/Makefile
rt2400-cvs-2008030913/Module/rt2x00debug.c
rt2400-cvs-2008030913/Module/sanity.c
mistrz@ubuntu:~$ cd rt2400-cvs-2008030913/Module/
mistrz@ubuntu:~/rt2400-cvs-2008030913/Module$ sudo make
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
mistrz@ubuntu:~/rt2400-cvs-2008030913/Module$ sudo make install
if ! [ -f rt2400.ko ]; then \
make module; \
fi
echo "2.6 module install"
2.6 module install
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/mistrz/rt2400-cvs-2008030913/Module modules_install
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
INSTALL /home/mistrz/rt2400-cvs-2008030913/Module/rt2400.ko
DEPMOD 2.6.22-14-generic
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
/sbin/depmod -a
*** Update /etc/modprobe.d/ralink alias for ra0
mistrz@ubuntu:~/rt2400-cvs-2008030913/Module$ modprobe rt2400
mistrz@ubuntu:~/rt2400-cvs-2008030913/Module$ ifconfig ra0 up
ra0: ERROR while getting interface flags: No such device
mistrz@ubuntu:~/rt2400-cvs-2008030913/Module$
mistrz@ubuntu:~$ sudo /etc/init.d/networking restart
[sudo] password for mistrz:
* Reconfiguring network interfaces... eval: 1: Syntax error: "(" unexpected
run-parts: /etc/network/if-pre-up.d/wireless-tools exited with return code 2
ra0: ERROR while getting interface flags: No such device
eval: 1: Syntax error: "(" unexpected
run-parts: /etc/network/if-pre-up.d/wireless-tools exited with return code 2
SIOCSIFADDR: No such device
ra0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
ra0: ERROR while getting interface flags: No such device
Failed to bring up ra0.
[ OK ]
mistrz@ubuntu:~$
Czym więc jest to ra0? Gdzie tkwi błąd?
Z góry dziękuję za pomoc