[Megoldva]squeeze elfelejti a hálókártya beállításait.

Fórumok

Sziasztok!

Adott egy squeeze, amiből átjárót akarok építeni az a baj, hogy újraindítás után elfelejti az egyik hálókari beállítását.
ifconfig-al beállítom, akkor is elfelejti.
/etc/network/interfaces-ba beírtam a jó konfigot, de ez nem segített.
Biztos banális probléma, de én még nem találtam meg rá a megoldást, előre is köszönöm a válaszokat.

Hozzászólások

Ha jól értem, akkor az auto lo sorhoz hasonlóan kell egy auto eth1 sor is?
így fest az interfaces fájl:

# 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

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.1.10
netmask 255.255.255.0
network 10.0.1.0
broadcast 10.0.1.255
gateway 10.0.1.199
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.0.1.242
dns-search mak.hu

iface eth1 inet static
address 10.39.1.200
netmask 255.255.255.0
network 10.39.1.0
broadcast 10.39.1.255
gateway 10.39.1.254

Nálam ez segített, mikor hasonlóval küzdöttem:

#allow-hotplug eth0
auto eth0

De nálad az auto eth1 hiányzik .

Próbáld meg ezt:

auto eth0
iface eth0 inet static
address 10.0.1.10
netmask 255.255.255.0
network 10.0.1.0
broadcast 10.0.1.255
gateway 10.0.1.199
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.0.1.242
dns-search mak.hu

auto eth1
iface eth1 inet static
address 10.39.1.200
netmask 255.255.255.0
network 10.39.1.0
broadcast 10.39.1.255
gateway 10.39.1.254

Kipróbáltam annust megoldását, és bevált, azért mindenkinek köszönöm, hogy foglalkoztatok velem!