Holas otra vez, No logro instalar el driver de mi tarjeta wifi,pues tengo señal de internet, tengo el ubutnu 10.4 cuando tecleo lsusb me sale:
root@fran-desktop:/home/fran/Linux# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
La que está en negrita es mi tarjeta wifi.
Al teclear el comando iwconfig me indica que mi tarjeta wifi es wlan2
Al tratar de instalar el driver de Linux que viene en el CD de instalacion me aparece error
Hay una carpeta en el CD que dice Other_drivers y dentro de esta carpeta esta las siguientes dos carpetas:
root@fran-desktop:/home/fran/Linux# ls
debian31-8187_kernel 2.6.13 rtl8187_linux_26.1025.0328.2007
trate de instalar la segunda, dentro de ella estan:
drv.tar.gz ifcfg-wlan0 ReadMe.txt stack.tar.gz wlan0down wlan0up
ieee80211 makedrv rtl8187 wlan0dhcp wlan0rmv wpa_supplicant-0.4.9
En el Readme.txt dice que para instalar ejecute ./makedrv y luego ./wlan0up los cuales son script (o un bash corrijanme) con el siguiente contenido respectivamente.
#!/bin/sh
tar -zxvf stack.tar.gz
tar -zxvf drv.tar.gz
cd ieee80211
make clean
make
cd ../rtl8187
make clean
make
cd ..
#!/bin/sh
cd ieee80211/
insmod ieee80211_crypt-rtl.ko
insmod ieee80211_crypt_wep-rtl.ko
insmod ieee80211_crypt_tkip-rtl.ko
insmod ieee80211_crypt_ccmp-rtl.ko
insmod ieee80211-rtl.ko
cd ../rtl8187/
insmod r8187.ko
cd ../
ifconfig wlan0 up
pero al tratar de instalar me aparece el siguiente error:
root@fran-desktop:/home/fran/Linux/rtl8187_linux_26.1025.0328.2007# ./makedrv
ieee80211/
ieee80211/license
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_tx.c
ieee80211/ieee80211_softmac.c
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_module.c
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
rtl8187/r8187.h
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/tmp
make -C /lib/modules/2.6.32-22-generic/build M=/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211 modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.32-22-generic'
CC [M] /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o
In file included from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:17:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:421: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
include/linux/workqueue.h:203: note: expected ‘struct delayed_work *’ but argument is of type ‘struct work_struct *’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:495: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
include/linux/workqueue.h:234: note: expected ‘struct delayed_work *’ but argument is of type ‘struct work_struct *’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:915: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
include/linux/workqueue.h:203: note: expected ‘struct delayed_work *’ but argument is of type ‘struct work_struct *’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol_rtl’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2120: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
include/linux/workqueue.h:234: note: expected ‘struct delayed_work *’ but argument is of type ‘struct work_struct *’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: (Each undeclared identifier is reported only once
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: for each function it appears in.)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2230:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2231:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2232:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2233:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2234:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2255: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
include/linux/workqueue.h:234: note: expected ‘struct delayed_work *’ but argument is of type ‘struct work_struct *’
make[2]: *** [/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.32-22-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/tmp
make -C /lib/modules/2.6.32-22-generic/build M=/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.32-22-generic'
CC [M] /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
In file included from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29:26: error: linux/config.h: No existe el fichero ó directorio
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:48:27: error: asm/semaphore.h: No existe el fichero ó directorio
In file included from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:50,
from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h: In function ‘ieee80211_priv’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_init’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: ‘proc_net’ undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: (Each undeclared identifier is reported only once
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: for each function it appears in.)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_remove’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:456: error: ‘proc_net’ undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_rx_urbsubmit’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:730: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
include/linux/usb.h:1277: note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_tx’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:1648: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
include/linux/usb.h:1277: note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_init’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2054:77: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2055:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2056:80: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2057:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2217: error: ‘struct net_device’ has no member named ‘get_stats’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_usb_probe’:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2938: error: implicit declaration of function ‘SET_MODULE_OWNER’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2948: error: ‘struct net_device’ has no member named ‘open’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2949: error: ‘struct net_device’ has no member named ‘stop’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2951: error: ‘struct net_device’ has no member named ‘tx_timeout’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2953: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2954: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2955: error: ‘struct net_device’ has no member named ‘set_mac_address’
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2956: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
make[2]: *** [/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.32-22-generic'
make: *** [modules] Error 2
despues hago lo siguiente. como dice Readme.txt
root@fran-desktop:/home/fran/Linux/rtl8187_linux_26.1025.0328.2007# ./wlan0up
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: can't read 'r8187.ko': No such file or directory
wlan0: ERROR mientras se obtenían las banderas de interfaz: No existe el dispositivo
ayudenme porfavor.........