802.11a/b/g/n listed at atheros

2007-05-05 Thread WizLayer

Just a question
Browsing though messages, doing some googling, I came across the mis-linked 
page from the ath driver man page.  So there's the list of cards...

Next question (and yes I've read the handbook)...  

The handbook states that it supports 802.11a/b/g.

Well, in that list of cards at atheros.com, I found several cards listed as 
802.11n (backwards compabible, of course).

My question is this.  How safe would it be to assume that the ath driver would 
use this (n standard) card as an 802.11g?  Furthermore, would the native 
802.11 layer be the only thing holding the card back?  IOW, when the layer is 
updated to 802.11n, would the card then be fully functional?

This has been somewhat of a learning curve, so forgive me if the questions 
seems foolish.  Two weeks ago, I knew nothing about how wireless worked (I've 
only had to set them up on windows boxes before.  What can I say? :) ).

So should I wait to buy the card or should I find something limited to the g 
spec?

Thanks,

WizLayer

---

Life is better with a BSD.
For more info, www.bsd.org.

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


Re: Xorg Modular

2007-05-05 Thread Scot Hetzel

On 5/5/07, Jason Hills [EMAIL PROTECTED] wrote:

On 5/5/07, Philipp Ost [EMAIL PROTECTED] wrote:
 Jason Hills wrote:
  Is there any prevision when will it be on ports? Will beryl, aiglx and
  stuff come along?

 Kris did announce it some days ago. You'll want to check the archives of
 ports@ ;)


 Philipp

Yeah, Kris mentioned something like that in a private mail, but google
didnt help me, nor
http://lists.freebsd.org/pipermail/freebsd-announce/ :(


It was announced on the freebsd-ports lists that modular Xorg is being
imported, and that the ports tree was to be frozen until the import is
completed:

Try looking in:
http://lists.freebsd.org/pipermail/freebsd-ports/

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Qemu Network with two virtual boxes

2007-05-05 Thread P.U.Kruppa

Hi!

I am trying to connect two virtual Qemu boxes to my real 
network. This is what I would like to set up:



  | DSL Bridge to Internet|
   ---
 |
___ _|_
Real LAN |---|  192.168.10.1 |
---|   FreeBSD 6.2 |
   || ||
   |  __|_____|__  |
   | | 192.168.10.5|  | 192.168.10.6 | |
   | |   Win2k on  |  |  FreeBSD on  | |
   | | Qemu|  | Qemu | |
   |  ---  |
---

My real LAN uses 192.168.10.1 as gateway to the Internet.

For now I can only connect one of the two virtual boxes to my 
real network, but not both. This is how I do it:


# kldload aio kqemu if_tap bridge
# sysctl net.link.ether.bridge_cfg=rl0,tap0
# sysctl net.link.ether.bridge.enable=1
# qemu-system-x86_64 -hda Win2k.img -m 512 -localtime \
  -net tap -net nic

When now I try to connect the second virtual box, it will steal 
the first box's network connection.


Ah, yes: This is my /etc/qemu-ifup
#!/bin/sh
ifconfig ${1} 0.0.0.0

Thanks for your help,

Uli.


Peter Ulrich Kruppa
Wuppertal
Germany

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


Re: Creating an rc.d script for Jboss Web

2007-05-05 Thread Charles Mason

It sounds like you haven't used the ports version of JBoss.  The ports
versions may have prewritten scripts that would do what you want:

/usr/ports/java/jboss2
/usr/ports/java/jboss3
/usr/ports/java/jboss4
/usr/ports/java/jboss5


Jboss Web is not the same as the Jboss application server. Jboss Web
is a fairly new is a lite wight servlet server like Tomcat. Jboss
application server is a full J2EE application server which uses
tomcats web serving engine as a front end.

Jboss Web is a Tomcat replacement not an application server
replacement. Its basically an optimised version of Tomcat. Where all
the static file serving java code has been replaced with extremely
efficient native code. Hence why it needs to be rebuilt for each
platform. Basically it uses Tomcat derived code for serving sevlets
and Apache derived code for when a static file is requested. Hence
there's no need to front Tomcat with Apache any more.

There is no version of Jboss Web in the ports collection. I was
thinking it might be possible to extract the rc.d from the the Jboss 4
port, although I am not quite sure where the ports scripts store there
rc.d scripts.

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


Re: Routing between subnets

2007-05-05 Thread Eygene Ryabinkin
Neo, good day.

Fri, May 04, 2007 at 07:27:20PM +0200, Neo [GC] wrote:
 Config at home (deleted all unnessesary):
 
 Output of ifconfig:
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=8VLAN_MTU
 inet 192.168.2.2 netmask 0xff00 broadcast 192.168.2.255
 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
 inet 10.10.0.6 -- 10.10.0.5 netmask 0x
 
 
 Config at the VPN-server:
 
 Output of ifconfig:
 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
 inet 10.10.0.1 -- 10.10.0.2 netmask 0x

It will be good if you will provide the picture of the network: I
see two tunnels here (10.10.0.6:10.10.0.5 and 10.10.0.1:10.10.0.2)
and no signs of how these are connected to each other and where
the endpoints of tunnels are situated.
-- 
Eygene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


qmail virtual domain and alias

2007-05-05 Thread Noah



Since I am not getting a response from the qmail list - well there are a 
bunch of knowledgeable members here.  So...


okay i collect mail for two domains with overlapping aliases.  the
acutal host name of the server is globs.domain.com

so there is
[EMAIL PROTECTED]
and
[EMAIL PROTECTED]

there is a

.qmail-globs file working fine for mail arriving at [EMAIL PROTECTED]

but then I placed the virtualdomains the line:

[EMAIL PROTECTED]:blobs

and then I created an alias file
.qmail-blobs-globs

but it does not work and the sender receives a bounce claiming user
[EMAIL PROTECTED] not found.

what can I do about this?

Cheers,

Noah

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


Re: Creating an rc.d script for Jboss Web

2007-05-05 Thread Warren Block

On Sat, 5 May 2007, Charles Mason wrote:


There is no version of Jboss Web in the ports collection. I was
thinking it might be possible to extract the rc.d from the the Jboss 4
port, although I am not quite sure where the ports scripts store there
rc.d scripts.


There's a template for a startup script in the files directory:

/usr/ports/java/jboss4/files/startup.sh

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail virtual domain and alias

2007-05-05 Thread Noah

Hi John,

hahaha - now that is a funny response.

I thought my explanation was fairly clear.  Also domain.com is a sample 
domain name and really has nothing to do with the issue at hand.  Sample 
domain names are used all the time In examples and should not hinder 
arriving or providing solutions to configuring qmail aliases and 
virtualdomains.


cheers,

noah


John Levine wrote:
Since I am not getting a response from the qmail list - well there are a 
bunch of knowledgeable members here.  So...


We saw your question on the qmail list, but we couldn't answer it because
you're not telling us what you're really doing.  (Unless you are the
registrant for domain.com, which you are not.)

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


Re: qmail virtual domain and alias

2007-05-05 Thread John Levine
Since I am not getting a response from the qmail list - well there are a 
bunch of knowledgeable members here.  So...

We saw your question on the qmail list, but we couldn't answer it because
you're not telling us what you're really doing.  (Unless you are the
registrant for domain.com, which you are not.)

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


Re: qmail virtual domain and alias

2007-05-05 Thread David Benfell
On Sat, 05 May 2007 08:35:43 -0700, Noah wrote:
  Hi John,
 
  hahaha - now that is a funny response.
 
  I thought my explanation was fairly clear.  Also domain.com is a sample 
  domain name and really has nothing to do with the issue at hand.  Sample 
  domain names are used all the time In examples and should not hinder 
  arriving or providing solutions to configuring qmail aliases and 
  virtualdomains.
 
But particularly in anything that has anything to do with domains, one
approach is to test configurations externally for problems that may not
be apparent internally.  In order to do this, you must provide accurate
information.


-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgp3EB8Oc6JPu.pgp
Description: PGP signature


Re: qmail virtual domain and alias

2007-05-05 Thread John L
I thought my explanation was fairly clear.  Also domain.com is a sample 
domain name and really has nothing to do with the issue at hand.  Sample 
domain names are used all the time In examples and should not hinder arriving 
or providing solutions to configuring qmail aliases and virtualdomains.


The problem is almost certainly that you have a typo in a control file 
somewhere.  Since you are unwilling to show us the actual contents of 
those control files, it is unlikely that we can help you.  If you think it 
would be a security problem if people knew your real domain, you have 
worse problems to fix than a few e-mail forwards.


If you read the qmail list, you will have seen many, many exchanges along 
these lines.  If you want real help, post real data.


Regards,
John Levine, [EMAIL PROTECTED], Primary Perpetrator of The Internet for 
Dummies,
Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor
More Wiener schnitzel, please, said Tom, revealingly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating an rc.d script for Jboss Web

2007-05-05 Thread Charles Mason

There's a template for a startup script in the files directory:

/usr/ports/java/jboss4/files/startup.sh



I have hacked togeather a Jboss Web version of the Jboss4 port which
handly means I can use the binary deamon control program that the
Jboss4 port uses, and its rc.d script.

Thanks for the info.

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


after deleting maillog, sendmail won't log

2007-05-05 Thread David Banning
I deleted my maillog files and for some reason sendmail will not 
log again. I have tried touch maillog to start a new file name
and i have tried all different permissions on the the empty maillog
file. In each case I have restarted sendmail.

Any idea what I need to get logging happening again?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: after deleting maillog, sendmail won't log

2007-05-05 Thread Jonathan Horne
On Saturday 05 May 2007 11:43:42 David Banning wrote:
 I deleted my maillog files and for some reason sendmail will not
 log again. I have tried touch maillog to start a new file name
 and i have tried all different permissions on the the empty maillog
 file. In each case I have restarted sendmail.

 Any idea what I need to get logging happening again?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

any output in /var/log/messages that pertains to the problem?

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


Re: after deleting maillog, sendmail won't log

2007-05-05 Thread Howard Goldstein

David Banning wrote:
I deleted my maillog files and for some reason sendmail will not 
log again. I have tried touch maillog to start a new file name

and i have tried all different permissions on the the empty maillog
file. In each case I have restarted sendmail.

Any idea what I need to get logging happening again?


Did you restart syslogd?

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


Re: after deleting maillog, sendmail won't log

2007-05-05 Thread Dick Hoogendijk
On Sat, 5 May 2007 12:22:21 -0500
Jonathan Horne [EMAIL PROTECTED] wrote:

 On Saturday 05 May 2007 11:43:42 David Banning wrote:
  I deleted my maillog files and for some reason sendmail will not
  log again.

Just deleted the logs? Or did you do a cat /dev/null  logfile
The latter works OK; the first would require a syslogd restart.

-- 
Dick Hoogendijk -- PGP/GnuPG key: F86289CE
++ http://nagual.nl/ + Solaris 10 11/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail virtual domain and alias

2007-05-05 Thread Noah

forget it.  I am switching to another MTA that is easier to use.

cheers,

Noah


John L wrote:
I thought my explanation was fairly clear.  Also domain.com is a 
sample domain name and really has nothing to do with the issue at 
hand.  Sample domain names are used all the time In examples and 
should not hinder arriving or providing solutions to configuring qmail 
aliases and virtualdomains.


The problem is almost certainly that you have a typo in a control file 
somewhere.  Since you are unwilling to show us the actual contents of 
those control files, it is unlikely that we can help you.  If you think 
it would be a security problem if people knew your real domain, you have 
worse problems to fix than a few e-mail forwards.


If you read the qmail list, you will have seen many, many exchanges 
along these lines.  If you want real help, post real data.


Regards,
John Levine, [EMAIL PROTECTED], Primary Perpetrator of The Internet for 
Dummies,

Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor
More Wiener schnitzel, please, said Tom, revealingly.

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


Perl Script in Apache

2007-05-05 Thread White Hat
I tried to get an answer to this on the Apache forum,
but unfortunately, I was not successful.

Running Apache on a FreeBSD-6.2 machine, I am
attempting to set up a web page that changes a
specific image on a daily basis. I found a Perl script
that is supposed to do this, but it seems to fail. All
that is displayed is a red [X]. If I run the script
from the command line, it works, as it should. Well,
at least it displays the correct file name.

I assume I am doing something wrong with the actual
web page, or else I am incorrectly calling the Perl
script.

This is a commented version of the script.

=

To display an image simply use this in your HTML:
img
src=/usr/local/www/apache22/data/perl_script.pl

#!/usr/local/bin/perl

# find out the day of the year
my $day_of_year = (localtime(time()))[7];

# define the path where the images live . is the
current directory
$path = /usr/local/www/apache22/data/pics;
# read all the jpg, gif or png filenames from the
directory into an array
opendir(DIR, $path);
@files = grep { /\.(jpg|gif|png)$/i } readdir(DIR);
closedir(DIR);

# sort the filenames alphabetically
@files = sort( {lc $a cmp lc $b} @files);

# count the number of images
$no_of_images = scalar(@files);

# Now the fun bit :) We loop through the images once
before
# repeating them in the same order. If we divide the
current
# number of day of the year by the number of images in
the
# directory we get the number of times have repeated
the images.
# We are interested in the remainder of this
calculation (this
# is calculated using the % operator). Note - there
must be
# less than 365 images in the directory! We need to
subtract
# one from this number because arrays start at zero
not 1!
if ( $no_of_images = $day_of_year ) {
  $image_to_use = ($day_of_year % $no_of_images)-1;
}
else {
  $image_to_use = $day_of_year-1;
};
print Location: $files[$image_to_use]\n\n;

=


-- 
White Hat 
[EMAIL PROTECTED]


 

Looking for earth-friendly autos? 
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone dual booted freebsd/vista yet?

2007-05-05 Thread Jerry McAllister
On Fri, May 04, 2007 at 07:09:16PM -0500, Jonathan Horne wrote:

 On Friday 04 May 2007 16:01:38 Jeff Palmer wrote:
  At 03:26 PM 5/4/2007, Jonathan Horne wrote:
  Has anyone successful configured a freebsd/vista dual boot, and if so, how
  did you get around this issue?
  
  Thanks,
  --
  Jonathan Horne
  [EMAIL PROTECTED]
  http://dfwlpiki.dfwlp.org
 
  Jonathan,
 
  you may want to search the archives.   I posed this same question a
  while back,  and then found a working solution.   It involved getting
  rid of the freebsd boot manager,  and migrating to grub 0.94
 
  Jeff
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 well, i hate it when this happens, but somehow i fixed it, but i have no idea 
 what i did to eliminate the problem.  unfortunatly, my methods were not very 
 scientific, and i didnt bother to test after each step i took.  things i did 
 that could have been the fix:
 
 1) inserting the vista install cd, and letting it run thru a repair session.  
 it went kinda quick, and i didnt pay close attention to what it was doing, 
 but it appeared to know exactly what the problem was and what to do.  after 
 this, i am 95% positive that it booted back into vista without pausing at the 
 freebsd loader (ie, had restored the original bootloader).  unfortunatly, i 
 cant say for sure.
 
 2) as i was installing the gag per recommendation, this ended what appeared 
 to 
 be successfully, but in the end, i didnt have gag.  i was back at a working 
 freebsd loader, and it now boots into either freebsd or vista without any 
 complaints at all.
 
 *scratches head*
 
 oh well, ill take it.  :)

Something about gift horses -- does it still apply in this age of 
technology.   I think so.

jerry

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


disaster recovery - did I do the right thing?

2007-05-05 Thread Ray
Hello all,
I did something stupid the other day (sleep deprivation combined with 
a clever hack were the main reasons), and I'm just curious if I did the 
right thing afterwards.

The mistake:
/usr/local/# rm -f *
note that root was running bash as a shell at the time, found 
in /usr/local/bin or something.

What I did was to start over, reinstall from scratch.
my question, was there an easier way?
thanks,
Ray 

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


Re: disaster recovery - did I do the right thing?

2007-05-05 Thread Martin Tournoij
On Sat 05 May 2007 17:05, Ray wrote:
 Hello all,
 I did something stupid the other day (sleep deprivation combined with 
 a clever hack were the main reasons), and I'm just curious if I did the 
 right thing afterwards.
 
 The mistake:
 /usr/local/# rm -f *
 note that root was running bash as a shell at the time, found 
 in /usr/local/bin or something.
 
 What I did was to start over, reinstall from scratch.
 my question, was there an easier way?
 thanks,
 Ray 

You can use pkg_info -ga to check for missing files in your packages.

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


Re: disaster recovery - did I do the right thing?

2007-05-05 Thread Garrett Cooper

Martin Tournoij wrote:

On Sat 05 May 2007 17:05, Ray wrote:

Hello all,
I did something stupid the other day (sleep deprivation combined with 
a clever hack were the main reasons), and I'm just curious if I did the 
right thing afterwards.


The mistake:
/usr/local/# rm -f *
note that root was running bash as a shell at the time, found 
in /usr/local/bin or something.


What I did was to start over, reinstall from scratch.
my question, was there an easier way?
thanks,
Ray 


You can use pkg_info -ga to check for missing files in your packages.



For (t)csh:
alias rm rm -i

For (ba)sh:
alias rm=rm -i

Now that you've learned :).

Martin's suggestion is good though -- would have done that considering 
that all that lived in /usr/local were ports.


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


FreeBSD with Duel Processors

2007-05-05 Thread Martin McCormick
Is there anything special I need to do to make FreeBSD6.2 make
use of both CPU's on a Dell 2650 mother board?

The boot messages indicate that the OS knows about the 2
CPU's.  Is this correct?

I heard some rumors that one has to give some sort of
kernel directive but I haven't found anything yet.  This system
will be a secondary DHCP server.  Many thanks

ACPI APIC Table: DELL   PE2650  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) XEON(TM) CPU 1.80GHz (1794.19-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
  
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
  Logical CPUs per core: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1041784832 (993 MB)

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disaster recovery - did I do the right thing?

2007-05-05 Thread Jerry McAllister
On Sat, May 05, 2007 at 05:05:42PM -0600, Ray wrote:

 Hello all,
 I did something stupid the other day (sleep deprivation combined with 
 a clever hack were the main reasons), and I'm just curious if I did the 
 right thing afterwards.
 
 The mistake:
 /usr/local/# rm -f *
 note that root was running bash as a shell at the time, found 
 in /usr/local/bin or something.
 
 What I did was to start over, reinstall from scratch.
 my question, was there an easier way?

Sure, just restore what you need from those backups you have 
so diligently been making --- :-)

jerry

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


Mailman - Problems, virtual-mailman not created

2007-05-05 Thread Beech Rintoul
I just installed Mailman for the first time and virtual-mailman is not 
being created. I'm using postfix and have the following in mm_cf.py:

MTA = 'Postfix'
POSTFIX_ALIAS_CMD = '/usr/local/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/local/sbin/postmap'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain1.org', 'domain2.com']

Running genaliases created the aliases db, but there is no 
virtual_mailman or db.

The virtual domains work and receive mail. What do I do next? Trying 
to create a new list in those domains resulted in not found errors.

I've scoured the docs and I seem to have everything setup properly. 
Anyone have experience with this?

Beech
-- 
---
Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
---



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


Re: disaster recovery - did I do the right thing?

2007-05-05 Thread George
On Sat, May 05, 2007 at 06:10:36PM -0700, Garrett Cooper wrote:
 Martin Tournoij wrote:
  On Sat 05 May 2007 17:05, Ray wrote:
   The mistake:
   /usr/local/# rm -f *
   note that root was running bash as a shell at the time, found 
   in /usr/local/bin or something.
   
   What I did was to start over, reinstall from scratch.  my
   question, was there an easier way?
  
  You can use pkg_info -ga to check for missing files in your
  packages.
 
 For (t)csh:
 alias rm rm -i
 
 For (ba)sh:
 alias rm=rm -i

Or for more fun and amusement:

touch -- /usr/local/-i

Unfortunately, the OP explicitly used the -f switch, so the alias
suggestions wouldn't have helped.  

Personally, I'd recommend learning from the mistake (we've all done at
least once) and being more judicious when entering commands,
particularly any 'force' switches, and making regular use of dump(8).
That would avoid circumvent the possibility of developing the unwelcome
habit of typing 'rm -f' to compensate for the increased level of
interaction if aliasing 'rm -i'.  Which may be why the OP got into
trouble.




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


Re: disaster recovery - did I do the right thing?

2007-05-05 Thread Martin Tournoij
On Sat 05 May 2007 18:05, Garrett Cooper wrote:
 Martin Tournoij wrote:
 On Sat 05 May 2007 17:05, Ray wrote:
 Hello all,
 I did something stupid the other day (sleep deprivation combined with a 
 clever hack were the main reasons), and I'm just curious if I did 
 the right thing afterwards.
 
 The mistake:
 /usr/local/# rm -f *
 note that root was running bash as a shell at the time, found in 
 /usr/local/bin or something.
 
 What I did was to start over, reinstall from scratch.
 my question, was there an easier way?
 thanks,
 Ray 
 You can use pkg_info -ga to check for missing files in your packages.
 
 For (t)csh:
 alias rm rm -i
 
 For (ba)sh:
 alias rm=rm -i
 
 Now that you've learned :).
 
 Martin's suggestion is good though -- would have done that considering that 
 all that lived in /usr/local were ports.
 
 -Garrett

The problem with this is that it will ask confirmation for every file it
deleted.
Which is gets pretty annoying after a while, also, if you delete a
directory containing a 100 files, you will have to press 'y' a 100
times.
This will probably lead to the habit of using 'rm -f', and/or simply
pressing y all the time without actually looking at the confirmation
message.
In any case, it's not likely to prevent any such accidents.

A better solution would be to write a script that would move files
instead of deleting them.
You should name this script to something else than rm, when you're
working with a new or foreign system, you will expect rm to move
files, instead of deleting them ... and we can all see another
disaster coming there...

Another hint would be the 'rmstar' option in tcsh, when set, tcsh will
ask confirmation before executing 'rm *'.

Note that aliasing 'cp' and 'mv' to 'cp -i' and 'mv -i' is an
*extremely* wise idea, in the past I have often accidentally overwritten
files that should not have been overwritten, leading to various
problems.

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


The FreeBSD Diary: 2007-04-15 - 2007-05-05

2007-05-05 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: disaster recovery - did I do the right thing?

2007-05-05 Thread Ray
On Saturday 05 May 2007 9:23 pm, Martin Tournoij wrote:
 On Sat 05 May 2007 18:05, Garrett Cooper wrote:
  Martin Tournoij wrote:
  On Sat 05 May 2007 17:05, Ray wrote:
  Hello all,
  I did something stupid the other day (sleep deprivation combined with a
   clever hack were the main reasons), and I'm just curious if I did
   the right thing afterwards.
  
  The mistake:
  /usr/local/# rm -f *
  note that root was running bash as a shell at the time, found in
   /usr/local/bin or something.
  
  What I did was to start over, reinstall from scratch.
  my question, was there an easier way?
  thanks,
  Ray
  
  You can use pkg_info -ga to check for missing files in your packages.
 
  For (t)csh:
  alias rm rm -i
 
  For (ba)sh:
  alias rm=rm -i
 
  Now that you've learned :).
 
  Martin's suggestion is good though -- would have done that considering
  that all that lived in /usr/local were ports.
 
  -Garrett


Thanks, I'll keep that in mind, but there had better not be a next time. 
(anybody have a source for one of those nice white jackets with the really 
long sleeves, just in case? ;)   )

 The problem with this is that it will ask confirmation for every file it
 deleted.
 Which is gets pretty annoying after a while, also, if you delete a
 directory containing a 100 files, you will have to press 'y' a 100
 times.
 This will probably lead to the habit of using 'rm -f', and/or simply
 pressing y all the time without actually looking at the confirmation
 message.
 In any case, it's not likely to prevent any such accidents.

 A better solution would be to write a script that would move files
 instead of deleting them.
 You should name this script to something else than rm, when you're
 working with a new or foreign system, you will expect rm to move
 files, instead of deleting them ... and we can all see another
 disaster coming there...

 Another hint would be the 'rmstar' option in tcsh, when set, tcsh will
 ask confirmation before executing 'rm *'.

 Note that aliasing 'cp' and 'mv' to 'cp -i' and 'mv -i' is an
 *extremely* wise idea, in the past I have often accidentally overwritten
 files that should not have been overwritten, leading to various
 problems.


good ideas, and I may use some of them,
but wouldn't have helped in this case. I _wanted_ to erase all the files in 
this directory (I thought). Due to a softlink and name confusion (a clever 
hack) I wasn't in the directory I thought I was.
You live, you learn.
Ray

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


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