I've installed ubuntu 9.10 onto a Toshiba Satellite m505d-s4970. The wireless card isn't recognized at all. I think the card is a RTL-8190. I followed the instructions at http://rtl-wifi.sourceforge.net/wiki/Installing. I had to do apt-get update and apt-get upgrade before any of the instructions would work, but when they did, I got stuck at the part about making and installing the driver. Here's the Terminal log:
Checked out revision 52.
anthony@anthony-laptop:~$ sudo find /lib/modules/`uname -r` -name ieee80211
/lib/modules/2.6.31-14-generic/kernel/drivers/staging/rtl8192su/ieee80211
anthony@anthony-laptop:~$ sudo rm -r /lib/modules/`uname -r`/kernel/net/ieee80211
rm: cannot remove `/lib/modules/2.6.31-14-generic/kernel/net/ieee80211': No such file or directory
anthony@anthony-laptop:~$ sudo rm -r /lib/modules/`uname -r`/kernel/drivers/staging/rtl8192su/ieee80211
anthony@anthony-laptop:~$ modprobe -r ieee80211
FATAL: Module ieee80211 not found.
anthony@anthony-laptop:~$ cd rtl-wifi
anthony@anthony-laptop:~/rtl-wifi$ sudo make
make -C /lib/modules/2.6.31-14-generic/build M= modules
make: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make: *** Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** Error 2
anthony@anthony-laptop:~/rtl-wifi$
The instructions just before the making and installing the driver (modprobe -r ieee80211) don't work, so I rebooted and tried again. Here's that log:
anthony@anthony-laptop:~$ sudo cd rtl-wifi
password for anthony:
sudo: cd: command not found
anthony@anthony-laptop:~$ cd rtl-wifi
anthony@anthony-laptop:~/rtl-wifi$ sudo make
make -C /lib/modules/2.6.31-14-generic/build M= modules
make: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make: *** Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** Error 2
anthony@anthony-laptop:~/rtl-wifi$ modprobe -v eeprom_93cx6
insmod /lib/modules/2.6.31-14-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
FATAL: Error inserting eeprom_93cx6 (/lib/modules/2.6.31-14-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko): Operation not permitted
anthony@anthony-laptop:~/rtl-wifi$ sudo modprobe -v eeprom_93cx6
insmod /lib/modules/2.6.31-14-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
anthony@anthony-laptop:~/rtl-wifi$ sudo insmod ieee80211/ieee80211_crypt-rtl.ko
insmod: can't read 'ieee80211/ieee80211_crypt-rtl.ko': No such file or directory
anthony@anthony-laptop:~/rtl-wifi$
Even after years of trying to learn linux, I'm still very much a newbie. What am I doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I`m getting the exactly same problem here: I receive error 2 when running `make`
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-27
try this
sudo make -C /lib/modules/2.6.31-14-generic/build M=<path to rtl-wifi> modules
eg
sudo make -C /lib/modules/2.6.31-14-generic/build M=/home/anthony-laptop/rtl-wifi modules
but then I get other errors
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've installed ubuntu 9.10 onto a Toshiba Satellite m505d-s4970. The wireless card isn't recognized at all. I think the card is a RTL-8190. I followed the instructions at http://rtl-wifi.sourceforge.net/wiki/Installing. I had to do apt-get update and apt-get upgrade before any of the instructions would work, but when they did, I got stuck at the part about making and installing the driver. Here's the Terminal log:
Checked out revision 52.
anthony@anthony-laptop:~$ sudo find /lib/modules/`uname -r` -name ieee80211
/lib/modules/2.6.31-14-generic/kernel/drivers/staging/rtl8192su/ieee80211
anthony@anthony-laptop:~$ sudo rm -r /lib/modules/`uname -r`/kernel/net/ieee80211
rm: cannot remove `/lib/modules/2.6.31-14-generic/kernel/net/ieee80211': No such file or directory
anthony@anthony-laptop:~$ sudo rm -r /lib/modules/`uname -r`/kernel/drivers/staging/rtl8192su/ieee80211
anthony@anthony-laptop:~$ modprobe -r ieee80211
FATAL: Module ieee80211 not found.
anthony@anthony-laptop:~$ cd rtl-wifi
anthony@anthony-laptop:~/rtl-wifi$ sudo make
make -C /lib/modules/2.6.31-14-generic/build M= modules
make: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make: *** Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** Error 2
anthony@anthony-laptop:~/rtl-wifi$
The instructions just before the making and installing the driver (modprobe -r ieee80211) don't work, so I rebooted and tried again. Here's that log:
anthony@anthony-laptop:~$ sudo cd rtl-wifi
password for anthony:
sudo: cd: command not found
anthony@anthony-laptop:~$ cd rtl-wifi
anthony@anthony-laptop:~/rtl-wifi$ sudo make
make -C /lib/modules/2.6.31-14-generic/build M= modules
make: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make: *** Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** Error 2
anthony@anthony-laptop:~/rtl-wifi$ modprobe -v eeprom_93cx6
insmod /lib/modules/2.6.31-14-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
FATAL: Error inserting eeprom_93cx6 (/lib/modules/2.6.31-14-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko): Operation not permitted
anthony@anthony-laptop:~/rtl-wifi$ sudo modprobe -v eeprom_93cx6
insmod /lib/modules/2.6.31-14-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
anthony@anthony-laptop:~/rtl-wifi$ sudo insmod ieee80211/ieee80211_crypt-rtl.ko
insmod: can't read 'ieee80211/ieee80211_crypt-rtl.ko': No such file or directory
anthony@anthony-laptop:~/rtl-wifi$
Even after years of trying to learn linux, I'm still very much a newbie. What am I doing wrong?
I`m getting the exactly same problem here: I receive error 2 when running `make`
try this
sudo make -C /lib/modules/2.6.31-14-generic/build M=<path to rtl-wifi> modules
eg
sudo make -C /lib/modules/2.6.31-14-generic/build M=/home/anthony-laptop/rtl-wifi modules
but then I get other errors