ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: resolvconf

Subject: Re: resolvconf
From: Derek Broughton
Date: Mon, 14 Sep 2009 16:53:39 -0300
matteo filippetto wrote:

> 2009/9/14 Kaushal Shriyan <kaushalshriyan@xxxxxxxxx>:
>>
>> I am following this link
>> http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html.

I get a 404 there...

>> when i run that script by hand, i get
>>
>> ./domain.up
>> resolvconf: Error: No interface name specified
> 
> you have to pass the ethernet device (eth0 or eth1...) to the script
> 
> ./domain.up eth0
> 
> and maybe try to run it with sudo.

resolvconf is really not _meant_ to be run by hand, and yes it would need to 
be run by sudo (as it is normally invoked by, iirc, dhclient and has to have 
privilege to modify /etc/resolv.conf).
-- 
derek


-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

<Prev in Thread] Current Thread [Next in Thread>