Friday, November 23, 2012

Atheros A8162 Ethernet Driver Installation - on DELL Inspiron 5420

Steps to install Atheros A8162 Ethernet Driver on a Fedora/Ubuntu system
($ signifies prompt)
(# is root prompt)(use sudo instead on Ubuntu)
Step1. Download the driver from orbit-lab.
http://www.orbit-lab.org/kernel/compat-wireless-2.6/2012/05/compat-wireless-2012-05-10-p.tar.bz2
(i tried their latest version 2011-11-20 but it never worked. Wasted a lot of time)
Step2. Extract the file with
$ tar --bzip -xvf compat-wireless-2012-05-10-p.tar.bz2
Step3.
$ cd compat-wireless-2012-05-10-p
Step4.
$ scripts/driver-select alx
$ make
# make install
# modprobe alx

no need to restart. you can restart to be on a safe side.

References: Useful post 1

Adding Fedora DVD as a repository in YUM (a useful hack for people with no internet connection)

Hi there,

This a very useful hack for installing packages in Fedora (all versions) when you don't have net available.

Required: Fedora DVD iso file

Step 1: Download the Fedora DVD iso file - whichever is appropriate for your system (32 bit or 64 bit).
OR
Create an ISO from the DVD if you have one :
# dd if=/dev/cdrom of=fedora17.iso obs=8192K

Step2:
Create a directory to mount the iso
# mkdir -p /mnt/fedora17
Now mount the iso file to the directory
# mount -ro loop fedora17.iso /mnt/fedora17

Step3: (Optional)
If you want to mount the ISO automatically the next time then do the following

# vi /etc/fstab
edit this file by adding the following line at the end
/path-to-the-iso/fedora17.iso /mnt/fedora17 iso9660 ro,loop 0 0

Step4:
edit /etc/yum.repos.d/fedora.repo

Comment any line starting with 'baseurl' or 'mirrorlist' by prefixing #

add this line:
baseurl=file:///mnt/fedora17

Step5:
Now everything is done. If yum is not able to update some repository like update then goto /etc/yum.repos.d/ directory and append all the .repo files except fedora.repo to file.repo.bkp
Do it as follows
# mv fedora-update.repo fedora-update.repo.bkp

Step6: Happy updating and installing software without internet!!!

Please revert back for any errors, questions and suggestions!