OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Start A Network Connection From The Command Line, SL-C3100
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
post Apr 11 2007, 08:19 PM
Post #2

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

Whoops! I asked for "which ps | xargs ls -l" and Barry wrote, "It points to /bin/ps."

Please paste in your results...whether you meant "shows the details for /bin/ps" or "shows a symlink pointing to /bin/ps" is not clear without me eyeballing your output. wink.gif

Also, I am wondering what the other 6 processes are that took place and are gone, between 2952 and 2959.

2952 ? SN 0:00 /sbin/dhcpcd -t 30 wlan0
2959 ? SWN 0:00 [rpciod]
2960 ? SW 0:00 [lockd]

Are they earlier, unsuccessful attempts by kermit to connect? I really need to see a "ps ax" from while kermit is searching. Try getting that by immediately entering "ps ax" right after kermit starts up. If you have trouble capturing the output, send it to a file with something like: "ps ax > kermitps".

We need to be able to study your network port's status from all angles, in order to automatically determine whether the resetting is successful or not.

I know what to check for with pppd connections, but dhcpcd is more of a challenge because it doesn't show a tty even though it uses one. sad.gif

The lack of a dhcpcd log of some sort also complicates debugging. Please snoop around the forums and web and see if you find information about dhcp or dhcpcd logs.

Another possible place to look for ttyS3 information is in the /proc file system, but I haven't found an indicator there that I think we can count on.

Whoa...I think I may have the answer..."cardctl status". Paste in four sets of output from that...one from when you are having trouble and want to yank out the card, one from after you have put it back in, and one more each from while kermit is negotiating and also once when you are finally connected. This might be what we need.

The other thing I also need to know is the name of the lock file created, if there is one. A stale lock on ttyS3 also can be the problem.

What browser(s) do you use on your Zaurus? Do you ever use them when you aren't going online?

I don't know what Skype does. If it won't let you access #bash at irc.freenode.net, you might consider getting a chat client...I recommend NeIC for the Zaurus. You also could get access through the http://www.tyrannozaurus.com gateway to #bash, or get a desktop client such as(I think) Xirc for Linux or Mirc for M$. Tyrannozaurus has links for irc client downloads..

I've turned my script topsy-turvy, adding dhcpcd stuff to it, and that's fine, but I had to rewrite the new sections a couple times as elvis kept running out of space and messing things up. I'm backing up the revisions more frequently now, as in, almost every time. wink.gif

I also saw someone somewhere on the web, suggesting killing rpciod, and you can try that when you're having problems, but I think it could create it's own problems to do it without going through qtopia and cardctl in sync with each other. They mentioned that killing rpciod releases any "stuck NFS points." Anyhow, that's another option to play with adding to my script if my model doesn't work as is.

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: 21st May 2018 - 01:09 AM