Results 1 to 9 of 9

Thread: eth0 not working

  1. #1

    eth0 not working

    Hi guys, new to Kali linux. Booting from USB.

    When I use the ifconfig command, eth0 does not show up. I get lo and wlan0, but no eth0.

    I connected an ethernet cable, and still no interface showing up for ethernet so the only way I can actually connect to the internet right now is with WiFi.

    Anybody know how to solve this problem?

  2. #2
    Join Date
    2013-Mar
    Posts
    354
    Post output of : lspci -v

    Look for the ethernet interface and see the driver used by kernel.

  3. #3
    07:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 10)
    Subsystem: Toshiba America Info Systems Device ff1e
    Flags: bus master, fast devsel, latency 0, IRQ 7
    Memory at c1100000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at 2000 [size=128]
    Capabilities: [40] Power Management version 3
    Capabilities: [58] Express Endpoint, MSI 00
    Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
    Capabilities: [d8] MSI-X: Enable- Count=16 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [180] Device Serial Number ff-21-08-01-00-8c-fa-ff

  4. #4
    Join Date
    2013-Apr
    Posts
    126
    try the latest compat-drivers

  5. #5
    Join Date
    2013-Mar
    Posts
    27
    apt-get install build-essential linux-headers-generic linux-headers-`uname -r`
    wget http://linuxwireless.org/download/co...-03-pc.tar.bz2
    tar jxf compat-wireless-2012-07-03-pc.tar.bz2
    cd compat-wireless-2012-07-03-pc
    ./scripts/driver-select alx
    make
    make install
    modprobe alx
    reboot

  6. #6
    Quote Originally Posted by rnk View Post
    apt-get install build-essential linux-headers-generic linux-headers-`uname -r`
    wget http://linuxwireless.org/download/co...-03-pc.tar.bz2
    tar jxf compat-wireless-2012-07-03-pc.tar.bz2
    cd compat-wireless-2012-07-03-pc
    ./scripts/driver-select alx
    make
    make install
    modprobe alx
    reboot
    Package linux-headers-generic is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'linux-headers-generic' has no installation candidate

  7. #7
    Join Date
    2013-Apr
    Posts
    126
    For the first step try:

    Code:
    apt-get install -y linux-headers-$(uname -r)
    if you get any problems installing the headers, please add these entries to your sources.list file:

    Code:
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    then execute the following command:

    Code:
    apt-get update
    once you have the headers installed, try to install the latest version of compat-drivers from here

  8. #8
    Join Date
    2013-Sep
    Posts
    1

    kindly suggest what needs to be done

    Tried the same what you guys said getting error:

    root@kali:~/Desktop/compat-wireless-2012-07-03-pc# ./scripts/driver-select alx
    Processing new driver-select request...
    Backing up makefile: Makefile.bk
    Backup exists: Makefile.bk
    Backing up makefile: drivers/net/ethernet/broadcom/Makefile.bk
    Backing up makefile: drivers/net/ethernet/atheros/Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
    root@kali:~/Desktop/compat-wireless-2012-07-03-pc# make
    ./scripts/gen-compat-autoconf.sh /root/Desktop/compat-wireless-2012-07-03-pc/.config /root/Desktop/compat-wireless-2012-07-03-pc/config.mk > include/linux/compat_autoconf.h
    make -C /lib/modules/3.7-trunk-amd64/build M=/root/Desktop/compat-wireless-2012-07-03-pc modules
    make: *** /lib/modules/3.7-trunk-amd64/build: No such file or directory. Stop.
    make: *** [modules] Error 2



    Quote Originally Posted by root-boy View Post
    For the first step try:

    Code:
    apt-get install -y linux-headers-$(uname -r)
    if you get any problems installing the headers, please add these entries to your sources.list file:

    Code:
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    then execute the following command:

    Code:
    apt-get update
    once you have the headers installed, try to install the latest version of compat-drivers from here

  9. #9
    Join Date
    2013-Jun
    Posts
    123
    i can't get my eth0 working on the kali side of my macbook pro. here are the outputs:
    EDIT~ here is my ifconfig output (if needed):
    eth0 Link encap:Ethernet HWaddr c8:2a:14:42:4b:a8
    inet addr:10.1.10.13 Bcast:10.1.10.255 Mask:255.255.255.0
    inet6 addr: (i removed this) Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:38 errors:0 dropped:0 overruns:0 frame:0
    TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:6961 (6.7 KiB) TX bytes:4066 (3.9 KiB)
    Interrupt:16

    02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)
    Subsystem: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at b0400000 (64-bit, prefetchable) [size=64K]
    Memory at b0410000 (64-bit, prefetchable) [size=64K]
    Capabilities: [48] Power Management version 3
    Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
    Capabilities: [a0] MSI-X: Enable+ Count=6 Masked-
    Capabilities: [ac] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [13c] Device Serial Number 00-00-c8-2a-14-42-4b-a8
    Capabilities: [150] Power Budgeting <?>
    Capabilities: [160] Virtual Channel
    Kernel driver in use: tg3


    i am assuming i don't have this driver installed. so I found it here (for the BCM57765): http://www.broadcom.com/support/ethe...me_desktop.php

    I am attempting to install this according to the directions given above, but without success. :/

    i was also trying to modify the kali instructions for the nvidia driver as well: http://docs.kali.org/general-use/ins...-on-kali-linux

    but now I am just all messed up. Can someone point me in the right direction? I have the driver sitting on my desktop

    I was trying to use:


    apt-get install build-essential linux-headers-generic linux-headers-`uname -r`
    wget http://linuxwireless.org/download/co...-03-pc.tar.bz2
    tar jxf compat-wireless-2012-07-03-pc.tar.bz2
    cd compat-wireless-2012-07-03-pc
    ./scripts/driver-select alx
    make
    make install
    modprobe alx
    reboot

    but it wasn't/isn't working for me sorry for my "noob-ness"
    Last edited by brazen; 2013-11-22 at 15:46. Reason: added ifconfig info

Similar Threads

  1. No IP for eth0
    By intvl in forum TroubleShooting Archive
    Replies: 5
    Last Post: 2016-10-05, 17:26

Tags for this Thread

Posting Permissions

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