Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-13-2009, 04:22 PM   #1
Registered: Oct 2003
Posts: 68

Rep: Reputation: 15
want ubuntu 8.10 to connect to network on BOOT, but still have Network Manager work


I have a laptop running kubuntu 8.10. When I turn it on, I want to to connect automatically to my wireless router. So I set up a stanza in /etc/network/interfaces to do this:

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
        wireless-essid Airstation
        wireless-mode managed
        wireless-ap 00:18:11:9c:1D:6G
This works fine. However: when I then login to my computer, I want Network Manager to still work, so if I am not at home or not near my router, I can then connect to other available networks.

But Network Manager (knetworkmanager) does not seem to want to manage this connection. Its icon on my panel is a little world, instead of bars like it should be when a network is connected. When I tell it to "Disable Wireless," nothing seems to happen.

I have tried changing my /etc/NetworkManager/nm-system-settings.conf files, to set "managed=true" instead of false under [ifupdown]. This seems to make my stanza in the /etc/network/interfaces files get ignored on boot, though, so my computer won't connect.

How can I have both my automatic connection to a network on boot (via the /etc/network/interfaces entry) and have Network Manager work so I can connect to other networks when not at home?

Alternatively, how can I reset my config files on the fly and restart networking, so Network Manager will work correctly, without having to reboot? It seems like when I try to do this (/etc/init.d/networking restart), it keeps saying my wlan device is busy.

Please help me to solve this, any help appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI network-manager-vpnc doesn't connect over wired connection only jhernandez1270 Linux - Newbie 1 02-04-2009 04:14 PM
Network Manager refuses to connect r1d3r Linux - Networking 2 01-20-2009 01:42 AM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 11:05 AM
Network Manager 0.7 doesn't work or something wrong with my network card? G3N1USS Linux - Networking 0 12-06-2008 03:07 PM
network-manager in FC6 tries to connect to non-existent network notiones Fedora 3 12-22-2006 10:31 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration