You are not logged in.

#1 2008-01-30 05:30:51

nofxx
Member
Registered: 2008-01-03
Posts: 11

Testing kernel 2.6.24 problems with wifi rt73 r8187

Trying to compile 2 modules that do compile fine in core 2.6.23:

Sorry if here is not the place to discuss testing, btw... new here big_smile


rt73 (legacy) http://homepages.tu-darmstadt.de/~p_lar … .1.tar.bz2

make[1]: Entering directory `/usr/src/linux-2.6.24-ARCH'
  CC [M]  /home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module/rtmp_main.o
/home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module/rtmp_main.c: In function 'usb_rtusb_probe':
/home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module/rtmp_main.c:2124: error: implicit declaration of function 'SET_MODULE_OWNER'
/home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module/rtmp_main.c:2144: error: 'struct net_device' has no member named 'weight'
/home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module/rtmp_main.c:2166: warning: passing argument 1 of 'dev_get_by_name' from incompatible pointer type
/home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module/rtmp_main.c:2166: error: too few arguments to function 'dev_get_by_name'
make[2]: *** [/home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/home/nofxx/wifi/rt/rt73-k2wrlz-2.0.1/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
rt73.ko failed to build!
make: *** [module] Error 1


r8187 http://dl.aircrack-ng.org/drivers/rtl81 … 6.1010.zip

rm -f ieee80211/Module.symvers 2>/dev/null
rm -f ieee80211/Modules.symvers 2>/dev/null
make -C ieee80211 all
make[1]: Entering directory `/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211'
make -C /lib/modules/2.6.24-ARCH/build M=/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.24-ARCH'
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_tx.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_module.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp.o
  CC [M]  /home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.o
/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c: In function 'ieee80211_tkip_encrypt_rtl7':
/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:397: error: 'struct scatterlist' has no member named 'page'
/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c: In function 'ieee80211_tkip_decrypt_rtl7':
/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:487: error: 'struct scatterlist' has no member named 'page'
/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c: In function 'michael_mic_rtl7':
/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:547: error: 'struct scatterlist' has no member named 'page'
/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:551: error: 'struct scatterlist' has no member named 'page'
make[3]: *** [/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.o] Error 1
make[2]: *** [_module_/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/nofxx/wifi/real/rtl8187_linux_26.1010.0622.2006/ieee80211'
make: *** [all] Error 2

Offline

#2 2008-01-30 08:03:12

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Testing kernel 2.6.24 problems with wifi rt73 r8187

the r8187 module is now included in the kernel as rtl8187. Same for rt73 which is named rt73usb.

Offline

#3 2008-01-30 16:16:16

nofxx
Member
Registered: 2008-01-03
Posts: 11

Re: Testing kernel 2.6.24 problems with wifi rt73 r8187

Hey Snowman, tnx for the reply but, they are not the same drivers.

r8187 != rtl8187 (original from realtek)
I need 8187 legacy, the one that comes is the mac80211 version

Same for rt73...

These drivers dont support mode monitor, injection, ..well.. kismet and friends

Offline

#4 2008-01-30 16:37:54

nofxx
Member
Registered: 2008-01-03
Posts: 11

Re: Testing kernel 2.6.24 problems with wifi rt73 r8187

This fixes rtl8187 !!!!

http://trac.aircrack-ng.org/ticket/378

One to go ! big_smile

Offline

#5 2008-01-30 20:17:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Testing kernel 2.6.24 problems with wifi rt73 r8187

FYI, using rt73usb here - I just put it in monitor mode and launched kismet with no problems.

No injection support yet though AFAIK.

Offline

#6 2008-01-31 02:05:36

nofxx
Member
Registered: 2008-01-03
Posts: 11

Re: Testing kernel 2.6.24 problems with wifi rt73 r8187

@tomk:

Yea, saw that after I post about.. thing is, I need to issue the command 2 times
`iwconfig wlan0 mode monitor`

Then yes, it works in monitor mode. No injection.

With the patchs it compiles fine (r8187) then you can inject.

I have problems connecting with this alternative driver, so I let`em both installed and I use airdriver-ng to switch.
To do this, dont issue `make install` , instead copy the files manually and `depmod -ae`

The make install script will remove rtl8187.ko

So, rtl8187 working fine here, when I get my rt73 I`ll test it

Offline

Board footer

Powered by FluxBB