[SOLVED] CentOS 6.0 LAN Atheros AR8151 problem

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

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by pschaff » 2012/02/13 13:58:44

CentOS-6, following [url=http://wiki.centos.org/FAQ/General?highlight=%28TUV%29#head-d29a2b7e61ffc544973098f9dd49fe4663efba50]TUV[/url], defaults to NetworkManager. You should not mix that with the "traditional" network tools such as system-config-network. What do you see when using nm-applet from a user account? Have you 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]

If still having problems, please show [code]cat /etc/sysconfig/network-scripts/ifcfg-eth0[/code]

saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by saleh » 2012/02/13 14:17:34

This file:
[code]
/etc/sysconfig/network-scripts/ifcfg-eth0
[/code]
is not exist in my system.

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

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by pschaff » 2012/02/13 15:02:57

Then how about [code]ls -lF /etc/sysconfig/network-scripts/ifcfg*[/code]
You still did not say if you have tried nm-applet, or read and followed the FAQ.

saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by saleh » 2012/02/13 15:37:46

This is the output:

[code]
[root@localhost ~]# ls -lF /etc/sysconfig/network-scripts/ifcfg*
-rw-r--r--. 1 root root 254 Oct 7 16:01 /etc/sysconfig/network-scripts/ifcfg-lo
[/code]

[code]
[root@localhost ~]# nm-applet
An instance of nm-applet is already running.
[/code]

and yes, i had read FAQ.
i am sorry for headaches, that i caused to you

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

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by pschaff » 2012/02/13 15:44:20

You should not run [b]nm-applet[/b] as root, nor in general from the command line. It should be started from the icon on the panel from a user's GUI login environment. The command line version is [b]nmcli[/b] but it lacks a lot of the ease of use of the GUI, and may not have all the same functionality. See also [b]nm-tool[/b] and the man pages.

saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by saleh » 2012/02/13 16:13:43

[code]
[saleh@localhost ~]$ nm-tool
NetworkManager Tool State: unknown
** (process:2385): WARNING **: error: could not connect to NetworkManager
[/code]

and there isn't any icon on my panel in GUI login environment.

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

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by pschaff » 2012/02/13 18:13:07

Is the service running?[code]service NetworkManager status[/code]If not[code]service NetworkManager start[/code]

saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by saleh » 2012/02/13 18:39:58

Oh my god, thanks mr.Phil a lot, and i am very sorry again.

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

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by pschaff » 2012/02/13 18:43:12

No need to be sorry. Did that help?

saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

Re: CentOS 6.0 LAN Atheros AR8151 problem

Post by saleh » 2012/02/13 19:41:51

[quote]No need to be sorry. Did that help?[/quote]

Sure, now i have a network connection, the problem has solved.
thanks very much

Post Reply