nightylike
2013-03-30, 11:20
1. Add Mirrors After the Installation Tutorial Here (http://forums.kali.org/showthread.php?72-Adding-Mirrors-After-Install)
2. Start Terminal and type
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
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
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. Start Terminal and type
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
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
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