OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Start A Network Connection From The Command Line, SL-C3100
BarrySamuels
post Oct 26 2006, 06:43 AM
Post #1





Group: Members
Posts: 103
Joined: 16-October 05
From: Maldon, Essex, England
Member No.: 8,325



C3100 with standard Sharp ROM

Can someone give me the required commands to start a specific wireless network connection from the command line please? I want to set up a script to do it.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
sdjf
post Mar 25 2007, 02:48 AM
Post #2





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



Oooh...that sounds very familiar. wink.gif

Don't work too hard at it...in about four weeks, after I deal with some other deadlines, I expect to be asking you to test the script I've written that resets the network applet. If it works, you should be able to simply call qreset from your script before each time you go to start a connection.

My concern has been that I only have one tty active, and don't know whether it will work properly for multiple active tty processes. I've tried asking both here and at the trolltech mailing list how to direct the 'stop' to a specific tty or pid, and gotten no answers. sad.gif From looking at the qtopia docs, it may not be officially possible. I guess it might be possible with a lot of painfully worked out tweaking of the qcop message stack to do it, to ensure that the process you want to stop is at the top.

Can you do the following for me, once with wlan active, and once when you are totally offline :

ps ax | grep tty

You may also wish to look at the page I've written at http://www.sdjf.esmartdesign.com/respawn.html about halting the respawning of ttyS0, although it may not be appropriate for your setup if you need to keep a constant connection going to a local network, like your desktop.

I also do not know which Network ttys are used for what on ROMs other than my own. My CF slot is ttyS3, and the serial i/o port is ttyS0, on my sl5500 with ROM 2.38.

Oh, yeah, I found it was a lot easier to control Network behavior by stopping that respawning, and it also speeded my Zaurus up as well.

sdjf
Go to the top of the page
 
+Quote Post

Posts in this topic
BarrySamuels   Start A Network Connection From The Command Line   Oct 26 2006, 06:43 AM
daniel3000   I don't know if it is possible to start a spec...   Oct 26 2006, 08:01 AM
BarrySamuels   QUOTE(daniel3000 @ Oct 26 2006, 04:01 PM)I do...   Oct 27 2006, 05:07 AM
bam   try qcop QPE/Network connectRequest() brings up t...   Oct 27 2006, 09:53 PM
cvmiller   QUOTE(bam @ Oct 27 2006, 09:53 PM)try qcop QP...   Nov 20 2006, 06:26 PM
speculatrix   this has worked for me, from memory... cardctl sc...   Nov 16 2006, 08:40 AM
speculatrix   QUOTE(speculatrix @ Nov 16 2006, 05:40 PM)thi...   Dec 5 2006, 04:28 PM
freizugheit   QUOTE(speculatrix @ Dec 5 2006, 04:28 PM)to s...   Dec 5 2006, 05:54 PM
speculatrix   QUOTE(freizugheit @ Dec 6 2006, 02:54 AM)QUOT...   Dec 6 2006, 04:40 AM
BarrySamuels   This is to notify the world in general that sdjf i...   Mar 12 2007, 04:32 AM
sdjf   QUOTE(BarrySamuels @ Mar 12 2007, 04:32 AM)Th...   Mar 12 2007, 04:47 AM
sdjf   To start my dialup connection from the command lin...   Mar 11 2007, 06:51 AM
sdjf   Barry, Do you mind my asking why you wanted to do...   Mar 22 2007, 02:51 PM
BarrySamuels   QUOTE(sdjf @ Mar 22 2007, 10:51 PM)Barry, Do...   Mar 24 2007, 01:51 PM
sdjf   Don't want to disappoint you, but I'm not ...   Mar 24 2007, 11:50 PM
BarrySamuels   QUOTE(sdjf @ Mar 25 2007, 07:50 AM)Don't ...   Mar 25 2007, 01:29 AM
sdjf   Oooh...that sounds very familiar. Don't work...   Mar 25 2007, 02:48 AM
BarrySamuels   QUOTE(sdjf @ Mar 25 2007, 10:48 AM)Oooh...tha...   Mar 25 2007, 03:13 AM
sdjf   Duh, I remember hearing some ROMs use different ke...   Mar 25 2007, 04:10 AM
BarrySamuels   QUOTE(sdjf @ Mar 25 2007, 12:10 PM)Duh, I rem...   Mar 25 2007, 04:52 AM
sdjf   Ah! That's what I needed to know. My scr...   Mar 25 2007, 03:00 PM
BarrySamuels   QUOTE(sdjf @ Mar 25 2007, 11:00 PM)Ah!...   Mar 29 2007, 06:47 AM
sdjf   Barry, I believe your trouble getting the card to...   Mar 25 2007, 04:29 PM
sdjf   Sigh...let's try another time... Maybe just l...   Mar 29 2007, 07:32 AM
BarrySamuels   QUOTE(sdjf @ Mar 29 2007, 03:32 PM)Sigh...let...   Apr 8 2007, 11:17 PM
sdjf   I forgot to ask. Do you have a pppd log? The res...   Mar 31 2007, 08:11 PM
sdjf   This might be easier to discuss in chat. I check #...   Apr 9 2007, 01:53 AM
BarrySamuels   QUOTE(sdjf @ Apr 9 2007, 09:53 AM)When you do...   Apr 9 2007, 02:54 AM
sdjf   Oh, cool! I was just reading about dhcpcd. Y...   Apr 9 2007, 03:16 AM
BarrySamuels   QUOTE(sdjf @ Apr 9 2007, 11:16 AM)I take it t...   Apr 12 2007, 12:45 PM
sdjf   Whoops! I asked for "which ps | xargs ls...   Apr 11 2007, 08:19 PM
sdjf   I confess I'd heard of Skype but it wasn't...   Apr 12 2007, 04:02 PM
sdjf   Hey, I just found instructions for how to enable t...   Apr 15 2007, 07:12 PM
BarrySamuels   QUOTE(sdjf @ Apr 16 2007, 03:12 AM)Hey, I jus...   Apr 18 2007, 12:42 PM
sdjf   Barry and I have ripped copies of "ps" o...   Apr 17 2007, 04:07 AM
sdjf   Oh dear. I do not understand. The one in your r...   Apr 18 2007, 02:02 PM
sdjf   Barry, One of the reasons I am so insistent about ...   Apr 30 2007, 07:32 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 03:06 AM