Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: vpnc: devel
scripts help
 

Index | Next | Previous | View Flat


paulf at free

Nov 26, 2007, 2:09 PM


Views: 4888
Permalink
scripts help

Hi

I've just been having a go at getting vpnc 0.5.1 to work. This is on
Solaris Express Developer Edition 09/07 with Sun Studio 12. It compiled
quite easily (though with a few warnings). I had to twiddle the Makefile
to get it to use ginstall rather than install.

When I ran vpnc, it looks like the connection is being made, but I had
problems with vpnc-script and vpnc-disconnect.

The most glaring thing is that these are bash scripts (maybe ksh as
well, I didn't test) but they claim via #!/bin/sh to be Bourne shells.

Here is the end of the output (IP addresses substituted for XXX etc):
ifconfig: setifflags: SIOCSLIFFLAGS: tun0: no such interface
add host XXX: gateway YYY: entry exists
route: gateway required for add or delete command
add net default: gateway ZZZ: Network is unreachable
VPNC started in background (pid: 1313)...

/etc/resolv.conf didn't look good:
#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
domain OLD NEW
nameserver AAA

nameserver BBB

Hmm, two domains, not one?
AAA and BBB look reasonable.

It looks to me as though the ifconfig and route parts are failing.

Has anyone had similar problems?

A+
Paul

_______________________________________________
vpnc-devel mailing list
vpnc-devel[at]unix-ag.uni-kl.de
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/

Subject User Time
scripts help paulf at free Nov 26, 2007, 2:09 PM
    Re: scripts help jmvpnc at loplof Nov 28, 2007, 8:50 AM
        Re: scripts help paulf at free Nov 28, 2007, 1:02 PM
    Re: scripts help jmvpnc at loplof Nov 28, 2007, 11:17 AM
        Re: scripts help paulf at free Nov 29, 2007, 12:26 PM
            Re: scripts help jmvpnc at loplof Nov 30, 2007, 9:24 AM
        Re: scripts help paulf at free Nov 29, 2007, 1:50 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.