Hey. I get an error when I try to "make" the file. Keeps saying the .ko file was not created or something. I couldn't copy over the exact error as I had to go back into windows to connect to the Internet and post this. Any ideas?
Hey. I get an error when I try to "make" the file. Keeps saying the .ko file was not created or something. I couldn't copy over the exact error as I had to go back into windows to connect to the Internet and post this. Any ideas?
This is where I am stuck. I am running Kubuntu Gutsy Gibbon and trying to get a Buffalo USB Wlan adapter to work (http://www.buffalo-technology.com/pr...sb-20-adapter/, WLI-U2-KG54L).Code:sudo make
After I ran sudo make I get the following:
Anyone have something similar? I'd appreciate helpmake[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /usr/src/rt2570-1.1.0-b2/Module/rtusb_main.o
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c: In function âusb_rtusb_probeâ:
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: âdev_baseâ undeclared (first use in this function)
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: (Each undeclared identifier is reported only once
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: for each function it appears in.)
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: âstruct net_deviceâ has no member named ânextâ
make[2]: *** [/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.o] Error 1
make[1]: *** [_module_/usr/src/rt2570-1.1.0-b2/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
rt2570.ko failed to build!
make: *** [module] Error 1
I have exactly same proble. I am compiling on Ubuntu 7.10 gusty
penguin@emperor:/usr/src/rt2570-1.1.0-b2/Module$ sudo make
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /usr/src/rt2570-1.1.0-b2/Module/rtusb_main.o
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c: In function ‘usb_rtusb_probe’:
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: ‘dev_base’ undeclared (first use in this function)
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: (Each undeclared identifier is reported only once
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: for each function it appears in.)
/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: ‘struct net_device’ has no member named ‘next’
make[2]: *** [/usr/src/rt2570-1.1.0-b2/Module/rtusb_main.o] Error 1
make[1]: *** [_module_/usr/src/rt2570-1.1.0-b2/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
rt2570.ko failed to build!
Okay I solved this problem by downloading patched driver version 1.6.1. I don't know why serial monkey has 1.1.0 version.
I successfully compiled driver and did make install
but it gave me an error that I don't have modprobe.conf
well I ignored it
and I blacklist 4 modules
rt2x00usb
rt2x00lib
rt73usb
rt73
and did
sudo depmod -a
sudo modules-update
sudo modprobe rt2570
sudo lsmod rt2570 showed successful install.
But when I did
ifconfig -a
it doesn't show rausb0 device.
I am using ubuntu 7.10 amd on HP S3200T (this machine has ralink 2571 usb wireless card)
any ideas?
I've seen on the posts here that many people come up with the error:
rt2570.ko failed to build!
The way I got around this problem was to install the cvs daily driver instead of the beta and, to my suprise, it compiled and installed successfully!
However, I am having problems such as when I typed in 'sudo ifconfig rausb0 up' in the console, it replies 'rausb0: ERROR while getting interface flags: No such device'
Any ideas?
PS The solution I found worked for me, it's no guarantee that it'll work for you o' course
I just cant figure out how to make my USB wireless work.
I am running 7.10 Gutsy, using a Chiefmax NKRUSB-400 for a wireless USB, which uses RaLink.
I am not sure if the driver issue or not...the only one I could get to make without errors was from...
http://rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz
Installs fine
Here are my config files...
/etc/network/interfaces
/etc/wpa_supplicant.confCode:auto lo iface lo inet loopback iface rausb0 inet dhcp wpa-driver wext wpa-key-mgmt WPA-PSK wpa-proto WPA wpa-ssid th3 wpa-psk dharma33 auto rausb0
Here is where I run into a problem, when I restart the network service. I can configure the GUI under System > Administration > Network, and it looks fine.Code:ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=2 fast_reauth=1 network={ ssid="th3" proto=WPA key_mgmt=WPA-PSK pairwise=TKIP group=TKIP psk="dharma33" }
What is all this "Network is down"?? I can assure that the AP is working properly as I have an XP box right next to me and I can plug this same USB wireless on that machine, works just fine.Code:th3p4yn3@th3p4yn3-desktop:~$ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... RTNETLINK answers: No such process There is already a pid file /var/run/dhclient.rausb0.pid with pid 134519120 Internet Systems Consortium DHCP Client V3.0.5 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/rausb0/00:00:00:00:00:00 Sending on LPF/rausb0/00:00:00:00:00:00 Sending on Socket/fallback ioctl[SIOCSIWPMKSA]: Network is down ioctl[SIOCSIWMODE]: Network is down Could not configure driver to use managed mode ioctl[SIOCGIWRANGE]: Network is down ioctl[SIOCSIWAUTH]: Network is down WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Network is down ioctl[SIOCSIWENCODEEXT]: Network is down ioctl[SIOCSIWENCODEEXT]: Network is down ioctl[SIOCSIWENCODEEXT]: Network is down ioctl[SIOCSIWAUTH]: Network is down WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Network is down WEXT auth param 5 value 0x1 - There is already a pid file /var/run/dhclient.rausb0.pid with pid 134519120 Internet Systems Consortium DHCP Client V3.0.5 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/rausb0/00:00:00:00:00:00 Sending on LPF/rausb0/00:00:00:00:00:00 Sending on Socket/fallback DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 1 No DHCPOFFERS received. No working leases in persistent database - sleeping. [ OK ]
I get no blinking lights on the device.
No iwpriv commands will work on the device, it says "Network is down" as well as this command
I also have to reboot my system after plugging in the USB device, as it creates some overall stability problems.Code:wpa_supplicant -w -Dwext -iath0 -c/etc/wpa_supplicant.conf
Can anyone please give me some advice!!
Thanks
[SOLVED]
The error was due to the USB ports on the side of my computer (which I usually use) working with other devices, but strangely, the wifi coonector did not register.(must get that sorted out sometime)
Last edited by bobulator; April 25th, 2008 at 07:47 PM. Reason: Solved the problem
Hello all, I recently got a Ralink-chipset wireless NIC card working; please read http://ubuntuforums.org/showthread.php?p=5105680.
@th3p4yn3: I haven't ever tried WPA on my network, only ever WEP However, I have got the errors:
previously. I think this was when I manually loaded my rt2570 module using insmod. Does your driver load automatically at system startup, or are you "insmod"-ing it? Perhaps you should do "depmod -a" then add "rt2570" to your /etc/modules, then restart your machine and try again. Note that this is entirely empirical -- I'm only suggesting what I have read from other posts/threads!Code:No DHCPOFFERS received. No working leases in persistent database - sleeping.
Bookmarks