on 06/14/2011 10:45 PM Cahn Roger wrote the following:
>> # /etc/init.d/net.eth0 stop
>> # ifconfig eth0 192.168.1.20 up
>>
>> and post output of
> 
> /etc/init.d/net.eth0 stop
>  * Caching service dependencies ...
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
> SIOCADDRT: Le fichier existe
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
> SIOCADDRT: Le fichier existe
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
> SIOCADDRT: Le fichier existe
>                                                               [ ok ]
>  * samba -> stop: smbd ...
>                                                               [ ok ]
>  * samba -> stop: nmbd ...
>                                                               [ ok ]
>  * Unmounting network filesystems ...
>                                                               [ ok ]
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
> SIOCADDRT: Le fichier existe
>  * net.eth0: error loading /etc/init.d/../conf.d/net
>  * ERROR: net.eth0 failed to stop
> 
> (command unobtenaible)

Run these (in sequence) as root (and post output):

# echo > /etc/conf.d/net
# /etc/init.d/net.eth0 stop
# /etc/init.d/net.eth0 zap
# ifconfig eth0 192.168.1.20 up
# ifconfig
# ping 192.168.1.1

Reply via email to