resolvconf

matteo filippetto matteo.filippetto at gmail.com
Mon Sep 14 13:45:46 UTC 2009


2009/9/14 Kaushal Shriyan <kaushalshriyan at gmail.com>:
> Hi,
>
> I am following this link
> http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html.
> when i run that script by hand, i get
>
> ./domain.up
> resolvconf: Error: No interface name specified
> Usage: resolvconf (-u|-d IFACE|-a IFACE)
> /etc/resolvconf/update.d/dnsmasq: 60: cannot create
> /var/run/dnsmasq/resolv.conf_new.8740: Permission denied
> run-parts: /etc/resolvconf/update.d/dnsmasq exited with return code 2
> /etc/resolvconf/update.d/libc: 112: cannot create
> /etc/resolvconf/run/resolv.conf_new.8747: Permission denied
> run-parts: /etc/resolvconf/update.d/libc exited with return code 2
>
> Am i missing something ?
>
> Thanks,
>
> Kaushal
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Hi,

you have to pass the ethernet device (eth0 or eth1...) to the script

./domain.up eth0

and maybe try to run it with sudo.

Bye


-- 
Matteo Filippetto




More information about the ubuntu-users mailing list