Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Installation of R8168 driver problem

  1. #1
    Join Date
    Jun 2009
    Location
    India
    Beans
    82
    Distro
    Ubuntu 11.04 Natty Narwhal

    Exclamation Installation of R8168 driver problem

    I've been having problems on my ubuntu recently. I've not been able to connect to the internet.

    A friend of mine suggested that I try to reinstall the drivers, so I removed the old one and tried installing the new ones, but the installation is generating a few errors.
    Code:
    chirag@ABC-Chirag:~/Desktop/r8169-6.015.00$ lsmod | grep 816
    chirag@ABC-Chirag:~/Desktop/r8169-6.015.00$ sudo make clean modules 
    make -C src/ clean
    make[1]: Entering directory `/home/chirag/Desktop/r8169-6.015.00/src'
    rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset modules.order Module.markers
    make[1]: Leaving directory `/home/chirag/Desktop/r8169-6.015.00/src'
    make -C src/ modules
    make[1]: Entering directory `/home/chirag/Desktop/r8169-6.015.00/src'
    make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/src modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
    scripts/Makefile.build:44: /src/Makefile: No such file or directory
    make[3]: *** No rule to make target `/src/Makefile'.  Stop.
    make[2]: *** [_module_/src] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/home/chirag/Desktop/r8169-6.015.00/src'
    make: *** [modules] Error 2
    chirag@ABC-Chirag:~/Desktop/r8169-6.015.00$
    Any ideas what this error means and how I can solve it? I'm not very good with Ubuntu command lines, I've followed these commands as per the README file in the tar file
    Ubuntu would be the best OS if it was more User friendly

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,976
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Installation of R8168 driver problem

    No rule to make target `/src/Makefile'. Stop.
    This suggests that the needed build tools may not be installed. Please open Synaptic Package Manager and see if build-essential is installed. Can you please install it and try again?

    Is this computer dual-booting with Windows? With the ethernet cable plugged in, please run:
    Code:
    sudo lshw -C network
    Do you get link=no even though the cable is plugged in?
    *-network
    description: Ethernet interface
    product: 82573L Gigabit Ethernet Controller
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:02:00.0
    logical name: eth0
    capacity: 1Gbit/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.2.20-k2 firmware=0.5-1 latency=0 link=no multicast=yes port=twisted pair
    resources: irq:48 memory:ee000000-ee01ffff ioport:3000(size=32)
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Jun 2009
    Location
    India
    Beans
    82
    Distro
    Ubuntu 11.04 Natty Narwhal

    Post Re: Installation of R8168 driver problem

    OK, this is what I got by using that command:
    Code:
      *-network UNCLAIMED
           description: Ethernet controller
           product: RTL8111/8168B PCI Express Gigabit Ethernet controller
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:02:00.0
           version: 02
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix vpd bus_master cap_list
           configuration: latency=0
           resources: ioport:de00(size=256) memory:fdfff000-fdffffff memory:fdfe0000-fdfeffff memory:fdf00000-fdf0ffff
    Ubuntu would be the best OS if it was more User friendly

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,976
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Installation of R8168 driver problem

    The needed driver r8169 is already in the kernel. Let's see what happens if we load it manually. Please run and post:
    Code:
    sudo modprobe r8169
    ifconfig
    dmesg | grep 8169
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #5
    Join Date
    Jun 2009
    Location
    India
    Beans
    82
    Distro
    Ubuntu 11.04 Natty Narwhal

    Post Re: Installation of R8168 driver problem

    Code:
    chirag@ABC-Chirag:~$ sudo modprobe r8169
    [sudo] password for chirag: 
    WARNING: All config files need .conf: /etc/modprobe.d/blacklist.conf.bk, it will be ignored in a future release.
    FATAL: Module r8169 not found.
    chirag@ABC-Chirag:~$ ifconfig
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:960 (960.0 B)  TX bytes:960 (960.0 B)
    
    chirag@ABC-Chirag:~$ dmesg | grep 8169
    chirag@ABC-Chirag:~$
    Ubuntu would be the best OS if it was more User friendly

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,976
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Installation of R8168 driver problem

    FATAL: Module r8169 not found.
    Interesting. Somebody has been busy here. Did you remove the /lib/modules/etc. line altogether? What caused you to try to build r8168 from source?

    Since ethernet is not working, do you have any internet connectivity at all?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #7
    Join Date
    Jun 2009
    Location
    India
    Beans
    82
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Installation of R8168 driver problem

    Yeah, actually I tried a lot of things (that I didn't understand) earlier also to solve this problem ...

    I don't have any net connectivity on my Ubuntu since a few months now

    My computer has dual boot...internet works perfectly on Windows 7, but not on Ubuntu
    Ubuntu would be the best OS if it was more User friendly

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,976
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Installation of R8168 driver problem

    Do you have the install CD that you used to install? Can you run a live CD session and see what this tells us?
    Code:
    sudo updatedb
    locate r8169.ko
    sudo modprobe r8169
    dmesg | grep 8169
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #9
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,878
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Installation of R8168 driver problem

    Hi,

    the script of the driver renames the module r8169.ko to r8169.bak. Install the driver via:

    Code:
    sudo ./autogen.sh
    in the driver folder.

  10. #10
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,878
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Installation of R8168 driver problem

    P.S.: You are trying to install again the r8169. Use the "right" driver r8168, see here:

    http://forum.ubuntuusers.de/topic/la.../#post-3005217

    Downloadlink:

    http://r8168.googlecode.com/files/r8...025.00.tar.bz2

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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