LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-03-2002, 09:58 AM   #1
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
ifconfig command


I have just upgrade my kernel to 2.4.18 and when i boot my system into the new image, everything is fine.

When checking the IP address obtained from the DHCP, I keyed ifconfig and i have got this error msg:

error fetching interface information: Device not found


but i am able ping my other workstation in my network, also able to browse the net.

when I boot into my old kernel image, there's no such error seen.

pls help!
 
Old 04-03-2002, 10:06 AM   #2
jatimon
Member
 
Registered: Apr 2002
Posts: 33

Rep: Reputation: 15
ifconfig -a
 
Old 04-03-2002, 10:14 AM   #3
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Original Poster
Rep: Reputation: 30
still the same error msg as seen:

error fetching interface information: Device not found
 
Old 04-03-2002, 10:17 AM   #4
jatimon
Member
 
Registered: Apr 2002
Posts: 33

Rep: Reputation: 15
what is the old kernel version?
 
Old 04-03-2002, 10:23 AM   #5
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Original Poster
Rep: Reputation: 30
2.4.7-10
 
Old 04-11-2002, 09:29 AM   #6
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Original Poster
Rep: Reputation: 30
any updates about my problem?
 
Old 04-11-2002, 12:49 PM   #7
Eternal
Member
 
Registered: Feb 2002
Location: Austria
Distribution: LFS based opon debian or course
Posts: 38

Rep: Reputation: 15
Well in your old kernel you simply had a driver for that ethernet card, while recompiling the new one you forgot it

kernels never work first time round its like a girl, you have to add modules the correct ones with not insmod -f brain 2> /dev/null #if she is blonde like the 2.4.18

Anyway, go back into back into /usr/src/linux run make clean (or mrproper) menuconfig and en-shure urself that the appropriat device is for "X" or "M"
 
Old 04-11-2002, 01:27 PM   #8
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Original Poster
Rep: Reputation: 30
but i am able to ping other IP or PC in my network, i can also browse the internet, and intranet in my workplace.
 
Old 04-11-2002, 01:39 PM   #9
Eternal
Member
 
Registered: Feb 2002
Location: Austria
Distribution: LFS based opon debian or course
Posts: 38

Rep: Reputation: 15
Ooh how weird, and if config dives you an error? how crazy. i must say if your using eth0 to access the net and it configured by ifconfig i have no idea

better get some Dr Spok on the case of look at some aliases for ifconfig or simply use /sbin/ifconfig also look into /etc/init.d network maybe a Clue.

U U U a CLUE! Snooby snack! or s they say at work BossSNACK
 
Old 10-08-2003, 12:33 PM   #10
Jaop
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
HI Linux Experts I had the same problem I read almost of the problems of another guys, about this that I found in google and still not working.
I found somewhere a solution installing the lastest Net-tools but doesnt work either.
I had the Kernel 2.4.19 and I upgraded to 2.4.20 ! when I did that ifconfig never worked again ( just if we used with the interface like ifconfig eth0) I had network and everything works but if I try just if config :

: error fetching interface information: Device not found

and if I try ifconfig eth0:

eth0 Link encap:Ethernet HWaddr 00:07:E9D:E0:AD
inet addr:192.168.0.99 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4699 errors:0 dropped:0 overruns:0 frame:0
TX packets:2979 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:1348370 (1.2 Mb) TX bytes:460428 (449.6 Kb)

I installed Kernel 2.4.22 but I still having the same problem, Im using Slackware 8.1 and my network card is Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 10)

Please Help Me, because I dont know where else to look for information. Thank you
 
Old 10-22-2003, 12:50 PM   #11
Jaop
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Solucion

The solution for the problem was:

1 - run strace ifconfig

see where its stopped before display the message or error fetching ....

2- if the end is like this (my problem) , is because the appletalk support isnt working well

access("/proc/net/appletalk", R_OK) = 0
socket(PF_APPLETALK, SOCK_DGRAM, 0) = 6
...
ioctl(6, 0x8913, 0xbffff66c) = -1 ENODEV (No such device)

3- modprobe -r appletalk

if you are using modules if not try to recompile the kernell without the appletalk support.

4- should work
 
  


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
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
ifconfig: command not found hetzme Linux - General 2 06-27-2005 12:27 PM
ifconfig bad command SDP Linux - Networking 5 03-18-2004 10:13 AM
IFConfig command dvong3 Linux - Networking 5 01-07-2004 07:44 AM
ifconfig command for SuSE 7.2 ucb-guy Linux - Networking 2 05-03-2002 08:57 PM


All times are GMT -5. The time now is 07:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration