ayuda a configurar ifconfig

Forums: 

Hola por favor si medan una ayudita para configurar internet y red, tengo el siguente problema e ingresado:
ifconfig
y he observado que tengo una ip 192.168.1.33
luego
1- ingrese sudo nano /etc/network/interfaces
para modificar remplazar el contenido por este:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168..40
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.44
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
# The primary network interface
auto eth0:0
iface eth0:0 inet static
address 192.168.1.45
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1

luego he guardado los cambios
y para setear escribi el siguiente commando
sudo /etc/init.d/networking restart
me sale:
command not found

Y cuando ejecuto:
ifconfig
No sale nada
No se cual seria el problema

Attentamente

Nicola

Interfaces

Imagen de jlauio

Bueno de lo que veo tienes dos veces configurado la interface eth0.
Puedes hacer esto denten los servicios de networking (/etc/init.d/networking stop)
Verifica bien que configuración quieres para tu eth0, editando tu archivo /etc/network/interfaces, al final levanta nuevamente el servicio de networking (/etc/init.d/networking stop)
Avisame como te fue :)

Aguante el Open Source!!!!
SAludos
JOse

Aguante el Open Source!!!!
SAludos
JOse