medibuntu

Matthew Flaschen matthew.flaschen at gatech.edu
Sun Feb 1 04:57:43 UTC 2009


Pastor JW wrote:
> On Saturday 31 January 2009 10:30:09 am Pastor JW wrote:
> 
> To update my findings on this matter I manually added 192.168.2.1 to the 
> Domain Name System in Knetwork-Manager and the browser will now go to those 
> two it wouldn't before!

Great!

> Nope, it was removed by network-manager during reboot.

Somehow, I'm not surprised.

  Adding it manually again makes it work again
> until of course I shut down the laptop.  So when did network-manager last 
> update and what did they change which made this happen?  Problem with dumping 
> network-manager is then I'd have to set up each hotspot manually to use it 
> during my day of travels.  

Automatically connecting to strange, unsecured wireless networks is a
security risk, yet this does appear to be NetworkManager's default behavior.

Anyway, you can apparently
(http://bbs.archlinux.org/viewtopic.php?id=50466) keep using
NetworkManager and still use the prepend option in dhclient.conf.
dhclient.conf is another (besides resolvconf) standard method for
modifying resolv.conf permanently.

Put:

prepend domain-name-servers 192.168.2.1;

in /etc/dhcp3/dhclient.conf.  Note, don't use the lines given on the
linked page.

There should be an existing line that starts with prepend domain-name,
but commented out (with #).  Just put the new line above that one.

Then restart networking.

I'm amazed NetworkManager requires people to use config files for this
when normally it just overwrites or ignores such files.  Don't they
realize this will cause them end users to get cooties?</sarcasm>

Matt Flaschen




More information about the kubuntu-users mailing list