Pwireless-0.8.4
hello plinej
as promised tried out other wifi stick.. sorry bad news follows
looks like one of these buggy sticks!
wifi usb stick -> hercules HWGUSB2-54 usb2 54mb/s and it uses module ->rt2570 -> rausb0
# looks like there's a bug in "iwconfig essid" or the module, read on :
i'm using a HIDDEN 7 character essid, if i type in rxtv
the iwconfig ESSID = "123456" but it should be ESSID = "1234567"
it's missing the last character (nber 7) of the ESSID,
my fix -> add a space after the LAST character of essid, this works for me.
Complication for your program : This stick outputs most of it's usefull info with the iwconfig command.
iwconfig command output :
rausb0 RT2500USB WLAN ESSID:"xxxxxxx" Nickname:""
Mode:Managed Frequency=2.412 GHz
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level:-120 dBm Noise level:57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
on start Pwireless 0.5 displays correctly Hidden/essid
Added a profile for my hidden essid
in the profile window :
1st box is for iwconfig commands -> it does NOT display the interface(device) or mode variable
2nd box is for dhcpcd -> it does NOT display the interface(device) variable
so even if i add them in and save the profile, it forgets them upon pwireless restart
i'm using it now !
sorry about this
maddox
as promised tried out other wifi stick.. sorry bad news follows
looks like one of these buggy sticks!
wifi usb stick -> hercules HWGUSB2-54 usb2 54mb/s and it uses module ->rt2570 -> rausb0
# looks like there's a bug in "iwconfig essid" or the module, read on :
i'm using a HIDDEN 7 character essid, if i type in rxtv
Code: Select all
ifconfig rausb0 up
iwconfig rausb0 essid "1234567" channel 6 mode managed key off
iwconfig
it's missing the last character (nber 7) of the ESSID,
my fix -> add a space after the LAST character of essid, this works for me.
Code: Select all
iwconfig rausb0 essid "1234567 " channel 6 mode managed key off
iwconfig command output :
rausb0 RT2500USB WLAN ESSID:"xxxxxxx" Nickname:""
Mode:Managed Frequency=2.412 GHz
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level:-120 dBm Noise level:57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
on start Pwireless 0.5 displays correctly Hidden/essid
Added a profile for my hidden essid
in the profile window :
1st box is for iwconfig commands -> it does NOT display the interface(device) or mode variable
2nd box is for dhcpcd -> it does NOT display the interface(device) variable
so even if i add them in and save the profile, it forgets them upon pwireless restart
If i manually type the commands in rxtv the stick works fine.pwireless-1-IWCONFIG -> iwconfig essid "xxxxxxx " channel 6 ap key off bit auto rate auto txpower auto (no interface/device after iwconfig and no mode variable)
Pwireless-dhcp -> dhcpcd (no interface/device after command)
i'm using it now !
sorry about this
maddox
hello plinej,
been digging... Toutou 2.17+X, man this stick doesn't like it..
used connection wizard to configure the stick, then rebooted -> hanged Toutou on boot
looks like, etc/rausb0wireless (ifconfig & iwconfig commands) and etc/rausb0mode (dhcpcd command) don't run one after the other as they should.
1st major bug -> essid truncated (last character) as explained before, fixed it with extra space.
2nd bug -> seems like dhcpcd tries to run before interface is fully configured.
fixed hang with a few sleeps and 3 iwconfig parameter lines instead of 1 line
still wont autoconnect, but doesn't hang on boot, dhcpcd early problem...
really was a bit off topic but...
Pwireless 0.5 report..
these are my default values just after "add profile" in Pwireless 0.5
# there is no "interface variable" after iwconfig and before essid
# dhcpcd has no "interface variable" after it.
# you've got the interface variable correctly "rausb0", shows in Pwireless
# there is no " mode variable" , you can't get it because you don't have the interface variable to retrieve it
Here is the output of my /tmp/Pwireless* files
Pwireless
rausb0 No scan results
Pwireless-device
(my comment, file is empty)
Pwireless-dhcp
dhcp
Pwireless-open
false
Pwireless-ssid
test-pwireless
let me know if you want more info
maddox
been digging... Toutou 2.17+X, man this stick doesn't like it..
used connection wizard to configure the stick, then rebooted -> hanged Toutou on boot
looks like, etc/rausb0wireless (ifconfig & iwconfig commands) and etc/rausb0mode (dhcpcd command) don't run one after the other as they should.
1st major bug -> essid truncated (last character) as explained before, fixed it with extra space.
2nd bug -> seems like dhcpcd tries to run before interface is fully configured.
fixed hang with a few sleeps and 3 iwconfig parameter lines instead of 1 line
still wont autoconnect, but doesn't hang on boot, dhcpcd early problem...
really was a bit off topic but...
Pwireless 0.5 report..
these are my default values just after "add profile" in Pwireless 0.5
Code: Select all
iwconfig essid "" channel ap key ENTER-THE-KEY bit auto rate auto txpower auto
dhcpcd
# dhcpcd has no "interface variable" after it.
# you've got the interface variable correctly "rausb0", shows in Pwireless
# there is no " mode variable" , you can't get it because you don't have the interface variable to retrieve it
Here is the output of my /tmp/Pwireless* files
Pwireless
rausb0 No scan results
Pwireless-device
(my comment, file is empty)
Pwireless-dhcp
dhcp
Pwireless-open
false
Pwireless-ssid
test-pwireless
let me know if you want more info
maddox
0.6 is now up
Maddox, this should correctly find your device now. My scripts initially searched for 802.11 in the iwconfig output but I see yours doesn't output that. Instead now it searches for the line with ESSID: to find the device. I also added a "sleep 3" between the iwconfig & dhcpcd commands.
Maddox, this should correctly find your device now. My scripts initially searched for 802.11 in the iwconfig output but I see yours doesn't output that. Instead now it searches for the line with ESSID: to find the device. I also added a "sleep 3" between the iwconfig & dhcpcd commands.
hello plinej,
great the "interface variable" is there
: ( still missing mode:managed in iwconfig line.
hey, thanks for your effort and time
maddox
great the "interface variable" is there
Code: Select all
iwconfig rausb0 essid "" channel auto ap auto key ENTER-THE-KEY bit auto rate auto txpower auto
dhcpcd rausb0
Code: Select all
rxtv iwconfig output
rausb0 RT2500USB WLAN ESSID:"xxxxxxx" Nickname:""
Mode:Managed Frequency=2.437 GHz Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=94/100 Signal level:-31 dBm Noise level:53 dBm
maddox
hello plinej,
sorry about the mode:managed
should have been
my mistake, sorry
maddox
sorry about the mode:managed
should have been
Code: Select all
mode managed
maddox
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
That's a known problem with older versions of the Ralink drivers. I contributed the fixed version of the rt2570 driver (compatible with Puppy2.17) here -maddox wrote:the iwconfig ESSID = "123456" but it should be ESSID = "1234567"
it's missing the last character (nber 7) of the ESSID
http://www.murga-linux.com/puppy/viewtopic.php?t=20171
hello plinej,
After installing the 2 pets (new-network wizard & rt2570) things have changed. The stick is configured and UP while doing the following tests. I just ran each prog without creating a profile or trying to connect, to see what each prog displayed on start.
ver 3 to 3.1 -> correctly displayed -> mode managed , encrypt open , but NO channel nber
ver 3.2 -> correctly displayed -> mode managed , encrypt open , but channel (lima 6)
ver 3.3 to 4 -> correctly displayed -> mode managed , channel 6 , encrypt open
# after ver. 4 -> mode , channel , encrypt -> are broken , looks like my doing. Seems like i sent you on the wrong track, after version 4, soooooory
ver 5 -> displayed hidden essid , no mode , no channel , no encrypt
ver 6 -> displayed hidden essid , no mode , channel auto , no encrypt , ap mac auto
ver 6.1 -> correctly displayed -> IP addr - hidden essid , no mode , channel auto , no encrypt , ap mac auto
Still willing to test if you're interested..
Toutou doesn't hang on boot anymore with the 2 pet's, but still no autoconnect. btw, tried to unistall new network-wizard pet, it broke esmourguit's connection-wizard, so reinstalled it.
# Stopped loosing my hair after using NOP's and sleep's.
maddox
After installing the 2 pets (new-network wizard & rt2570) things have changed. The stick is configured and UP while doing the following tests. I just ran each prog without creating a profile or trying to connect, to see what each prog displayed on start.
ver 3 to 3.1 -> correctly displayed -> mode managed , encrypt open , but NO channel nber
ver 3.2 -> correctly displayed -> mode managed , encrypt open , but channel (lima 6)
ver 3.3 to 4 -> correctly displayed -> mode managed , channel 6 , encrypt open
# after ver. 4 -> mode , channel , encrypt -> are broken , looks like my doing. Seems like i sent you on the wrong track, after version 4, soooooory
ver 5 -> displayed hidden essid , no mode , no channel , no encrypt
ver 6 -> displayed hidden essid , no mode , channel auto , no encrypt , ap mac auto
ver 6.1 -> correctly displayed -> IP addr - hidden essid , no mode , channel auto , no encrypt , ap mac auto
Still willing to test if you're interested..
Toutou doesn't hang on boot anymore with the 2 pet's, but still no autoconnect. btw, tried to unistall new network-wizard pet, it broke esmourguit's connection-wizard, so reinstalled it.
# Stopped loosing my hair after using NOP's and sleep's.
maddox