Results 1 to 4 of 4

Thread: How to install Atheros AR8162 Ethernet drivers

  1. #1
    Join Date
    2013-Mar
    Posts
    1

    How to install Atheros AR8162 Ethernet drivers

    1. Add Mirrors After the Installation Tutorial Here

    2. Start Terminal and type
    Code:
    apt-get update
    
    apt-get install linux-headers-$(uname -r) 
    
    wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.6/compat-wireless-3.6.8-1-snpc.tar.bz2
    
    tar -xvjf compat-wireless-3.6.8-1-snpc.tar.bz2 
    
    cd compat-wireless-3.6.8-1-snpc/
    
    scripts/driver-select alx
    
    make
    
    make install
    
    modprobe alx
    3. Troubleshooting
    Code:
    If you get error: implicit declaration of function ‘__netdev_printk’ like me
    Type 
    
    leafpad drivers/net/ethernet/atheros/alx/alx_main.c
    
    Find __netdev_printk and replace it with 
    
    		//__netdev_printk(level, hw->adpt->netdev, &vaf);
    		printk("%salx_hw: %pV", level, &vaf)
    
    It should look like this 
    
    	if (hw && hw->adpt && hw->adpt->netdev)
    		//__netdev_printk(level, hw->adpt->netdev, &vaf);
    		printk("%salx_hw: %pV", level, &vaf);
    	else
    		printk("%salx_hw: %pV", level, &vaf);
    
    	va_end(args);
    After Installing the alx driver my backlight control stopped working (Lenovo G580)
    Here is my fix for this:
    Open Terminal and type
    Code:
    leafpad /etc/default/grub 
    
    add GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=vendor"
    
    after the last GRUB_CMDLINE_LINUX entry and save 
    
    Type in terminal
    update-grub
    reboot -n

  2. #2
    Hello! I have a problem whith this tutorial. When i type this

    Code:
    apt-get install linux-headers-$(uname -r)
    i recieve

    E: Не удалось найти пакет linux-headers-3.7-trunk-686-pae
    E: Не удалось найти пакет по регулярному выражению «linux-headers-3.7-trunk-686-pae»

    From russian it means like "Could not find package linux-headers-3.7-trunk-686-pae" and "Could not find package by regular expression «linux-headers-3.7-trunk-686-pae»"

    Im asking for help!

  3. #3
    OK I DID IT!

    you need to create a link like

    ln -s /usr/src/linux-headers-3.7-trunk-686-pae /lib/modules/3.7-trunk-686-pae/build

    then just follow this steps

    apt-get update

    apt-get install linux-headers-$(uname -r)

    wget http://www.orbit-lab.org/kernel/comp...1-snpc.tar.bz2

    tar -xvjf compat-wireless-3.6.8-1-snpc.tar.bz2

    cd compat-wireless-3.6.8-1-snpc/

    scripts/driver-select alx

    make

    make install

    modprobe alx

  4. #4
    Join Date
    2013-Dec
    Posts
    3

Similar Threads

  1. Replies: 0
    Last Post: 2013-11-15, 21:10
  2. No wifi,Wireless, ethernet-Network. Atheros & bcm4313. HELP !
    By duck-duck in forum TroubleShooting Archive
    Replies: 9
    Last Post: 2013-04-05, 03:44

Posting Permissions

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