View previous topic :: View next topic |
Author |
Message |
nyk Guru
Joined: 28 Aug 2004 Posts: 527 Location: Bern (Switzerland)
|
Posted: Sat Jul 19, 2008 2:52 pm Post subject: Strange VPNC problem |
|
|
It used to work, but now suddently, it's broken. What could be the reason for this?
Code: |
thinkpad nyk # vpnc
/etc/vpnc/vpnc-script: line 222: /var/run/vpnc/resolv.conf-backup: No such file or directory
|
|
|
Back to top |
|
|
BrummBrumm n00b
Joined: 04 Jan 2008 Posts: 58
|
Posted: Sat Jul 19, 2008 4:02 pm Post subject: |
|
|
it seems to me that something in line 222 of /etc/vpnc/vpnc-script attemps to access /var/run/vpnc/resolv.conf-backup and fails :)
SCNR |
|
Back to top |
|
|
nyk Guru
Joined: 28 Aug 2004 Posts: 527 Location: Bern (Switzerland)
|
Posted: Sun Jul 20, 2008 1:25 pm Post subject: |
|
|
Yes, but why? I didn't have time to write that this only happens when I try to use VPNC over PPP. When using LAN or WLAN, it works without problems. So an update of ppp or vpnc seems to have problems with managing DNS servers.
My resolv.conf looks like this right now (connected by PPP, VPNC inanctive):
Code: |
nyk@thinkpad ~ $ cat /etc/resolv.conf
#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
# Generated by dhcpcd for interface eth
|
|
|
Back to top |
|
|
nyk Guru
Joined: 28 Aug 2004 Posts: 527 Location: Bern (Switzerland)
|
Posted: Sun Jul 20, 2008 1:50 pm Post subject: |
|
|
I found the solution:
This removed 3 obsolete files. Then restarting ppp (twice) and now it works again using vpnc on ppp in the train... |
|
Back to top |
|
|
|