problems on OpenSolaris

Jeff Haferman jeff at haferman.com
Mon Jan 25 00:39:15 EST 2010


David Woodhouse wrote:
> On Sun, 2010-01-24 at 15:49 -0800, Jeff Haferman wrote:
>> 
>> My question now is:  what is the proper way to disconnect?  I have been
>> doing a control-c, and the process says it receives an interrupt, but
>> doesn't seem to stop, so I control-c again and I notice that it doesn't
>> properly restore the resolv.conf, and that I have to manually restore my
>> connection to my non-VPN network.
> 
> Ah, I managed to get into my Solaris VM and think I see the problem.
> It's trying to delete the IPv6 default route on the VPN, even when your
> VPN only provides Legacy IP. That causes a DNS lookup which will take a
> while before it times out.
> 
> If you hit ^C a second time you'll end up leaving the /etc/resolv.conf
> in place which says '@VPNC_GENERATED@' in it, and then it kind of goes
> downhill from there.
> 
> Please could you update vpnc-script from the git repository, ensure you
> don't have that tag in your /etc/resolv.conf and test again.
> 

Thanks David.
This sounds very reasonable... I was just being impatient.  I will
update my vpnc-script (making sure no tag in my /etc/resolv.conf)
and will test again... I may not get to it until later tomorrow, but by
the sounds of it I'm betting we have this one figured out.
Jeff

p.s. I looked through the vpnc-script and realized you test for the
existence of 'ip' and that test should redirect to /dev/null, I'll try to
figure out why it's not re-directing.





More information about the openconnect-devel mailing list