<quote who="david">

> Just upgraded to Ubuntu 8.10 (from 8.04) and now I'm losing my search
> domain on reboot. I'm using a static address.
>
> If I edit resolv.conf everything is good until I reboot, then resolv.conf
> is re-created without the search domain.
>
> Where should the search domain be stored? I thought it was in
> /etc/network/interfaces but apparently not according to man interfaces.
> Previously there was a line:  dns-search kenpro.com.au
>
> I was expecting something like .gconf/system/networking but that doesn't
> exist and I can't find anything similar.

Never edit the GConf database directly [1], use the tools. In this case, you
want the Network Manager connections editor which you can find by context
clicking on the Network Manager panel icon (then "Edit Connections...") or
"System > Preferences > Network Configuration".

Choose the wired or wireless connection you want to set a search domain for,
and click "Edit". To set the search domain you want the "IPv4 Settings" tab,
static addresses, etc.

Sure, some people don't like Network Manager because it pulls you out of the
comfy configuration files you might be used to, but it does a whole lot of
stuff for you if you don't want to bother with them anymore (or never found
them easy or comfy in the first place -- ie. my Mum).

Also, if you set stuff up in /etc/network/interfaces, Network Manager will
ignore it... at which point the resolvconf package will be a handy way to
manage your resolv.conf settings via /etc/network/interfaces.

:-)

- Jeff

[1] Not because it's impossible to do so, but because it's almost never the
    easiest way to achieve your goals.

-- 
linux.conf.au 2009: Hobart, Tasmania                  http://marchsouth.org/
 
     "I tried to make money ass signing, but the bottom fell out of the
                            market." - Liam Quin
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to