Has anyone got logging of dhcpcd sessions working? I see in the man page that it takes more than just enabling the logging in /etc/syslog.conf. I can't test this on my Z as I only have dialup, but I need to know so we can debug problems more easily when people test using my scripts on dhcpcd connections.
I believe the call to dhcpcd probably needs the -d flag in order to send output to the log, and I think we need to see which process is calling it to do that.
I did see on the web that it's possible to get the debugging output by calling dhcpcd from the command line, but I would like to make it happen automatically when people use their GUIs to get online.
If nobody has figured out how to get it working on your type of setup, could you run the following three lines when dhcpcd is active and you are online?
array=(`ps -C dhcpcd --noheader -o " %p %P"`)
echo dhcpcd pid is ${array[0]} parent is ${array[1]}
ps ${array[0]}; ps ${array[1]} | tail -n1
Oh, if all you have is BusyBox ps, the above won't work. Instead of getting information about dhcpcd's parent, you'll get a listing for all active processes on your Zaurus, as BusyBox ps has no options.
If you want to install a better ps, I have posted more information about doing that at
http://www.sdjf.esmartdesign.com/commands/ps.htmlThanks,
sdjf