[SOLVED] AR8151 ethernet card won't install

Issues related to hardware problems
maul0r
Posts: 11
Joined: 2012/02/14 13:57:43

[SOLVED] AR8151 ethernet card won't install

Post by maul0r » 2012/02/15 10:26:35

Good Morning People,

first of, i do have some limited linux experience, however I am still a newbie. This is the first time using CentOs but due to the program I need to run, I really do need to use CentOS. I am using an Alienware M14x. The Installation went fine, however, the Ethernet Card as well as my Video driver do not work. My first Objective is to get Ethernet up and running.

I have spend all of yesterday trying to get it to work, I would like to tell you what I have been doing:

lspci-nn returns the following information when it comes to my Ethernet:

[code]07:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)[/code]

I have tried downloading the kmod-atl1e module, however this doens't support my ethernet card.

I have also tried using this tutorial (and patch) however, even after doing some changes to that make file, it won't make the file for me, rendering it useless to me.
[url=http://rhythmcloud.blogspot.com/2010/07/how-to-install-ar8151-v10-gigabit.html]Patch Tutorial Fedora[/url]

This link will provide you with the information produced by the getinfo script:

[url=http://pastebin.centos.org/38388]Pastebin GetInfo[/url]

Please Help me!

Regards,

maul0r

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] AR8151 ethernet card won't install

Post by pschaff » 2012/02/15 11:26:33

Welcome to the CentOS fora, and congratulations on being one of the select few to do the recommended reading [i]before[/i] posting. :-)

According to the ELRepo [url=http://elrepo.org/tiki/DeviceIDs]DeviceIDs[/url] page the kmod-atl1e driver should work. Following Fedora tutorials recommending [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url] is [b]highly[/b] discouraged. No telling what that may have done to your system, but there is no eth0 in your script output. Is the wireless working? Try re-installing the kmod driver and rebooting.

maul0r
Posts: 11
Joined: 2012/02/14 13:57:43

Re: AR8151 ethernet card won't install

Post by maul0r » 2012/02/15 11:57:56

[quote]
pschaff wrote:

According to the ELRepo [url=http://elrepo.org/tiki/DeviceIDs]DeviceIDs[/url] page the kmod-atl1e driver should work.
[/quote]

After using the rpm and restarting eth0 still wasn't created. So I manually loaded it:

[code]
[root@alienware cax]# modprobe atl1e
[root@alienware cax]# dmesg | grep Atheros
Atheros(R) AR8121/AR8113/AR8114/AR8131/AR8132/AR8152 PCI-E Ethernet Network Driver - version 1.0.1.9 Copyright (c) 2007 - 2009 Atheros Corporation. [/code]

This shows (I think) that the AR8151 is not supported, however, AR8152 is.

[quote]
pschaff wrote:

Following Fedora tutorials recommending [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url] is [b]highly[/b] discouraged. No telling what that may have done to your system, but there is no eth0 in your script output. Is the wireless working?
[/quote]

Yes I thought so, however I haven't really done much yet. I have installed those packages in order for me to be able to compile something. But the makescript didn't work for me, so I am guessing I haven't really changed much in the system yet.

Yes there is no eth0 in my system, which is the problem I am trying to solve :)

My wlan0 and pan0 connections have worked from start and still do.


[quote]
pschaff wrote:
Try re-installing the kmod driver and rebooting.[/quote]

I have rpm'd it serveral times - no change.

Thanks for the prompt reply :)

- maul0r

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: AR8151 ethernet card won't install

Post by pschaff » 2012/02/15 14:28:21

[quote]
maul0r wrote:
...
After using the rpm and restarting eth0 still wasn't created. [/quote]
What do you mean by restarted. Are you managing the network with the new default (thanks to [url=http://wiki.centos.org/FAQ/General?highlight=%28TUV%29#head-d29a2b7e61ffc544973098f9dd49fe4663efba50]TUV[/url]) tool NetworkManager?

[quote]
So I manually loaded it:

[code]
[root@alienware cax]# modprobe atl1e
[root@alienware cax]# dmesg | grep Atheros
Atheros(R) AR8121/AR8113/AR8114/AR8131/AR8132/AR8152 PCI-E Ethernet Network Driver - version 1.0.1.9 Copyright (c) 2007 - 2009 Atheros Corporation. [/code]

This shows (I think) that the AR8151 is not supported, however, AR8152 is. [/quote]
Seems to have modprobed fine.

Perhaps read: [url=http://wiki.centos.org/FAQ/CentOS6#head-b67e85d98f0e9f1b599358105c551632c6ff7c90]CentOS-6 FAQ #2. Why does my Ethernet not work unless I log in and explicitly enable it?[/url]

maul0r
Posts: 11
Joined: 2012/02/14 13:57:43

Re: AR8151 ethernet card won't install

Post by maul0r » 2012/02/15 15:08:32

[quote]
What do you mean by restarted. Are you managing the network with the new default (thanks to TUV) tool NetworkManager?
[/quote]

With restarted I meant init 6 and service network restart. I can't use any kind of network manager, because i do not have a physical connection.


[quote]Seems to have modprobed fine. Perhaps read: CentOS-6 FAQ #2. Why does my Ethernet not work unless I log in and explicitly enable it?[/quote]

Yes and No! The atl1e will show up, but it remains unused. I am guessing this is due to the fact that Atheros states in dmesg that it does support AR8152 but not AR8151, just like I posted above.

The Problem is, i do not have an ethernet connection (ethX)

[code]
[cax@alienware network-scripts]$ ifconfig eth0
eth0: error fetching interface information: Device not found
[cax@alienware network-scripts]$ ls -a /etc/sysconfig/network-scripts/
. ifdown-ippp ifdown-tunnel ifup-isdn ifup-tunnel
.. ifdown-ipv6 ifup ifup-plip ifup-wireless
ifcfg-lo ifdown-isdn ifup-aliases ifup-plusb init.ipv6-global
ifcfg-wlan0 ifdown-post ifup-bnep ifup-post net.hotplug
ifdown ifdown-ppp ifup-eth ifup-ppp network-functions
ifdown-bnep ifdown-routes ifup-ippp ifup-routes network-functions-ipv6
ifdown-eth ifdown-sit ifup-ipv6 ifup-sit
[/code]

Do you see my problem? I have been told (by a linux guru) that if that atl1e module had worked the way it is supposed to work, after restarting the system the interface eth0 would have been created. But I guess that drive just won't work for me.

[code]
[root@alienware Downloads]# lsmod | grep atl
atl1e 36418 0
[/code]


Maybe there is a generic driver? I recall years ago Realtek used to have a generic driver that would work with pretty much any network card.

Or can I compile a kmod to make it do what I want it to do?

Maybe I am not doing a good enough job in explaining?

- maul0r

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: AR8151 ethernet card won't install

Post by pschaff » 2012/02/15 17:51:56

[quote]
maul0r wrote:
[quote]
What do you mean by restarted. Are you managing the network with the new default (thanks to TUV) tool NetworkManager?
[/quote]

With restarted I meant init 6 and service network restart. I can't use any kind of network manager, because i do not have a physical connection.[/quote]
You mean you don't have a GUI? There are command-line NM tools - nm-tool nmcli nm-online

[quote]
I am guessing this is due to the fact that Atheros states in dmesg that it does support AR8152 but not AR8151[/quote]
I don't read it that way, and a google on [url=http://www.google.com/search?q=AR8152+AR8151+linux&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&safe=active]AR8152 AR8151 linux[/url] seems to give pretty conclusive evidence that the driver should work for both.

maul0r
Posts: 11
Joined: 2012/02/14 13:57:43

Re: AR8151 ethernet card won't install

Post by maul0r » 2012/02/16 09:50:40

I apologize for causing you so much work!

I reinstalled my OS today to rule out any compile mess ups I might have caused. This time I installed atl1e using yum after adding the elrepo information to yum.

I rebooted and it worked THANK YOU!

I may have to come back to get help with my video card, but for now I will try by myself. Thank you so much!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: [SOLVED] AR8151 ethernet card won't install

Post by pschaff » 2012/02/16 12:26:41

You are welcome. Apparently another testimonial against source installs. Thanks for reporting back. Marking this thread [SOLVED] for posterity.

vallasd
Posts: 1
Joined: 2012/03/24 18:33:57

Re: [SOLVED] AR8151 ethernet card won't install

Post by vallasd » 2012/03/24 18:47:55

maulOr or pschaff...

What were the exact commands that you entered to resolve this issue. I'm having the same problem, I have the same hardware device. Attempting to load a minimal install on CentOS, 6.2. No experience with CentOS, experience with basic Unix administration.

ifconfig eth0 shows Device not found.
ifcfg-eth0 is not made.

How do you do this:

"
I apologize for causing you so much work!

I reinstalled my OS today to rule out any compile mess ups I might have caused. This time I installed atl1e using yum after adding the elrepo information to yum.

I rebooted and it worked THANK YOU!"

Your help would be much appreciated!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: [SOLVED] AR8151 ethernet card won't install

Post by pschaff » 2012/03/24 23:47:50

[b]vallasd[/b] - Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

After reading those links you should realize why you should not hijack threads as you have done. It's not clear if you have solved your own problem with ELRepo. If not please start a new Topic for your issue to get the attention you need, providing a link to this one if required for context.

Post Reply