On one of your pCP machines you can experiment ...

ps -ef | grep udhcpc
should show something like
/sbin/udhcpc -b -i eth0 -x hostname:guestroom -p
/var/run/udhcpc.eth0.pid

If it shows picoreplayer rather than your chosen hostname then there
will be a problem if you have more than one requesting the same name.
(this applies for any chosen hostname of course)

If you are using WiFi then the output would indicate a different network
interface.

You could then kill that process and try to run udhcpc by hand to
experiment
e.g.
/sbin/udhcpc -v -f -i eth0 -x hostname:guestroom -p
/var/run/udhcpc.eth0.pid

the
-v = verbose logging
-f = run in foreground so you can see what it is doing
-x hostname:blahblahblah = requesting DHCP option 12 ... which allows
the client to request the DHCP server to take that hostname and put it
in the local DNS
-i = the network interface
-p = a pid file to store the process id



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109270

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to