LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


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

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


Hi,

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:

Code:
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
        address 192.156.0.25
        netmask 255.255.255.0
        broadcast 192.156.0.255
        gateway 192.156.0.1
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

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