On Tuesday January 4, 2005 10:36 am, Jason Joines wrote:
Jason Joines wrote:
L. Mark Stone wrote:
On Thursday, December 23, 2004 03:50 pm, Jason Joines wrote:
You might also want to try setting up a few rules in /etc/udev/rules.d/udev.rules to name the devices. See http://www-uxsup.csx.cam.ac.uk/suse/adminguide-sles9/ch15.html as a starting point.
Thanks for the tip. Similar information is in the SuSE 9.2 Pro Admin Guide, I just didn't know I needed to look for udev. Using that, your link and http://www.reactivated.net/udevrules.php I got this straightened out. The man page for udev said files ending in .rules were loaded from /etc/udev/rules.d in alphabetical order. There was only one file ther, 50-udev.rules, so I created 49-udev.rules with
KERNEL="eth*", SYSFS{address}="00:06:5b:05:f2:8f", NAME="eth0" Then I shutdown networking with 'rcnetwork stop', unloaded the modules with 'rmmod e100 tg3', loaded 'em back up, started networking back up, and the NICs had the desired names.
Jason,
That's great news. I gave a presentation on udev a few months ago at the local LUG; although I used multiple USB printers as the example case, your problem was a good candidate for udev rules as well.
Bonus points for no reboot, too! But, you probably should reboot the box to test at some point, don't you think?
With best regards, Mark
I rebooted to test and it failed. The NIC's went back to wrong names. Then I added another rule for the other NIC and rebooted again. Still have the same problem. Also, if I down network, reload the modules, and fire it back up, then the NIC I want comes up with eth1 but eth0 doesn't come up at all.
Jason ===========
Spoke too soon about eth0 not coming up. I had just mistyped when reloading e100. When I got both modules loaded the udev rules worked as expected. Also, it doesn't matter which I load first. However, it's still not working at boot.
Jason ===========
I wonder if you can get this covered under SuSE's installation support? -- _______________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC "We manage your network so you can manage your business." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.RNoME.com