[opensuse] udev and network configuration in 11.2
Back in the 11.0 days when I didn't want my network configuration to change when I moved a disk to another machine and back I simply changed /etc/udev/75-persistent-net-generator.rules from KERNEL!="eth*|ath*|wlan*[0-9]|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end" to KERNEL!="ath*|wlan*[0-9]|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end" I don't find such a file on 11.2. How does one achieve the same thing in 11.2? Thanks and regards Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 07 Apr, 2010 at 09:59:43 -0400, Mark Hounschell wrote:
Back in the 11.0 days when I didn't want my network configuration to change when I moved a disk to another machine and back I simply changed /etc/udev/75-persistent-net-generator.rules
from
KERNEL!="eth*|ath*|wlan*[0-9]|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"
to
KERNEL!="ath*|wlan*[0-9]|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"
I don't find such a file on 11.2. How does one achieve the same thing in 11.2?
jon@nx8220:~> egrep KERNEL.*eth /lib/udev/rules.d/* /lib/udev/rules.d/75-persistent-net-generator.rules:KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end" maybe? hth /jon -- YMMV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 04/07/2010 10:20 AM, Jon Clausen wrote:
On Wed, 07 Apr, 2010 at 09:59:43 -0400, Mark Hounschell wrote:
Back in the 11.0 days when I didn't want my network configuration to change when I moved a disk to another machine and back I simply changed /etc/udev/75-persistent-net-generator.rules
from
KERNEL!="eth*|ath*|wlan*[0-9]|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"
to
KERNEL!="ath*|wlan*[0-9]|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"
I don't find such a file on 11.2. How does one achieve the same thing in 11.2?
jon@nx8220:~> egrep KERNEL.*eth /lib/udev/rules.d/* /lib/udev/rules.d/75-persistent-net-generator.rules:KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"
maybe?
I don't have that file on my clean 11.2 installation and on the machines I have updated to 11.2 from 11.0, I only have /lib/udev/rules.d/75-persistent-net-generator.rules.rpmsave ??? Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 07 Apr, 2010 at 10:29:08 -0400, Mark Hounschell wrote:
On 04/07/2010 10:20 AM, Jon Clausen wrote:
On Wed, 07 Apr, 2010 at 09:59:43 -0400, Mark Hounschell wrote:
I don't find such a file on 11.2. How does one achieve the same thing in 11.2?
jon@nx8220:~> egrep KERNEL.*eth /lib/udev/rules.d/* /lib/udev/rules.d/75-persistent-net-generator.rules:KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"
maybe?
I don't have that file on my clean 11.2 installation and on the machines I have updated to 11.2 from 11.0, I only have /lib/udev/rules.d/75-persistent-net-generator.rules.rpmsave ???
curious... this is an 'original' 11.2 with updates. (beware of linewrapping): jon@nx8220:~> rpm -qf /lib/udev/rules.d/75-persistent-net-generator.rules udev-146-3.3.1.i586 jon@nx8220:~> rpm -ql udev | grep 75-persistent-net-generator.rules /lib/udev/rules.d/75-persistent-net-generator.rules jon@nx8220:~> rpm -q --verify udev jon@nx8220:~> echo $? 0 jon@nx8220:~> ll /lib/udev/rules.d/75-persistent-net-generator.rules -rw-r--r-- 1 root root 3692 2009-12-16 00:57 /lib/udev/rules.d/75-persistent-net-generator.rules jon@nx8220:~> md5sum /lib/udev/rules.d/75-persistent-net-generator.rules 432d7358dda100861452293b95bebc6e /lib/udev/rules.d/75-persistent-net-generator.rules Not that I know if the files under /lib/udev/rules.d/ are actually used, but it looks like a "udev rules" file to me. If the md5 matches your .rpmsave then just try to copy it, do your change and see if it works? /jon -- YMMV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 04/07/2010 10:42 AM, Jon Clausen wrote:
/lib/udev/rules.d/75-persistent-net-generator.rules
Not that I know if the files under /lib/udev/rules.d/ are actually used, but it looks like a "udev rules" file to me.
If the md5 matches your .rpmsave then just try to copy it, do your change and see if it works?
Oh, its moved from /etc to /lib. I just noticed in your post the "/lib". Got it.. Thanks Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 07 Apr, 2010 at 11:01:15 -0400, Mark Hounschell wrote:
On 04/07/2010 10:42 AM, Jon Clausen wrote:
/lib/udev/rules.d/75-persistent-net-generator.rules
Not that I know if the files under /lib/udev/rules.d/ are actually used, but it looks like a "udev rules" file to me.
I should correct myself about this:
If the md5 matches your .rpmsave then just try to copy it, do your change and see if it works?
Chances are high that the .rpmsave md5 would *not* match. These are the administrator/user modified files, kept by rpm when it needs to install a new version. Such as in this case, where the files are relocated...
Oh, its moved from /etc to /lib. I just noticed in your post the "/lib".
Got it..
Yeah, I didn't think to point it out in my original reply. Sorry :P /jon -- YMMV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Jon Clausen
-
Mark Hounschell