Problems with RT73 drivers in Puppy 2.13

Post Reply
Message
Author
paulsiu
Posts: 187
Joined: Wed 17 Jan 2007, 02:58

Problems with RT73 drivers in Puppy 2.13

#1 Post by paulsiu »

After fiddling with the Puppy 2.13, I finally got my Averatec 2370 to talk to my wireless AP by loading RT73 drivers. This worked for a few days, but today, it faiiled and I couldn't get it working again.

I am going to spend some time tonight tracing down the problem, but does anyone know if the rt73 driver in 2.13 is stable?

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

I have a machine which need the RT73 drivers.
I loaded them in the network wizard.
I looked if acces points were found and I found several of which mine was strongest.
I made a profile, got a device rausb0, but dhcp didn't work.
I could set a static ip, but ran into problems when I gave the gateway address.
Network wizard gave the message setup was unsuccessful.
My AP is a Philips ADSL modem multiservices.
There is a dhcp server built-in.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

please see:
http://murga-linux.com/puppy/viewtopic.php?t=15057

dhcpcd rausb0

It works here in the hotel, and as you use the same kernel-module as I do, my steps might be valid for your model, too :)

Mark

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

Thanks Mark,

I did get a list of 6 cells and picked one which was unprotected.
the dhcpcd worked, but I didn't have a connection to the net.
In ifconfig I saw that rausb0 got an ip address tho.

In the list of cells I saw also my AP which is WEP protected.
I looked in the help of the iwconfig cmd, but didn't find what parm is needed to configure a WEP protected AP.
As my XP uses this AP I have the WEP key.

How do I reset rausb0 (ip address etc) in order to start all over?
I tried iwconfig rausb0 down, but the IP is still there.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

run the ethernet-wizard.
Choose to set a static IP.

This topic almost drove me mad here today, after playing around with the wizards, my dhcp did not work any more.

But I fixed it like this:

in windows, I looked at how I was connected to the network.
This is an option of my driver, but maybe with "ipconfig" in a dos-window you see the relevant informations, too.

It gave me these values:

Code: Select all

Physikalische Adresse: 00-19-5B-3A-B7-96
IP-Adresse: 192.168.2.158
Subnetzmaske: 255.255.255.0
Standardgateway: 192.168.2.1
DHCP-Server: 192.168.2.1
Lease erhalten: 10.02.2007 00:06:35
Lease läuft ab: 19.01.2038 04:14:07
DNS-Server: 192.168.2.1
Google told me, that the command
netstat -rn
should report a gateway.
My result was:

Code: Select all

sh-3.00# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
After running Puppys ethernet-wizard to set a static IP, I got:

Code: Select all

sh-3.00# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.2.1     0.0.0.0         UG        0 0          0 rausb0
I don't know, how this could be automated.
It would be nice to have a comand like "find-gateway rausb0".

Mark

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#6 Post by kirk »

Netdiscover will scan the network for IP address. If you use the -f switch, it only scans 1, 100, and 254 ending ip address, so it's pretty quick that way and gateways are usually addresed that way.

PS - You've got to have a good connection for it to work.
Attachments
netdiscover.tar.gz
(180.91 KiB) Downloaded 1084 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

Thanks, will have a look at it in the next days :)
3.30 a.m. here already...
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

it looks like that for the encryption key, you must edit:
/etc/Wireless/RT73STA/rt73sta.dat

But I cannot test that here, so I can't tell you details.
Maybe google can give you some example configurations.

I've built a small wizard for rt73 without encryption.
You could edit
/usr/local/Muppy-rt73/resource/run-rt73
to add more parameters to iwconfig in line 35 and 53.
http://murga-linux.com/puppy/viewtopic. ... 6129#96129

iwconfig --help shows all options, or see:
http://www.die.net/doc/linux/man/man8/iwconfig.8.html

If someone can give a precise description of how to use wep, I can try to add it to my wizard.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

Kirk, netdiscover can not be used to find a gateway, as it requires the gateway to scan the network.
But it is a nice tool anyway, maybe will be helpfull in other cases :)
Thanks, Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

I compiled a new rt73 kernelmodule, it fixes the dhcp error :)
see:
http://murga-linux.com/puppy/viewtopic.php?t=15305
Mark

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#11 Post by kirk »

Kirk, netdiscover can not be used to find a gateway, as it requires the gateway to scan the network.
No, I've used it many times to find a gateway. You just have to be associated with the access point. Once associated:

netdiscover -f rausb0


This will start scanning 192.168.0.0, and checks 1, 100, and 254 with the -f switch. It does this by sending ARP requests and sniffing for replies. You don't even need an IP address assigned to your interface. You do need a good signal.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#12 Post by kirk »

Looks like you've been having driver problems. If your still having problems, I posted the source from Ralink (instead of serialmonkey) with the ID's for dlink added here:

http://murga-linux.com/puppy/viewtopic. ... 31&t=12352

Might be worth a try.


Also If you have not been able to get rutilt working, it's worth the effort for someone using a laptop. The version in 2.13 is different than the one used in 2.12 and has some bugs fixed.

Post Reply