Compiling rt2570 with Ubuntu 7.10
Having real problems comiling the drivers. (which I gave up once before..) Today I understand the problems a bit more with the linux-experience.
Here's the output of the root@local~# ./make
make Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module/rtusb_main.o
/home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module/rtusb_main.c In function ‘usb_rtusb_probe’
/home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error ‘dev_base’ undeclared (first use in this function)
/home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error (Each undeclared identifier is reported only once
/home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error for each function it appears in.)
/home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error ‘struct net_device’ has no member named ‘next’
make *** [/home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module/rtusb_main.o] Error 1
make *** [_module_/home/magnus/rt2570-1.1.0-b2/rt2570-1.1.0-b2/Module] Error 2
make Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
rt2570.ko failed to build!
make *** [module] Error 1
Any advice of what I should install of packages to make the compile work?
Thanks for you support!
You tried to compile the "last" beta which is now a quite old version of the driver, with a brand new distribution.
Please, give a try to the CVS version.
thanks a lot! the compile went great with the CVS.
make and make install too went fine.
though, I'm not sure how to proceed with the modprobe/rmmod and so on, since I did not get up either rausb0 or get to replace the wlan0 interface as I did acording to the README instructions.
Anyone have a foolproff method for this in ubuntu 7.10?
Are you sure you have a rt2570 device and not a rt73 device?
Are you sure you have a rt2570 device and not a rt73 device?[/quote1fvsifs9]
I've been up to that question before...
I was then told that I had always tried the wrong drivers. Ubuntu outputs x1706 as vendor name. I was then told to try the 2570 though the rausb0 interface always was a 2500 WLAN device etc.. I cant recall exacly cause I don't have the notebook in front of me now..
Though, it might work with the rt73 drivers, but I belive I've tried that before. I will try it one more time
however.. I want to be sure I've removed the wlan0 interface and drivers, aliases, etc. from which came up plugging the USB-adapter.
It's a Asus WL-167g USB-WLAN-adapter. I cant find out if it is a v1 og v2 adapter. I bought it between 1-2 years ago.
Sorry for my bad english btw.
It's a Asus WL-167g USB-WLAN-adapter. I cant find out if it is a v1 or v2 adapter. I bought it between 1-2 years ago[/quote3vl9tzm2]
If you still have the box, it's written on the sticker with serial number and MAC address. Below MAC address, it says ASUS WL-167G_V2 for a V2.
ok. I'll check..
then which driver is for v2 and v1 etc?
The first version had a rt2570 chip and use the rt2570 driver as you can guess.
The second version (v2) has a rt2571 chip which use the rt73 driver.
That's what lsusb command says for mine which is a V2
0b051723 ASUSTek Computer, Inc.
It should be different for the first version but we can't be sure.
I have Asus WL-167G, 0b051706, rt2570 usb and ubuntu 7.10...
it doesn't work, what I have to do?? What driver I have to compile and how? Please help me, thank you!!
You have a rt2570 stick, and needs the driver of the same name.
According to one of your previous post, you tried to compile the beta release. Try again with the latest CVS tarball.
According to one of your previous post,...[/quote2z4rixwa] Romain, this is the first post of davidep85.
davidep85 Even, if the reason was totally understandable, please later avoid to hijack a thread. It's never a good idea and, as you can see, leads to misunderstandings.
To use legacy driver rt73 or rt2570, you need first to blacklist modules from the new rt2x00 driver. (rt2x00lib, rt2500pci, rt2500usb, rt73usb)
If you are not lucky, you have to blacklist the other legacy driver (the one not matching your chip). That's because some manufacturers keep the same USB id for the dongle even when they have changed chip.
davidep85, moggie You shouldn't have to do that since we can see in this thread that USB id's for WL-167G are different.
Sometimes, it's necessary to uninstall wpa_supplicant and network-manager which use it. These programs cannot be used by the legacy drivers anyway.
Then download the last CVS version of the driver corresponding to your hardware.
Read, the documentation in the archive including iwpriv_usage.txt and TESTING files located in Module folder.
Finally, compile and install.
Before, trying an automatic setup, try to test it manually.
If it's not working, use the Search[/url2z4rixwa] link of this forum.
though.. again. How do I remove the previous drivers (the wlan0 interface) and replace it with rausb0? I've tried to modprobe like in the README, but theres obiviously some more work to do..
Have you determined what chip is on your dongle ?
Is it a rt73 like mine or a rt2570 like davidep85 ?
I have the same question... Now that I compiled the driver with the CVS version, how do I proceed since wlan0 is not rausb0...
I really need help on how to make this device work. A fool-proof guide is needed
You are right Starcrasher, I thought it was one of mogie's post
Check the file named "'iwpriv_usage.txt" coming with the driver (it is in the "Module" directory), it contains various configuration example, for several type of network.