LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   No networking after network install on laptop (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/no-networking-after-network-install-on-laptop-564420/)

ak_random 06-25-2007 03:10 PM

No networking after network install on laptop
 
I have an old Toshiba laptop which happens to not have a CDROM drive. I managed to install Debian Etch via boot floppies and over the network. I used the floppy images here:

http://ftp.us.debian.org/debian/dist...images/floppy/

Odd thing is that after the install, there are no network devices other than the loopback interface! The laptop has a 3COM 10/100 PCMCIA card (model 3CCFE574BT) which I know works since it was used for the network install.

Any suggestions on how to get this networking card enabled?

(I apologize if this isn't the right forum for this question; there seems to be more than one forum where this post could be appropriate.)

pljvaldez 06-25-2007 03:23 PM

Try plugging the device in, and then look at your system log (/var/log/ directory).

Also, once you plug it in, try /sbin/lspci to see if it is recognized. You might just need to bring the interface up (as root, type ifup eth0).

ak_random 06-25-2007 03:40 PM

Quote:

Originally Posted by pljvaldez
Try plugging the device in, and then look at your system log (/var/log/ directory).

A "grep -i eth *" in that directory showed up with nothing. In /var/log/installers/ however (which I presume are the various logs during the installation process), my ethernet device was found as eth0.

Quote:

Originally Posted by pljvaldez
Also, once you plug it in, try /sbin/lspci to see if it is recognized. You might just need to bring the interface up (as root, type ifup eth0).

My system doesn't appear to have /sbin/lspci installed. Running "ifup eth0" returns an error that says "No such device" :(

pljvaldez 06-25-2007 05:42 PM

sorry, try just lspci |grep ethernet. And try cat /var/log/syslog |grep eth0.

Looks like it works, according to the HCL. You can try lsmod and see if you see a module like 3c574_cs.

Or just try adding the module. As root, do a modprobe 3c574_cs and then lsmod to see if it loaded. Then you can try restarting the network.

ak_random 06-25-2007 05:45 PM

Quote:

Originally Posted by pljvaldez
sorry, try just lspci |grep ethernet. And try cat /var/log/syslog |grep eth0.

Both commands returned nothing. :(

pljvaldez 06-25-2007 05:52 PM

Sorry, I edited the post above. Try modprobe 3c574_cs and see if it loads the module with lsmod.

pljvaldez 06-25-2007 06:04 PM

You can also try adding
Code:

#The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

to /etc/network/interfaces. Then restart the network with /etc/init.d/networking restart.

pljvaldez 06-25-2007 06:17 PM

You also might need to install the pcmciautils package if you didn't do it while you were connected.

ak_random 06-25-2007 10:46 PM

Quote:

Originally Posted by pljvaldez
Looks like it works, according to the HCL.

I've no doubt this is supported, as I successfully performed a network install to begin with. :)

Quote:

Originally Posted by pljvaldez
You can try lsmod and see if you see a module like 3c574_cs.

Or just try adding the module. As root, do a modprobe 3c574_cs and then lsmod to see if it loaded. Then you can try restarting the network.

I ran modprobe followed by lsmod, and it loaded it. I then added 3c574_cs to /etc/modules, rebooted, and still no-go. My /etc/network/interfaces file already has those two lines for eth0.

pljvaldez 06-26-2007 10:54 AM

After rebooting, was the module loaded? Did lspci return your card? How are you testing connectivity?

Edit: also did you have the pcmciautils package installed? dpkg --get-selections |grep pcmcia

ak_random 06-27-2007 12:38 AM

Quote:

Originally Posted by pljvaldez
After rebooting, was the module loaded? Did lspci return your card? How are you testing connectivity?

Edit: also did you have the pcmciautils package installed? dpkg --get-selections |grep pcmcia

After rebooting, I can see (via lsmod) that the 3c574_cs module was loaded. I did not see the networking card with lspci (it shows a bridge, video controller, ide interface, usb controller, another bridge, and a "Communication controller".

I have both the pcmcia-cs and pcmciautils packages installed, according to the dpkg command you suggested.

I've tested connectivity by simply issuing /sbin/ifconfig -a, which only sees the loopback interface and the infrared port; there's no eth0. If I try ifconfig eth0, it says "Device not found". My link light on the network dongle remains off.

This continues to be quite puzzling!

pljvaldez 06-27-2007 10:10 AM

Hmmm. I'm no expert at pcmcia problems. But the pcmciautils package should have some tools to help you find out what's going on. Try reading man pages on any "pcmcia" type packages in the /bin, /sbin, /usr/bin, or /usr/sbin directories.

I'll see what I can find in the way of documentation on google. Puzzling indeed...

pljvaldez 06-27-2007 10:22 AM

Here's the debian reference manual section on pcmcia and hotplug. I haven't read through it, but maybe something will help there.

ak_random 06-28-2007 01:18 AM

Quote:

Originally Posted by pljvaldez
Here's the debian reference manual section on pcmcia and hotplug. I haven't read through it, but maybe something will help there.

After reading through that documentation, I poked around a bit and discovered that the hotplug package was not installed for some reason. It's looks likely that I need this package. I'll have to download the package (and any of its dependencies) and sneaker net them using a usb flash drive or something. However, where do I find the actual packages? I tried looking at http://ftp.us.debian.org/debian/dist...n/binary-i386/, but there were no packages at all.

Edit: I spoke too soon. I found http://packages.debian.org/ ... will download from here and give it a shot.

pljvaldez 06-28-2007 11:08 AM

I think Etch uses udev instead. But it should have the same functionality, I would think.

I googled around a bit. Seems that maybe you could use the pccardctl command (read the man page) to get some more information and see if the card is even recognized as inserted.


All times are GMT -5. The time now is 01:06 AM.