![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Dec 2007
Beans: 88
|
VPNC stopped working - resolvconf error
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. |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Dec 2007
Beans: 88
|
Re: VPNC stopped working - resolvconf error
bump!
can anyone help me? |
|
|
|
|
|
#3 |
|
Ubuntu addict and loving it
![]() Join Date: Feb 2005
Location: Melbourne, Australia
Beans: 7,838
Ubuntu 9.04 Jaunty Jackalope
|
Re: VPNC stopped working - resolvconf error
VPNC should be creating this itself, but if not, try:
Code:
sudo ln /etc/resolvconf/run/resolv.conf /etc/resolv.conf
__________________
Regards, David. The Forum search function is useful for immediate help (give it a try).
Please mark your thread as "Solved" (using the Thread Tools) when appropriate. |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 2
|
Re: VPNC stopped working - resolvconf error
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. |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 2
|
Re: VPNC stopped working - resolvconf error
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 |
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2009
Location: Zurich, Switzerland
Beans: 15
Ubuntu 9.10 Karmic Koala
|
Re: VPNC stopped working - resolvconf error
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!
__________________
On Lenovo T500 - Intel Cuore 2 Duo P8700 (2.53 Mhz) - 2048 MB RAM. |
|
|
|
|
|
#7 | |
|
Just Give Me the Beans!
![]() Join Date: Apr 2006
Beans: 62
|
Re: VPNC stopped working - resolvconf error
Quote:
![]()
__________________
http://tllts.org - The Linux Link Tech Show http://mythtvcast.com - The MythTVCast |
|
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2006
Beans: 11
|
Re: VPNC stopped working - resolvconf error
thanks onthenarrowpath. your instructions worked for me.
|
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2009
Location: Zurich, Switzerland
Beans: 15
Ubuntu 9.10 Karmic Koala
|
Re: VPNC stopped working - resolvconf error
Glad I could help
__________________
On Lenovo T500 - Intel Cuore 2 Duo P8700 (2.53 Mhz) - 2048 MB RAM. |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2007
Beans: 5
|
Re: VPNC stopped working - resolvconf error
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 |
| Thread Tools | |
| Display Modes | |
|
|