LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ipconfig error on slackware 8.1 (https://www.linuxquestions.org/questions/linux-networking-3/ipconfig-error-on-slackware-8-1-a-102573/)

Jaop 10-10-2003 04:16 PM

ipconfig error on slackware 8.1
 
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

natedawg_38929 10-11-2003 04:16 AM

in reply
 
Sometimes, for some reason, the FIRST time you do <ifconfig>, it will tell you that error message. Enter the command again and see what it tells you. If it still tells you that, make sure that your /usr/src/... is named correctly for your running kernel, 'cause when the kernel loads the modules at boot, it checks the version numbers.

Hope this helps!

Jaop 10-13-2003 10:20 AM

Thanks for answer natedawg_38929 but well I think is ok, here is my /usr/src/.. if not please tell me ...

root@linux_jaop:/usr/src# ls -la
total 204428
drwxr-xr-x 5 root root 4096 Oct 8 08:32 ./
drwxr-xr-x 18 root root 4096 Jan 26 2003 ../
lrwxrwxrwx 1 root root 12 Oct 8 08:32 linux -> linux-2.4.22/
drwxr-xr-x 15 573 573 4096 Oct 8 16:23 linux-2.4.22/

Rab22 10-13-2003 10:37 AM

Could there be a problem with lo ? I've never seen this error before so I have no clue. Maybe try ifconfig lo and see if you get the same error. That would then tell you if lo is setup wrong. Sorry I wish I could be more help.

Jaop 10-13-2003 10:55 AM

Thank you for answer Rab22, Ive been looking for this error all over the internet I found a few guys having the same error but I didnt find a answer to fix it, the error hapeneed to them when they upgraded the Kernell, as I happened to me, but everything looks to be ok at the Kernell, here is the ifconfig lo

root@linux_jaop:/usr/src# ifconfig lo
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:507 errors:0 dropped:0 overruns:0 frame:0
TX packets:507 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:20340 (19.8 Kb) TX bytes:20340 (19.8 Kb)

Jaop 10-22-2003 12:55 PM

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 :)


All times are GMT -5. The time now is 04:43 PM.