Page 1 of 2

2.16.1: How to get CWD-854 USB dongle working?

Posted: Sun 10 Jun 2007, 21:10
by packwood
I have Pupy 2.16.1 installed. (Which went like a dream). Now I have a USB wireless dongle I want to get running that uses the RT73 driver.

I need some clear instructions how to install this. I have the latest Linux drivers which I have unpacked into a temporary folder.

The instructions with the driver give the following steps:
Build Instructions:
====================
1> $tar -xvzf RT73_Linux_STA_Drv_x.x.x.x.tar.gz
go to "./RT73_Linux_STA_Drv_x.x.x.x/Module" directory.

2> $cp Makefile.4 ./Makefile # [kernel 2.4]
or
$cp Makefile.6 ./Makefile # [kernel 2.6]

3> [kernel 2.4]
$chmod 755 Configure
$make config # config build linux os version

4> $make all # compile driver source code

5> $cp rt73.bin /etc/Wireless/RT73STA/ # copy firmware

6> $dos2unix rt73sta.dat
$cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat
# !!!check if it is a binary file before loading !!!

7> $load
#[kernel 2.4]
# $/sbin/insmod rt73.o
# $/sbin/ifconfig rausb0 inet YOUR_IP up

#[kernel 2.6]
# $/sbin/insmod rt73.ko
# $/sbin/ifconfig rausb0 inet YOUR_IP up
This only works as far as step 3 - "make" cannot be found.

Second attempt, I looked at the Puppy Newtork Setip. If I select Load driver I see that RT73 is listed, yippee! But that does not work - returns a message "Loading RT73 failed".

What is the easiest way to get this dongle working? Where do I start?

Thanks.

This worked for me

Posted: Sun 10 Jun 2007, 21:27
by RazzBear
I to have the same usb dongle and this is how i got it working

http://murga-linux.com/puppy/viewtopic. ... 24&t=14252

How do you get a CWD-854 USB dongle installed?

Posted: Mon 11 Jun 2007, 20:36
by packwood
Thanks, this is really helpful to find someone who has it working. However I think there is something I need to do first - like copying some of the driver files (but which ones? and where to?)

If I:

modprobe RT73

I get:

FATAL: Module RT73 not found.

Also I have no folder:

/etc/Wireless/RT73STA/

Posted: Mon 11 Jun 2007, 20:43
by HairyWill
it should be lowercase ie
modprobe rt73

Posted: Mon 11 Jun 2007, 21:24
by packwood
OK I have tried lowercase:

modprobe rt73
FATAL: Module rt73 not found

It feels to me that I need to be doing something with the linux driver files. Do I need to copy some or all of them somewhere?

Posted: Mon 11 Jun 2007, 21:49
by HairyWill
The driver for rt73 is already included in the puppy iso though it is probably packed inside a squashfile zdrv.sfs as you are having problems with this i presume you have a full install.

You can unpack all the drivers and install them following the instructions here:
http://www.murga-linux.com/puppy/viewto ... 1735#91735

Posted: Tue 12 Jun 2007, 20:58
by packwood
OK I found zdrv_216.sfs on the CD and copied it to /root

ran ...

mkdir /root/mount <--OK
mount -o loop /zdrv_216.sfs /root/mount/zdrv_216.sfs

Returns an error ...

mount: /zdrv_216.sfs: No such file or directory
mount: Could not setup loop device

Posted: Tue 12 Jun 2007, 21:46
by Béèm
Shouldn't this be:

Code: Select all

mount -o loop /root/zdrv_216.sfs /root/mount

Posted: Tue 12 Jun 2007, 21:51
by HairyWill
If the zdrv file is in /root you need
mount -o loop /root/zdrv_216.sfs /root/mount

Posted: Tue 12 Jun 2007, 21:57
by Béèm
HairyWill wrote:If the zdrv file is in /root you need
mount -o loop /root/zdrv_216.sfs /root/mount
Thank you for confirming. :wink: :wink:

Posted: Wed 13 Jun 2007, 06:36
by packwood
OK

Code: Select all

mount -o loop /root/zdrv_216.sfs /root/mount 
helps with one problem but raises another...

Code: Select all

Can't find /root/mount/zdrv_216.sfs in /etc/fstab
Where did /etc/fstab come from?

Posted: Thu 14 Jun 2007, 21:19
by packwood
Is anyone able to clarify what I should be doing here?

Code: Select all

Can't find /root/mount/zdrv_216.sfs in /etc/fstab
Also noticed zdrv_216.sfs is a huge file, guess I don't want it being loaded after the wireless usb is sorted.

Incidentally, I am trying to use a RT73 USB dongle which from the reading suggests it is well supported by Puppy 2.16. Currently I am not convinced!

Thanks

Posted: Fri 15 Jun 2007, 10:31
by HairyWill
packwood wrote:OK

Code: Select all

mount -o loop /root/zdrv_216.sfs /root/mount 
helps with one problem but raises another...

Code: Select all

Can't find /root/mount/zdrv_216.sfs in /etc/fstab
Where did /etc/fstab come from?
I get that error message if I don't put a space inbetween
/root/zdrv_216.sfs
and
/root/mount
The first is the file you are mounting the second is the directory you are mounting it on.

It is usually best to copy and paste lines of code directly to make sure you catch that sort of thing, also lowercase Ls muddled with ones.

To copy just swipe though some applications might need right click - copy as well

To paste just click the middle mouse button or if you only have two click both together. If you only have one mouse button I'm not sure. My friend with a mac has been known to say "Oh I need to copy/paste I'll just go and get my 2 button mouse!"

Posted: Sat 16 Jun 2007, 07:58
by tempestuous
Now that you have mastered the commands to extract the driver sfs file, it's worth
mentioning that the rt73 driver included in Puppy is not fully reliable, as reported by MU here -
http://murga-linux.com/puppy/viewtopic. ... 6084#96084

You should install MU's updated version mentioned in that thread, or install the very latest
rt73 version from here -
http://www.murga-linux.com/puppy/viewto ... 186#121186

But be aware that the latest version no longer uses the rt73sta.dat configuration file.
You must configure it via the Network Wizard or RutilT.

Posted: Sat 16 Jun 2007, 09:28
by packwood
Thanks.

However the previous reply did not answer the question about /etc/fstab and what needs to go there.

Also the apparent space issue between root/zdrv_216.sfs and /root/mount. I have tried it with one space (and two!) but still returns:

Code: Select all

Can't find /root/mount/zdrv_216.sfs in /etc/fstab

Posted: Sat 16 Jun 2007, 14:40
by tempestuous
You need to be careful about the exact commands.
The commands that Béèm suggested are definitely correct, and I just tried them now to be sure.
I then changed those commands slightly to see if I could repeat your error, and sure enough this is possibly the command you used -

Code: Select all

mount -o /root/zdrv_216.sfs /root/mount/zdrv_216.sfs
Here again is the correct command -

Code: Select all

mount -o loop /root/zdrv_216.sfs /root/mount

Posted: Sun 17 Jun 2007, 20:03
by packwood
Thanks. I downloaded the several packages and installed them:
puppy_network_setup-v02.pet
rt73-cvs-070607-k2.6.18.1.pet
wpa_supplicant-0.5.8-rt73patch.pet
All loaded sucessfully with no errors. I rebooted to see if it recognised my wireless dongle.

Now I see I have an error showing when I run dmesg:
rt73: no version for "struct_module" found: kernel tainted.
rt73: Unknown symbol release_firmware
rt73: Unknown symbol request_firmware
rt73: Unknown symbol release_firmware
rt73: Unknown symbol request_firmware
rt73: Unknown symbol release_firmware
rt73: Unknown symbol request_firmware
rt73: Unknown symbol release_firmware
rt73: Unknown symbol request_firmware
Noticed in another post:
I figured out the problem with the "Unknown symbol release_firmware" error. The firmware loading is supposed to be handled by Hotplug, but the Hotplug firmware isn't built into the kernel but exists as a module, so you have to:

Code:
modprobe firmware_class
But that returns an error too:
FATAL: Module firmware_class not found
What do I do now?

Posted: Mon 18 Jun 2007, 01:12
by tempestuous
Yes, you need to load the firmware_class module first ... though the rt73 module should load it automatically ... so this indicates deeper problems.
packwood wrote:FATAL: Module firmware_class not found
Ah. If the module can't be found it means you still haven't succeeded in uncompressing the zdrv file (modules).
Go back and have another look at WhoDo's instructions -
http://www.murga-linux.com/puppy/viewto ... 1735#91735
... but remember, your zdrv file is located in /root, not /

Posted: Wed 20 Jun 2007, 14:26
by packwood
I have done a Frugal install now, which boots reliably every time. I had hoped it might sort some of the missing files problems I was experiencing. I hoped!

I am back where I was.

zdrv_216.sfs is in the / directory not /boot

/root/mount exists and is empty, now if I run:
mount -o zdrv_216.sfs /root/mount
mount: loctl: LOOP_SET_FD: Invalid argument
mount: Could not set up loop device
I have also run the pet package puppy_network_setup-v02.pet. If I go to Menu - Setup - Network Wizard the dialog looks that same as it always did - no extra button for Ralink that the instructions suggsted there would be. Or is this some new command tucked away somewhere?

Posted: Wed 20 Jun 2007, 20:16
by tempestuous
For a frugal install it's NOT NECESSARY to uncompress the zdrv file.
As long as the zdrv file is in the correct location (/mnt/save I think) then Puppy will automatically mount it, and access it in its compressed state.

And in any case, your command is still wrong. I see that you have not specified the location of the zdrv file (/), and you have missed the all-important "loop".
packwood wrote: no extra button for Ralink
The Ralink button will only be seen if you choose WPA encryption.
It's a configuration setting for the WPA utility, wpa_supplicant.