Ask Your Question
0

ar8162 wired drivers

asked 2013-06-22 14:07:29 -0500

amod gravatar image

Hi all,

I have a brand new lenovo g580 laptop. Wireless is flawless but wired not getting detected.

uname -r

3.9.6-200.fc18.x86_64

lspci result

01:00.0 Ethernet controller: Atheros Communications Inc. AR8162 Fast Ethernet (rev 10)

i downloaded the following tar ball

compat-drivers-2013-03-04-u.tar.bz2

extracted and navigated to the folder. Ran the script sudo ./scripts/driver-select alx and result the result are as follows.

Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
Backup exists: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk

further i made make install and the result was

Updating Fedora's initramfs for 3.9.6-200.fc18.x86_64 under /boot/ ...

make -C /lib/modules/3.9.6-200.fc18.x86_64/build M=/home/amod/Downloads/compat-drivers-2013-03-04-u modules
make: *** /lib/modules/3.9.6-200.fc18.x86_64/build: No such file or directory.  Stop.
make: *** [modules] Error 2

Regards

Amod (India) What exactly is wrong and what has to be done so that my wired connection is deceted

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
0

answered 2013-07-18 01:51:41 -0500

updated 2013-07-18 01:55:04 -0500

===================== For Google =========================

I have lenovo g580 laptop and fedora 19

if you have not "perl" you may have this error:

./scripts/driver-select: line 155: perl: command not found.

if you have not "kernel-devel-3.9.5-301.fc19.x86_64" you may have this error:

make: * /lib/modules/3.9.6-200.fc18.x86_64/build: No such file or directory. Stop.

for install Atheros AR8162 Driver on fedora 19 or fedora 18 you need to this step:

================================================================

  • install kernel-devel and kernel-heardes "only vertion 3.9.5-301":
yum install kernel-devel-3.9.5-301.fc19.x86_64
yum install kernel-heardes-3.9.5-301.fc19.x86_64
  • install perl and gcc:
yum install perl gcc
  • new you can install driver !
# tar -xjvf compat-drivers-2013-03-04-u.tar.bz2
# cd compat-drivers-2013-03-04-u
# ./scripts/driver-select alx
# make
# make install
  • reboot
edit flag offensive delete link more
0

answered 2013-11-12 02:36:35 -0500

nehaljwani gravatar image

updated 2013-11-12 02:37:18 -0500

For a fresh install of Fedora 19: Step 1: From a computer having access to internet, download the following packages from http://pkgs.org

cpp-4.8.1-1.fc19.x86_64.rpm
gcc-4.8.1-1.fc19.x86_64.rpm
gcc-c++-4.8.1-1.fc19.x86_64.rpm
glibc-2.17-14.fc19.x86_64.rpm
glibc-common-2.17-14.fc19.x86_64.rpm
glibc-devel-2.17-14.fc19.x86_64.rpm
glibc-headers-2.17-14.fc19.x86_64.rpm
kernel-devel-3.9.5-301.fc19.x86_64.rpm
kernel-headers-3.9.5-301.fc19.x86_64.rpm
libmpc-1.0.1-1.fc19.x86_64.rpm
libstdc++-devel-4.8.1-1.fc19.x86_64.rpm
perl-5.16.3-264.fc19.x86_64.rpm
perl-Carp-1.26-243.fc19.noarch.rpm
perl-Encode-2.51-1.fc19.x86_64.rpm
perl-Filter-1.49-1.fc19.x86_64.rpm
perl-libs-5.16.3-264.fc19.x86_64.rpm
perl-macros-5.16.3-264.fc19.x86_64.rpm
perl-PathTools-3.40-1.fc19.x86_64.rpm
perl-Pod-Escapes-1.04-264.fc19.noarch.rpm
perl-Pod-Simple-3.20-264.fc19.noarch.rpm
perl-Scalar-List-Utils-1.27-246.fc19.x86_64.rpm
perl-Socket-2.009-2.fc19.x86_64.rpm
perl-threads-1.87-1.fc19.x86_64.rpm
perl-threads-shared-1.43-2.fc19.x86_64.rpm

Step 2: Copy them to the machine and run the command:

# yum install *.rpm

Step 3: Download https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/04/compat-drivers-2013-03-04-u.tar.bz2 (compat-drivers-2013-03-04-u.tar.bz2) then run the commands:

# tar -xf compat-drivers-2013-03-04-u.tar.bz2
# cd compat-drivers-2013-03-04-u
# ./scripts/driver-select alx && make && make install
# reboot

Taken From: http://commandlinewani.blogspot.in/2013/11/how-to-install-atheros-wired-lan.html

edit flag offensive delete link more
0

answered 2013-08-10 09:25:31 -0500

Hello,

I have the same problem and i make the same steps, but nothing has changed except for an extra booting choice in the bootloader.

lspci result

04:00.0 Ethernet controller: Qualcomm Atheros AR8162 Fast Ethernet (rev 10)

uname -r 3.9.5-301.fc19.i686.PAE

edit flag offensive delete link more
0

answered 2013-07-04 10:01:01 -0500

cra gravatar image

You are missing the Linux kernel header files needed for compiling modules against the running kernel. You should install the kernel-devel package to get these header files:

yum install kernel-devel

edit flag offensive delete link more
0

answered 2013-07-07 23:25:28 -0500

amod gravatar image

hi all, Yes i missed the kernel-heardes and devel i installed them along with the gcc and did the same thing again. This time it was a success. but the issue is whenever the kernel updates. i have to do all the procedure again to get the wired connection detected. Any solution.

Regards

Amod

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-06-22 14:07:29 -0500

Seen: 2,903 times

Last updated: Nov 12 '13