Link to home
Create AccountLog in
Avatar of scorpius78
scorpius78Flag for Sweden

asked on

How do I remove network interfaces from the command line in opensuse 11.2?

How do I remove network interfaces from the command line in opensuse 11.2?

eth0 is integrated into my laptop. I plugged in a PCMCIA NIC which got the name eth1. I unplugged it and plugged in another one which got the name eth2. Finally I plugged it and plugged in a third on which got the name eth3. Now, I have two network cards in my laptop, one named eth0 and one named eth3.  How do I remove the unexisting interfaces (eth1 and eth2) and make sure eth3 get the name eth1?

Trying to fix this issue I messed up... I commented out the unwanted interfaces in /etc/udev/rules.d/70-persistent-net.rules and now opensuse hangs at "System Boot Control: Running /etc/init.d/boot.local

Booting in failsafe mode give the same results... What do I do?
ASKER CERTIFIED SOLUTION
Avatar of Keith Brown
Keith Brown
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of scorpius78

ASKER

Thank you for your answer.

I got the help needed from a collegue of mine and he did some of the things you wrote. I also mentioned that my PC hung at startup, he solved that with adding the keyword "single" in GRUB at boot and then I could login as root and do the necessary changes.

Thx anyway.
Thank you for your answer.

I got the help needed from a collegue of mine and he did some of the things you wrote. I also mentioned that my PC hung at startup, he solved that with adding the keyword "single" in GRUB at boot and then I could login as root and do the necessary changes.

Thx anyway.
He booted into single user mode for that, which bypassed what ever was the normal boot setup that was causing it to hang. On that, without more information, it wasn't possible to say with any level of certainty if that would work. On the systems I'm used to, that wouldn't always do the trick. (I'm not a SuSE user)