Author Topic: [SOLVED] How to remove a vpnc connection?  (Read 659 times)

Offline ternor

  • Hero Member
  • *****
  • Posts: 1797
[SOLVED] How to remove a vpnc connection?
« on: September 19, 2012, 01:53:13 AM »
Hello.  I recently installed a Cisco vpnc connection thinking in error that I required it.  I have completely removed the software but a *.conf file remains.  It is contained in /etc/sysconfig/network-scripts/vpn.d/vpnc.

When I right-click on the network applet in the system tray, it shows the vpnc connection.  If I select it, nothing happens.

I would like to remove all trace of it.  Can I simply delete the folder /etc/sysconfig/network-scripts/vpn.d/vpnc and its only file (the .conf file) or is there something else I must do?  Will the system panic if it can't find the file and/or folder next time I boot it?

The system tools only configure connections; they do not provide for removal.

The folder /var/run/vpnc is empty.
« Last Edit: September 19, 2012, 03:49:46 PM by ternor »

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15309
  • ┌∩┐(◕_◕)┌∩┐
Re: How to remove a vpnc connection?
« Reply #1 on: September 19, 2012, 06:57:21 AM »
Hello.  I recently installed a Cisco vpnc connection thinking in error that I required it.  I have completely removed the software but a *.conf file remains.  It is contained in /etc/sysconfig/network-scripts/vpn.d/vpnc.

When I right-click on the network applet in the system tray, it shows the vpnc connection.  If I select it, nothing happens.

I would like to remove all trace of it.  Can I simply delete the folder /etc/sysconfig/network-scripts/vpn.d/vpnc and its only file (the .conf file) or is there something else I must do?  Will the system panic if it can't find the file and/or folder next time I boot it?

The system tools only configure connections; they do not provide for removal.

The folder /var/run/vpnc is empty.

If you do go the "delete folder route" I would suggest not deleting the folders/files but move them somewhere safe, that way you can put them back if reequired
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline ternor

  • Hero Member
  • *****
  • Posts: 1797
Re: How to remove a vpnc connection?
« Reply #2 on: September 19, 2012, 03:49:19 PM »
Thanks.  I moved the *.conf file and all is well on re-starting.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10664
  • MLUs Forever!
Re: [SOLVED] How to remove a vpnc connection?
« Reply #3 on: September 19, 2012, 04:03:47 PM »
Did you have a port opened that you need to close? .....  or a port forwarded that you need to cancel?
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline ternor

  • Hero Member
  • *****
  • Posts: 1797
Re: [SOLVED] How to remove a vpnc connection?
« Reply #4 on: September 19, 2012, 05:07:40 PM »
I don't know.  I ran two commands but the connection to the forum fails when I try to post the results.  I'll try pastebin.

Offline ternor

  • Hero Member
  • *****
  • Posts: 1797
Re: [SOLVED] How to remove a vpnc connection?
« Reply #5 on: September 19, 2012, 05:14:51 PM »
I have pasted the commands nmap -sS -O 127.0.0.1 and netstat -nap with results at http://pastebin.com/My7r5AFT

No vpn processes are listed.