Search domain grayed out in NetworkManager

Questions about cabled networking
Forum rules
Before you post please read this

Search domain grayed out in NetworkManager

Postby a coder on Mon May 07, 2012 11:19 am

I'm being asked to remove the search domain from resolve.conf.
Using LM 11, I am unable to make changes to the search domain listed in /etc/resolv.conf.

user # more /etc/resolv.conf
# Generated by NetworkManager
domain sub.domain.com
search sub.domain.com
nameserver XXX.XXX.2.1
nameserver XXX.XXX.1.1

When I open NetworkManager and go to eth1 -> Wired, the search domain box is a) empty and b) greyed out.

Since the file is generated by NetworkManager, any changes I make to /etc/resolv.conf are lost on reboot.

Why is NetworkManager GUI not listing the search domain it is creating in the resolv.conf file? How do I overcome this?
a coder
Level 1
Level 1
 
Posts: 20
Joined: Thu Mar 15, 2012 2:30 pm

Linux Mint is funded by ads and donations.
 

Re: Search domain grayed out in NetworkManager

Postby a coder on Fri May 11, 2012 11:36 am

bump
a coder
Level 1
Level 1
 
Posts: 20
Joined: Thu Mar 15, 2012 2:30 pm

Re: Search domain grayed out in NetworkManager

Postby DrHu on Fri May 11, 2012 2:19 pm

Adding a search domain Ubuntu..
http://www.cuberick.com/2007/06/how-to- ... buntu.html
Code: Select all
It is really simple.
Edit /etc/dhcp3/dhclient.conf and add the following line in there:
prepend domain-name "thoughtworks.com ";


Working with resolve.conf
http://manpages.ubuntu.com/manpages/luc ... ver.5.html
    search Search list for host-name lookup.
    The search list is normally determined from the local domain
    name; by default, it contains only the local domain name. This
    may be changed by listing the desired domain search path
    following the search keyword with spaces or tabs separating the
    names.
    Note that this process may be slow and will
    generate a lot of network traffic if the servers for the listed
    domains are not local, and that queries will time out if no
    server is available for one of the domains.

net overviews..
https://help.ubuntu.com/10.04/servergui ... ation.html
User avatar
DrHu
Level 15
Level 15
 
Posts: 5889
Joined: Wed Jun 17, 2009 8:20 pm


Return to Ethernet

Who is online

Users browsing this forum: No registered users and 2 guests