/etc/init.d/network Service

From: Bhakat Amit Kumar (Amit) (labsupport@iidc.lucent.com)
Date: Tue Jan 04 2005 - 16:01:50 EST


Hi all,

>
> I am having /etc/hostname.hme0, /etc/hostname.hme3 and /etc/hosts with
> containing correct hostname.
> Also the /etc/nsswitch.conf is
>
> hosts: file nis [NOTFOUND=return]
>
> # ifconfig -a
> lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
> inet 127.0.0.1 netmask ff000000
> hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
> <cut>
> hme3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
> <cut>
> #
>
> Thanks,
> Amit
>
> Bhakat Amit Kumar (Amit) wrote:
>
>> Hi All,
>> I am facing problem while restarting network service on
>> Solaris 8 and 9. Whenever I restart /etc/init.d/network the hostname
>> changes to "unknown".
>> Please help me, to resolve this problem.
>>
>> # uname -a
>> SunOS xxxxxxx 5.8 Generic_117350-13 sun4u sparc SUNW,Ultra-5_10
>> #
>>
>> # /etc/init.d/network stop ;/etc/init.d/network start
>> configuring IPv4 interfaces: hme0 hme3.
>> Hostname: unknown
>> configuring IPv4 interfaces: hme0 hme3.
>> Hostname: unknown
>> # hostname
>> unknown
>> #
>>
>> Thanks,
>> Amit
>> _______________________________________________
>> sunmanagers mailing list
>> sunmanagers@sunmanagers.org
>> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:57 EDT