Re: vpnc problem

2007-01-03 Thread Vishal Patil

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 [EMAIL PROTECTED] 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




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vpnc problem

2007-01-01 Thread Vishal Patil

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Example network protocol implementation

2006-12-09 Thread Vishal Patil

Could someone point me to an example that shows a SIMPLE network protocol
implemented over TCP/IP inside the FreeBSD kernel. I think I could look at
the NFS client driver but is there an example simpler than that. Also is
there a guide explaining how to go about developing TCP/IP based network
protocols for FreeBSD.
Thanks

- Vishal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Example network protocol implementation

2006-12-09 Thread Vishal Patil

For implementing iSCSI protocol as a kernel driver.

On 12/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Vishal Patil [EMAIL PROTECTED] wrote:

 Could someone point me to an example that shows a SIMPLE network
 protocol implemented over TCP/IP inside the FreeBSD kernel.
 I think I could look at the NFS client driver but is there an
 example simpler than that.

NFS normally runs over UDP, not TCP.  Telnet is one of the simpler
TCP-based applications, but it is not done in the kernel (nor are
most network apps).  Is there some particular reason why you need
an example that is implemented inside the kernel, vs in userland?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tools for FreeBSD development

2006-12-02 Thread Vishal Patil

I have recently moved over from Linux to FreeBSD and would like to if there
is something similar to UML (User Mode Linux) for doing kernel development
for FreeBSD. Reading different mailing lists, wikis etc it seems that qemu
seems to be the best option. Is this tool used by most of the FreeBSD
developers?
Thanks.

- Vishal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]