Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th November 2012, 03:54 AM
PolywogSys Offline
Registered User
 
Join Date: Jul 2004
Location: Philadelphia, PA
Posts: 79
linuxfirefox
Angry NetworkManager restart required on boot

Whenever I boot into Fedora 16 (KDE Spin), the network manager system tray icon is set to "M" and it says that NetworkManager startup required. I restart NetworkManager and everything seems to start working normally.

Recently, NetworkManager has stopped listing access points completely. In fact, VPNC config is not listed in my NetworkManager list of items. I need to delete the config, and readd the access point manually. Oddly enough the scan button works and sees all the access points.

At one time I got really ticked off NetworkManager wasn't coming up at all after multiple reboots, and multiple config changes. So I decided to manually configure the wlan0 interface and run vpnc manually, and everything worked fine!

So it's not a problem with the hardware. Even iwlist worked fine to locate access points, even though nothing was showing up on the NetworkManager system tray icon. Other than writing shell scripts to configure my interfaces, what the heck could be going wrong?

Note: consoleKit sometimes comes back with an error upon login saying that the connection with dbus was lost. I usually know that this means NetworkManager won't work AT ALL.

Note: that when I bring up networkmanager configuration screen, and attempt to configure VPN, it says "No agents were available for this request."

Note: this machine is an upgrade from Fedora 14, Fedora 15, to Fedora 16. Could there be some conflicting configuration files?
Reply With Quote
  #2  
Old 6th November 2012, 04:16 PM
PolywogSys Offline
Registered User
 
Join Date: Jul 2004
Location: Philadelphia, PA
Posts: 79
linuxfirefox
Thumbs up [SOLVED] Re: NetworkManager restart required on boot

Since I always use KDE and never used Gnome (it was a KDE Spin distro) it never occured to me that NetworkManager would be a gnome thing, and would require gconf settings. Similarly, the "no agents available" was a gnome-keyring-daemon thing.

To resolve almost a years worth of wasted time fencing with NetworkManager, possibly consoleKit and polKit...
  1. I disabled network.service (so that I use NetworkManager only):
    sudo systemctl disable network.service
  2. I deleted the following directories that were probably sullied by previous installs that were not migrated to the new gnome libs correctly (of courss YMMV if you use gnome and need anything in here):
    rm -rf ~/.gconf ~/.gconfd ~/.gnome2 ~/.gnome2_private
  3. I deleted all of my NetworkManager configurations (except for the Wired one)
  4. I added "gnome-keyring-daemon" to my kde startup programs:
    K -> Search "start" -> AutoStart

I rebooted.

As soon as I logged in, I could see all the wireless networks, and configured them as normal. I could configure my VPN as normal. I was no longer getting those errors about "no agents were available". I thought this was KDE system only, grr pott.

Now if I could only get jovie to automagically start activating and scaring the living daylights out of me.

References:
Reply With Quote
  #3  
Old 12th November 2012, 03:02 PM
Beeblebrox Offline
Registered User
 
Join Date: Mar 2012
Location: Cambridge, UK
Posts: 18
linuxfirefox
Re: NetworkManager restart required on boot

Hi,

I have a very similar problem and thus I would like to reopen this thread.

When I boot my Fedora 16 KDE, sometimes I get a weird bug report telling me that KDE something crashed. NetworkManager ist this blue idle icon which tells me that NetworkManager is not running and I shall start it. Then I try to restart it under service management, but this gives me a bug report as well.
Then I log out, log in again. No plasma error, NetworkManager still not working. Restarting it via service management now works and I can connect to whatever I want to.

I mean, with this boot -> fail ->log out log in -> restart NetworkManager strategy I can work with my Fedora, but it is very annoying. Anybody out there with some advice?

Packages are up to date.

Thanks a lot.
Reply With Quote
  #4  
Old 12th November 2012, 03:48 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfirefox
Re: NetworkManager restart required on boot

Install gnome - bet the problem disappears.

Unfortunately, the developers seem to be focusing on making Fedora a gnome only distribution.

For me, NetworkManager just wouldn't work, so I dumped it and enabled the legacy networks.

No problems since. Note - I don't have any wireless interfaces, and that seems to be the only area NetworkManager gets right.
Reply With Quote
  #5  
Old 12th November 2012, 04:05 PM
Beeblebrox Offline
Registered User
 
Join Date: Mar 2012
Location: Cambridge, UK
Posts: 18
linuxfirefox
Re: NetworkManager restart required on boot

Well, I want to stick with KDE and not switch to gnome :-)

What is this Legacy thing about and how can I try it? Does your comment mean that the legacy thing won't work with wireless connections?

Also, I have to switch between various connections - will it be possible to figure that out with legacy?

Thanks!
Reply With Quote
  #6  
Old 12th November 2012, 05:59 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfirefox
Re: NetworkManager restart required on boot

Quote:
Originally Posted by Beeblebrox View Post
Well, I want to stick with KDE and not switch to gnome :-)

What is this Legacy thing about and how can I try it? Does your comment mean that the legacy thing won't work with wireless connections?
If you disable NetworkManager you can enable "network" as it is part of the SysVinit scripts. You do have to set the configuration files to have "NM_CONTROLLED=no" and have "ONBOOT=yes".

It works for me with static IP configurations (my internal net) and my DHCP controlled network for internet access.

I don't have any wireless connections, so I don't know about them.

Quote:
Also, I have to switch between various connections - will it be possible to figure that out with legacy?

Thanks!
Depends on what you mean by "switch between". If you mean between wired and wireless or between one or another wireless connection, then I'm not sure.
Reply With Quote
  #7  
Old 14th November 2012, 02:21 PM
Beeblebrox Offline
Registered User
 
Join Date: Mar 2012
Location: Cambridge, UK
Posts: 18
linuxfirefox
Re: NetworkManager restart required on boot

Thanks for your answer, but I do need to switch between various wired (static/DHPC) and wireless networks all the time, so I guess your solution is not an option for me, unfortunately.

Does any body else have an idea?
Reply With Quote
Reply

Tags
boot, consolekit, networkmanager, polkit, required, restart, wireless

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
A restart is required trigpoint Using Fedora 4 27th September 2009 03:26 AM
The NetworkManager applet could not find some required resources. It cannot continue bhupesh Using Fedora 8 29th April 2009 03:18 AM
The NetworkManager applet could not find some required resources. It cannot continue jeepfreak Using Fedora 1 19th September 2008 06:55 AM
Linux boot help required jslloyd Installation and Live Media 20 30th December 2006 08:37 AM
module loader required to boot Lissimore Installation and Live Media 1 5th February 2005 02:40 AM


Current GMT-time: 00:07 (Wednesday, 22-05-2013)

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