Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 19:37
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Does the wizard not work with rt73 in WPA mode?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Tue 06 Mar 2007, 23:44    Post_subject:  Does the wizard not work with rt73 in WPA mode?  

I tried using the new Puppy 2.14's network wizard to connect to my WPA network. It just won't work. I am only able to connect by entering the settings into the RT73STA.dat file. Does wizard not work with rt73 drivers?

Paul
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Wed 07 Mar 2007, 01:33    Post_subject:  

wpa_supplicant was only recently recompiled to support Ralink, and I think you're the first to attempt a WPA connection with Ralink since then -
http://www.murga-linux.com/puppy/viewtopic.php?p=95596#95596

To troubleshoot the situation, you could run all setup commands one by one from rxvt -

EDIT: first modify /etc/wpa_supplicant.conf to include your SSID and Personal Security Key (PSK).

modprobe rt73
ifconfig rausb0 up
rm /var/run/wpa_supplicant/*
wpa_supplicant -i rausb0 -D ralink -c /etc/wpa_supplicant.conf -dd
## hopefully you will see something like "EAPOL: startWhen --> 0"
## now open a second xterminal
rm /etc/dhcpc/*.pid
dhcpcd -t 30 -h puppypc -d rausb0

Edited_time_total
Back to top
View user's profile Send_private_message 
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Thu 08 Mar 2007, 17:04    Post_subject:  

I downloaded and installed wpa_supplicant-0.5.7+ralink.tar, but apparently it did not work. I installed it, reboot and then use the Network Wizard to enter my AP's info. When I select Use this profile, it attempts to connect via WPA but faiiled. While it's connecting, I did a iwconfig rausb0 and notice that it had the right info except that the encrypting key is either off or zero.

Do I not have the latest wpa_supplicant or may be it just doesn't work with rt73?

Paul
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Thu 08 Mar 2007, 22:27    Post_subject:  

Puppy 2.14 already contains that version of wpa_supplicant, so it's not necessary to install it.
I forgot one important instruction about modifying /etc/wpa_supplicant.conf. See above.
Don't use the Network Wizard to add settings ... we're trying to bypass the wizard while troubleshooting.
Don't use iwconfig. iwconfig does not support WPA encryption.
Back to top
View user's profile Send_private_message 
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Fri 09 Mar 2007, 08:26    Post_subject:  

Okay, I'll give it a try when I get home. Question: What the difference between doing it this way than using the RT73STA.dat file? Is it more reliable?

Right now, I can get WPA to work through the RT73STA.DAT file, but there are times when I can't get the bloody DHCP to work.

Paul
Back to top
View user's profile Send_private_message 
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Sat 10 Mar 2007, 00:10    Post_subject:  

I tried:

wpa_supplicant -i rausb0 -D ralink -c/etc/wpa_supplicant.conf

but I got the message

Unsupported driver 'ralink'

Am I missing a driver or something? What is the driver for rt73?

Paul
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 10 Mar 2007, 05:11    Post_subject:  

Well I just checked the README from the RT73 wpa_supplicant patch, and "ralink" should definitely be recognised as a valid driver (-D) parameter.
In theory, Puppy 2.14 should contain the latest wpa_supplicant revision ... but maybe not?
So to be certain, please download the one from here - http://www.murga-linux.com/puppy/viewtopic.php?p=95640#95640
and install it like this -

cd /
tar -zxvf /path/to/my/downloads/wpa_supplicant-0.5.7+ralink.tar.gz

Be aware that this will overwrite your /etc/wpa_supplicant.conf
This version has the main executable located in /usr/local/bin/
so to make sure we're not using Puppy 2.14's original version it's important to specify this prefix in your commands. So the whole process is now -

Modify /etc/wpa_supplicant.conf to include your SSID and Personal Security Key (PSK).

modprobe rt73
ifconfig rausb0 up
rm /var/run/wpa_supplicant/*
/usr/local/bin/wpa_supplicant -i rausb0 -D ralink -c /etc/wpa_supplicant.conf -dd

## open a second xterminal
rm /etc/dhcpc/*.pid
dhcpcd -t 30 -h puppypc -d rausb0

If you still get the error message "Unsupported driver ralink" then maybe the README is wrong.
So replace "ralink" with "wext" and try again.
Back to top
View user's profile Send_private_message 
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Sat 10 Mar 2007, 11:25    Post_subject:  

I tried what you asked. I edited the /etc/wpa_supplicant.conf with the current ssid and key. When I attempt to use wpa_supplicant (the one in /usr/local/bin)

wpa_supplicant -irausb0 -Dralink -c/etc/wpa_supplicant.conf

I got the following error:

Code:
ioctl[SIOCGIWA]: Transport endpoint is not connected
ioctl[SIOCGIWA]: Transport endpoint is not connected
ioctl[SIOCGIWA]: Transport endpoint is not connected
ioctl[SIOCGIWA]: Transport endpoint is not connected
Tring to associate with SSID 'defcon'
ioctl[RT_PRIV_IOCTL] -- OID_802_11_SSID: Operation not supported
Association request to driver failed
Auenthication with 00:00:00:00:00:00 timed out.


What has worked so far is to not use WPA Supplicant and edit the setting in /etc/Wireless/RT73STA/rt73sta.dat. The only problem is that the dhcp isn't always reliable. What I did notice when I type in iwconfig rausb0 is that whenever it works, the encryption key is displayed. Whenver it fails, the encryption key is off or "00:00:00:00". I was thinking that may be the encryption modules weren't being loaded properly, so I typed:

modprobe michael_mic

From then on, dhcp worked. Not sure why if I don't load the module, it sometimes work and sometimes does not work,.

Paul
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 10 Mar 2007, 14:54    Post_subject:  

Paul, thanks for testing.
Well at least we learned that "ralink" is a valid driver parameter, and wpa_supplicant made some progress before failing.
We also learned that the latest revision of wpa_supplicant (with Ralink patch) did not make it into Puppy 2.14.

Actually, RT73STA.dat is the most straightforward way to make a WPA-encrypted connection, because RT73STA.dat is simply a configuration file for the Ralink driver's inbuilt native WPA support.

wpa_supplicant, on the other hand, acts as a separate daemon. So why use wpa_supplicant at all? Because it supports more advanced forms of WPA encryption such as PSK/AES. But if you only need PSK/TKIP, then the inbuilt Ralink technique is fine.
Back to top
View user's profile Send_private_message 
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Sat 10 Mar 2007, 17:55    Post_subject:  

I think ralink is a valid parameter. It's may be that I need to upgrade to a later version of ralink driver.

I have tried it with -Dwext, but it didn't work either. On well, at least I can get it to work.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 17 Mar 2007, 07:14    Post_subject:  

paulsiu wrote:
It's may be that I need to upgrade to a later version of ralink driver.

YES, that's the solution! I just discovered that the official Ralink rt73 driver has a problem which prevents it from working with wpa_supplicant.
The problem was identified on the rt2x00.serialmonkey forum, and the CVS source code was fixed on Jan 20th -
http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?p=18314#18314

MU compiled the CVS version of the serialmonkey Ralink driver on February 11th -
http://www.murga-linux.com/puppy/viewtopic.php?t=15345

So Mark's driver package should work with wpa_supplicant ... but not with the wpa_supplicant contained in Puppy 2.14.
The Ralink-patched wpa_supplicant is required from here http://www.murga-linux.com/puppy/viewtopic.php?p=95640#95640
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0654s ][ Queries: 11 (0.0040s) ][ GZIP on ]