On Mon, 2003-02-24 at 23:22, LS wrote: > Another point I noted. When Linux was booting up, I noticed that the > "Bringing up interface eth0" FAILED . Could this also be another issue ? > The Network card on the slave PC where Linux OS resides as well is a > 3Com Network card. Are there special drivers I need to install > to get Linux to detect this card or get a PASS when booting ?
ah HA! This is your problem. If the ethernet card is not coming up then it won't have an IP and you won't be able to ping or do anything else useful with it. I was under the (perhaps misguided) impression that 3com cards were reasonably well supported on linux. Ok, on my computer I have a program called "netconf", which I think you should have as well. It's part of linuxconf afaik. It's good for doing this sort of stuff. But first you need to identify what sort of network card you have, then identify which driver to use. hrmm. This will get a bit vague. First of all, if you want to find what 3com drivers you have, this should tell you (I've included the output from my box as well for reference) : $ find /lib/modules/`uname -r` -name "3c*" /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c501.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c503.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c505.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c507.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c509.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/tokenring/3c359.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c515.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/pcmcia/3c589_cs.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/pcmcia/3c574_cs.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c59x.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/3rdparty/3c990 /lib/modules/2.4.21pre4-8mdk/kernel/3rdparty/3c990/3c990.o.gz /lib/modules/2.4.21pre4-8mdk/kernel/3rdparty/3c990fx /lib/modules/2.4.21pre4-8mdk/kernel/3rdparty/3c990fx/3c990fx.o.gz Now, you need to find which one of these matches your network card. I don't have any machines with 3com cards, so I'll have to show you the info from my laptop which has an intel network card: $ lspci | grep Ethernet 02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) Chipset Ethernet Controller (rev 41) (ie run 'lspci | grep Ethernet' to find out what ethernet cards you have -- don't use the output from my computer, you don't want to configure your computer to use my devices :)) Another source of information about your ethernet card is /proc/pci. running 'cat /proc/pci' will give you a couple of screenfulls of information. Somewhere in there will be info about your ethernet card. I haven't included this here because it probably won't help you. So, hopefully lspci will tell you which model of 3com card it is, and hopefully you will have a driver name which matches it. The name of the driver is just the filename, without the extension. So my "/lib/modules/2.4.21pre4-8mdk/kernel/drivers/net/3c501.o.gz" driver is simply "3c501". Ok, so having identified the driver, you run netconf, go to the "Host name and IP network devices" (assuming your system is the same as mine, which it quite possibly isn't, but find the "configure my IP address" looking thing), click on the "adaptor 1" tab, click "manual" config mode, type in an ip address in the appropriate field (as I said, if you're talking to windows computers, 192.168.0.something is a good address). netmask, net device etc can be left as default. Now, where it says "kernel module" you need to either type in or select from the drop down the driver you identified before. All being well you should be able to hit "accept", and quit netconf, let it do its magic if it asks you, and hopefully you should then have something more sensible when you do "/sbin/ifconfig eth0" - you'll also know exactly what the ip address is of your so-called "slave" computer. > > However in Linux Gnome, from: > > System Settings -> Network Configuration -> Hardware (tab) shows: > > 3Com for eth0 device. > > The Device tab also shows "eth0". I did not add it, so Linux > automatically > detected the device. hmm. It could well be that the gnome gadget just reads the pci device list, and that's how it knows about the device. I suspect that this is not an indication that the card is correctly configured. It has occurred to me that perhaps it's just a case of having set your interface to "auto" or "dhcp" or something and not having a dhcp server. In either case (no driver found or auto config selected), the above steps should rectify it. Is there anything else the gnome thing shows you? can you change settings there? HTH, James. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
