This is the error Im getting when I try to VP in:
resolvconf: Error: /etc/resolv.conf must be a symlink
so even tho Im "connected" Im not actually connected, so I cant connect to my network shares.
This is the error Im getting when I try to VP in:
resolvconf: Error: /etc/resolv.conf must be a symlink
so even tho Im "connected" Im not actually connected, so I cant connect to my network shares.
bump!
can anyone help me?
Regards, David.
Please use the Forum search and Wiki search for immediate help
Please mark your thread as Solved when appropriate
New to technical forums?: How To Ask Questions The Smart Way
This is a problem for me too after doing the latest round of updates. The problem isn't that /etc/resolv.conf doesn't exist, the problem is that it's being created/overwritten as an actual file (rather than symlink) each time you start vpnc. I created the symlink (as suggested above) and it was removed and overwritten by a new copy of resolv.conf when I launched vpnc.
The 'vpnc' process remains running after the error but doesn't seem to actually be connected.
dcstar was nearly correct in his advice. I fixed this by removing /etc/resolv.conf and then:
ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf
Actually, for me it required to follow the following steps (I learned from launchpad, bug #324233):
Before:
$ ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 30 2009-08-16 13:38 /etc/resolv.conf
$ sudo mkdir /etc/postfix
$ sudo touch /etc/postfix/main.cf
$ sudo rm /etc/resolv.conf
$ sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf
$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 31 2009-08-16 13:42 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf
$ sudo reboot
After:
$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 31 2009-08-16 13:42 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf
Hope it helps!
thanks onthenarrowpath. your instructions worked for me.
Glad I could help .
I have the very same problem and your fix is working. I restart my system and everything is fine, BUT after the next restart my symlink is gone and nothing is working!!!
Does anyone know how this can be? Why do I lose my symlink?
Best regards
JohnTwenty
BTW: Ubuntu 9.10 on a Asus EEEPC 1005
Bookmarks