LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-05-2007, 04:21 AM   #1
mouse_x
LQ Newbie
 
Registered: Jan 2007
Location: Norway
Distribution: Debian Etch
Posts: 15

Rep: Reputation: 0
eth0: no such device!


After trying to change the IP in KDE, and then rebooting, my network stoppet working. I'm running a static IP. System is Debian Sarge Stable.

I've searched and tried ifup and forcedeth, but it doesn't work. The interfaces-file is as it should be (tried editing it in both text-mode and in KDE).

I've also tried another ethernetcard just to make sure it wasn't the card. Didn't work before, after, or when I swapped back again.

lspci finds the card, so it's there and working.
route returns just text, shouldn't it return a bunch of numbers?

ifconfig eth0 returns:
eth0: error fetching interface information: Device not found.

also, I can't seem to find an /etc/iftab file, shouldn't it be there?

Any tips?

Last edited by mouse_x; 06-05-2007 at 04:45 AM.
 
Old 06-05-2007, 05:03 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
What's about ifconfig -a?
In Debian network is configured by startup script with config file /etc/networking/interfaces - you better configure it manually.
 
Old 06-05-2007, 05:18 AM   #3
mouse_x
LQ Newbie
 
Registered: Jan 2007
Location: Norway
Distribution: Debian Etch
Posts: 15

Original Poster
Rep: Reputation: 0
ifconfig -a returns:
Code:
lo    Link encap:Local Loopback
inet address:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 METRIC:1
.....
I've tried configuring /etc/network/interfaces both manually and from KDE, but it doesn't work. Could editing it in KDE mess up the file? If so, how do I repair it? Delete it and make a new?
 
Old 06-05-2007, 09:48 AM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Is driver for your network card compiled as kernel module? If it is, check lsmod output for loaded module (do it anyway if you don't compile kernel by youself - in distro kernels all drivers are compiled as modules).
 
Old 06-05-2007, 10:04 AM   #5
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
eth0

Have you checked (ls -l /dev/eth*) to make sure that the card is being named eth0 instead of eth1 and such. I have to force eth naming on my system in udev because for some reason because occasionally they are known to switch device names eth0, 1, 2 and such).
 
Old 06-06-2007, 03:25 AM   #6
mouse_x
LQ Newbie
 
Registered: Jan 2007
Location: Norway
Distribution: Debian Etch
Posts: 15

Original Poster
Rep: Reputation: 0
I haven't compiled the kernel myself.

ls -l /dev/eth* returns no such file or catalog.
I've been in /dev/ and searched and ls'ed, and there's no eth0/1/2/3/..

lsmod output doesn't show eth*, should it?


During startup I get: udev not running -> requires a kernel newer than 2.6.15 (I think)
Could this be the problem? Can I use hotplug instead?

I tried adding allow-hotplug til my interfaces-file, but no change. As eth0 doesn't work the computer has no network access and can not download and install kernel upgrade, or anything else for that matter..

Last edited by mouse_x; 06-06-2007 at 04:15 AM.
 
Old 06-07-2007, 05:58 AM   #7
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
This is the problem!
Install kernel newer than 2.6.15!
 
Old 06-07-2007, 06:58 AM   #8
mouse_x
LQ Newbie
 
Registered: Jan 2007
Location: Norway
Distribution: Debian Etch
Posts: 15

Original Poster
Rep: Reputation: 0
How? I have no internet access on that computer..
 
  


Reply

Tags
eth0


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 unknown device. bruse Linux - Networking 1 08-30-2005 10:22 AM
eth0 device cannot be located, nVidia onboard device Dunedain Linux - Wireless Networking 1 04-16-2005 12:24 PM
eth0 device cannot be located, nVidia onboard device Dunedain Linux - Networking 1 04-16-2005 01:20 AM
eth0: no such device mikkime23 Linux - Networking 4 12-31-2004 10:33 AM
eth0 device problem ewarmour Linux - Networking 10 08-04-2003 05:35 PM

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

All times are GMT -5. The time now is 10:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration