Fedora Linux Support Community & Resources Center
  #1  
Old 24th April 2012, 11:22 PM
StefanJ Offline
Registered User
 
Join Date: Nov 2006
Posts: 103
linuxfirefox
Do I really need Network Manager?

I manage RHEL servers at work. I configure interfaces manually by jiggering around with the scripts in /etc/sysconfig/network-scripts.

But that's not what I'm asking about. I just want to provide some bona fides.

My Toshiba laptop has been happily running Fedora since F13. I used preupgrade to seamlessly upgrade to F15, and a few months back to F16.

A week or so ago, the wireless link began to flake on me. KDE Deamon would request access to the wallet, and I'd be asked to type in the "secret" for my wireless network. I couldn't actually get this to work, so I'd reboot. This became more and more common and last night I thought I'd remove and reinstall the connection.

Since I knew how to muck with those config scripts . . . how hard could it be?

Well, two concatenated words: NetworkManager. Wrapped around my laptop's network devices like Borg Implants around Jean-Luc Picard's amygdala.

In /var/log/messages I see my laptops's wireless interface get recognized, assigned wlan0, and then declared "managed" and made unavailable.

I've tried using NetworkConfiguration GUI, but I just can't get wlan0 to the point where it can find my home network.

So . . . what's easier? Learning the convoluted muck of NetworkManager, or uninstall it and try to get it working manually?

The only "gotcha" is that this is a wireless connection, and I suspect that NetworkManager is providing the "hey, there's your wireless network, I'll take care of connecting and providing the right keys" service.

/venting
Reply With Quote
  #2  
Old 25th April 2012, 12:43 AM
Thetargos Online
Registered User
 
Join Date: May 2004
Location: Mexico City, Mexico
Age: 36
Posts: 4,422
Actually for wireless
Is one of the best applications of Network Manager. I do reckon, however, that it can act up some times. With your issue at hand, I guess the root problem might have to do with a driver acting up, or lingering coffing files from your previous installs. Preupgrade is great, but it isn't perfect, yet. More often than not I've had my share of conflicting config files Lying around the file system after an upgrade... Needless to say identifying problems stemming from them can sometimes be difficult.

Sent on the move
__________________
If ain't broken, don't fix it! :eek:
If can be improved, go for it! :cool:

FedoraForum Community forums lurker.
Fedora user since RHL 5.2 :cool:

Systems: Laptop, Main System, Netbook.
Reply With Quote
  #3  
Old 25th April 2012, 02:48 AM
StefanJ Offline
Registered User
 
Join Date: Nov 2006
Posts: 103
linuxfirefox
Re: Do I really need Network Manager?

Thanks, I was afraid that the wireless angle would make removing NetworkManager problematical.

Where, besides /etc/sysconfig/network-scripts, should I look if I wanted to manually root out previous network configuration state?

Ideally, I would like to start fresh. The system does not seem to have any trouble recognizing the wireless hardware. I'd like NetworkManager or system-config-network to "find" this hardware for the first time and automagically get it going.

After all, it did that when I installed Linux to begin with.All I had to do was pick the network and put in the WEP key.

---------- Post added at 06:48 PM ---------- Previous post was at 04:53 PM ----------

Well, this is frustrating.

I hooked up my laptop to a router via Cat5, did a yum update out of a matter of course, rebooted, and rolled up my sleeves to figure out why wlan0 was mussed up.

And on scanning /var/log/messages, saw that wlan0 had grabbed an IP address.

I pulled the Ethernet cable and sure enough, the wireless connection picked up and . . . well, I'm using it now.

According to several threads here, recent F16 kernels had trouble with wireless drivers. But I was only behind a little (3.3.2-1 to 3.3.2-6) and did not think that was what was responsible. And the connection was intermittent, not down.

Sheesh.

Marked as solved.
Reply With Quote
  #4  
Old 25th April 2012, 03:16 AM
Thetargos Online
Registered User
 
Join Date: May 2004
Location: Mexico City, Mexico
Age: 36
Posts: 4,422
While the drivers do not change between releases of the same version, some patches from fedora may do change the 802.11 stack, yielding erratic behavior.

Sent on the move
__________________
If ain't broken, don't fix it! :eek:
If can be improved, go for it! :cool:

FedoraForum Community forums lurker.
Fedora user since RHL 5.2 :cool:

Systems: Laptop, Main System, Netbook.
Reply With Quote
  #5  
Old 25th April 2012, 11:36 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,076
linuxfirefox
Re: Do I really need Network Manager?

Don't use WEP unless you have to ;-)
Reply With Quote
  #6  
Old 25th April 2012, 01:12 PM
plasmonics Offline
Registered User
 
Join Date: Feb 2009
Posts: 61
linuxfirefox
Re: Do I really need Network Manager?

Quote:
Originally Posted by StefanJ View Post

Since I knew how to muck with those config scripts . . . how hard could it be?
You can try using this guide. It is a bit old and does not take into account that F16 now uses systemctl instead of systemVinit. However, I got it to work in F16. It assumes that you use WPA2, not WEP. http://fedoraforum.org/forum/showthr...highlight=wpa2
Reply With Quote
  #7  
Old 26th April 2012, 07:58 AM
akelsaman Offline
Registered User
 
Join Date: Apr 2012
Location: Cairo, Egypt
Posts: 5
linuxfirefox
Re: Do I really need Network Manager?

I think actual configuration always help to catch the missing
this is my actual configuration without NetworkManager

[CODE]
sudo service NetworkManager stop
sudo chkconfig NetworkManager off
I think actual configuration always help to catch the missing
this is my actual configuration without NetworkManager

Code:
sudo yum install wpa_supplicant
# you may be find it installed by default
# if you find any error return to RFKILL only do the next
sudo yum rfkill
sudo rfkill list
# will appear list of yourwireless an bluetooth interfaces marked with numbers
sudo rfkill unblock YOUR_WIRELESS_INTERFACE_NUMBER
Code:
sudo vi /etc/wpa_supplicant.conf

network={
        ssid="MY_WORK_WIRELESS_NETWORK"
        key_mgmt=WPA-PSK
# to get all known type of authentication and more configuration [ man wpa_supplicant.conf ]
        psk="MY_PASSWORD"
}
Code:
sudo service NetworkManager stop
sudo chkconfig NetworkManager off
sudo service wpa_supplicant start
sudo chkconfig wpa_supplicant on
Code:
sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf

-B : run tool as diamond in backgroung.
-i  : your wireless interface.
-c : the configuration file wich we edit.
Code:
sudo vi /etc/sysconfig/network-scripts/wlan0

DEVICE="wlan0"
TYPE="Wireless"
HWADDR="00:26:C6:25:42:3E"
#ESSID="MY_WIRELESS_NETWORK_IF_I_USE_WEP_AUTHENTICATION"
#KEY=""MY_PASSWORD_IF_I_USE_WEP_AUTHENTICATION"
BOOTPROTO="dhcp"
ONBOOT="no"
NM_CONTROL="no"
# WPA="yes" is used to authenticate using WPA through wpa_supplicant tool
WPA="yes"
# WPA2="yes" is used to authenticate using WPA2 through wpa_supplicant tool
WPA2="yes"

Last edited by akelsaman; 26th April 2012 at 08:10 AM. Reason: Add a command and rearrange codes
Reply With Quote
Reply

Tags
manager, network

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora,realtek wireless network card and network manager lodore Servers & Networking 4 5th January 2009 12:39 AM
Slow network traffic / Network manager doesn't work MadVillain Servers & Networking 1 28th July 2008 03:53 PM
Setting Up wifi network using Network Manager in Fedora 9 techman2006 Hardware & Laptops 16 15th June 2008 10:14 AM
FC9. Network manager is always showing -> No network connections found deepforest Servers & Networking 1 2nd June 2008 12:34 PM
Can’t find Network Manager/ Problems with wireless card/network psakhil Servers & Networking 4 5th February 2008 10:22 AM


Current GMT-time: 01:47 (Saturday, 19-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat