From: Jeff S. <jef...@gm...> - 2007-06-07 04:42:47
|
oh thats where I am suppose to set it up I thought it got it from hostname? Can I set it to get it from hostname? or to use ${HOSTNAME} On 6/6/07, Dave Hylands <dhy...@gm...> wrote: > Hi Jeff, > > On 6/6/07, Jeff Sadowski <jef...@gm...> wrote: > > hostname should have been defined. > > I get the env HOSTNAME. > > even using ifup without startup it still seems to ignore it. > > if I run udhcpc directly with -H it works though > > You can tell if udhcp was launched with the -H option by doing ps. > > I setup /etc/network/interfaces to look like: > > iface eth0 inet dhcp > hostname foo > > and sure enough, ps shows: > > udhcpc -b -p /var/run/udhcpc.eth0.pid -i eth0 -H foo > > -- > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |