LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-25-2007, 03:10 PM   #1
ak_random
Member
 
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Rep: Reputation: 15
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.)
 
Old 06-25-2007, 03:23 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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).
 
Old 06-25-2007, 03:40 PM   #3
ak_random
Member
 
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
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"
 
Old 06-25-2007, 05:42 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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.

Last edited by pljvaldez; 06-25-2007 at 05:51 PM.
 
Old 06-25-2007, 05:45 PM   #5
ak_random
Member
 
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pljvaldez
sorry, try just lspci |grep ethernet. And try cat /var/log/syslog |grep eth0.
Both commands returned nothing.
 
Old 06-25-2007, 05:52 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Sorry, I edited the post above. Try modprobe 3c574_cs and see if it loads the module with lsmod.
 
Old 06-25-2007, 06:04 PM   #7
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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.
 
Old 06-25-2007, 06:17 PM   #8
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You also might need to install the pcmciautils package if you didn't do it while you were connected.
 
Old 06-25-2007, 10:46 PM   #9
ak_random
Member
 
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
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.
 
Old 06-26-2007, 10:54 AM   #10
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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

Last edited by pljvaldez; 06-26-2007 at 10:57 AM.
 
Old 06-27-2007, 12:38 AM   #11
ak_random
Member
 
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
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!
 
Old 06-27-2007, 10:10 AM   #12
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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...

Last edited by pljvaldez; 06-27-2007 at 10:12 AM.
 
Old 06-27-2007, 10:22 AM   #13
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Here's the debian reference manual section on pcmcia and hotplug. I haven't read through it, but maybe something will help there.
 
Old 06-28-2007, 01:18 AM   #14
ak_random
Member
 
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
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.

Last edited by ak_random; 06-28-2007 at 01:21 AM.
 
Old 06-28-2007, 11:08 AM   #15
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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.

Last edited by pljvaldez; 06-28-2007 at 11:36 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Install thru Network Card (laptop) legendaryhwk Linux - Networking 4 04-03-2006 04:37 PM
Network install on old laptop. alasta22 Linux - Networking 3 04-09-2002 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration