Author Topic: Network Applet Documentation  (Read 10694 times)

dproldan

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://dev.newtontalk.net/~dpadilla/
Network Applet Documentation
« on: July 23, 2006, 05:30:12 am »
Hello

  I have, surprisingly, been able to compile the zd1211 driver for a USB stick I have for use with Cacko on my SL-C1000.

  It works perfectly,  loading the module when I insert the stick,  and I can connect to my WEP wireless lan with a little script I wrote calling ifconfig  and iwconfig.

  The problem is that the Newtork applet in Cacko doesn't realize that a network device has been inserted,  it doesn't give me the option to tap the "connect" button.

  It shouldn't be a big problem,  but the mail application says that no connection is active,  even if I can surf the web with Opera.

  Is there some kind of documentation explaining how the network applet works?  Where does it look for a network device?  any Qtopia guru can help?

Thank you

dproldan
SL-C1000 with pdaXrom R198 and latest SP.
D-Link DCF-660W wifi CF card.  Sitecom CN-501 Bluetooth CF Card.  PNY 4 GB SD card.  PNY 1 GB CF Card.  Pretec CF modem.  BenQ usb mini keyboard.  USB CD-Rom.  PDAir leather case.

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Network Applet Documentation
« Reply #1 on: July 24, 2006, 05:27:36 am »
As a workaorund, you can try this:

in order to make your qtopia environment know that youare connected, type the command in a console:

# qcop QPE/Network 'up()'

and then the email program should work.

HTH
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Network Applet Documentation
« Reply #2 on: July 24, 2006, 09:21:35 am »
dproldan,
I would be interested in that driver and script if it would work with the stock sharp rom 1.01 JP on SL-C1000.
Would you mind sharing, and how do you install it?

Thanks, Doug
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

dproldan

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://dev.newtontalk.net/~dpadilla/
Network Applet Documentation
« Reply #3 on: July 24, 2006, 05:09:19 pm »
Gracias zmiq2,  that command didn't work for me,  I will try later with more time.  The qcop hint was very helpful anyway.

  dougeeebear

   I made a ipk with the driver, the script and an icon for launching it.  I have only tested it with Cacko 1.23 in a SL-C1000,  use it at your own risk  

  After installing,  edit the file /opt/QtPalmtop/bin/zd1211script and modify all the YOUR_ESSID, YOUR_WEP_KEY, YOUR_IP, YOUR_NETMASK and YOUR_GATEWAY with your own data.

  You can now plug the USB stick,  its LED should turn on for a few seconds and turn off.    You will probably need a powered USB hub.

  Tap the Initialize USB Wifi in the Network tab, and you should be connected in a couple of seconds.

  Let me know it you can make it work!

Daniel
SL-C1000 with pdaXrom R198 and latest SP.
D-Link DCF-660W wifi CF card.  Sitecom CN-501 Bluetooth CF Card.  PNY 4 GB SD card.  PNY 1 GB CF Card.  Pretec CF modem.  BenQ usb mini keyboard.  USB CD-Rom.  PDAir leather case.

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Network Applet Documentation
« Reply #4 on: July 25, 2006, 04:30:19 am »
Hi Daniel,

maybe with quotes?:

qcop "QPE/Network" "up()"
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

ldrolez

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://zaurus.palmopensource.com
Network Applet Documentation
« Reply #5 on: August 08, 2006, 04:34:23 am »
Quote
Hello

  I have, surprisingly, been able to compile the zd1211 driver for a USB stick I have for use with Cacko on my SL-C1000.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136143\"][{POST_SNAPBACK}][/a][/div]
Hi !

What's your USB stick model ? I've tried two USB sticks but, the power consumption is too high for the Zaurus so they don't work properly... :-(
Cheers,
  Ludovic.
- ludo
http://zaurus.palmopensource.com - the Zaurus Open Source Portal
http://www.drolez.com/software/zaurus - Misc Zaurus stuff (wifi drivers, hacks and more)

patrickcptsang

  • Newbie
  • *
  • Posts: 16
    • View Profile
Network Applet Documentation
« Reply #6 on: August 16, 2006, 06:21:53 am »
Quote
Hello

  I have, surprisingly, been able to compile the zd1211 driver for a USB stick I have for use with Cacko on my SL-C1000.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Would you be kind enough to also compile for zd1211b (for Cacko/Sharp ROM) since it's much easier to find zd1211b dongles now!  
I'm about to buy such a dongle if the driver is available!

Source: [a href=\"http://www.atheros.com/RD/ZyDAS/web_driver/ZD1211B/Linux/ZD1211LnxDrv_2_15_0_0.tar.gz]http://www.atheros.com/RD/ZyDAS/web_driver...2_15_0_0.tar.gz[/url]

Or, kindly tell me how you compile the zd1211 driver    
(since I've tried but obviously unsuccessful!   )

Many thanks!
SL-C1000, sharp rom + tetsu kernel, X apps via X/Qt
EagleTec ET-CWB1000 CF Wifi, $6.5USD Sharp CE-AG06 CF Camera, 2 x 1GB Kingston Elite Pro CF, 512MB Kingston CF, 1GB SD
iRiver USB host cable, $9USD USB-Ethernet dongle, $10USD USB-BT dongle, USB CF finger reader, USB SD+MiniSD+MS(Pro) Reader, 30GB 2.5in USB HD with battery power, Sharp CE-170TS Serial Cable

ldrolez

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://zaurus.palmopensource.com
Network Applet Documentation
« Reply #7 on: September 07, 2006, 02:25:01 am »
Quote
  Let me know it you can make it work!

No luck for me :-(
My device ids are 0ace:1211.
I can't associate to any network and 'iwlist scan' returns nothing.
Also 'iwconfig wlan0 channel 11' gives me an 'invalid argument' error.
The only clues I have are 'Tx status: -110' log messages in the console.

Do you have the module with debug enabled ?

Cheers,

  Ludovic.
- ludo
http://zaurus.palmopensource.com - the Zaurus Open Source Portal
http://www.drolez.com/software/zaurus - Misc Zaurus stuff (wifi drivers, hacks and more)

scholbert

  • Newbie
  • *
  • Posts: 48
    • View Profile
Network Applet Documentation
« Reply #8 on: December 27, 2006, 04:12:15 pm »
Hi there,

Quote
Quote
  Let me know it you can make it work!

No luck for me :-(
My device ids are 0ace:1211.
I can't associate to any network and 'iwlist scan' returns nothing.
Also 'iwconfig wlan0 channel 11' gives me an 'invalid argument' error.
The only clues I have are 'Tx status: -110' log messages in the console.

Do you have the module with debug enabled ?

Cheers,

  Ludovic.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

These are my experiences with a Yakumo Quickwlan USB 54 (zd1211b).
I first started with the original driver from atheros webpage, but i wasn't able to get it compiled for 2.4.20 cacko.
So i took the the source code from ldrolez's [a href=\"http://ldrolez.free.fr/software/zaurus/]webpage[/url]. Thanks for that, ldrolez!
After i modified the Makefile to fit to my environment, it compiled well using the cacko toolchain and the cacko 2.4.20 kernel sources.
Result -> zd1211b.o  
Then i took the Yakumo USB stick, grabbed my C3100 and gave it a try.
When the device was connected directly to usb port of z the 5V USB voltage dropped to 2.6V. So this is not a suitable solution.
Although the voltage dropped that low i was able to scan for wireless network.
Connecting failed!

Next i made some measurements of the power consumption of the stick on an embedded device with stabilized 5V.
Without a driver loaded it consumed about 65mA.
After loading the driver the power consumption rised to ~180mA.
During network scan it again rised up to ~195mA.
All values refer to stabilized 5V.

I'm sure these values can be taken for similar sticks (using the ZD1211b).
I will do further experiments and post it here if you like   .

@dproldan:
Which sources did you use?
As long as there are difficulties with attachments in here, would you please post the scripts directly, to verify my settings?

Regards,

scholbert
C3100: with cacko rom 1.23
Intel PRO/Wireless CF-Card, Socket LP-E LAN CF-Card
some CF, SD, MMC memory cards

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Network Applet Documentation
« Reply #9 on: March 11, 2007, 10:37:23 am »
Quote
Hi Daniel,

maybe with quotes?:

qcop "QPE/Network" "up()"
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

You may also want to monitor what is going on with a neat app called qcoptest which logs qcop messages, and enables you to 'test' whether your messages are effective.

Also, some odd apps may use qpe/Network instead of QPE/Network, so you could try that.  Channel names appear to be case-sensitive.

I talked more about qcoptest, including it's home page url and a few download urls, etc, at

[a href=\"http://www.sdjf.esmartdesign.com/ipks/qcoptest.html]http://www.sdjf.esmartdesign.com/ipks/qcoptest.html[/url]

Good luck!
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Network Applet Documentation
« Reply #10 on: March 23, 2007, 08:52:15 pm »
Another possibility is if your version of qcop will not recognize command-line messages.

You could also try installing a compatible version of qcop2, which I have discussed a little and given it's home page urls, etc. at:

 http://www.sdjf.esmartdesign.com/ipks/qcop.html

sdjf
« Last Edit: March 23, 2007, 08:59:38 pm by sdjf »
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards