Starting UDHCP server at startup

From: Atit_Shah <hidden>
Date: 2005-05-17 09:40:49

Hi All,
	I wish to start the udhcp server at boot up through the start up
script. I create a file S47udhcpd in /etc/init.d/ with the following
contents:

#!/bin/sh

PKG=3D"udhcp server"
STARTCMD=3D"/usr/sbin/udhcpd"
STOPCMD=3D"killall udhcpd"

. /etc/init.d/common

This is the last commond to be executed ie just before the linux prompt
ask for the login and password.

When I boot the system I get the following error message "SIOCGIFADDR
failed, is the interface up and configured?: Cannot assign requested
address."

If I give the command "udhcpd" in my /etc/profile file the server
starts. Why does this happen?=20

If I am having this for a router I will need to run udhcpd the moment it
comes...how will I do this?

Regards
Atit


DISCLAIMER:
This email (including any attachments) is intended for the sole use of =
the intended recipient/s and may contain material that is CONFIDENTIAL =
AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or =
copying or distribution or forwarding of any or all of the contents in =
this message is STRICTLY PROHIBITED. If you are not the intended =
recipient, please contact the sender by email and delete all copies; =
your cooperation in this regard is appreciated.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help