Re: sysctl

2004-08-29 Thread Brooks Davis
On Sat, Aug 28, 2004 at 03:22:29AM -0700, Sam Paior wrote: > Dear Friends, > > I'm using the FreeBsd5.2.1 > How do I do to activate the OID? > It shows the message: > root# sysctl security.jail.allow_raw_sockets > sysctl: unknown oid 'security.jail.allow_raw_sockets' Upgrade to RELENG_5. This

Re: Finding MTU

2004-08-29 Thread John-Mark Gurney
Dennis George wrote this message on Sun, Aug 29, 2004 at 19:55 -0700: > Can anybody tell me how to find the MTU (Maximum Transmitting Unit) in freeBSD > programatically... Well, as someone pointed out, you can find it in ifconfig.. but if you want to know the mtu to a specific system, try: netsta

Re: Finding MTU

2004-08-29 Thread Skip Ford
Dennis George wrote: > Can anybody tell me how to find the MTU (Maximum Transmitting > Unit) in freeBSD programatically... The full source for ifconfig(8) is available. No need to ask anyone... http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/ifconfig/ifconfig.c?rev=1.106&content-type=text/x-cvswe

Re: Finding MTU

2004-08-29 Thread Avleen Vig
On Sun, Aug 29, 2004 at 07:55:27PM -0700, Dennis George wrote: > Hi all, > > Can anybody tell me how to find the MTU (Maximum Transmitting Unit) in > freeBSD programatically... Define programatically? With syscalls, or in a way that is easily repeatable? If you just mean the latter, this will d

Re: Serial consoles and remote GDB

2004-08-29 Thread Rob Deker
On Sun, 2004-08-29 at 18:55, Stephan Uphoff wrote: > Hi, > > Try the patch from kern/65278 > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/65278 > Thanks, Looks like that did some good (I have my console back now), but when i either "boot -g" or break into ddb and give it a "gdb" command,

Finding MTU

2004-08-29 Thread Dennis George
Hi all, Can anybody tell me how to find the MTU (Maximum Transmitting Unit) in freeBSD programatically... Thanks in advance Dennis - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone.

Re: Serial consoles and remote GDB

2004-08-29 Thread Jiafu He
--- Rob Deker <[EMAIL PROTECTED]> wrote: > Hi folks, > > New to the list, so please bear with me if this is a question that's > been answered someplace before. I've been searching and can't seem to > find an answer. > > I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot > where

Re: Serial consoles and remote GDB

2004-08-29 Thread Stephan Uphoff
Hi, Try the patch from kern/65278 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/65278 Stephan On Sun, 2004-08-29 at 18:13, Rob Deker wrote: > Hi folks, > > New to the list, so please bear with me if this is a question that's > been answered someplace before. I've been searching and

Re: Serial consoles and remote GDB

2004-08-29 Thread Marcel Moolenaar
On Sun, Aug 29, 2004 at 06:13:12PM -0400, Rob Deker wrote: > > I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot where > my life would be much easier if I had remote GDB for kernel debugging. I > am however using a serial console on this box, and can't seem to get > things working

Serial consoles and remote GDB

2004-08-29 Thread Rob Deker
Hi folks, New to the list, so please bear with me if this is a question that's been answered someplace before. I've been searching and can't seem to find an answer. I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot where my life would be much easier if I had remote GDB for kerne