Author Topic: Wifi-radar Not Working  (Read 10986 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Wifi-radar Not Working
« Reply #15 on: July 02, 2007, 09:26:33 pm »
wifi radar uses the standard iwlist tool and depending on your wifi card and associated module, it may work or may not.

my sandisk cf works, however, my netgear does not. there is nothing wrong with wifi radar. you just need to get another card if it does not support such feature at all, or upgrade the driver/module for your card if your card does support the feature but the current driver does not support it. some cards also require you to upgrade the firmware.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Wifi-radar Not Working
« Reply #16 on: July 03, 2007, 06:00:10 am »
Meanie,

your working cf-wlan card from SandDisk calls "SanDisk Connect Plus CF WiFi + 128MB Memory card "?

Thanks
climber
« Last Edit: July 03, 2007, 06:00:30 am by climber »

solighten

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://
Wifi-radar Not Working
« Reply #17 on: July 07, 2007, 10:51:20 am »
Hi,

I was not able to get the scanning working on my machine. There is probably an error in the driver for the card or scanning is not properly included in the interface. The card itself supports scanning, wellenreiter works perfect.

The other functionality, setting up a network and connecting to it, works fine now with me. I use wpa_supplicant since I have a router with WPA-PSK. My settings are:

Code: [Select]
Wireless device wlan0
Scan Timeout 10
Use speak-up: no
Commit required: no
Ifup required: yes

Network Name
Mode Managed
Channel auto
Key
Security restricted
Use WPA
Driver wext
Automatic network configuration (DHCP)
I will use wifi-radar instead of my old script, it's much more convinient and the existing network set-up does not support wpa. But it would be nice to have scanning available in wifi-radar.

Cheers, Jan
SL-C860 - PdaXrom 1.1.0r197
2GB SD XStore 2GB CF SanDisk
Wlan D-Link DCF 660W

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Wifi-radar Not Working
« Reply #18 on: September 27, 2007, 09:31:36 pm »
I have a fresh flash of pdaxii13 (5.4.9) on NAND
I installed wifi-radar 1.9.8-1 and python-threading.
I used it several times and it didn't seem to have any problems.
The last time I used it, after trying to connect to one of the four entries that it detected, it hung up, and I had to restart X
Now when I launch wifi-radar, it just shows a white empty box where the application should be.
I cannot close this white box, I need to restart X to get rid of it.
I have since rebooted, but my C3200 hung when stopping CF services, so I had to reset it in the battery compartment.
Should I uninstall (then re-install) wifi-radar and the one dependency that I needed for it when I installed it? (python-threading)
I really want to try solighten's WPA PSK method he outlined in the post above, since I have been using my cacko Zaurus with WPA all summer with no problems.
EDIT:
I use this card and it has the later firmware: Ambicom WL1100C-CF Wifi (PRI: id=0x15 v1.1.1 and STA: id=0x1f v1.8.0)
I later found out that I can launch (and close) wifi-radar in a console
There are 2 error messages it spits out upon launch.
(wifi-radar:2499): Gdk-WARNING **: local not supported by Xlib
(wifi-radar:2499): Gdk-WARNING **: cannot set local modifiers
« Last Edit: September 27, 2007, 10:19:29 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Wifi-radar Not Working
« Reply #19 on: September 28, 2007, 03:35:50 am »
Quote from: Jon_J
I have a fresh flash of pdaxii13 (5.4.9) on NAND
I installed wifi-radar 1.9.8-1 and python-threading.
I used it several times and it didn't seem to have any problems.
The last time I used it, after trying to connect to one of the four entries that it detected, it hung up, and I had to restart X
Now when I launch wifi-radar, it just shows a white empty box where the application should be.
I cannot close this white box, I need to restart X to get rid of it.
I have since rebooted, but my C3200 hung when stopping CF services, so I had to reset it in the battery compartment.
Should I uninstall (then re-install) wifi-radar and the one dependency that I needed for it when I installed it? (python-threading)
I really want to try solighten's WPA PSK method he outlined in the post above, since I have been using my cacko Zaurus with WPA all summer with no problems.
EDIT:
I use this card and it has the later firmware: Ambicom WL1100C-CF Wifi (PRI: id=0x15 v1.1.1 and STA: id=0x1f v1.8.0)
I later found out that I can launch (and close) wifi-radar in a console
There are 2 error messages it spits out upon launch.
(wifi-radar:2499): Gdk-WARNING **: local not supported by Xlib
(wifi-radar:2499): Gdk-WARNING **: cannot set local modifiers

you probably corrupted your wifi radar config. just remove it from /etc/wifi-radar.conf and try starting again.

it that doesn't help, you most likely also corrupted some other settings... i would recommend performing a fsck...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Wifi-radar Not Working
« Reply #20 on: September 28, 2007, 07:44:07 am »
I uninstalled wifi-radar 1.9.8-1 and installed 1.9.8-2
I don't have the previous problems, but still get the same error messages in a console when launching it.
(wifi-radar:2499): Gdk-WARNING **: local not supported by Xlib
(wifi-radar:2499): Gdk-WARNING **: cannot set local modifiers
I don't know if these errors are causing any problems, I just thought I would list them.
wifi-radar scans and seems to work fine now. I haven't gotten my WPA connection working yet.
There are 4 listings for connections here at my house. 3 of them have the "Lock" icon and the 4th has no "Lock" icon.
I connected briefly to the 4th one, but it only stayed connected for about 20 seconds.

I have everything running in NAND except my swap. I thought fsck is for the hard drive.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Wifi-radar Not Working
« Reply #21 on: September 28, 2007, 09:01:41 am »
Quote from: Jon_J
I uninstalled wifi-radar 1.9.8-1 and installed 1.9.8-2
I don't have the previous problems, but still get the same error messages in a console when launching it.
(wifi-radar:2499): Gdk-WARNING **: local not supported by Xlib
(wifi-radar:2499): Gdk-WARNING **: cannot set local modifiers
I don't know if these errors are causing any problems, I just thought I would list them.
wifi-radar scans and seems to work fine now. I haven't gotten my WPA connection working yet.
There are 4 listings for connections here at my house. 3 of them have the "Lock" icon and the 4th has no "Lock" icon.
I connected briefly to the 4th one, but it only stayed connected for about 20 seconds.

I have everything running in NAND except my swap. I thought fsck is for the hard drive.

the Gdk warning can be ignored. you sure it is not locale instead of local?

sorry, i thought you were using the microdrive in which case fsck can fix filesystem corruptions. if you have corruption problem with your nand then only a reflash can fix those, but it seems like you dont have any problems after all...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Wifi-radar Not Working
« Reply #22 on: September 28, 2007, 09:17:03 am »
Quote from: Meanie
the Gdk warning can be ignored. you sure it is not locale instead of local?
You're right it is locale
Is there a step-by-step guide for connecting with WPA, like there is for Cacko.
Is there a place I can place "WPA=yes" like in Cacko?
I have no way to connect that works if I want to upgrade my C3200 to pdaxii13v2
Neither of my LAN things work (Socket Rugged CF 10/100) and (Linksys USB200M USB 2.0 10/100 Network Adapter)
I haven't figured out tcp/ip over USB like in Cacko.
« Last Edit: September 28, 2007, 09:17:55 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Wifi-radar Not Working
« Reply #23 on: September 28, 2007, 09:29:35 am »
Quote from: Jon_J
Quote from: Meanie
the Gdk warning can be ignored. you sure it is not locale instead of local?
You're right it is locale
Is there a step-by-step guide for connecting with WPA, like there is for Cacko.
Is there a place I can place "WPA=yes" like in Cacko?
I have no way to connect that works if I want to upgrade my C3200 to pdaxii13v2
Neither of my LAN things work (Socket Rugged CF 10/100) and (Linksys USB200M USB 2.0 10/100 Network Adapter)
I haven't figured out tcp/ip over USB like in Cacko.

ah right. if you want to get rid of the locale warnings, just type:

export LC_ALL=C
export LC_LANGUAGE=C

put it in your .bashrc or .profile if you want it to be done automatically every time...

as for setting up WPA, ask walkman. he got it working under 5.4.9. i dont have a wpa enabled router...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

walkman

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Wifi-radar Not Working
« Reply #24 on: September 28, 2007, 10:47:22 am »
Hi,

Quote from: Jon_J
Quote from: Meanie
the Gdk warning can be ignored. you sure it is not locale instead of local?
You're right it is locale
Is there a step-by-step guide for connecting with WPA, like there is for Cacko.
Is there a place I can place "WPA=yes" like in Cacko?
I have no way to connect that works if I want to upgrade my C3200 to pdaxii13v2
Neither of my LAN things work (Socket Rugged CF 10/100) and (Linksys USB200M USB 2.0 10/100 Network Adapter)
I haven't figured out tcp/ip over USB like in Cacko.

Few weeks ago you've been involved in a discussion where a solution was found: https://www.oesf.org/forums/lofiversion/ind...php/t24021.html. I followed it yesterday and today (I am a complete newbie to Zaurus/pdaXii13 as I received the gadget only 3 days ago) and I managed to go along those instructions and it works. Now I am experimenting with EAP+TTLS configs (no success yet  ). So to make it simple:

Quote
- Quit worrying about the erroneous card identification in the tray applet. Evidently wifi-radar overrides that.
- Starting from a clean install, set up your ssid in the Lan and Wifi applet, leaving the WEP stuff blank <-- THIS TURNED OUT TO BE IMPORTANT AS OTHERWISE YOU DO NOT HAVE BOILERPLATE CONFIG ENTRIES
- Edit /etc/pcmcia/network.opts to add the line
CODE
WPA="y" <--- ADD IT TO THE PROFILE YOU ARE CONNECTING WITH

at the end of the entry just created under your ssid.
- Add your network's information to /etc/wpa_supplicant.conf (Or replace the whole file. Here's mine, (with the psk modified)):
CODE
network={
      ssid="0ur1an"
      proto=WPA
      pairwise=TKIP
      psk=AC373C7C9925138F48B21AEC4F4734CA01D333485BF10014F4734CA01A655C57
      priority=1
}

 ^^^^^ YOU CREATE THAT ENTRY USING wpa_passphrase

- In wifi-radar, add your network's configuration, specifying the appropriate driver (hostap for most cards).

- I also added "ifconfig wlan0 up" to the connection command option in wifi-radar. <--- THIS IS IMPORTANT. HOWEVER THERE'S A SIMILAR OPTION IN wifi-radar PROPERTIES ABOUT ifup. NO CLUE HOW THESE INTERFERE, BUT I GUESS THEY DO.

That completes the setup.

Now, after reboot or sleep, I can connect just using wifi-radar.

Good luck.
Sharp SL-C1000 Akita + D-Link 660W

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Wifi-radar Not Working
« Reply #25 on: September 28, 2007, 05:21:53 pm »
I have this in my wpa_supplicant.conf
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']network={
ssid=my-p4
proto=WPA
pairwise=TKIP
(my passphrase is here commented out: #psk=xxx-etc)
(my long string of chars is here: psk=long string of chars)
priority=1
}[/div]
It still won't get the IP address when I try to connect in wifi-radar, no lights flicker on my router like it does when connecting with Cacko.
My Cacko Z connects in about 5 secs. (using same Ambicom CF wifi card).
I also put WPA=y in /etc/pcmcia/network.opts

BTW, the last time I read that other thread was in May, not a couple weeks ago. I'm always gone for the summer.

Thank you for any help on this, Jon
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

walkman

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Wifi-radar Not Working
« Reply #26 on: September 28, 2007, 08:12:06 pm »
[quote name='Jon_J' date='Sep 28 2007, 11:21 PM' post=
I also put WPA=y in /etc/pcmcia/network.opts
[/quote]

it has to be WPA="y" - with double quotes.

hopefully it helps (writing from Z over WPA/TKIP wlan connection).
Sharp SL-C1000 Akita + D-Link 660W

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Wifi-radar Not Working
« Reply #27 on: October 01, 2007, 01:04:23 pm »
Thank you Walkman, I tried adding the quotes to WPA="y"
I still get no connection. Something is fundamentally wrong with my network setup.
When I insert my wifi card, it will blink at a steady rate indefinitely. This is with nothing else, such as wifi-radar running.
In Cacko, it blinks only once when I insert it, then it blinks several times only after I click the "connect" button in the GUI. Then it connects.
When I try to connect with wifi-radar in pdaxii13, it tries to acquire an IP address, but eventually fails. (no lights on my AP/router flash at all)
Once wifi-radar fails to acquire an IP, my CF card stops flashing its light.
If I try to connect again, (after the light on my CF card shut off), I still cannot acquire an IP address. (wifi-radar)
I've also tried connecting in meanie's "pdaxii13conf" through the network settings app to no avail. It gives a message that says "Unable to connect".
The network settings tool accessible through pdaxii13conf is different from the default network settings (I think this is Daniel's newer settings app.)
If you select Wifi in pdaxii13conf, you'll get wifi-radar
If you select LAN in pdaxii13conf, you now have access to a newer version of the network settings app, (complete with a WPA settings tab), and a connect and disconnect button.
The reason I tried this is because I have run out of ideas to get my wifi working in pdaxii13.
I checked the below 2 files, and the "newer/Daniel's" settings app, didn't seem to change either of these files.
Below are my 2 files:
wpa_supplicant.conf and network.opts
wpa_supplicatt.conf
Code: [Select]
network={
ssid=my-p4
proto=WPA
pairwise=TKIP
(passphrase is here commented out: #psk=xxx-etc)
(string of chars is here: psk=long string of chars)
priority=1}
network.opts
Code: [Select]
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO.  In short, the network address is the IP
# address masked by the netmask.
#

case "$ADDRESS" in
home,*,*,*)
    INFO="home"
    start_fn () { return; }
    stop_fn () { return; }
    IF_PORT=""
    DHCP_HOSTNAME=""
    SEARCH=""
    MOUNTS=""
    MTU=""
    NO_CHECK=""
    NO_FUSER=""
    BOOTP=n
    NETWORK=""
    BROADCAST=""
    DHCP="y"
    IPADDR=""
    NETMASK=""
    GATEWAY=""
    DNS_1=""
    DNS_2=""
    DNS_3=""
    DOMAIN=""
        WPA="y"
;;

*,*,*,*|default,*,*,*)
    INFO="default"
    start_fn () { return; }
    stop_fn () { return; }
    IF_PORT=""
    DHCP_HOSTNAME=""
    SEARCH=""
    MOUNTS=""
    MTU=""
    NO_CHECK=""
    NO_FUSER=""
    BOOTP=n
    NETWORK=""
    BROADCAST=""
    DHCP="y"
    IPADDR=""
    NETMASK=""
    GATEWAY=""
    DNS_1=""
    DNS_2=""
    DNS_3=""
    DOMAIN=""
;;
esac
« Last Edit: October 01, 2007, 01:18:34 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers