resolvconf

Derek Broughton derek at pointerstop.ca
Mon Sep 14 19:53:39 UTC 2009


matteo filippetto wrote:

> 2009/9/14 Kaushal Shriyan <kaushalshriyan at gmail.com>:
>>
>> 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





More information about the ubuntu-users mailing list