• Navigation
+ Reply to Thread
Results 1 to 5 of 5
  1. #1

    Default Problem installing drivers on CentOS 6.3

    I recently installed centOS 6.3 on my laptop and the network card is not working. So I went to Realtek website and downloaded the appropriate driver for my network card (r8111/8168b).

    I burned the file to a cd and then copied it to the /tmp directory and used the command tar xvjf filename.tar.bz2

    After I CD to the new directory and use the command MAKE it get this error

    Code:
    make -C src/ clean
    make[1]: Entering directory '/tmp/r8168-8.032.00/src'
    make -C /lib/modules/2.6.32-279.el6.x_86_64/build SUBDIRS=tm/r8168-8.032.00/src clean
    make: Entering an unknown directory
    make: *** /lib/modules/2.6.32-279.el6.x_86_64/build: No such file or directory. Stop.
    make: Leaving unknown directory
    make[1]: *** [clean] Error 2
    make[1]: Leaving directory '/tmp/r8168-8.032.00/src'
    make: *** [clean] Error 2
    Im a linux noob and just started to learn it. Please let me know if I am doing anything wrong. Thanks for your help.

  2. #2
    jponry
    Join Date
    Jul 2006
    Posts
    1,242
    FFXI Server
    Phoenix

    Default

    If you are installing CentOS off a disc, you shouldnt need the network card drivers until you boot up into GUI. Make sure you are using the straight up DVD .iso instead of the network installer. Once you'e installed CentOS you can install all the drivers you need via USB/CD/whatever.

    For some reason, if 6.3 won't let you do this, then install an older distro then upgrade to 6.3 via GUI or CLI.

  3. #3

    Default

    Weird, I must have installed it wrong but the GUI isn't installed. The method of installation I used was the first disc of DVDLive .iso which was 4.6gigs.

  4. #4
    jponry
    Join Date
    Jul 2006
    Posts
    1,242
    FFXI Server
    Phoenix

    Default

    You must have not have selected a user interface (i.e. GNOME) when you were going through the installation GUI. At the command line, type:

    Code:
    startx

  5. #5
    New Merits
    Join Date
    Oct 2006
    Posts
    234
    FFXI Server
    Carbuncle

    Default

    The command:
    Code:
    make -C src/ clean
    tells it to clean the src tree for the program you are about to compile. Because it has never been compiled, those directories it is trying to clean do not exist or are empty.

    Insofar as actually compiling the drivers, you may need a few other packages installed such as kernel-devel. Try running:
    Code:
    sudo yum install kernel-devel
    This will install the kernel headers so that the driver module can compile properly against them.

    Then run:
    Code:
    sudo make
    sudo make install
    sudo modprobe r8168
    The first should build the drivers as the root user. The second should install them into the module directory. The third will cause the OS to use the newly installed module to detect the card.

Similar Threads

  1. Replies: 4
    Last Post: 07-13-2011, 01:57 PM
  2. Replies: 4
    Last Post: 05-02-2008, 04:29 PM
  3. Replies: 2
    Last Post: 01-07-2008, 10:11 AM
  4. Problem installing WoTG
    By dithera686 in forum Tech
    Replies: 2
    Last Post: 11-24-2007, 04:44 PM
  5. Problem installing XP
    By Calina in forum Tech
    Replies: 8
    Last Post: 05-07-2007, 04:15 PM
  6. Installing FFXI on a 2nd HD
    By pirahna1 in forum Tech
    Replies: 10
    Last Post: 04-13-2007, 10:33 PM