LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-29-2004, 06:55 PM   #1
spiri
LQ Newbie
 
Registered: Dec 2003
Location: Portugal
Posts: 22

Rep: Reputation: 15
After installing Sarge it lost the eth0


Hi,

I just install sarge from CD installer & ftp, every think was fine,
I install samba and SWAT, etc. but after a reboot
the system lost the nic (eth0) saying:
Code:
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
what is the problem?
I can't add the nic by hand (alias eth0=tulip;modprobe tulip, etc.)

Thank you.

spiri
 
Old 04-29-2004, 06:56 PM   #2
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
have you tried

ifconfig eth0 up
 
Old 04-29-2004, 10:19 PM   #3
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
i think doing a debian upgrade will overwrite your /etc/modules file. this is where your network card driver is specified. you need to find out the name of the driver and add it to that file. do a search on google for "<card name> linux driver". once you find the driver name, add that as a line in /etc/modules

edit: you can type 'lspci' to list the hardware connected to the pci bus to get the name of your network card, but that won't tell you the driver name. you'll still need to search google for that.

once you find the driver name, you can type 'modprobe <driver name>' to load the driver module into the kernel without needing to restart the system. putting the driver name into the modules file just lets the kernel know that you want to load that particular driver every time the system boots.

Last edited by zero79; 04-29-2004 at 11:02 PM.
 
Old 04-30-2004, 04:05 AM   #4
spiri
LQ Newbie
 
Registered: Dec 2003
Location: Portugal
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by czarherr
have you tried

ifconfig eth0 up
It only gives the looback interface.
 
Old 04-30-2004, 04:08 AM   #5
spiri
LQ Newbie
 
Registered: Dec 2003
Location: Portugal
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zero79
i think doing a debian upgrade will overwrite your /etc/modules file. this is where your network card driver is specified. you need to find out the name of the driver and add it to that file. do a search on google for "<card name> linux driver". once you find the driver name, add that as a line in /etc/modules

edit: you can type 'lspci' to list the hardware connected to the pci bus to get the name of your network card, but that won't tell you the driver name. you'll still need to search google for that.

once you find the driver name, you can type 'modprobe <driver name>' to load the driver module into the kernel without needing to restart the system. putting the driver name into the modules file just lets the kernel know that you want to load that particular driver every time the system boots.
Hi,
I didn't made an upgrade, It was a fresh install.
lspci says that is a en-1216 (driver tulip), but it is a USR7900 (driver tulip),
I load the driver (modprobe) but the sistem says that the device is not there.
 
Old 04-30-2004, 05:14 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The Debian way is to use modconf (i.e. as root do modconf). If not installed apt-get install modconf. modconf will produce a text menu, go down to net cards and install the relevant driver and then do /etc/init.d/networking restart. Then do ifconfig and check whether the interface is up.
 
Old 04-30-2004, 01:23 PM   #7
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
just compile the kernel with proper support
 
Old 05-01-2004, 06:03 AM   #8
spiri
LQ Newbie
 
Registered: Dec 2003
Location: Portugal
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mrcheeks
just compile the kernel with proper support
I install debian again in another machine. It worked fine... until I reboot.
The problem is the same eth0:no such device.
I did the same instalation as in my other machine that is working fine.
Try to set up the network by hand but it doesn't accept the module : no such device!

Do you think that this should happen?

Regards.
 
Old 05-01-2004, 09:45 AM   #9
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
perhaps tulip is the wrong driver module. have you done a google search for your card to make sure?

i guess you could do a fresh install, type "lsmod" to see which driver is running to give you network support before rebooting, then add that to "/etc/modules"

Last edited by zero79; 05-01-2004 at 09:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
eth0 gone after sarge install Brother Michael Debian 10 07-31-2006 02:06 PM
Can't find eth0 after Sarge upgrade to 2.6 lPrentice Linux - Software 4 05-31-2005 04:57 PM
Was found but now lost? eth0 kj6loh Fedora 2 08-12-2004 07:26 AM
Lost eth0 FXRS Fedora 5 12-06-2003 01:01 PM
eth0 got lost again! Stingreen Linux - General 6 12-09-2001 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:35 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