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 
/home/bsdserver/mail/FreeBSD-Questions 

[]´s

--
Rafael Mentz Aquino
BSDServer - FreeBSD - Servidores - Internet
[EMAIL PROTECTED]
51 - 4063 - 6269
51 - 9725 - 4311


-- Original Message ---
From: Jerry McAllister [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Fri, 1 Jun 2007 11:51:31 -0400
Subject: Re: purging old mail

 On Fri, Jun 01, 2007 at 09:45:49AM +0200,
  [EMAIL PROTECTED] wrote:
 
  Hi all, 
  I'm setting up a FreeBSD 5.4 system that need to run unattended for a year 
  or more.
  I've noticed that the /var/mail/root file grows a bit over time.
  
  Do I need to configure the system in some way to prevent this file from 
  growing indefinately, filling up the /var partition?
  If so - how?
 
 You could either create a routine to rotate the file - maybe syslogd 
 could do it.  Or, set up an alias to forward the email messages
 to another place.  These would be log and security messages.  You 
 could forward them to /bin/null, but I think it is bad form to
 automatically nuke security messages.
 
 Note also that /var/log will grow over time.  The usual solution
 is to use the syslog utility to manage those files so they roll
 over at appropriate times and old ones eventually get removed
 at some interval you set.
 
 jerry
 
  
  Mats Lindberg
  
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 -- 
 Esta mensagem foi verificada pelo sistema de antivírus e
  acredita-se estar livre de perigo.
--- End of Original Message ---


-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

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


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;
- Clean arp tables;

After that, when the script turns ppp on, everything works.

If the problem is with the physical equipment, I once use python
with telnet module to automatically log via telnet on the modem
and send the command to reboot it.

[]´s

--
Rafael Mentz Aquino
BSDServer Ltda.
0 xx 51 - 9725 4311

-- Original Message ---
From: Nejc Skoberne [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Cc: Gregor Likar [EMAIL PROTECTED]
Sent: Fri, 17 Nov 2006 08:59:06 +0100
Subject: Restarting DSL connection without reboot?

 Dear community,
 
 I am having continuous problems with ADSL connections and FreeBSD servers.
 I am running a few dozens of FreeBSD boxes and today in the morning 
 a lot of them were without internet connectivity. Looks like our 
 provider had some maintenance work or something.
 
 What happened: the tech guy at one of the customers first rebooted 
 the server 2 times and then he called me. We tried together:
 
 1. first we tried to ping an internet IP address and the reply was 
 Nobuffer space available. After that we did killall -9 ppp 
 until all theppp processes died. After that we ran /etc/rc.d/ppp-
 user (it's a 5.3 box)again but the connection wouldn't come up 
 (no route to host, when pinging).
 
 2. After reboot everything worked as it should.
 
 I really don't like to reboot servers as soon as they lose DSL connectivity.
 Is there any proper way to reset the connection (network card?) so 
 that the connection restores without a reboot?
 
 Previously I've been running Linux on these servers and at that time 
 I didn't have these problems - a reset of modem would always resolve 
 the problem.
 
 Mostly I am using rl network cards, if that's an helpful info, but somewhere
 I also have sis and others.
 
 My ppp.conf:
 
 default:
   set log Phase Chat LCP IPCP CCP tun command
   set ifaddr 10.0.0.1/0 10.0.0.2/0
 SiOL:
   set device PPPoE:rl0
   set authname user
   set authkey pass
   set dial
   set login
   set redial 5 0
   add default HISADDR
 
 My ppp.linkup:
 
 MYADDR:
   !bg sh -c /sbin/pfctl -f /etc/pf.conf
 
 My rc.conf (ppp entries):
 
 ppp_enable=YES
 ppp_profile=SiOL
 ppp_mode=ddial
 ppp_nat=NO
 
 Thanks for your help,
 Nejc
--- End of Original Message ---

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


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 from 4.x to 6.x. I agree that this is a very risky task,
but before the first production server, I tried more than 40 times
(not kidding) in my test lab.

[]´s

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

-- Original Message ---
From: Daniel Gerzo [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sun, 17 Sep 2006 22:32:05 +0200
Subject: Re: rebooting into single user mode on a remote server

 Hello pobox,
 
 Saturday, September 16, 2006, 8:47:04 PM, you wrote:
 
  Hello,
 
  could somebody help me to understand the best way to enter into a single
  user mode on a remote server.
 
  I need it for the moment, during rebuilding world, when I have to reboot
  into single user mode before 'mergemaster -p'.
 
 I don't want to persuade you to something that is not officially
 supported, but I have never booted into single user mode while
 upgrading my FreeBSD boxes and I have never experienced any problems
 because of this. Just try to skip the reboot step and go ahead. It
 works(tm) for me this way.
 
 If you are paranoid, try to stop all running services except the ssh
 deamon.
 
 -- 
 Best regards,
  Danielmailto:[EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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
interface?

Thanks!

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

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


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 [EMAIL PROTECTED]
To: David Stanford [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wed, 26 Jul 2006 07:53:31 -0600
Subject: Re: help installing FreeBSD

 
  If I'm not mistaken, I believe this is a  long-time bug in the installer.
  I've installed several times seeing this error and never had a problem.
  However, to be safe you could always manually specify the geometry of your
  disk in the fdisk utility during install.
 
  I'm confused. At what point are you pressing Alt-F2? There isn't any point
  during the installation, that I can think of, that requires you hitting
  Alt-F2. Though, in reference the short error message above, I would first
  recommend verifying the checksum of your ISO and then reburning it - start
  with the simple things :).
 
  -David
  --
 
 I'm sorry, I think I didn't explain it very well...
 When I choose the media type, a message is shown warning that 
 '...this is the last chance... we can take no responsabillity. I 
 hit 'ok' and then a message appears saying 'writing partitions...' 
 and a few seconds later appears one message saying  'Unable to make 
 new root filesystem on /dev/ad0s1a! Command returned status 36' 
 (sometimes the 'Command returned status 1'). I hit 'ok' and then 
 appears: 'Couldn't make filesystems properly. Aborting'. And finally 
 the last message I receive is 'Instalation completed with some 
 errors. You may wish to scroll through...' At this point is where I 
 press Alt+F2 and the errors (the WRITE_DMA errors) are shown. Is not 
 necessary to press Alt+F2 but I read it somewhere. I hope you know 
 now where do these errors are shown, if not please respond me again 
 and I'll try to explain it better. By the way, I don't think is the 
 checksum because I was trying to install FreeBSD 5.4 at first and 
 the same error occured, but I will check the checksum, is just 
 that... excuse my ignorance, but what is the checksum of my ISO 
 image and how do I verify it Sorry I know that is a stupid question...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


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 8825

-- Original Message ---
From: Marwan Sultan [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tue, 25 Jul 2006 11:21:46 +
Subject: vpn connection users+server

 Hello everyone,
 
   Well, because really i didnot get an answer from the list regarding
   release internet access based on time+auth.
 
   SO I thought of the VPN connection,
   i'm on fbsd 6.1R acting as internet gateway, i dunt want the users 
 to randmly share the internet  Is it possible (and how to)  create a 
 vpn connection thats  the user need to use to authnticate to the 
 gateway server by a valid user/password
 
   then the server will allow this user to have the internet,
   is it possible?
   the handbook scenario is for two networks sides,
 
   Is it possible between a user and the gateway server?
 
   Please your answers is highly appreciated.
 
 Marwan
 
 _
 FREE pop-up blocking with the new MSN Toolbar - get it now! 
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


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 172.16.0.0/16 to any 80 via xl1 out
add fwd 192.168.1.1 ip from 192.168.1.2 to any
add divert 8668 ip from any to 10.0.0.1 via xl1 in
add divert 8668 ip from 172.16.0.0/16 to any via xl1 in 
...

Suposing your default gateway is 10.0.0.1 and alternative gateway
is 192.168.1.1 and your network is 172.16.0.0, with this rules
your web requests are going through alterative gateway, and all the
rest through default gateway

Another way is using pf, where you can even do a round robin use
of both gateways, as in http://www.openbsd.org/faq/pf/pools.html.

[]'s

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

-- Original Message ---
From: Atom Powers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tue, 25 Jul 2006 08:18:02 -0700
Subject: Re: Multiple gateways?

 You need to have only one default gateway.
 But you can use routed to configure other gateways.
 Note: without a routing daemon all your gateways are default 
 gateways, this will almost certainly cause you problems.
 
 On 7/25/06, Reuben A. Popp [EMAIL PROTECTED] wrote:
  Hello all,
 
  Another quick question here.. I have a box with dual gb nics and I was 
curious
  if there was a relatively easy way to connect it to two separate gateways.
  For example, em0 is configured to be 10.223.223.223 with a gateway of
  10.223.223.254 and em1 is configured to be 10.224.224.224 with a gateway 
of
  10.224.224.254.
 
  TIA
  Reuben A. Popp
 
  Information Technology Department
  East Central College
  1+ 636 583-5195 ext 2480
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
[EMAIL PROTECTED]
 
 
 -- 
 --
 Perfection is just a word I use occasionally with mustard.
 --Atom Powers--
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 the source tree and reinstall the STABLE modules.

[]'s

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

-- Original Message ---
From: Erik Norgaard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tue, 25 Jul 2006 08:44:06 +0200
Subject: How to use kernel modules from CURRENT on STABLE

 Hi:
 
 I have had some problems, it seems that the drivers in -STABLE does 
 not support my hardware fully. So I want to try out drivers on 
 -CURRENT without switching the whole system up to current.
 
 What is the best way to do this?
 
 - checkout current and copy the relevant source into the stable 
 source   tree? - checkout and compile -CURRENT kernel and then copy 
 relevant kernel   modules? - or won't work at all? problems with 
 linking? other?
 
 It appears that most modules don't have a separate make file, how do 
 I compile just the module in question?
 
 Thanks, Erik
 -- 
 Ph: +34.666334818  web: http://www.locolomo.org
 X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
 Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 of time...

You can do this with squid + apache + php + postgresql + pf/ipfw...

Just to start thinking on a complete solution.. ;-)

[]´s

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

-- Original Message ---
From: Marwan Sultan [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Mon, 24 Jul 2006 23:29:22 +
Subject: users based on time+ath (Please)

 Hello gurus,
 
   Please, Please! if someone can help me, how to setup any an 
 accounts system based on time and auth
 
   I'm On FreeBSD 6.1R its acting as a internet gateway for a comlex 
 of 30 appartments.  the internet to this box is connected thro a dsl 
 and its up/running,
 
   Well, We want to bill whoever sharing our internet connection on a 
 monthly bases  so basically, I want to release internet access based 
 on time+auth.  and to manage those users.
 
   I have been told to use  squid.
   as i know squid is a cache server?
 
   just, where to start to setup a system, that will force the user 
 to enter a user/password  to connect to the internet? considering my 
 freebsd is the gateway?  how to manage those users? any packages,
 
   what shall i do? My manager would kill if i dunt accomplish this 
 mission :(
 
 Marwan
 
 _
 Don't just search. Find. Check out the new MSN Search! 
 http://search.msn.com/
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


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 pattern and run
the same services, and the customization is made remotely and automatically,
I installed a brand new 6.1 in a new HD, customized everything NOT MACHINE
DEPENDENT, and made a root.tar.gz, usr.tar.gz and var.tar.gz.

It's not a state-of-art, because I'm installing it all untarging it... 
But as long as I don't need to visit 70 building (in places like the attic,
under some water reservatory), it worked very well for me.

If you are interested on giving it a try (I made about 20 of those in
laboratory before start to do it on production servers) I can send
my annotations.

One of the best advantages is that it only requires two reboots,
keeping a very low downtime, and all of your configuration files are still
there after the final rebooting, in case you forget something. And it
only requires some space on the /, /var and /usr partitions...

Best regards!

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

-- Original Message ---
From: albi [EMAIL PROTECTED]
To: Hr. Daniel Mikkelsen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Sent: Fri, 21 Jul 2006 15:52:31 +0200
Subject: Re: Run existing FreeBSD installation inside jail

 On Fri, 21 Jul 2006 15:40:03 +0200
 Hr. Daniel Mikkelsen [EMAIL PROTECTED] wrote:
 
  Mikhail Vladimirov wrote:
  
   I want to try the following trick:
   
   1. Install FreeBSD 6.x-STABLE on the separate HDD, while it is
   inside my home PC.
   2. Place this HDD into server, make it bootable.
   3. Boot new system, and mount old HDD (with FreeBSD 4.x and all old
   stuff)
   4. Setup jail inside new system, which will run old system.
   5. Now I have all services running, and I can transfer it to new
   system one by one quietly.
   
   I believe, that FreeBSD is backward compatible, and all my stuff,
   which successfully run on 4.x sill run inside jail on 6.x.  I am
   right?  Did anybody tried to do something like this?  What was the
   results?
  
  Hi.
  
  It might work well enough for your services to run, depending on what
  they are.
  
  I'd insert two new steps in between 3 and 4:
  
  3b: Tar down a copy of the old system.
  3c: Upgrade the old system in place (mergemaster, installworld, etc.)
  to the same version your new system is running.
 
 the original poster didn't say whether the services were from ports
 and/or base
 
 if from ports only then your suggestion (3c) could perhaps lead to
 problems (that is upgrading base and not upgrading ports, or am i wrong
 here ?)
 
 FYI, from experience i know that e.g. the config-file of dovecot changed
 (different syntax), so you can't just switch from 4.x to 6.x and keep
 all your config-files from the old setup for software from the ports
 
 in that case you need to first get a working setup for your services 
 for
 6.x before switching completely, but other than that the original 
 plan sounds good
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


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 freebsd-questions@freebsd.org
Sent: Wed, 7 Jun 2006 21:29:10 -0400
Subject: Re: portupgrade question (solved)

 I did define the to environment variables. For some reason, wget 
 works just fine on the same machine.
 
 Thanks a lot.
 
 On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:
  On Wed, Jun 07, 2006 at 04:35:12PM -0400, Michael S wrote:
   wget works like magic. I used the defaults. fetch I guess is the
   FreeBSD default for fetching files from the web. It was having
   problems fetching files from FTP sites.
   No idea what the problem is.
 
  Try setting FTP_PASSIVE_MODE.  This is set in the default login class,
  but perhaps you have modified it.
 
  Kris
 
  
   On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:
   On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
Good day everyone!
   
I have a portupgrade related question. I am behind a proxy and fetch
doesn't appear to cope with it very well.
   
   What did you try?  fetch works fine with proxies for the rest of us :)
   
   Kris
   
   
   
  
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


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 system with cvsup...

Just a though... ;-)

--
Rafael Mentz Aquino
BSDServer Ltda.
Porto Alegre - RS
Brasil
51 - 9847 8825

-- Original Message ---
From: Dave [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wed, 7 Jun 2006 16:56:25 -0400
Subject: compiling ports to packages on fast system, installing on slower one

 Hello,
 I was wondering if this was possible? I've got a box that i'd 
 like to install the latest gnome 2.14 desktop on, as well as some 
 very intense apps to build. I would like to compile the needed apps 
 on my fastest machine as packages, then transfer all the packages to 
 the slower box, and do a pkg_add * and they're all installed. My 
 catch is i don't want to install everything on my fastest box to 
 pull this off. I am using portupgrade and was wondering if this was doable?
 Thanks.
 Dave.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Locale problem after upgrade 5.4 to 6.1

2006-05-23 Thread Rafael Aquino

Thanks a lot! At least now I know that I didn´t do anything wrong.

From /usr/src/UPDATING:

...
20050227:
  The on-disk format of LC_CTYPE files was changed to be machine
  independent.  Please make sure NOT to use NO_CLEAN buildworld
  when crossing this point. Crossing this point also requires
  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. 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 mannualy start it, the message was that
  my database couldn?t support LATIN-1 (witch was, before upgrade).
  
  Also the characters that used to work in console (?, ?, ...) don?t work 
  anymore.
 
 Something changed with locale support between 5.x and 6.x; check the
 release notes, UPDATING, etc.  There's also a compatibility package.
 
 Kris


--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

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


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 mannualy start it, the message was that
my database couldn´t support LATIN-1 (witch was, before upgrade).

Also the characters that used to work in console (ç, ã, ...) don´t work 
anymore.

Below is my profile, rc.conf, login.conf and master.passwd:

#rc.conf
...
keymap=br275.iso.acc
font8x8=cp437-8x8
font8x14=cp437-8x14
font8x16=cp437-8x16
scrnmap=iso-8859-1_to_cp437
...

#Profile
...
export LC_ALL=pt_BR.ISO8859-1
export LC_TYPE=pt_BR.ISO8859-1
export LC_CTYPE=pt_BR.ISO8859-1
export MM_CHARSET=ISO-8859-1
export USE_LANG=pt_BR.ISO8859-1
export LANG=pt_BR.ISO8859-1
...


#login.conf
...
portuguese|Portuguese:\
  :charset=ISO-8859-1:\
  :lang=pt_BR.ISO_8859-1:=
  :tc=default:
...

#pw usershow root:
root:*:0:0:portuguese:0:0:Charlie :/root:/usr/local/bin/bash

Before upgrade everything was fine. If I install it using 6.x CD sets also
works fine with these parameters.

Thanks a lot!

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

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