2008/9/19 Manuel Sahm <[EMAIL PROTECTED]>:
> Hello,
>
> if I set an hostname via:
> hostname test
> then test appears instead of (none), but my file /etc/hosts isn´t updated
>
> The problem is, that when a program uses the function "gethostbyname" my ip
> isn´t resolved correct.
> It only works if my hostname is equal to my ip ?
>

 echo "yourhostname 127.0.0.1" >> /etc/hosts

 Cheers,
-- 
/roberto
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to