Re: testing for substrings in perl

2003-10-05 Thread Fred Souza
> I think it might just be easier to do a straight comparison of the first N > characters of the two strings where N = length of the directory name. > > Any suggestions? You might try index() or substr(). Fred -- "MOTHER: Half a word." pgp0.pgp Description: PGP signature

Re: Changing the NAT IP on demand?

2003-10-05 Thread Fred Souza
> Depends on how much money you have, but had you considered getting your > own address range and BGP peering with your ISPs? I'd consider talking > to them about it. It'll take some time to setup, but it means your > "switching" is done at the router, not at the NAT box, which is the > wrong p

Re: PPP vs mpd (was: FreeBSD lacks PPPoE (pppoa3 solution))

2003-07-12 Thread Fred Souza
> The problem, as I see it, is that the only pppd that supports netgraph is mpd. I don't agree. Our ppp(8) also supports netgraph (I used to use it up to 2 days ago, then I switched - maybe temporarily - to mpd for testing). I use it to connect to my ADSL ISP, using PPPoE. Here's my /etc/

Re: matthew dillon

2003-02-09 Thread Fred Souza
> I know I am not the first one thinking this way, the replies will probably > be the same as every time before. > > Please accept my apologizes if I should hit the wrong person, but someone > really does not behave in a acceptable way here and I just wanted to > complain about it, to let people k

libkvm breakage?

2002-12-12 Thread Fred Souza
Hello, I've written a small daemon that simply keeps scaning a set of ttys. Whenever it sees that a tty has no processes attached to it, the daemon set the tty's owner:group to whatever was specified. The reason for which I wrote this is that sometimes processes leave orphan ttys (for in

Re: vnconfig

2002-11-29 Thread Fred Souza
> That's right, thank you! But why this simple detail isn't in the manpage?? I agree it's not crystal clear there, but somehow it's mentioned. The manpages says that vnconfig "configures and enables vnode pseudo disk devices", and that "the first form of the command will associate the spec

Re: vnconfig

2002-11-29 Thread Fred Souza
> Hi, Hello > Regarding vn subsystem: since about 4.6-RELEASE vnconfig -d no longer disables >/dev/vn entry. > That means that... > > vnconfig -e /dev/vn > vnconfig -d /dev/vn > vnconfig -e /dev/vn > > gives vnconfig: VNIOCATTACH: Devise busy... > and only kldunload vn helps. Actua

Bad TCP checksum

2002-05-23 Thread Fred Souza
Hi everyone, I'm experiencing something weird with my 4.6-RC box (compile of May 18). What happens is that for some hosts it just won't calculate the checksum properly, and thus my box is unable to start TCP connections to those hosts. Here's a piece of the output of tcpdump: 19:16:55