On Tuesday 14 Jun 2011 20:45:30 Cahn Roger wrote:
> > # /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

You need to remove those lines that I asked you to type on the command line 
from the /etc/conf.d/net file - or look at the example file provided and use 
that to define static address/broadcast/netmask correctly.

Typically something like:

  config_eth0="192.168.1.20/24" 

should do it.  If you want to define a static route and dns server add:

  routes_eth0="default via 192.168.1.1"
  dns_servers_eth0="192.168.1.1"

HTH.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to