Mates,
I have built a new box for the house, and it is testing my understanding of Linux. It is also testing logic. I know I'm aging, but I have ruled out Alzheimer's. Here is the scoop.
When I first installed SuSE 10, the network would come up and it used eth0:
Simply /etc/sysconfig/network/ifcfg-eth-id-00:4c:69:6e:75:79 would bring up the Linksys card as eth0. This is how it worked.
Then on a subsequent reboot the network doesn't come up. I mean loopback is fine, but the NIC fails to load and the error is "unable to load mandatory services.." Yes, I understand the mandatory devices loading and /etc/sysconfig/network/config.
On reboot, the network fails. dmesg says it is now trying to load eth1? Ok, cp ifcfg-eth-id-00:4c:69:6e:75:79 ifcfg-eth1 rcnetwork restart -- presto! it comes up. So then I leave both ifcfg-eth-id-00:4c:69:6e:75:79 and ifcfg-eth1 in /etc/sysconfig/network. Some subsequent reboots work some fail.
Latest reboot, network fails, /var/log/boot.omsg says it is now looking for:
doneWaiting for mandatory devices: eth-id-00:4c:69:6e:75:79 19 Initializing random number generatordone <notice>startproc: execve (/sbin/resmgrd) [ /sbin/resmgrd ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=reiserfs TERM=linux SHELL=/bin/sh ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=160 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/lib/klibc/bin vga=0x31a RUNLEVEL=3 PWD=/ SPLASHCFG= PREVLEVEL=N LINES=64 HOME=/ SHLVL=2 splash=0 SPLASH=no ROOTFS_BLKDEV=/dev/hda2 _=/sbin/startproc DAEMON=/sbin/resmgrd ] Starting resource managerdone 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 0 eth-id-00:4c:69:6e:75:79 No interface found failedSetting up service network . . . . . . . . . . . . . . . .failed
I only have 1 NIC? What is going on?
OK, next go round it complains that it is now looking for another hardware address for eth1 - no changes to the system... It is looking for the NIC at 00:04:5a:87:c8:43. WTF? OK, easy enough: cp eth-id-00:4c:69:6e:75:79 eth-id-00:04:5a:87:c8:43; rm eth-id-00:4c:69:6e:75:79. rcnetwok restart -- it works! Reboot. I understand that the pci bus and the order that devices are activated and their addresses are dynamic. But where do I stop the randomness??
doneWaiting for mandatory devices: eth-id-00:04:5a:87:c8:43 19 17 eth1 device: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11) eth1 configuration: eth-id-00:04:5a:87:c8:43 eth1 IP address: 192.168.6.16/24 doneSetting up service network . . . . . . . . . . . . . . . .done
OK, great -- for now.
Obviously, I can't have a server that when it goes down, it comes up and the network (for whatever reason) is "guessing" at the hw address for the NIC. What in the heck is going on? So the questions:
(1) why is my system now wanting to load the NIC as eth1 instead of eth0? (2) how in the heck is the hardware address changing? (I set the kernel parameters noapic and nolapic in grub to try and cure it -- no joy)
I have read all the discussion on eth0, eth1 -- I know it doesn't matter what binding the system makes, but I just want to find a way to have my NIC come up each time in case I'm 1000 miles away when the power exhausts the UPC.
Do I go to a straight ifcfg-eth0 and ifcfg-eth1 setup in /etc/network/sysconfig? Do I put both eth-id-00:4c:69:6e:75:79 and eth-id-00:04:5a:87:c8:43 in there (seems like a lame Band-Aid approach)
What is the best way to solve this conundrum???
-- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- If you're not confused, you're not trying hard enough. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces,
Welcome to the ranks of the damned. SuSE changed the way that eth devices are assigned interface names in version 9.3 and it has since turned into a religous issue. I maintain that it's the stupidest move since 640K, but whenever I say so I'm maligned. There are two solutions to the problem. Here's the one that I use- http://www.catherders.com/tikiwiki-1.9.1/tiki-read_article.php?articleId=36 If you don't use shorewall, put it in boot.localnet google will help you find the other method, I don't have a link handy. Mike- On Mon, 23 Jan 2006 00:06:28 -0600, you wrote: try non-HTML, non-encoded, non-attachments,