Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using

yum remove NetworkManager

from the system, so that I could have more control of the network through the command line. But the result is, I didn't manage to configure the wireless connection through wpa_supplicant , and I need wireless connection during my travel.
I tried to reinstall using :

yum install NetworkManager

Some version installed, but I didn't get an icon in the taskbar, and of course, the network doesn't work. The package I previously removed (about 24MB) was much larger that the one I just installed(about 2MB), I think some dependencies must be missing.

How could I Reinstall network manager correctly to restore my connectivity?

share|improve this question

migrated from serverfault.com Nov 4 '12 at 2:37

This question came from our site for professional system and network administrators.

2 Answers 2

Did you check the Wiki page for NetworkManager

Install :

yum install NetworkManager

Check if running or Start if not:

service NetworkManager status

Start if it's not running:

service NetworkManager start
chkconfig NetworkManager on

Disable network and wpa_supp services as stated in Wiki:

chkconfig network off
chkconfig wpa_supplicant off

And Reboot. To open it's GUI:

nm-applet
nm-connection-editor

UPDATE 1:Check out Reinstall all dependencies of a given package?

share|improve this answer
    
Thank you for the answer. I've run all the commands you listed, still no avail. Opening the GUI using nm-applet and nm-connection-editor would return "command not found". –  Yang Jy Nov 3 '12 at 8:12
    
Check with yum whatprovides */nm-applet and yum whatprovides */nm-connection-editor what packages you need to install as well. –  Alexander Janssen Nov 3 '12 at 8:22
    
@YangJy Updated my answer. –  xperator Nov 3 '12 at 8:39
    
@alexanderJanssen thank you for the comment, as now I have no Internet access on the laptop in question, I'll check your commands later. :) –  Yang Jy Nov 3 '12 at 10:45
    
@xperator Thank you again, it really helps :) –  Yang Jy Nov 3 '12 at 10:45

To identify discrepancy in packages removed/installed, you can check /var/log/yum.log*. Scroll back to where NetworkManager is removed, and look at all the packages removed with the same datestamp (removed because they depended on NetworkManager).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.