Networking :: DSL doing eth0, eth1 - only have ONE card



I admit this is really weird, and I have a hunch why it happened. However, I don't know a good way to get past it.

I pulled out my old 486-33 (which was upgraded to a P83 overdrive) to put DSL on. Once I got all the hardware configured and the bootdisk working, everything worked well...

Except for my network card. I didn't check from the LiveCD, but I suspect it didn't work there either

Many moons ago, this box served as my firewall. It had two cards in the machine. Somehow DSL still thinks I have these two cards in the machine - even though it has only had one card in it during the entire DSL install.

The only explanation that makes sense is that DSL examines the pre-existing configuration - which must have been still setup with two cards before this machine got mothballed.

How do I convince DSL that I don't have two network cards? From the scripts that mention "eth", they all pull the network configuration from the /proc filesystem. When I look at the file, that file lists two network cards - neither of which is in the system.

I've aliased 3c509 to eth0 in /etc/modprobe.conf and manually run modprobe. I've created /etc/sysconfig/network-scripts/ifcfg.eth0. I've edited /etc/sysconfig/network and run it. I've run /sbin/ifconfig and tried to configure it manually. I've played with /etc/init.d/ifupdown and /etc/init.d/network. No luck!

The only plan I can come up with is to boot from the LiveCD, mount my 340MB and 540MB drive and then rm -rf them to wipe them clean. Maybe even drop the partitions. I'd reboot the LiveCD again at that point - just to make sure.

That seems way too drastic. I'm sure there is a file hidden somewhere that I can edit or a detection script that can be re-run.

Thanks for any suggestions!
-Rob

Does your nic do more than one type of media?

Like serial and cat5?

or does your bios have a serial port set up as a nic?

DSL does not look at anything on a hdd when you are booting the CD.

Nope, just one NIC - one connection. Serial not setup as a NIC. I do have a serial mouse - but that wouldn't show up as eth0 or eth1.

The reason I think DSL grabbed the prior configuration is that there was a message that suggested it was examining the prior Linux install to figure out hardware setup. At least that's what I interpreted the message as.
-Rob

Okay, do this.

Pull the hard disk(s) out, start up DSL, and see if it still sees 2 nics.

If no, then you're good to go, just dump the partitions and install DSL, if it is still seeing 2 nics, something else is going on, and you should post your hardware info (mobo, proc, chipset, etc).

-J.P.

Did that - it saw one NIC (3c509) which appears to be correct. Unfortunately, the network wouldn't work.

DSL tried to turn it on automagically - no success. I tried the network setup stuff that DSL has and DHCP wouldn't go; static IP wouldn't work either. I tried to manually add a /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network and /etc/modprobe.d/network to setup eth0 but that wasn't good.

Assuming I didn't do something stupid, I guess I'll start moving the card around in the slots. The cable has to be good since my Myth front-end prototype usually uses it.  However, I did see an entry for the network card (as a 3C509B) in the /proc/isapnp (??) file.

I'm using DSL 1.0rc2, btw. This is an Gateway 4DX-33V (was a 486 33MHz VESA Localbus). Now a whopping Pentium 83 OverDrive with 48MB RAM. :laugh:
-Rob

Next Page...
original here.