change or set nodename

Christopher Barry christopher.barry at rackwareinc.com
Sat Oct 15 16:01:19 UTC 2011


On Sat, 2011-10-15 at 17:46 +0200, Harald Becker wrote:
> > I have been trying to make uname -n return something other than
> > "(none)", and for the life of me I just cannot get it to do it. The
> > reason is syslogd is printing (none) in place of host in the logs and
> > it's bugging me.
> 
> Try command: hostname YOUR_NAME
> 

Sweet!! that did it. I had exported the var HOSTNAME and that did not
work, did not think of using hostname to set it. Thanks Harald!

-C



More information about the busybox mailing list