Page 1 of 1

Ralink RT2870 wifi driver installation problem (solved)

Posted: Wed 21 Sep 2011, 15:54
by funlul
Hi I am new, Puppy is the first Linux system I ever touched and apologies in advance for super beginner questions. I've been doing my homework for several days still cannot solve this wifi driver problem. Really hoping in reality it's simpler that it seems, will switch to different puppy version if it helps.

Specs:
Frugal installation, wary-5.1.4.1 and loaded devx_wary_5.1.4.1.sfs with bootmanager. Currently no internet access at all, I can download on other computer and copy over.

System does not recognize the RT2870 wireless driver and only detects wired eth0. I've tried the following to no avail:

I. Load kernel modules
Downloaded rt2870sta.bin to firmware and loaded module, there is no rt2800sta to blacklist though. Still not detecting the wireless.

II. Compile Ralink driver
make -C tools
make[1]: Entering directory
`/initrd/mnt/dev_save/software/driver/test2/tools'
gcc -g bin2h.c -o bin2h
make [1]: Leaving directory `/initrd/mnt/dev_save/software/driver/test2/tools'
/initrd/mnt/dev_save/software/driver/test2/tools/bin2h
cp -f os/linux/Makefile.6
/initrd/mnt/dev_save/software/driver/test2/os/linux/Makefile
make -C
/lib/modules/2.6.32-smp/build
SUBDIRS=/initrd/mnt/dev_save/software/driver/test2/os/linux modules
make:
*** /lib/modules/2.6.32-smp/build: No such file or directory. Stop.
make: ***
[LINUX] Error 2

Some threads say this indicates linux headers are missing (and how to fix?) but some others say devx already includes the headers...?

III. Staging drivers
http://en.gentoo-wiki.com/wiki/Ralink_RT2870 says 2.6.32 can use the staging drivers:
Device Drivers --->
Staging Drivers --->
<M> Ralink 2870/3070 wireless support
but I can't seem to find how to get to this "Linux Kernel Configuration" after lots of searches.

Your help is greatly appreciated!!!!!!!!

Posted: Thu 22 Sep 2011, 09:37
by wuwei
Don't understand much of it, but you need the devx.sfs AND the kernelsources.sfs.
In case of Wary you'll get it from here
http://bkhome.org/sources/

Posted: Thu 22 Sep 2011, 18:41
by sfeeley
welcome to puppy linux -- hopefully Tempestuous will notice this thread if you can't get this sorted: he contributes and keeps up most of the drivers



I noticed this, perhaps it will be help
Later revisions of the Ralink RT2870 chipset are more similar to the recent RT3070 chipset, and are supported in Linux by the rt3070sta driver.
Get this driver from -
"Extras for Puppy 4.3 with 2.6.30.5 kernel"
http://www.murga-linux.com/puppy/viewto ... 449#346449
from

http://www.murga-linux.com/puppy/viewto ... c9172e7c7a

Posted: Thu 22 Sep 2011, 22:44
by cthisbear
What are your specs??

Finally success 4 this bloke.

Atheros 5001 wi-fi & Puppy

http://murga-linux.com/puppy/viewtopic.php?t=71293

Try puppy Lucid 5.29
There are now 2 versions...try the first.

http://diddywahdiddy.net/Puppy500/luci-529.iso

357db4be5fbb14fc8d3b4b55a20c5fc6 luci-529.iso


Release 2:

http://diddywahdiddy.net/Puppy500/luci-001.iso

15e160c83e0258b065864c16584f0b7f luci-001.iso

Chris.

Posted: Fri 23 Sep 2011, 05:30
by funlul
Thank you sfeeley, I switched to puppy 4.3.1 with 2.6.30.5 kernel and installed rt3070sta.pet, then loaded the module using Network Wizard, it did not detect new interfaces, would you think I am missing something in this procedure?

Thank you wuwei, loading kernelsources.sfs helped it compile indeed! I tried compiling in both 4.3.1 and wary-5.1.4.1. The network wizard managed to show ra0 and setup DHCP, but did not detect wireless connections. Anything I could try from there?

Thank you cthisbear, I tried the 3070 pet package above with luci-529 in desperation, fatal error. There was a 2870 module but loading it did not detect anything. Haven't tried compiling because I can't seem to find the kernel number for this distro, my brain must be falling apart. Went through most of the threads posted in the thread you linked, unfortunately still failed to find new ways to make the system recognize wifi interface though.

Running HP e-Vectra P4258T, old old old machine circa 2001? Generic model USB wifi adapter...

Thank you so much everyone, I am really hoping to hear about more ways to solve it!

Posted: Fri 23 Sep 2011, 10:34
by tempestuous
Well first, it's certainly not necessary to go back to Puppy 4.3 to get the rt3070sta driver. This driver has also been available for Puppy 5.1 - 5.2.8 for quite a long time now ... but wait ...
before we can give you accurate advice, we need to know the USB device ID of your wifi adapter.
Please plug it in, then run this command -

Code: Select all

cat /proc/bus/usb/devices
then tell us the "Vendor" and "ProdID" values of your wifi device.

Posted: Fri 23 Sep 2011, 16:30
by funlul
tempestuous wrote:Well first, it's certainly not necessary to go back to Puppy 4.3 to get the rt3070sta driver. This driver has also been available for Puppy 5.1 - 5.2.8 for quite a long time now ... but wait ...
before we can give you accurate advice, we need to know the USB device ID of your wifi adapter.
Please plug it in, then run this command -

Code: Select all

cat /proc/bus/usb/devices
then tell us the "Vendor" and "ProdID" values of your wifi device.
Thank you tempestuous, that makes so much sense. I am using wifi in XP with no issues, so the device is in working condition.

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.37.6 uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1f.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=148f ProdID=5370 Rev= 1.01
S: Manufacturer=Ralink
S: Product=802.11 n WLAN
S: SerialNumber=1.0
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=450mA
I:* If#= 0 Alt= 0 #EPs= 7 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms


THANK YOU SO MUCH AGAIN EVERYONE!

Posted: Sat 24 Sep 2011, 01:06
by cthisbear
Try Kinda Lucid Puppy 006

http://brainwavedesigncentral.net/dima/klp-006/

http://murga-linux.com/puppy/viewtopic.php?t=57371

""""""""""

http://www.murga-linux.com/puppy/viewtopic.php?t=67859

" Iguleder has proven it can be done.
I run Puppy 4.3.1 and cannot get my wireless to work,
no matter how I have approached it.

But this version of 4.3.1 is a goer "

Chris.

Posted: Sat 24 Sep 2011, 02:13
by tempestuous
funlul wrote:P: Vendor=148f ProdID=5370 Rev= 1.01
That's a very new device, requiring the new Ralink rt5370sta driver,
which I compiled just now for Puppy versions 5.1 - 5.2.8, posted here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

I can't help you with Wary.

Posted: Sat 24 Sep 2011, 23:24
by funlul
tempestuous wrote:
funlul wrote:P: Vendor=148f ProdID=5370 Rev= 1.01
That's a very new device, requiring the new Ralink rt5370sta driver,
which I compiled just now for Puppy versions 5.1 - 5.2.8, posted here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

I can't help you with Wary.
Dear tempestuous, thank you for ending my misery with this wifi adapter. I am posting this message from Puppy 5.2.8! Easy 10 minutes was all it takes to configure internet after installing your pet file. Deep bows in appreciation!! Now onto exploring Puppy!

Posted: Thu 13 Oct 2011, 12:14
by carolus
Puppy 5.28
Asus USB-N13 wifi dongle with Ralink chipset
Vendor 0b05, ProdID 1784, Rev 1.01

The default setup is not working. Which driver should I use, and how should I install it? (Must I uninstall some pre-existing driver, and if so, how?)

Posted: Thu 13 Oct 2011, 13:41
by tempestuous
carolus wrote:Vendor 0b05, ProdID 1784
You need the Ralink rt3370sta driver. It's available for Puppy Lucid versions 5.1 - 5.2.8 here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

The driver has been packaged as a dotpet. Install it like any other dotpet, nothing more to do.
Just reboot after installation. Then run the Network Wizard.

This driver is definitely compatible, but if it doesn't work properly, install the older Ralink rt3070sta USB wifi driver -
http://www.murga-linux.com/puppy/viewto ... 360#513360
Again, reboot.

Posted: Thu 13 Oct 2011, 17:06
by carolus
Thanks, tempestuous. rt3370sta did not work properly but rt3070sta did.

Puppy 5.28
Asus USB-N13 wifi dongle with Ralink chipset
Vendor 0b05, ProdID 1784, Rev 1.01

Prodid=2070 , slacko 5.3.1, driver for railink

Posted: Fri 02 Mar 2012, 01:15
by Darith
Beginner i am afraid. MY wifi usb is prodid 2070; tried various pet files which sem to load but unable to scan for any networks. The usb works fine in win xp? What am i doing wrong here? :?

Posted: Fri 02 Mar 2012, 01:46
by Darith
dmesg | tail
rt28xx Initialized fail!
usb 2-1: firmware file rt3070.bin request failed (-2)
ERROR! NICLoadFirmware failed, Status[=0x00000001]
rt28xx Initialized fail!
usb 2-1: firmware file rt3070.bin request failed (-2)
ERROR! NICLoadFirmware failed, Status[=0x00000001]
rt28xx Initialized fail!
usb 2-1: firmware file rt3070.bin request failed (-2)
ERROR! NICLoadFirmware failed, Status[=0x00000001]
rt28xx Initialized fail!

Posted: Mon 14 Jan 2013, 03:25
by boof
Pls, tempestuous

compile a .pet driver for the rt3070 that works in 5.3.3 or 5.4.x?

this thing is driving me mad.