Results 1 to 2 of 2

Thread: Ethernet Realtek Driver Problem

  1. #1
    Join Date
    Jan 2013

    Ethernet Realtek Driver Problem

    Hi all,

    I'm having a problem where my computer won't connect to the internet 90% of the time I boot it up. It always works from the Windows side. Anyway, I have a Asrock z68 motherboard and found out that I need a Realtek ethernet driver which I found here
    And also, I found this

    When I do

    sudo make modules
    It gives me back this error:

    make -C src/ modules
        make[1]: Entering directory `/home/me/r8168-8.035.00/src'
        make -C /lib/modules/3.5.0-22-generic/build SUBDIRS=/home/me/r8168-8.035.00/src modules
        make: Entering an unkown directory
        make: *** /lib/modules/3.5.0-22-generic/build: No such file or directory. Stop.
        make: Leaving an unknown directory
        make[1]: *** [modules] Error 2
        make[1]: Leaving directory `/home/me/r8168-8.035.00/src'
        make: *** [modules] Error 2
    So does that mean I am missing the build directry? I tried searching for it I couldn't find anything.

    Thanks for the help!

  2. #2
    Join Date
    Jun 2007

    Re: Ethernet Realtek Driver Problem

    Make sure you have build-essential and linux-headers installed
    sudo apt-get install linux-headers-generic build-essential

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