Page 1 of 1

Problem with the resolvconf package / dhcp

Posted: Fri Jun 01, 2012 5:57 am
by Comradin
Hello,

Im a fresh mint user and stumpled into a problem with the (I guess) resolvconf package.

My dhcp server is configured to push some search-domains. Prior to M13 I had Ubuntu and Fedora running, all with the old resolv.conf style and everything was fine. I could access servers by ping <hostname>. Then the harddisk broke and I was eager to try the latest Mint release. Unfortunatly this release comes with the new resolvconf package and I'am without a search domain and I've not been successful configuring it. :evil:

My system is a fresh installation, no upgrade or migration..

Any suggestions, links or hints for me on how to solve this extremly annoying issue?


Thanks in advance,
Marcus

Re: Problem with the resolvconf package / dhcp

Posted: Fri Jun 01, 2012 6:35 pm
by frantek
I can confirm this. Same here.

Re: Problem with the resolvconf package / dhcp

Posted: Fri Jun 01, 2012 6:59 pm
by frantek
creating a /etc/resolv.conf manually works this BUG around.

Re: Problem with the resolvconf package / dhcp

Posted: Mon Jun 04, 2012 4:52 am
by Comradin
frantek wrote:creating a /etc/resolv.conf manually works this BUG around.
Hehe, but will this resolv.conf file be updated by the dhclient process? Im working with a mobile computer at work and from time to time at home with different search domains.

I got some hints to configure this in the /etc/network/interfaces file, but as my network connection is configured by the NetworkManager package, this file is empty except for the loopback device. ;)


regards,
Marcus

Re: Problem with the resolvconf package / dhcp

Posted: Mon Jun 04, 2012 6:05 am
by Comradin
frantek wrote:creating a /etc/resolv.conf manually works this BUG around.
Ok, I think I solved the problem.

I did an

Code: Select all

sudo dpkg-reconfigure resolvconf
run and activated the option that an link from /etc/resolv.conf to ../run/resolvconf/resolv.conf was created. I guess this is some kind of legacy feature for people updating a machine from the old schema to the new one. Booting my box today I've got entries in the linked resolv.conf with my search domains.

I would like to suggest that this option will be activated by default. Someone know where to suggest this?



regards,
Marcus

Re: Problem with the resolvconf package / dhcp

Posted: Fri Jun 08, 2012 8:38 am
by Minty Tux
I think this can probably be changed to <RESOLVED>

I had the world of problems on my shoulders till I found this topic and the proposed solution to run dpkg-reconfigure worked perfectly :D

I too think this should be the default for a fresh install or at least a prompt of some sort should be issued during installation.

Re: Problem with the resolvconf package / dhcp

Posted: Sat Aug 04, 2012 7:49 am
by reptilezone2002
Comradin wrote:
frantek wrote:creating a /etc/resolv.conf manually works this BUG around.
Ok, I think I solved the problem.

I did an

Code: Select all

sudo dpkg-reconfigure resolvconf
run and activated the option that an link from /etc/resolv.conf to ../run/resolvconf/resolv.conf was created. I guess this is some kind of legacy feature for people updating a machine from the old schema to the new one. Booting my box today I've got entries in the linked resolv.conf with my search domains.

I would like to suggest that this option will be activated by default. Someone know where to suggest this?



regards,
Marcus
yes this worked for me!!!!

Re: Problem with the resolvconf package / dhcp

Posted: Fri Dec 28, 2012 3:24 pm
by satyavacas
To me this situation pops up while using the fortinet ssl-vpn.

Thanks for te resolution.

Re: Problem with the resolvconf package / dhcp

Posted: Tue Jul 16, 2013 3:03 pm
by orange_roughy
thanks for the fix. this is worked for me. i found this thread from http://forums.slimdevices.com/showthread.php?95246-quot-Couldn-t-resolve-IP-address-for-www-mysqueezebox-com-quot-on-plugins-page

hope it helps someone else.