[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Netzwerkkarten zuordnen [SOLVED]



Moin!

nameif hat geholfen. Ich habe wie man nameif erwaehnt die /etc/mactab angelegt 
und folgendes in /etc/init.d/networking geaenert:

# diff -bu networking~ networking
--- networking~ 2005-11-28 15:21:48.000000000 -0800
+++ networking  2005-11-28 15:21:48.000000000 -0800
@@ -70,9 +70,15 @@
     doopt ip_forward no
 }

+name_if() {
+       [ -e /etc/mactab ] || return 0
+       nameif
+}
+
 case "$1" in
 start)
        process_options
+       name_if
        log_action_begin_msg "Configuring network interfaces"
        if ifup -a; then
            log_action_end_msg $?
@@ -100,6 +106,7 @@
        process_options
        log_action_begin_msg "Reconfiguring network interfaces"
        ifdown -a --exclude=lo || true
+       name_if
        if ifup -a --exclude=lo; then
            log_action_end_msg $?
        else
@@ -114,4 +121,3 @@
 esac

 exit 0
-

Gruss,
Marc



Reply to: