From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 4 01:50:27 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1192A16A407 for ; Thu, 4 Jan 2007 01:50:27 +0000 (UTC) (envelope-from bsd.devil@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id C414B13C45A for ; Thu, 4 Jan 2007 01:50:26 +0000 (UTC) (envelope-from bsd.devil@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so2865945nzh for ; Wed, 03 Jan 2007 17:50:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=T6WvA2Rs0o2ElBGU0x3piECcrqsgOBsoQe6y+OYjIG5k879N7jkrVMLmRfE5iiiQvzXhU4FIBm/+mOpv3RLzuTeWL3h8mvxE2bP5hLXMpMlYznFQQiBA8Cs2RxryQpCWKtRCEv/k5EJL/TZej258OeRgSasXJfaMmZOjZxWNm2Q= Received: by 10.65.137.15 with SMTP id p15mr29006876qbn.1167875426248; Wed, 03 Jan 2007 17:50:26 -0800 (PST) Received: by 10.65.249.17 with HTTP; Wed, 3 Jan 2007 17:50:26 -0800 (PST) Message-ID: Date: Wed, 3 Jan 2007 20:50:26 -0500 From: "Vishal Patil" To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org. In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: vpnc problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2007 01:50:27 -0000 I have found the answer to this question. I basically had to edit the vpnc-script and replace the body of the function "get_default_gw" with netstat -r -n | sed 's/default/0.0.0.0/' | grep '^0.0.0.0' | awk '{print $2}' So now I have vpnc-0.3.3 working on FreeBSD. - Vishal On 1/1/07, Vishal Patil wrote: > > I am trying to use vpnc 0.3.3 on FreeBSD 6.1 but I get the following > errors > > route: bad address: > delete net default > > Also this completely screws up the network on my machine :( > Has anyone being successfully in using vpnc 0.3.3 on FreeBSD 6.1? > Thanks. > > - Vishal > > >