Re: purging old mail

2007-06-01 Thread Rafael Aquino
Hi there, I use an application that you can find in /usr/ports/mail/archmbox. Using it with crontab, you can make it delete you x days old mails from any file in mbox format. I use it in my newsletter mbox, so I don´t have to worry about old mail. 0 2 * * * /usr/local/bin/archmbox -k -o 30

Re: Restarting DSL connection without reboot?

2006-11-17 Thread Rafael Aquino
Hi, there, For the servers that I use pppoe I use to create scripts that tests the connection to the internet, and, in case of a problem, they restart everything (logically speaking). Things I use to care: - Kill the ppp process and destroy tun interface; - Put interface down for 2-3 seconds; -

Re: rebooting into single user mode on a remote server

2006-09-18 Thread Rafael Aquino
Hi there... Just to contribute, I also ALWAYS upgrade my systems without single user mode, for remote reasons... ;-) Same instructions: shut down all services, except inetd/ssh, installworld, mergemaster and reboot... I even posted in this list, months ago, a step-by-step to remotely upgrade

carp and nat

2006-08-01 Thread Rafael Aquino
Hi there, I started to configure two firewall to work with carp+pfsync. I got everything done and working, but it seems thant I can't make nat on pf work properly. Just to know: does nat on pf work fine when using carp? Do I have to do the nat on the carp interface or on the physical

Re: help installing FreeBSD

2006-07-26 Thread Rafael Aquino
Hi there, As far as I know, this is a hardware problem. Everytime I experienced that, it was the HD... The same machine with another equal HD didn't show the same problem. []'s -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 -- Original Message --- From: adrian esquivel

Re: vpn connection users+server

2006-07-25 Thread Rafael Aquino
Hi there... I sent and answer about time_auth last night... Perhaps you've missed it... ;-) But if you're thinking about authentication BEFORE starts to surf the web, besides mpd4 (which is a good choice too) you can give RADIUS a try... []'s -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847

Re: Multiple gateways?

2006-07-25 Thread Rafael Aquino
Hi there, With ipfw you can do multiple diverts and natds on different ports, choosing which traffic will use wich gateway by source or destiny. xl0 = 192.168.1.2 - gw 192.168.1.1 xl1 = 10.0.0.2- gw 10.0.0.1 ... add divert 8669 ip from any to 192.168.1.2 via xl0 in add divert 8669 ip from

Re: How to use kernel modules from CURRENT on STABLE

2006-07-25 Thread Rafael Aquino
When you do a make depend in /usr/src/sys/i386/conf/KERNEL/ you are just compiling the modules... You could make a copy of the source tree (for backup reasons), upgrade to CURRENT, do a make depend and test the modules you want. If it just doesn't work at all you can revert to the backup copy of

Re: users based on time+ath (Please)

2006-07-24 Thread Rafael Aquino
One way to do that is to redirect the client/connection to a webpage that asks for a user and password, which when validated inserts the client IP address / mac address as a dynamic rule in the firewall and some parallel control using crontab (or custom way) to delete the rule after an amount

Re: Run existing FreeBSD installation inside jail

2006-07-21 Thread Rafael Aquino
Hi there... I developed a step-by-step guite to remotely upgrade a 4.x to 6.x, with the only inconveniece of keep using UFS1. That's because I'm responsible for about 70 servers without video and keyboard in diference places around the town. As long as all the servers have a installation

Re: portupgrade question (solved)

2006-06-08 Thread Rafael Aquino
I solved thid problem after export to the environment the variable FETCH_CMD=fetch -p. -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 -- Original Message --- From: Michael S [EMAIL PROTECTED] To: Kris Kennaway [EMAIL PROTECTED] Cc: FreeBSD Mailing List

Re: compiling ports to packages on fast system, installing on slower one

2006-06-08 Thread Rafael Aquino
Hi, there... One way to do it is to run a portupgrade -n ... to see what would be upgraded, then compile it on the fastest system, export the /usr/ports through nfs and then run a portupgrade -w -W ... using the exported filesystem on the slower system... Don't forget to sincronize both ports

Re: Locale problem after upgrade 5.4 to 6.1

2006-05-23 Thread Rafael Aquino
recompile or reinstall of all locale depended packages. ... Rafael Aquino On Mon, 22 May 2006 18:12:39 -0400, Kris Kennaway wrote On Mon, May 22, 2006 at 07:52:56PM -0200, Rafael Aquino wrote: Hello ALL, I use to set all my systems to pt_BR.ISO8859-1, and everytime works perfect

Locale problem after upgrade 5.4 to 6.1

2006-05-22 Thread Rafael Aquino
Hello ALL, I use to set all my systems to pt_BR.ISO8859-1, and everytime works perfect. The ports that are sensible for locale always uses the correct language (Apache, Postgresql, etc). After upgrate from 5.4 to 6.1, I realize that postgresql wasn´t starting up with rc.d script. Trying to