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

IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3  
Reply to this topicStart new topic
> Start A Network Connection From The Command Line, SL-C3100
BarrySamuels
post Apr 12 2007, 12:45 PM
Post #31





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



QUOTE(sdjf @ Apr 9 2007, 11:16 AM)
I take it there is no log of dhcpcd's progress?


Good guess. smile.gif

QUOTE
Look for logs in /tmp/ and in /var/log/ when you are actually online with kismet.


The only relevant logs appear to be for Kismet and that's only wireless network information.

QUOTE
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.


-rwxrwxr-x 1 root root 89312 Apr 5 2005 /bin/ps

QUOTE
I don't know what Skype does.


You what? I thought everybody knew of Skype. It's one of those Internet telephone type thingies - if I might use the technical term - talk to someone on the other side of the world for free. wink.gif

I'll try and get round to providing what other information I can a little later on.
Go to the top of the page
 
+Quote Post
sdjf
post Apr 12 2007, 04:02 PM
Post #32





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



I confess I'd heard of Skype but it wasn't something I committed to memory...things get filed in my brain according to importance and must have run out of room. wink.gif

Your ls of ps looks perfect...when you can, give me an md5sum...I'm wondering if we have the same file...my ls looks similar:

-rwxrwxr-x 1 root root 89312 Apr 12 17:00 /bin/ps

602103a27e13b84221a56532d27f8ecb /bin/ps
Go to the top of the page
 
+Quote Post
sdjf
post Apr 15 2007, 07:12 PM
Post #33





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



Hey, I just found instructions for how to enable the log for dhcpcd in, of all places, the man page!
QUOTE
To catch dhcpcd debugging output add the
following line to /etc/syslog.conf file:
    local0.*    /var/log/dhcpcd.log
and then refresh syslogd daemon:
    kill -1 `cat /var/run/syslogd.pid`


It should help in debugging networking problems.

sdjf
Go to the top of the page
 
+Quote Post
sdjf
post Apr 17 2007, 04:07 AM
Post #34





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



Barry and I have ripped copies of "ps" off of our Sharp ROMs, so that those of you wanting to use a more fully-featured ps who only have the BusyBox versions, can install a better version.

I have written up installation instructions, and also given examples of how much more efficient script-writing can be when using it, at:

http://www.sdjf.esmartdesign.com/commands/ps.html

Unlike the BusyBox ps, it shows you what tty each process is using, unless that information is hidden from ps. And can sometimes provide additional help in identifying processes that may be interfering with getting online.

sdjf
Go to the top of the page
 
+Quote Post
BarrySamuels
post Apr 18 2007, 12:42 PM
Post #35





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



QUOTE(sdjf @ Apr 16 2007, 03:12 AM)
Hey, I just found instructions for how to enable the log for dhcpcd in, of all places, the man page!


I have only just realised something ( I am slow sometimes sad.gif ) I can't enable logging for my dhcp server 'cause I'm using the one in my router. ohmy.gif

QUOTE
Your ls of ps looks perfect...when you can, give me an md5sum...I'm wondering if we have the same file...my ls looks similar:

-rwxrwxr-x 1 root root 89312 Apr 12 17:00 /bin/ps



602103a27e13b84221a56532d27f8ecb ps
Go to the top of the page
 
+Quote Post
sdjf
post Apr 18 2007, 02:02 PM
Post #36





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



Oh dear. sad.gif I do not understand. The one in your router? Does that mean that dhcpcd is not on your zaurus? Then how come it shows in the ps listing on the Z? [EDIT: it's logging on the dhcpcd client side I am talking about, not the server side, although I suppose that could be helpful, but isn't necessary.]

I actually started another topic yesterday specifically asking for info on dhcpcd logs:

http://www.oesf.org/forums/index.php?showtopic=23784

This is above my head at this point. Ugh.

Maybe we should move the log issue to that thread. I did ask for some more info there that'd be helpful.

There's gotta be some way to log what's happening with dhcpcd and the router or whatever, or how can anybody do any debugging? Yikes!!

Also, your ps is obviously the same as mine...and Antikx tried it out on his C1000 with a pdaXii rom and it seemed okay, so it looks like it's pretty generic...thank you.

sdjf

EDIT: Here's another thought. Can you post your file that qtopia uses as a cfg file for your connection (of course garbling any sensitive or passwd info)? I think it was:

/home/root/Applications/Network/modules/WLAN0.conf

This post has been edited by sdjf: Apr 20 2007, 07:19 AM
Go to the top of the page
 
+Quote Post
sdjf
post Apr 30 2007, 07:32 AM
Post #37





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



Barry,
One of the reasons I am so insistent about a dhcpcd log is that, at least for pppd logs, the presence or absence of that log is an important clue about whether it is appropriate to use qstop http://www.sdjf.esmartdesign.com/scripts/qstop.html and cardctl commands. If your kismet script checks that, and there is no log even though dhcpcd is not supposed to be running, you're gonna know something is definitely wrong, that some process has erased the log without actually running. At least that's my hunch.

So, hope to see you at the "dhcpcd logs" thread for any questions on implementing the log. http://www.oesf.org/forums/index.php?showtopic=23784

I haven't yet written up the final details, but did find out how to fix /etc/pcmcia/network and /etc/pcmcia/network.opts to implement debugging. Progress!

sdjf
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3
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: 19th December 2014 - 10:32 PM