Enable atheros ethernet card (AR8151) on linux slackware

Ethernet card Atheros (AR8151) not detected on my slackware machine, maybe I need a driver module to solve this problem. when i get the drivers on google search engine and then install it, the problem is still unsolved. mmm in my mind * never giveup !, And then I tried some of the steps: D

Check the ethernet card with the lspci command.

bash-4.1# lspci | grep Ethernet
05:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)

My ethernet card is detected on pci slot, but when I type ifconfig -a ethernet is not detected.

bash-4.1# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 74:2f:68:56:93:90  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Check the information module with modinfo command, I use the module name(atl1e). “atl1e” derived from the driver that I downloaded previously.

bash-4.1# modinfo atl1e
filename:       /lib/modules/
license:        GPL
description:    Atheros 1000M Ethernet Network Driver
author:         Atheros Corporation, <xiong.huang@atheros.com>, Jie Yang <jie.yang@atheros.com>
srcversion:     5294E239569C02770160CCC
alias:          pci:v00001969d00001066sv*sd*bc*sc*i*
alias:          pci:v00001969d00001026sv*sd*bc*sc*i*
vermagic: SMP mod_unload 
parm:           tx_desc_cnt:Transmit description count (array of int)
parm:           rx_mem_size:memory size of rx buffer(KB) (array of int)
parm:           media_type:MediaType Select (array of int)
parm:           int_mod_timer:Interrupt Moderator Timer (array of int)

driver module is available, put the following command at the end of the rc.local file.

modprobe atl1e

after that I am restarted the computer. taraaa.. problem has not been completed :(.
I used a search engine again, and then find the page that addresses this issue.
put the following command at the end of the rc.local file.

modprobe atl1c
echo "1969 1083" > /sys/bus/pci/drivers/atl1c/new_id

restart the computer, tara.. problem solved :D

Good Luck !!

About these ads
This entry was posted in Linux. Bookmark the permalink.

11 Responses to Enable atheros ethernet card (AR8151) on linux slackware

  1. juniorjij says:

    gracias muchas gracias me funciono con una tarjeta de red ar8151

  2. Pingback: To get my Atheros « Tips and Tricks

  3. khalid says:

    hey vous avez bien resolu mon probleme merci
    thanks a lot u are a gourou

  4. Danie Fedora says:

    Thank’s guy it’s work on Mobo CentOS 6.2, 64 bit , Mobo GA-H61M-S2P-B3 with NIC Ar8151 ….
    God Bless You

  5. Jack says:

    still not working…it will detect only 1 pci lan card(realtek)
    but it doesn’t detect onboad lan(atheros ar8151)

  6. DanTen says:

    Thanks a lot, this works great on Asus U44SG running Debian Squeeze.
    Peace on your path!

  7. berna says:

    Trop fort!
    Thanks!very well

  8. Pingback: lan drivers

  9. bambiesdead says:

    still doesnt work :(

  10. James Townsendson says:

    The above suggestion worked for me but, reflection shows, in a way that makes me look dozey and Debian very adaptable: I’ve long used a computer that has a Gigabit motherboard with an Aterhos AR8151 ethernet card here and been able to connect to the Internet for months and months (using one version or another of Linux Mint.) That’s how I got the above account of what to add to the /etc/init.d folder. The other computer here – a Dell Optiflex 390 – currently runs on Debian squeeze which before today I couldn’t get it to connect to the Internet. I know almost nothing about the Dell’s motherboard and ethernet card but do know that with Linux Mint it would connect to the Internet and with Debian 6.0 it wouldn’t till this evening. BUT what I did I now see looks mistaken: I copied the gedit script duly, blindly? – following the above text with its reference to atherosDriver00001 and which (at a guess) is not the Dell motherboard’s ethernet controller; then, as root, I ran the chmod command etc, then restarted the Dell with Debian 6.0 running it, configured a DSL connection and got on to the Internet first time. What’s in a name ~ unless the Dell runs on atheros AR8151 too? Whatever I’m grateful to the two folk whose blogs I read to help me connect the Dell here to the Internet.

  11. rushikesh says:

    tara.. problem solved
    it’s really work’s thank you much !
    it work on my sony VPCEL15EN laptop.
    i installed rhel 6.2 (redhat enterprises Linux 6.2 )

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s