ifconfig error on slackware 8.1 but I have network


Results 1 to 12 of 12

Thread: ifconfig error on slackware 8.1 but I have network

  1. #1
    Join Date
    Oct 2003
    Posts
    7

    ifconfig error on slackware 8.1 but I have network

    HI Linux Experts 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)

    Also I tryied to install nettools the lastest version, because I found somewhere to do that, but I installed it and still the same problem.

    Please Help Me, because I dont know where else to look for information. Thank you

  2. #2
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Not too sure what your looking for , but try "netconfig". You might want to look into the application used for Slack updating to current version..."swaret".

    This is my "ifconfig"...

    #ifconfig
    eth0 Link encap:Ethernet HWaddr 00:40:05:8C:23:02
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:4058 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1363 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:1283929 (1.2 Mb) TX bytes:264797 (258.5 Kb)
    Interrupt:11 Base address:0x1000

    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:3 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:129 (129.0 b) TX bytes:129 (129.0 b)

    ppp0 Link encap:Point-to-Point Protocol
    inet addr:xx.xxx.xxx.xxx P-t-P:xx.xxx.xxx.xxx Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
    RX packets:3947 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1252 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:1190353 (1.1 Mb) TX bytes:230523 (225.1 Kb)
    Last edited by JohnT; 10-13-2003 at 01:13 PM.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  3. #3
    Join Date
    Oct 2003
    Posts
    7

    I need to fix the ifconfig

    Thank you for answer JhonT what Im looking for is to fix my linux, because the ifconfig command display an error

    root@linux_jaop:~# ifconfig
    : error fetching interface information: Device not found

    I dont know why this is happening.

    root@linux_jaop:~# ifconfig -a
    : error fetching interface information: Device not found

    but when I write:

    root@linux_jaop:~# 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:22879 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12931 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0
    RX bytes:7580988 (7.2 Mb) TX bytes:2531304 (2.4 Mb)

    SO I have network and internet and is ok, but normally just ifconfig have to display my interfaces, so I have anothers problems because of this.

    My network configuration is ok, I tryied what you wrote but the problem still there.

    Thank you for answer

  4. #4
    Join Date
    Oct 2003
    Posts
    7

    Thumbs up Im gonna try swaret

    Thank you JhonT Im gonna try swaret and I hope this helps

  5. #5
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Out of curiosity, did you compile a new kernel recently? You might have failed to include your ethernet adapter module. Post your results from the command "lsmod".
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  6. #6
    Join Date
    Oct 2003
    Posts
    7
    Thanks JhonT, yes I did, I had kernell 2.4.19 when everything worked ok. I patched to 2.4.20, when I did that, I started to have this problem.
    So I downloaded and compile Kernell 2.4.22 the lastest stable, I included the ethernet adapter when I compile the kernell, so I dont have the ethernet adapter with a module, so the lsmod is not going to display anything about it.
    Keep in mind my computer have network, internet, ...

    lsmod command :

    root@linux_jaop:~# lsmod
    Module Size Used by Tainted: PF
    vmnet 23072 6
    vmmon 20628 0 (unused)

    this is part of the dmesg command related with the ethernet adapter :

    loop: loaded (max 8 devices)
    eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
    eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
    eth0: OEM i82557/i82558 10/100 Ethernet, 00:07:E9D:E0:AD, IRQ 18.
    Board assembly 000200-008, Physical connectors present: RJ45
    Primary interface chip i82555 PHY #1.
    Secondary interface chip i82555.
    General self-test: passed.
    Serial sub-system self-test: passed.
    Internal registers self-test: passed.
    ROM checksum self-test: passed (0xd0a6c714).
    Linux agpgart interface v0.99 (c) Jeff Hartmann
    agpgart: Maximum main memory to use for agp memory: 203M

  7. #7
    Join Date
    Oct 2003
    Posts
    7

    swaret

    I read the docs and install Swaret looks great I change the swaret.conf and I did all the steps but when I run swaret --update, i have this :

    root@linux_jaop:~/usr/sbin# ./swaret --update
    : error fetching interface information: Device not found
    swaret 1.3.2

    Network Connection down!

    Please, take a look to 'NIC' in /etc/swaret.conf!

    Same error of the ifconfig command, so I cannot update on that way ... I think i have to reinstall my Slackware with the version 9 because I could not find another solution ... anywhere, forums, mailing-lists, google ... to bad but thanks to you JhonT to try to help me

  8. #8
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    In /etc/swaret.conf you must enter your......:

    # Network Settings
    #
    NIC=eth0

    This alone might not help in your situation though.

    Try this from the commandline to see if you have the module for your card:

    # modprobe eepro100.o (or eepro100)

    Then if no error messages are returned...try:

    # lsmod (to see if it loaded)

    If you have it and it loads let me know and then we can go to the next step, which does not include kernel re-compiling.

    Fot the latest Intel Pro/100 network driver for Linux, see:
    http://support.intel.com/support/net...5980-prd38.htm

    You might want to check your bios configurations for your card.
    Last edited by JohnT; 10-15-2003 at 01:46 PM.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  9. #9
    Join Date
    Apr 2003
    Posts
    122
    what happened to your loopback interface?
    "Did you ever notice how fast Windows runs? Neither did I."

  10. #10
    Join Date
    Oct 2003
    Posts
    7
    Thanks for answer ev8r, I think this is what you want:

    root@linux_jaop:~# 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:2030 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2030 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0
    RX bytes:75168 (73.4 Kb) TX bytes:75168 (73.4 Kb)

    And Thanks JhonT I will try and let you know soon.

  11. #11
    Join Date
    Oct 2003
    Posts
    7

    solution

    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

    Thanks everybody !!!

  12. #12
    Join Date
    Oct 2002
    Location
    Hershey, PA, USA
    Posts
    552
    i refuse to have anything apple related on my PC, so i was glad to leave out the appletalk! thanks for the posts, a friend of mine's PC had this issue, and i resolved it with some of the tips here
    Your distro is not better/worse than anyone else's. Unite!

    RH9user | JL > DebianUser

    Linux User: 307026
    Debian - Save yourself the hassle.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •