[+] Nie wczytuje eth0
: 15 stycznia 2011, 21:07
Nie wczytuje mi skonfigurowanego interfejsu eth0. Ale jak mu ręcznie podam z linii komend to jest dobrze.
Po restarcie wywołanie polecenia: w ogóle nie zwraca interfejsu eth0.
/etc/networking/interfaces
A ręcznie podaję mu:
I to działa dobrze, bo mam połączenie z siecią lokalną.
Co jest nie tak z konfiguracją?
Po restarcie wywołanie polecenia:
Kod: Zaznacz cały
ifconfig
/etc/networking/interfaces
Kod: Zaznacz cały
# 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
#auto eth0
#iface eth0 inet dhcp
# The primary network interface
#allow-hotplug eth1
auto eth1
iface eth1 inet dhcp
#auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
#gateway 192.168.1.255
Kod: Zaznacz cały
ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up
Co jest nie tak z konfiguracją?