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, 03:00 PM
Post #2





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



Ah! That's what I needed to know. My script could work, but I still don't know if you have ttyS0 running as well. My hunch is that you entered something other than "ps ax | grep tty" or that you weren't using the wireless when you ran the above.

That's cool. So, next time you do run that script, I'd suggest you maybe background it with an ampersand at the end of the command line, or so something to see if you have ttyS0 also running.

But can you try the "ps ax | grep pppd" and see what you get when you are not using wireless? And show the command you entered as well as it's output?

Oops...it was my mistake. I see when I run "ps aux | grep pppd" that the tty part gets cut off:

root 31707 0.0 0.5 1984 160 ttyS3 SN 15:41 0:00 /usr/sbin/pppd tt

Line was too long <:( Oh well.

Grepping for pppd should cover that...

Cheers,
sdjf

This post has been edited by sdjf: Mar 25 2007, 03:20 PM
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: 29th December 2014 - 05:51 AM