
On Wednesday 25 May 2005 12:47, Axel Birndt wrote: first create a file "/etc/mactab" something like this: % cat /etc/mactab # Begin /etc/mactab # This file relates MAC addresses to interface names. # We need this so that we can force the name we want # even if the kernel finds the interfaces in the # wrong order. # eth0 --- realtek extern 00:00:B4:93:09:18 # eth1 --- intel intern 00:90:27:CB:B3:DB # End /etc/mactab % Then in "/etc/init.d/network" add the following lines marked "+" if [ "$MODE" = onboot -a "$ACTION" = start ] ; then rm -f ${RUN_FILES_BASE}/if-* rm -f ${RUN_FILES_BASE}/ifup-* rm -Rf ${RUN_FILES_BASE}/tmp rm -f ${RUN_FILES_BASE}/route-stack-* 2>/dev/null + echo "############## STARTING NAMEIF #######################" + if [ -e /etc/mactab ] + then + # if /etc/mactab exists then set up the named interfaces + nameif + fi fi Then you will need to rename the following files: % mv /etc/sysconfig/network/ifcfg-eth0 /etc/sysconfig/network/ifcfg-extern % mv /etc/sysconfig/network/ifcfg-eth1 /etc/sysconfig/network/ifcfg-intern Then use Yast to configure the devices "intern" and "extern" I think thats all. Malcolm
Hallo Liste,
ich habe ein kleines Problem, wo ich meine das es wohl schon mal durch die Liste ging:
Ich habe ein Notebook mit 2 Netzwerkschnittstellen. (Suse 9.3) Soweit funktioniert alles hervorragend, nur das beim Boot ab und an meine Netzwerkschnittstellen eth0 + eth1 getauscht werden. Wie kann ich dies unterbinden ? Ich weiß ehrlich gesagt nicht so recht unter welchen Begriffen ich dazu suchen soll.
Ist jemand so freundlich und greift mir ein bisschen unter die Arme ?
Vielen Dank im Voraus
Axel