Author Topic: How to start network from application  (Read 4139 times)

boosalis

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://
How to start network from application
« on: February 04, 2004, 09:05:52 pm »
I want to do some zaurus to zaurus WiFi communication (that is peer to peer) and have been able to do this by creating an new profile with a \"adhoc\" config and assinging a IP address (192.168.0.1&2)

I want to know if it is possible to start this profile from my program with out the GUI. Is there a script for doing what the little applet does in the tray.  

Does anyone know what this applet is even called

Thank you for any advise you can provide.

-David
Zaurus 6000 with expansion jacket

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
How to start network from application
« Reply #1 on: February 05, 2004, 03:03:48 pm »
From a script, you can do the following:

/sbin/cardctl scheme AdHoc

where \"AdHoc\" is whatever name you assigned to the adhoc config.

Depending on what language you\'re developing your app in, there is usually a way to shell out & execute commands like the above.