Intel 82801H High Definition Audio Controller on FreeBSD7.0 Current

2007-10-12 Thread Tsetsbold

I typed this:

#kldload snd_hda
#cat /dev/sndstat/
Intel 82801H High Definition Audio Controller at memory 0xfebfc000 irq 
21 kld snd_hda [20070710_0047] [MPSAFE] (1p:1v/1r:1v channels duplex 
default)

#

Now I have add device sound in Kernel Configuration.

#ee /sys/i386/conf/GENERIC

now I don't know where exactly I have to add device sound.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel 82801H High Definition Audio Controller on FreeBSD7.0 Current

2007-10-12 Thread Alain G. Fabry
On Fri, Oct 12, 2007 at 02:39:59PM +0800, Tsetsbold wrote:
 I typed this:
 
 #kldload snd_hda
 #cat /dev/sndstat/
 Intel 82801H High Definition Audio Controller at memory 0xfebfc000 irq 
 21 kld snd_hda [20070710_0047] [MPSAFE] (1p:1v/1r:1v channels duplex 
 default)
 #
 
 Now I have add device sound in Kernel Configuration.
 
 #ee /sys/i386/conf/GENERIC
 
 now I don't know where exactly I have to add device sound.

Anywhere, but I usually put new things at the bottom of this file.
but you probably also have to add 

device snd_hda



 ___
 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]


Formatting man pages - txt file

2007-10-12 Thread Alain G. Fabry

Hello,

I'd like to get a man page in .txt format.

What I tried was man man  man.txt, but this gives me the man pages with many 
control char.

How can I get a man page to be formatted to a regular .txt file?

Thanks,

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


Re: uid 80: exited on signal 6

2007-10-12 Thread CyberLeo Kitsana
Zbigniew Szalbot wrote:
 szalbot.homedns.org kernel log messages: +++ /tmp/security.BfIqepKO Fri Oct
 12 03:08:35 2007 
 +pid 82543 (httpd), uid 80: exited on signal 6 
 +pid 82542 (httpd), uid 80: exited on signal 6 
 +pid 82541 (httpd), uid 80: exited on signal 6 
 +pid 82537 (httpd), uid 80: exited on signal 6 
 +pid 82533 (httpd), uid 80: exited on signal 6 
 +pid 82536 (httpd), uid 80: exited on signal 6 
 +pid 82535 (httpd), uid 80: exited on signal 6 
 +pid 82534 (httpd), uid 80: exited on signal 6 
 +pid 3653 (httpd), uid 80: exited on signal 6

This means that the httpd child processes are crashing, most likely in
response to a request. Because apache creates child processes
dynamically to handle load (at least, with the default MPM) these
crashed processes are automatically replaced, and the server continues
happily servicing requests.

It might be a good idea to go through your access and error logs and see
if there are any suspicious-looking or unusually long requests that
might be trying to exploit a buffer overflow vulnerability in apache or
a module thereof.

If you are using mod_php, though, it's more likely that it's a bug in
PHP or a PHP extension that's being flushed out by some rarely used
script on your server.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


ECC capability and ACPI warnings

2007-10-12 Thread CyberLeo Kitsana
Hi!

Is there any way, by poking through dmesg or sysctls, to determine if a
machine has, or is capable of using, ECC RAM?

Also, is there an easy way to silence the following warnings in dmesg?
They all appear to be about the serial and parallel ports, which, as far
as I know, the machine does have. They may not be enabled in the BIOS,
however.

acpi0: PTLTD   RSDT on motherboard
ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND
SearchNode 0xc4b47040 StartNode 0xc4b47040 ReturnNode 0
ACPI-1304: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.SIO_.COM1._STA] (Node 0xc4b47040), AE_NOT_FOUND
ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND
SearchNode 0xc4afdce0 StartNode 0xc4afdce0 ReturnNode 0
ACPI-1304: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.SIO_.COM2._STA] (Node 0xc4afdce0), AE_NOT_FOUND
ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND
SearchNode 0xc4afdae0 StartNode 0xc4afdae0 ReturnNode 0
ACPI-1304: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.SIO_.LPT_._STA] (Node 0xc4afdae0), AE_NOT_FOUND

Thanks!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


Amanda failing on sendsize

2007-10-12 Thread Olivier Nicole
Hi,

I just upgraded amanda-client and gtar:

gtar-1.18_1 GNU version of the traditional tar archiver
amanda-client-2.5.1p3_1,1 The Advanced Maryland Automatic Network Disk Archiver

on a 5.5 server

FreeBSD ufo.cs.ait.ac.th 5.5-RELEASE-p15 FreeBSD 5.5-RELEASE-p15 #7: Wed Oct  3 
10:17:29 ICT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

and last night bacup failed with sendsize coredump.

kernel: Oct 12 00:50:59 ufo kernel: pid 64313 (sendsize), uid 14: exited on 
signal 11 (core dumped)


While I am looking at it, any idea about where I could search is welcome.

Best regards,

Olivier

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


Re: BitTorrent configuration in FreeBSD-6.2 -for Large file downloads uploads

2007-10-12 Thread CyberLeo Kitsana
dhaneshk k wrote:
 But how I can use Bittorrent to serve these big files to the remote
 users of my website (so that I can save a lot of bandwidth of  my network 
 connection )  
 
 The Bittorent is installed in this box was(  py24-BitTorrent-4.20.2_1,1 )  . 
 I have the ISO images , but how can I put these ISO's to be served via  
 Bittorrent  how others can accesss these iso's from my webserver through 
 bittorrent 

To serve torrents, you need a tracker, and you need clients to seed.
Fortunately, your server can work as both.

On the subject of trackers:

There are quite a few PHP trackers around, though the one I use is
Torrent Trader Lite. (http://www.torrenttrader.com/) This is a
lightweight tracker that stores all its information in flatfiles, so no
rdbms is necessary. This should be placed on a publicly accessible URL,
so that the people who wish to download via bittorrent can use it.

You may also consider creating and uploading torrents to a popular
public tracker, such as The Pirate Bay, to boost exposure and reduce the
amount of software you must deal with. I would suggest avoiding
registration-required trackers if you're hoping for impulse downloads,
though, as mandatory registration can be a bit of a turnoff for a lot of
people.

On the subject of clients:

There are a myriad of bittorrent clients in existence, but most of them
require some form of graphical interface. You've found one of the best
for console downloading, but it still can't be run in the background
(ignoring for the moment running things in screen). The software I use
for downloading torrents is TorrentFlux (http://www.torrentflux.com/).
It is a PHP webapp frontend to BitTornado (a fork of BitTorrent)
designed to run the torrents in the background, while providing a pretty
interface for controlling them. As this will act as your seed, this
should be kept private and password-protected.

Best of all, both of these solutions can be run through your current
webserver infrastructure, via virtual hosts or simple subdirectories.

After getting your tracker and client set up, you can use TorrentFlux to
create a .torrent file for your chosen ISO or group of ISOs, specify
your tracker's announce URL, register the .torrent file with your
tracker (if necessary) and start seeding, and your bittorrent-savvy
visitors can torrent to their heart's content.

A big notice, though: BitTorrent won't initially save bandwidth,
especially if your server is the only seeder, and may actually be much
slower if the files aren't very popular, as there won't be as many other
visitors to help distribute chunks of the files.

I hope this helps!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Joshua Isom


On Oct 11, 2007, at 5:39 PM, James wrote:


On Thu, 2007-10-11 at 18:14 -0400, Robert Huff wrote:


James writes:


 What has happened, though, is I've never ran rm in
 /usr/ports/distfiles.  I'm going to think for a little bit about
 a script that can move through /usr/ports/distfiles and reinstall
 everything that exists there.


Having been in almost the identical situation for different
rasons, I sympathize.
Yes, this will involve a sweep through /usr/ports distfiles.
If you haven't ever deleted anything, I suggest a prelimiary manual
run deleting everything but the most recent version.  This has a
down-side, but it will prevent cluttering the rebuilt system with
unused ports.



/usr/ports/distfiles is definitely looking promising. awk is too damn
painful to work with, so I'm going to dust off my perl skills.

Hell, this could actually turn out to be fun. And if I write the script
properly, it might make a nice disaster recovery tool
for /usr/ports/ports-mgmt - it can be called
WhenYou'reAnIdiotLikeJamesWasOnFreeBSDQuestions



Well, if you figure out what ports you have installed, you can
regenerate the


pkgdb using:

make -DNO_BUILD -DNO_INSTALL generate-plist fake-pkg

for each port.
I just tested that using a temporary PKG_DBDIR. In case you wanna see 
what

happens, here's what I did:

mkdir -p /tmp/var/db/pkg
cd /usr/ports/shells/bash
env PKG_DBDIR=/tmp/var/db/pkg make -DNO_BUILD -DNO_INSTALL \
generate-plist fake-pkg




Wow, that's great! I understand that it has the caveats that you 
mentioned, but it's

*at least* a fantastic start.

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




If you don't run 'make clean' then you can look for the 'work' 
directory to know if you've installed it or not.  But some of the port 
tools automatically run make clean for you so they would disappear.  A 
simple 'find /usr/ports -type d -name work' would probably work well 
enough unless you wanted it all automated.


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


Re: what kind of UPS will work best?

2007-10-12 Thread Olivier Nicole
Hi,

   the *why*.  Is there a best type to save me from this?  Do any of
   these power supplies come with scripts to shutdown a Unix {or
   Linux} computer?  Is there a UPS that is designed for heavy use 
   and a very short (5- to 10-second) uptime?  I'll need one that can
   interface thru the COM ports or the UBS port, if that is how
   these devices work. 

Sorry if I jump in the thread. When it comes to detecting a power
outage and shutingdown nicely your server, a cheap/easy way is for the
server (on the UPS) to check through the network for a low grade PC
(not on the UPS). If the low grade PC is down, it means the power is
off and the server should consider a shutdown.

Dirty trick, but it works.

Best regards,

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


RE: what kind of UPS will work best?

2007-10-12 Thread Ted Mittelstaedt
Hi Gary,

  I've owned and worked with at least a dozen different UPS brands.
The best UPS I have - which I have right now powering several systems,
is a Best Power Ferrups FE series.  I don't think they make it anymore,
sorry!

  As for the APC units - the APC standby units are everyone's whore.
I have a collection of them that have failed for a variety of reasons.
They have their problems.

  The worst part about the APC units are the batteries.  If you decide
to go APC, when it comes time to replace the batteries you -must- buy
the most expensive lead acid gel cells you can find.  You cannot put in
the cheap Chinese batteries and have them last.  The reason is that
APC has deliberately calibrated their charging circuitry to fast-charge
the batteries and they use fast charge curves that will destroy the
cheap batteries very quickly.  By contrast most everyone else in the
industry uses feedback circuits that measure how fast the battery is
taking a recharge and will not boil dry the cheap batteries.  Last time
I changed batteries in my Best unit was 9/2004 and they are still going
strong and I used the cheap Chinese batteries.  By contrast all the
APC units I had which I got the same cheap batteries for, have dead
batteries in them now.

  Now, it may be in the brand new APC's they have changed things.  I
noticed in the last new APC unit we sold that APC had switched to
cheaper cells from Better Battery rather than the more spendy cells
from Panasonic that they used in their older UPSes.  But, I still think
there are better deals to be had. 

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
 Sent: Saturday, October 06, 2007 4:12 PM
 To: FreeBSD Mailing List
 Subject: what kind of UPS will work best?
 
 
 
   Hi Folks,
   
   Recently, a storm happened and the power surge blew me 
   off-line.  Time to get serious about buying a UPS that will
   handle my four main servers for at-most, a 10-second power
   outage.  After that, shut down my computers.  It took me 90 
   minutes of up and down and crawling around last time.  That's
   the *why*.  Is there a best type to save me from this?  Do any of
   these power supplies come with scripts to shutdown a Unix {or
   Linux} computer?  Is there a UPS that is designed for heavy use 
   and a very short (5- to 10-second) uptime?  I'll need one that can
   interface thru the COM ports or the UBS port, if that is how
   these devices work. 
 
   tia, 
 
   gary
 
 
 -- 
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
   http://jottings.thought.org   http://transfinite.thought.org
 
 ___
 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]


Re: genuine bulk email

2007-10-12 Thread Jeffrey Goldberg

On Oct 12, 2007, at 7:05 AM, Robin Becker wrote:

At present I have reduced the email to a textual format with an  
embedded textual link. So the email looks like



Your  Document,
Thank you for your inquiry. below is a link to the brochures as  
requested, in Adobe Acrobat format.
It includes the YYY Airport Hotel and other information which may  
be useful. We thank you for your query.

Your  Document may be found here
http://host/path/aa- 
hrcc-20071012113659-20zi0rfoknv6gdi1w4bls0psd0.pdf

 Sales Team


It could be personalised a bit more,


When you personalize that give the date and IP address of the  
request. Something like


  ... the brochures you requested at TIME from IP.

but is there anything at a system level that can be done to make  
emails less likely to be classified as spam?


The most crucial thing is the status of IP of the host sending the mail

  o Does it have a proper DNS PTR (reverse DNS) record?
  o Are you using SPF or DomainKeys to show that that IP address
is authorized to send mail in the sending domain's name?
  o Do you have working postmaster and abuse addresses for the  
domain you

are sending from?
  o Do you have a static IP address?
  o Are you clear of any major blacklists?
  o Can you demonstrate that every recipient really did request the  
mail?


Each of those are far more important than whether you attach a PDF.   
(By the way, say it's PDF or even Adobe's PDF, but not Adobe Acrobat  
format.)


I assume that spammers try very hard and fail, so is this kind of  
email application effectively dead in the water before it starts?


Automatic mailing is fine.  What is important is how the email  
addresses were acquired.


-j


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


Re: OpenEXR linking error

2007-10-12 Thread Jeffrey Goldberg

On Oct 12, 2007, at 6:09 AM, [EMAIL PROTECTED] wrote:


Thanks, Philipp.  At least I know that it is me.


It's not just you.  I've been following the instructions in /usr/ 
ports/UPDATING and have been getting the exact failure you describe  
when trying to build OpenEXR.


I'm using 6.2-RELENG

Cheers,

-j



--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Getting coredumps from Apache

2007-10-12 Thread Toomas Aas

Hello!

I have apache22 (with standard prefork mpm) and php5 (Apache module) 
installed from ports. I'm noticing a lot of httpd children dying with 
signal 11 messages and would like to get a coredump in order to diagnose 
the problem. However, I can't get any coredumps from Apache.


I created a directory for coredumps:

# ls -ld /var/apache
drwxrwxrwx  2 www  wheel  512 Oct 12 14:12 /var/apache

Added this to httpd.conf:

CoreDumpDirectory /var/apache

and set

sysctl kern.sugid_coredump=1

Made sure there are no process limits applied to Apache.

Restarted Apache

Signal 11 errors continue, but nothing gets recorded to /var/amanda.

What am I missing?

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


1 TB data copy

2007-10-12 Thread Monah Baki
Hi all,

We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server
supports USB 1 while the freebsd supports usb 2.
We went and purchased an external 1 TB usb 2 harddrive.
Our objective is to copy 700GB worth of data from the windows to the freebsd
server then take the external harddive to a remote client who runs windows
2003 and then copy the data back to the windows server.
The throughput of copying the data from windows to the usb attached to it
was ridiculous, more than 12 hours to copy 60GB of data.
I tried copying a 1GB file from windows to the usb attached to the freebsd
and it took less than 5 minutes, but ofcourse when I tried to mount the
usb back to the windows box I could not see the 1GB file that I copied.
How can use the freebsd as the destination copy since it has a much better
throughput and at the same time have the windows box see the 600GB file
that was copied once I attach the usb harddrive to it.

Thanks



BSD Networking, Microsoft Notworking
___
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 create a user account with the same permission as root ?

2007-10-12 Thread Jerry McAllister
On Fri, Oct 12, 2007 at 08:11:56AM +0800, Erich Dollansky wrote:

 Hi,
 
 Jerry McAllister wrote:
 On Thu, Oct 11, 2007 at 07:34:54PM +0800, Erich Dollansky wrote:
 
 FreeBSD is not Windows.
 
 True statement - thank heaven.
 
 You cannot have another root in the system.
 
 Unless I misunderstand what you are saying, this is NOT a true statement.
 You can create as many ids with a '0' UID as you want.   It may not be
 
 But they are the same as it is still the same UID. Under WIndows, you 
 can create as many 'root' accounts you want.

I think you misunderstand what is being said.
An account with a UID of 0 in UNIX is root for all practical purposed.
The only difference is that it has a different name and it can have
a different home directory if you want to keep them separate - but
you don't have to. 

To repeat, any account with a UID of 0 is root.  It does not depend on 
the name of the account, but the UID.   You can call the account anything 
and if its UID is 0, then it is root.  UID (User ID) refers to the number 
that the system uses internally to identify the account and its priviledges.  
To be really complete, make it have a GID (Group ID) of 0 which is 
the 'wheel' group in FreeBSD.   Some UNIXes make wheel be 10, but FreeBSD 
follows the original standard of it being 0.

 
 root is special.

Yes, because it has a UID of 0.

 
 Allow then all members of wheel to access the files needed by the 
 group wheel.
 
 Not the best idea.
 
 Really not. But at least better than to work as root.

What you left out is the better way of doing it and that is to leave
the file GID be whatever it naturally should be.   Then use su to
set your effective UID to 0 - eg give yourself root priviledge
and then work with the files.   Don't set a lot of files to wheel GID
and then give a lot of people wheel GID, because that will make it 
possible for all of them to become root and do more than just muck
with those files.

jerry

 
 I would not do this as it creates many security wholes.
 
 Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a beginner

2007-10-12 Thread Jerry McAllister
On Fri, Oct 12, 2007 at 11:47:17AM -0400, Connie Webb wrote:

 Please help as I don't know where to begin.

I forgot one more important thing.

Subscribe to this list  -- FreeBSD-questions and probably at least
FreeBSD-announce and maybe FreeBSD-newbies and read through all
the discussions.   Some you will learn to ignore and you will also
learn to filter out the flame wars - which are surprisingly few on
the FreeBSD lists, compared to some others.

Once you have read and tried things in the handbook, if you have
more specific questions - and you will - then post them to this
or one of the other FreeBSD lists or the list for which ever port
you are trying to manage.

People here are pretty good about answering questions if you have
made the good effort to find answers yourself, but can get a little
sarcastic, if it is apparent that you haven't done your homework yet.

jerry


 Connie Webb
 Montgomery County Courts
 Helpdesk Specialist
 41 N. Perry Street
 Dayton, Ohio
 
 Phone: 937-225-3480
 email: [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]


The Complete FreeBSD: errata and addenda

2007-10-12 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: a beginner

2007-10-12 Thread Byung-Hee HWANG
Connie, I'm beginner, too.

On Fri, 2007-10-12 at 11:47 -0400, Connie Webb wrote:
 Please help as I don't know where to begin.

I guess you need first to have a look at Documentation's section on
FreeBSD WWW site. Here is the link: http://www.freebsd.org/docs.html

In my case, actually I need to learn reading and writing in English as a
first step. Then I can read and understand the above link ;;

May the FreeBSD be with you!

Sincerely,

-- 
Byung-Hee HWANG [EMAIL PROTECTED]

Friendship is everything. Friendship is more than talent.
-- Vito Corleone, Chapter 1, page 38
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1 TB data copy

2007-10-12 Thread Monah Baki
Hi all,

Installed the following

sysutils/fusefs-ntfs
sysutils/ntfsprogs

When I run the command

ntfs-3g /dev/da0s1 /mnt/windows

I get the error message
fuse: failed to open fuse device: No such file or directory


Thank you



 On 10/12/07, CyberLeo Kitsana [EMAIL PROTECTED] wrote:
 Bill Moran wrote:
  In response to Monah Baki [EMAIL PROTECTED]:
  I'm not completely up to speed with FreeBSD's NTFS support.  Last I
 looked
  at it, it was experimental and there were warnings everywhere.  I
 assume
  it's improved since then (~3 years ago) but can't say with authority.

 As I recall, the native FreeBSD NTFS support is read-only. However, the
 NTFS-3g project has a mostly complete (and pretty safe) read/write
 implementation as a FUSE program, which can be found in ports:

 sysutils/fusefs-ntfs
 sysutils/ntfsprogs


 FreeBSD NTFS is not read only, but there are restrictions on what it
 can write. To quote the man page:

  There is limited writing ability.  Limitations: file must be
 nonresident
  and must not contain any sparses (uninitialized areas); compressed
 files
  are also not supported.  The file name must not contain multibyte
 charac-
  ters.

 If your file name uses only ASCII characters, you will be probably be
 OK using mount_ntfs to write to an NTFS filesystem. I've used it for
 years, but mostly for reading files. The few times I've used it for
 writing, it worked fine. I think you are most likely to have problems
 if you use it to edit an existing file.

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



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


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Erik Trulsson
On Fri, Oct 12, 2007 at 10:57:59AM -0600, James wrote:
 
 This isn't quite as simple as I'd hoped it'd be to fix. Here's my
 findings thus far (I haven't started writing my script yet, but I will
 later today):
 
 1. /usr/ports/distfiles contains everything I need
 2. distfiles contains several versions of some packages, but that's
 pretty trivial to resolve.
 3. distfiles contains some packages whose source tarballs are named
 *differently* to the packages themselves, such as unrar.

A few more problems:

a) Not every port will have a corresponding tarball in /usr/ports/distfiles.
   A few ports have all the source directly in the ports tree.  This
   means that your point 1) above is not necessarily true.
b) Several ports have many tarballs in /usr/ports/distfiles
c) A few of the tarballs can be used by more than one port.



 
 It's number 3 that's getting me.  It looks like the simplest thing might
 be an if statement:
 
 if (make search name=$PACKAGE)
 score!
 else
 grep -r $PACKAGE /usr/ports
 
 But before I go that far, I wanted to see if anyone had an alternate
 idea for what might work.

-- 
Insert your favourite quote here.
Erik Trulsson
[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: 1 TB data copy

2007-10-12 Thread Joshua Isom


On Oct 12, 2007, at 7:23 AM, Monah Baki wrote:


Hi all,

We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server
supports USB 1 while the freebsd supports usb 2.
We went and purchased an external 1 TB usb 2 harddrive.
Our objective is to copy 700GB worth of data from the windows to the 
freebsd
server then take the external harddive to a remote client who runs 
windows

2003 and then copy the data back to the windows server.
The throughput of copying the data from windows to the usb attached to 
it

was ridiculous, more than 12 hours to copy 60GB of data.
I tried copying a 1GB file from windows to the usb attached to the 
freebsd

and it took less than 5 minutes, but ofcourse when I tried to mount the
usb back to the windows box I could not see the 1GB file that I copied.
How can use the freebsd as the destination copy since it has a much 
better

throughput and at the same time have the windows box see the 600GB file
that was copied once I attach the usb harddrive to it.

Thanks



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




The fastest approach would likely be to use Samba to transfer the files 
between the computers and then backup onto the usb drive from FreeBSD.  
But it'd help to use gigabit ethernet cards too.


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


Re: driver for LSI megaraid sas 8708 ELP in FreeBSD 6.2

2007-10-12 Thread Daniel Madaoui



--On 12 octobre 2007 13:32:17 + Aryeh M. Friedman 
[EMAIL PROTECTED] wrote:





Small correction I meant 7-STABLE since RELENG is not done certifying it


I found 7-current-200709 on ftp.freebsd.org but when I boot on it, it
didn't recognize my virtual disk ( raid 5 ) plugged on this card .
This version doesn't seem to manage this card too.


A cvsup upgrade should fix that.


I can't , It 's a new server I haven't got another disk in it, and its not 
possible to do it.

I must have a CD-ROM to boot.
I don't how to do such CD from another machine, installed with this version

--

Daniel




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


Re: system admin question...

2007-10-12 Thread Roger Olofsson



Gary Kline skrev:
	This is for the system admins out there; I brought up this question 
	last weekend, (re xsysstats, an *old* app), but got no answers,

so again:

	What are the best tools, graphical or otherwise, that I can use 
	on  a dedicated Gnome [or CWTM, KDE, Whatever] workspace that
	will help me track each of my four or five computers?  
	(((Is xosview broken?  I have it running here on this pre xorg-7.2

system.)))  xsysstats seems reasonable; are there any others?
I'd like to be able to spot any overloads of file system snafus
	before they go critical... .   


thanks for any|all insights,

gary





Nagios and Cacti are your friends ;^)



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


Re: system admin question...

2007-10-12 Thread Gary Kline
On Fri, Oct 12, 2007 at 04:51:55PM +0200, Mel wrote:
 On Friday 12 October 2007 02:43:23 Gary Kline wrote:
  ((A parenthetical note):
  In prep for this posting I finished (or expanded) my
  mail-strip program that eliminates most of the cruft and
  leaves the body. )
 
  So I'll look at bigsister, conky, nagios, monit, and Ksysguard.
  (Mel, if you have a cheatsheet  for Ksysguard, that would be a
  big win.)  The more I can automate, the better.
 
 Hmm, the cheatsheet would be:
 - ssh-keygen -d = create passwordless ssh key
 - ${EDITOR} ~/.ssh/config = setup configfile to use the passwordless key to 
 those machines. A nice trick is to use CNAME/A record in your local dns, 
 with 'sysguard.machinename.local.domain' and set that as Host for the 
 passwordless key. This allows you to use keys with passwords on normal 
 hostname, should you desire so.
 
 The rest is drag'n'drop - create new tabs for a host and drag the infomodule 
 over that you want displayed. Right-click for properties, like size and graph 
 type then save the worksheet. Once the worksheet is setup, nothing on the 
 remote machine is needed and you can set it as default, create/open new ones 
 etc. This is really personal preference. I create worksheets per type 
 (load/memory/disks) and have all machines in different tabs, but others might 
 find it more useful to create worksheets per machine.
 

I've set up the paswordless ssh keys before.  The *rest*  of it--
especially using GUI tools--may drive me up the wall!  Or maybe
not; maybe I'm getting uesd to these graphic tools:-)

thanks, and I may tap you on the shoulder, offline! if I get wedged

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Mel
On Friday 12 October 2007 18:57:59 James wrote:
 This isn't quite as simple as I'd hoped it'd be to fix. Here's my
 findings thus far (I haven't started writing my script yet, but I will
 later today):

 1. /usr/ports/distfiles contains everything I need
 2. distfiles contains several versions of some packages, but that's
 pretty trivial to resolve.
 3. distfiles contains some packages whose source tarballs are named
 *differently* to the packages themselves, such as unrar.

 It's number 3 that's getting me.  It looks like the simplest thing might
 be an if statement:

 if (make search name=$PACKAGE)
 score!
 else
 grep -r $PACKAGE /usr/ports

 But before I go that far, I wanted to see if anyone had an alternate
 idea for what might work.

Depends on your time and harddisk speed I suppose. You could:

for CAT in *; do
if test -d ${CAT}; then
cd ${PORTSDIR:=/usr/ports}/${CAT}
for PORT in *; do
if test -d ${PORT}; then
cd ${PORT}
make -V DISTNAME /usr/ports/distname.idx
cd ..
fi
done
fi
done

This would give you a distname index to work with. I checked INDEX-6 but don't 
see a DISTNAME listed in there. I suppose I'd make the decision myself based 
on how many I can't locate. Doing this for 10 ports I can easily guess myself 
is nice for academics, but not when you're on the clock.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a beginner

2007-10-12 Thread Aryeh M. Friedman
Connie Webb wrote:
 Please help as I don't know where to begin.
   

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


How to get best results from FreeBSD-questions

2007-10-12 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

Interrupt/speed problems with 6.2 NFS server

2007-10-12 Thread Doug Clements
Hi,
   I have an new NFS server that is processing roughly 15mbit of NFS traffic
that we recently upgraded from an older 4.10 box. It has a 3-ware raid card,
and is serving NFS out a single em nic to LAN clients. The machine works
great just serving NFS, but when I try to copy data from one raid volume to
another for backups, the machine's NFS performance goes way down, and NFS
ops start taking multiple seconds to perform. The file copy goes quite
quickly, as would be expected. The console of the machine also starts to lag
pretty badly, and I get the 'typing through mud' effect. I use rdist6 to do
the backup.

My first impression was that I was having interrupt issues, since during the
backup, the em interfaces were pushing over 200k interrupts/sec (roughly 60%
CPU processing interrupts). So I recompiled the kernel with polling enabled
and enabled it on the NICs. The strange thing is that polling shows enabled
in ifconfig, but systat -vm still shows the same amount of interrupts. I get
the same performance with polling enabled.

I'm looking for some guidance on why the machine bogs so much during what
seems to me to be something that should barely impact machine performance at
all. The old machine was 6 years old running an old intel raid5, and it
handled NFS and the concurrent file copies without a sweat.

My 3ware is setup as follows:
a 2 disk mirror, for the system
a 4 disk raid10, for /mnt/data1
a 4 disk raid10, for /mnt/data2

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p8 #0: Thu Oct 11 10:43:22 PDT 2007
[EMAIL PROTECTED] :/usr/obj/usr/src/sys/MADONNA
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU  @ 2.66GHz (2670.65-MHz K8-class
CPU)
  Origin = GenuineIntel  Id = 0x6f4  Stepping = 4

Features=0xbfebfbffFPU,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,PBE

Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,b9,CX16,b14,b15,b18
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 4831838208 (4608 MB)
avail memory = 4125257728 (3934 MB)
ACPI APIC Table: INTEL  S5000PSL
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
lapic0: Forcing LINT1 to edge trigger
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: INTEL S5000PSL on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
acpi_button0: Sleep Button on acpi0
acpi_button1: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xca2,0xca3,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci2
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge irq 17 at device 1.0 on pci2
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge irq 18 at device 2.0 on pci2
pci5: ACPI PCI bus on pcib5
em0: Intel(R) PRO/1000 Network Connection Version - 6.2.9 port
0x3020-0x303f mem 0xf882-0xf883,0xf840-0xf87f irq 18 at
device 0.0 on pci5
em0: Ethernet address: 00:15:17:21:bf:30
em1: Intel(R) PRO/1000 Network Connection Version - 6.2.9 port
0x3000-0x301f mem 0xf880-0xf881,0xf800-0xf83f irq 19 at
device 0.1 on pci5
em1: Ethernet address: 00:15:17:21:bf:31
pcib6: ACPI PCI-PCI bridge at device 0.3 on pci1
pci6: ACPI PCI bus on pcib6
3ware device driver for 9000 series storage controllers, version:
3.60.02.012
twa0: 3ware 9000 series Storage Controller port 0x2000-0x203f mem
0xfa00-0xfbff,0xf890-0xf8900fff irq 26 at device 2.0 on pci6
twa0: [GIANT-LOCKED]
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-12, 12 ports,
Firmware FE9X 3.08.00.004, BIOS BE9X 3.08.00.002
pcib7: PCI-PCI bridge at device 3.0 on pci0
pci7: PCI bus on pcib7
pcib8: ACPI PCI-PCI bridge at device 4.0 on pci0
pci8: ACPI PCI bus on pcib8
pcib9: ACPI PCI-PCI bridge at device 5.0 on pci0
pci9: ACPI PCI bus on pcib9
pcib10: ACPI PCI-PCI bridge at device 6.0 on pci0
pci10: ACPI PCI bus on pcib10
pcib11: PCI-PCI bridge at device 7.0 on pci0
pci11: PCI bus on pcib11
pci0: base peripheral at device 8.0 (no driver attached)
pcib12: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci12: ACPI PCI bus on pcib12
uhci0: UHCI (generic) USB controller port 0x4080-0x409f irq 23 at device
29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI 

Re: genuine bulk email

2007-10-12 Thread Jeffrey Goldberg

On Oct 12, 2007, at 9:40 AM, Robin Becker wrote:

these all sound very reasonable. However, we use the same IP for  
several virtual hosts ie we have more than one domain name so the  
reverse DNS is not clear to me. Is the from address inspected for  
comparison with the RDNS ie if I claim to be sending from xxx.com  
should my RDNS point back to xxx.com? Presumably I can have only  
one IP--domain ptr. I suspect it will be easier to set up the  
front end machine as that is supposed to be for the same client.


The checking will work fine with virtual domains.  What matters is that

   DNS(rDNS(IP)) = IP  = DNS(vhost)

I think I've got that right.  (It's a bit more complicated to state  
when MXes and multiple A records for the same name are considered,  
but this is the general idea.)


Also it's not so much the header FROM or the envelope FROM, but the  
HELO string that is checked here.  For SPF and DomainKeys, it is the  
envelope FROM that is checked against the IP.  Presumably your mailer  
gives a constant HELO irrespective of the vhost that is in the  
envelope FROM.


Automatic mailing is fine.  What is important is how the email  
addresses were acquired.

..

this isn't automatic, the sales people manually enter all the details.


And how do the sales people acquire the data?  I'm sure that it's  
okay, but you may want to have a small description of the process on  
your web page that you could point postmasters to if a question arises.


-j


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


Re: genuine bulk email

2007-10-12 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Robin Becker wrote:

 these all sound very reasonable. However, we use the same IP for several
 virtual hosts ie we have more than one domain name so the reverse DNS is
 not clear to me. Is the from address inspected for comparison with the
 RDNS ie if I claim to be sending from xxx.com should my RDNS point back
 to xxx.com? Presumably I can have only one IP--domain ptr. I suspect it
 will be easier to set up the front end machine as that is supposed to be
 for the same client.

Supporting several e-mail domains on one server is not a problem.
There is no general requirement that the mail server for a domain
'foo.com' have an address within foo.com --- you can quite freely
have your e-mail handled by a third party.

The important things to make sure of are:

   * Your mail server HELOs with a valid domain name, and that
 domain name should correspond to the IP that the mail server
 connects as, both forwards and backwards.  Note: 'connects as'
 -- if your mail server is behind a NAT gateway, you will have
 to take that into account in your configuration.

   * Don't use the sort of domain name that is a thinly disguised
 IP number: eg: host12-34-56-78.provider.net -- this sort of
 hostname is a pretty good diagnostic for a spam source and
 some mail admins will go as far as immediately rejecting
 messages from such addresses.

   * Don't use addresses from dynamic IP number pools used for
 residential ADSL services.  These overlaps a great deal with
 the above, and are frequently rejected for much the same sort
 of reasons. (There are entire RBL lists dedicated to enumerating
 such residential IP address blocks).

   * Do use static IP numbers from ranges specifically allocated to
 you.

   * Do make sure that you provide appropriate SPF records with
 include the name / IP your mail server HELOs as. Or if you
 aren't a believer in SPF, then either use a neutral entry like
 v:spf1 ~all or no entry at all.

   * Make sure that [EMAIL PROTECTED], [EMAIL PROTECTED]
 and possibly a few other common addresses are accepted by your
 domain, the messages are read and acted upon promptly.  You should
 exempt these addresses as far as possible from all forms of
 anti-spam filtering.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHD6Ml8Mjk52CukIwRCAPoAJ9vZHSKOJXkQDQu+DXCAZPXeyXG2ACdGrJo
0Rl46a+eYzlYjy6IHR26Us0=
=tpFm
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: batch conversion of TeX

2007-10-12 Thread Roland Smith
On Fri, Oct 12, 2007 at 09:44:44AM +, Aryeh M. Friedman wrote:
 Those who have followed my openoffice to TeX conversion know I am brand
 new to TeX and want to know how to do the following conversions
 (hopefully via some non-interactive process [eg. Make files]):
 
 TeX--plain text

detex

 TeX--HTML

tex4ht

 TeX--PDF

pdftex

 TeX--PS

tex + dvips

All these programs come with a modern TeX distribution (I use texlive).

How to use these in a makefile depends on what you have. For a simple
document, processing with the command in question suffices.

But if you use footnotes and references, you need multiple passes to
sort everything out. If your document has an index and a bibliography,
you'll need to use makeindex and bibtex.

Here's an example of a Makefile for a long document of mine;

DOCSRC = logboek_RFS_II.tex
DOCPDF = $(DOCSRC:.tex=.pdf)

SUBDIR = grafieken figuren raytrace lam calc


$(DOCPDF): ${SUBDIR} $(DOCSRC) lbref.bib
@echo -n Regenerating the logbook... 
@! pdflatex --interaction nonstopmode -file-line-error $*.tex | grep -A 
1 '^l\.'
@makeindex -c -s myindex.ist $*.idx 2/dev/null
@bibtex $* /dev/null
@pdflatex --interaction batchmode -file-line-error $*.tex /dev/null
@makeindex -c -s myindex.ist $*.idx 2/dev/null
@pdflatex  --interaction nonstopmode -file-line-error $*.tex /dev/null
@! pdflatex  --interaction nonstopmode -file-line-error $*.tex |grep 
Warning
@rm -f $*.lo* $*.aux $*.ilg $*.ind $*.toc $*.bbl $*.blg
@echo Done.

${SUBDIR}::
@cd ${.TARGET}; make ${.TARGETS}

clean: ${SUBDIR}
@rm -f *.lo* *.aux *.ilg *.ind *.toc *.bbl *.blg
@rm -f $(DOCPDF)

This Makefile also runs make in several subdirectories.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp7tF7g5a2UO.pgp
Description: PGP signature


Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-12 Thread O. Hartmann

Hello.

Well, I have a bunch of TYAN S2925B based boxes, all without floppy 
drives. For BIOS flash preparation I need an installation media and due 
to the fact I do not have a Windows XP box or FreeDOS box I need my 
laptop for creation of a bootable USB key media with the appropriate 
BIOS flash images and flashing tools.
It seems to be a desaster. Every Wiki I visited looking for the subject 
referes to Gentoo/FreeDOS or highly complicated voodoo sessions 
installing first some files on floppy drive and the creating a bootable 
USB key ... blabla.
Sorry, but I do not have FreeDOS running nor do I have Linux/Gentoo or 
Windows XP, I run FreeBSD on all of my machines. But in the age of 
legacy free computers, were floppy drives seems to be not essential 
anymore I run into massif problems having a legacy free server from TYAN 
without the ability taking any BIOS images from an USB key :-( The 
problem is I picked up some memory issues which have been solved with 
one of the newer BIOS images so I desperately need an update solution.


Does anyone do have an idea?

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


Re: a beginner

2007-10-12 Thread Mel
On Friday 12 October 2007 17:47:17 Connie Webb wrote:

 Please help as I don't know where to begin.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/getting-started.html

 Connie Webb
 Montgomery County Courts
 Helpdesk Specialist

:D

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


Re: Questions about HUP'ing nfsd

2007-10-12 Thread James
On Fri, 2007-10-12 at 08:25 -0700, Michael Smith wrote:

 Hello All:
 
 We have a NAS that's running 6.2 with nfds, mountd, rpc_statd,  
 rpcbind and rpc_lockd.  Last night we had a scenario where nfs  
 clients, once disconnected, couldn't reconnect to the NAS, reporting  
 RPC timeouts.
 

I've had RPC timeouts before. Turned out my NFS was misconfigured - I
had a weird flag in /etc/rc.conf that was preventing mountd from
loading. Could be someone made an undocumented change - you may want to
check it.




 My question is, in troubleshooting this sort of thing, is there a  
 proper sequence for stopping and restarting the various services  
 associated with nfs?   Any hints would be greatly appreciated.
 



Linux usually likes an exportfs -r, service portmap restart, service nfs 
restart. I've usually gone for a 
similar thing in FreeBSD. Something like:


/etc/rc.d/mountd onereload
/etc/rc.d/nfs restart



I think that does it all. Otherwise, there's always shutdown NOW and
then a ctrl-d. If you're not sshing in, of course.

James



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


Re: driver for LSI megaraid sas 8708 ELP in FreeBSD 6.2

2007-10-12 Thread Daniel Madaoui



--On 12 octobre 2007 07:52:07 + Aryeh M. Friedman 
[EMAIL PROTECTED] wrote:





I don't know if 7-RELEASE supports it or not but you might want to try
it... for anyone else reading and unaware 7-CURRENT became 7-RELEASE and
CURRENT is now 8-CURRENT as of yesterday (at least in cvsup).




Small correction I meant 7-STABLE since RELENG is not done certifying it


I found 7-current-200709 on ftp.freebsd.org but when I boot on it, it 
didn't recognize my virtual disk ( raid 5 ) plugged on this card . This 
version doesn't seem to manage this card too.




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


Thanks

Daniel


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


Questions about HUP'ing nfsd

2007-10-12 Thread Michael Smith

Hello All:

We have a NAS that's running 6.2 with nfds, mountd, rpc_statd,  
rpcbind and rpc_lockd.  Last night we had a scenario where nfs  
clients, once disconnected, couldn't reconnect to the NAS, reporting  
RPC timeouts.


We attempted to restart all of the services above in various orders,  
but we were not able to get the clients reconnected.  We ultimately  
rebooted the NAS server and all was well.


My question is, in troubleshooting this sort of thing, is there a  
proper sequence for stopping and restarting the various services  
associated with nfs?   Any hints would be greatly appreciated.


Regards,

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


Re: system admin question...

2007-10-12 Thread Mel
On Friday 12 October 2007 02:43:23 Gary Kline wrote:
   ((A parenthetical note):
   In prep for this posting I finished (or expanded) my
   mail-strip program that eliminates most of the cruft and
   leaves the body. )

   So I'll look at bigsister, conky, nagios, monit, and Ksysguard.
   (Mel, if you have a cheatsheet  for Ksysguard, that would be a
   big win.)  The more I can automate, the better.

Hmm, the cheatsheet would be:
- ssh-keygen -d = create passwordless ssh key
- ${EDITOR} ~/.ssh/config = setup configfile to use the passwordless key to 
those machines. A nice trick is to use CNAME/A record in your local dns, 
with 'sysguard.machinename.local.domain' and set that as Host for the 
passwordless key. This allows you to use keys with passwords on normal 
hostname, should you desire so.

The rest is drag'n'drop - create new tabs for a host and drag the infomodule 
over that you want displayed. Right-click for properties, like size and graph 
type then save the worksheet. Once the worksheet is setup, nothing on the 
remote machine is needed and you can set it as default, create/open new ones 
etc. This is really personal preference. I create worksheets per type 
(load/memory/disks) and have all machines in different tabs, but others might 
find it more useful to create worksheets per machine.

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


Re: batch conversion of TeX

2007-10-12 Thread Giorgos Keramidas
On 2007-10-12 09:44, Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 Those who have followed my openoffice to TeX conversion know I am brand
 new to TeX and want to know how to do the following conversions
 (hopefully via some non-interactive process [eg. Make files]):

 TeX--plain text
 TeX--HTML
 TeX--PDF
 TeX--PS

I usually start by writing something like this in a Makefile:

DOC = foo
SRC = $(DOC).tex
PDF = $(DOC).pdf

PDFLATEX = pdflatex

all: $(PDF)

$(PDF): $(SRC)
$(PDFLATEX) $(SRC)
$(PDFLATEX) $(SRC)

The two runs of $(PDFLATEX) are necessary to get cross-references
correct in documents with internal cross-references.

There are other tools, like texindex(1) which you may want to throw into
the mix.  The TeX toolchain is described in detail in the documentation
which is available online at CTAN (the Comprehensive TeX Archive
Network).  It may be interesting for you to at least skim through the
docs available at http://www.ctan.org/tex-archive/info/

All the books available at the `info' directory are useful, and many of
them are excellent examples of what you can do by typesetting with TeX.

Some of my favorites are:

  * ``Components of TeX''
http://www.ctan.org/tex-archive/info/components-of-TeX/

  * ``Essential information for writing LaTeX documents''
http://www.ctan.org/tex-archive/info/latex-essential/

  * ``Making TeX Work''
http://www.ctan.org/tex-archive/info/makingtexwork/

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


Re: help with text-append over SSH ?

2007-10-12 Thread Giorgos Keramidas
On 2007-10-11 16:49, Juri Mianovich [EMAIL PROTECTED] wrote:

 I have an account on a system where I cannot log in over SSH, but I
 _can_ run a limited set of commands remotely, over SSH.  (I am in a
 jail of some sorts).

 I want to append the contents of a local text file to the contents of
 a remote text file, over SSH.

 Normally, I would do this locally with:

 cat file1  file2

 But again, file2 is remote, and I can't log in there... I have access
 to the 'echo' command and the 'dd' command (among others) on the
 remote host ... so for instance, I can do things like this:

 ssh [EMAIL PROTECTED] rm -rf filename

 So, with all that in mind, how do I append the contents of a local
 file to a remote file, over SSH, using either 'echo' or 'dd' ?

Try running:

cat file1 | ssh [EMAIL PROTECTED] dd  file2

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


Install FreeBSD on hp notebook

2007-10-12 Thread Zhang hw
Hello everyone!
I have a hp 6515b notebook ,  the cpu is amd athlon(tm) 64x2 dual core
tk-53(1700mhz), with 512m shared ddrII memory , and the gpu is ati
radeon x1250. I've download the 6.2-release-amd64-disc1.iso , but
there are some problems when I install the freebsd on the notebook ,
sometimes the install process stop at probing device , and sometimes
stop at selecting country with the keyboard has no response .
Is there anyone who has some experience on this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1 TB data copy

2007-10-12 Thread John Nielsen

Quoting Bill Moran [EMAIL PROTECTED]:


In response to Monah Baki [EMAIL PROTECTED]:


Hi all,

We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server
supports USB 1 while the freebsd supports usb 2.
We went and purchased an external 1 TB usb 2 harddrive.
Our objective is to copy 700GB worth of data from the windows to the freebsd
server then take the external harddive to a remote client who runs windows
2003 and then copy the data back to the windows server.
The throughput of copying the data from windows to the usb attached to it
was ridiculous, more than 12 hours to copy 60GB of data.
I tried copying a 1GB file from windows to the usb attached to the freebsd
and it took less than 5 minutes, but ofcourse when I tried to mount the
usb back to the windows box I could not see the 1GB file that I copied.
How can use the freebsd as the destination copy since it has a much better
throughput and at the same time have the windows box see the 600GB file
that was copied once I attach the usb harddrive to it.


I expect the filesystem is the problem.  Windows doesn't understand UFS.

FAT has been the traditional solution to this, since just about every OS
understands FAT, but I don't believe FAT will support files as large
as you're working with.

I'm not completely up to speed with FreeBSD's NTFS support.  Last I looked
at it, it was experimental and there were warnings everywhere.  I assume
it's improved since then (~3 years ago) but can't say with authority.
However, I think that's your only option.  Luckily, since you're just
using the USB drive to move a file, and can keep it safe in another
location until you're sure it transferred safely, this shouldn't be too
risky.

I would format the drive with the Windows machine and make it NTFS, then
work with the FreeBSD mount options to get FreeBSD to mount it.  Have a
look at mount_ntfs.


I agree with your approach but, mount_ntfs is still essentially 
read-only. Fortunately ntfs-3g has been ported (using FUSE), so the OP 
should be able to use that instead. See the sysutils/fusefs-ntfs port.


JN

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


Re: 1 TB data copy

2007-10-12 Thread Bill Moran
In response to Monah Baki [EMAIL PROTECTED]:

 Hi all,
 
 We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server
 supports USB 1 while the freebsd supports usb 2.
 We went and purchased an external 1 TB usb 2 harddrive.
 Our objective is to copy 700GB worth of data from the windows to the freebsd
 server then take the external harddive to a remote client who runs windows
 2003 and then copy the data back to the windows server.
 The throughput of copying the data from windows to the usb attached to it
 was ridiculous, more than 12 hours to copy 60GB of data.
 I tried copying a 1GB file from windows to the usb attached to the freebsd
 and it took less than 5 minutes, but ofcourse when I tried to mount the
 usb back to the windows box I could not see the 1GB file that I copied.
 How can use the freebsd as the destination copy since it has a much better
 throughput and at the same time have the windows box see the 600GB file
 that was copied once I attach the usb harddrive to it.

I expect the filesystem is the problem.  Windows doesn't understand UFS.

FAT has been the traditional solution to this, since just about every OS
understands FAT, but I don't believe FAT will support files as large
as you're working with.

I'm not completely up to speed with FreeBSD's NTFS support.  Last I looked
at it, it was experimental and there were warnings everywhere.  I assume
it's improved since then (~3 years ago) but can't say with authority.
However, I think that's your only option.  Luckily, since you're just
using the USB drive to move a file, and can keep it safe in another
location until you're sure it transferred safely, this shouldn't be too
risky.

I would format the drive with the Windows machine and make it NTFS, then
work with the FreeBSD mount options to get FreeBSD to mount it.  Have a
look at mount_ntfs.

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


Re: help with text-append over SSH ?

2007-10-12 Thread Tijl Coosemans
On Friday 12 October 2007 01:49:04 Juri Mianovich wrote:
 I have an account on a system where I cannot log in
 over SSH, but I _can_ run a limited set of commands
 remotely, over SSH.  (I am in a jail of some sorts).
 
 I want to append the contents of a local text file to
 the contents of a remote text file, over SSH.
 
 Normally, I would do this locally with:
 
 cat file1  file2
 
 But again, file2 is remote, and I can't log in
 there... I have access to the 'echo' command and the
 'dd' command (among others) on the remote host ... so
 for instance, I can do things like this:
 
 ssh [EMAIL PROTECTED] rm -rf filename
 
 So, with all that in mind, how do I append the
 contents of a local file to a remote file, over SSH,
 using either 'echo' or 'dd' ?

With echo or dd I don't know. With cat you can do it this way:

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


Re: driver for LSI megaraid sas 8708 ELP in FreeBSD 6.2

2007-10-12 Thread Aryeh M. Friedman
Daniel Madaoui wrote:
 Hello,


 I've got a new server with the LSI SAS 8708 ELP card . It is based on
 the SAS1078 chip. I wanted to install FreeBSD 6.2 on this machine, but
 the installer didn't see the virtual disk ( Raid 5 ). Somenone knows, 
 perhaps if a driver will provide support for this card soon.

I don't know if 7-RELEASE supports it or not but you might want to try
it... for anyone else reading and unaware 7-CURRENT became 7-RELEASE and
CURRENT is now 8-CURRENT as of yesterday (at least in cvsup).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


driver for LSI megaraid sas 8708 ELP in FreeBSD 6.2

2007-10-12 Thread Daniel Madaoui

Hello,


I've got a new server with the LSI SAS 8708 ELP card . It is based on the 
SAS1078 chip. I wanted to install FreeBSD 6.2 on this machine, but the 
installer didn't see the virtual disk ( Raid 5 ). Somenone knows,  perhaps 
if a driver will provide support for this card soon.


Thanks for your response

--

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


Re: Formatting man pages - txt file

2007-10-12 Thread Gerard
On October 12, 2007 at 03:14AM Alain G. Fabry wrote:


 I'd like to get a man page in .txt format.
 
 What I tried was man man  man.txt, but this gives me the man pages with 
 many control char.
 
 How can I get a man page to be formatted to a regular .txt file?


man man | col -bx  man.txt


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


Re: 1 TB data copy

2007-10-12 Thread Monah Baki
Solved it.

Had to manually run

kldload /usr/local/modules/fuse.ko


Thank you all for your support.



 Hi all,

 Installed the following

 sysutils/fusefs-ntfs
 sysutils/ntfsprogs

 When I run the command

 ntfs-3g /dev/da0s1 /mnt/windows

 I get the error message
 fuse: failed to open fuse device: No such file or directory


 Thank you



 On 10/12/07, CyberLeo Kitsana [EMAIL PROTECTED] wrote:
 Bill Moran wrote:
  In response to Monah Baki [EMAIL PROTECTED]:
  I'm not completely up to speed with FreeBSD's NTFS support.  Last I
 looked
  at it, it was experimental and there were warnings everywhere.  I
 assume
  it's improved since then (~3 years ago) but can't say with authority.

 As I recall, the native FreeBSD NTFS support is read-only. However, the
 NTFS-3g project has a mostly complete (and pretty safe) read/write
 implementation as a FUSE program, which can be found in ports:

 sysutils/fusefs-ntfs
 sysutils/ntfsprogs


 FreeBSD NTFS is not read only, but there are restrictions on what it
 can write. To quote the man page:

  There is limited writing ability.  Limitations: file must be
 nonresident
  and must not contain any sparses (uninitialized areas); compressed
 files
  are also not supported.  The file name must not contain multibyte
 charac-
  ters.

 If your file name uses only ASCII characters, you will be probably be
 OK using mount_ntfs to write to an NTFS filesystem. I've used it for
 years, but mostly for reading files. The few times I've used it for
 writing, it worked fine. I think you are most likely to have problems
 if you use it to edit an existing file.

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



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



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


Re: genuine bulk email

2007-10-12 Thread Mel
On Friday 12 October 2007 16:40:10 Robin Becker wrote:
 Jeffrey Goldberg wrote:

[snip IP/hostname issues answered sufficiently by others]

  Automatic mailing is fine.  What is important is how the email addresses
  were acquired.

 ..

 this isn't automatic, the sales people manually enter all the details. The
 attached document is what the application generates and then the combined
 email.

It's also not your concern. Spam prevention is a collection of algorithms that 
boil down to an acceptable rate of false positives. For the sender of what 
he/she believes is legitimate email, it is mostly important to catch the 
false positives /and/ direct them to the people responsible for sending the 
mail. Also make them understand that they're responsible for the mailing, if 
they violate their set policy (whatever that may be), they risk being blocked 
for mail they really want as well.

In practice this means errors should be caught, possibly parsed, collected and 
presented in a format the sender understands. Since most senders aren't mail 
administrators, directing the bounces to them doesn't help, as you'll be 
answering questions like what's a transient error and why do I get this in 
my email box?.

The SMTP standard defines some tools for this, but in practice not all 
mailservers support these. So what you do is separate the MAIL FROM: smtp 
command and the From: mail header. Look for the equivalent of sendmail's -f 
option for your MTA, to set the MAIL FROM: (f.e.: [EMAIL PROTECTED]) and 
specify a From: header (f.e.: From: The Fabulous Sales Department 
[EMAIL PROTECTED]) in the mail itself. This way, automated responses arrive 
at bounces@ and people reply to [EMAIL PROTECTED]

How you process bounces@ is up to you and the nature of the mail. You can pipe 
it to a script directly or you can simply stock it in a normal mail account 
and process periodically. Machine load, number of mails sent in a batch, 
whether it's time critical that the original sender knows that a mail fails 
are all factors in this.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Interrupt problems with 6.2 NFS Server

2007-10-12 Thread Doug Clements
Hi,
   I have an new NFS server that is processing roughly 15mbit of NFS traffic
that we recently upgraded from an older 4.10 box. It has a 3-ware raid card,
and is serving NFS out a single em nic to LAN clients. The machine works
great just serving NFS, but when I try to copy data from one raid volume to
another for backups, the machine's NFS performance goes way down, and NFS
ops start taking multiple seconds to perform. The file copy goes quite
quickly, as would be expected. The console of the machine also starts to lag
pretty badly, and I get the 'typing through mud' effect. I use rdist6 to do
the backup.

My first impression was that I was having interrupt issues, since during the
backup, the em interfaces were pushing over 200k interrupts/sec (roughly 60%
CPU processing interrupts). So I recompiled the kernel with polling enabled
and enabled it on the NICs. The strange thing is that polling shows enabled
in ifconfig, but systat -vm still shows the same amount of interrupts. I get
the same performance with polling enabled.

I'm looking for some guidance on why the machine bogs so much during what
seems to me to be something that should barely impact machine performance at
all. The old machine was 6 years old running an old intel raid5, and it
handled NFS and the concurrent file copies without a sweat.

My 3ware is setup as follows:
a 2 disk mirror, for the system
a 4 disk raid10, for /mnt/data1
a 4 disk raid10, for /mnt/data2

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p8 #0: Thu Oct 11 10:43:22 PDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MADONNA
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU  @ 2.66GHz (2670.65-MHz K8-class
CPU)
  Origin = GenuineIntel  Id = 0x6f4  Stepping = 4

Features=0xbfebfbffFPU,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,PBE

Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,b9,CX16,b14,b15,b18
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 4831838208 (4608 MB)
avail memory = 4125257728 (3934 MB)
ACPI APIC Table: INTEL  S5000PSL
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
lapic0: Forcing LINT1 to edge trigger
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: INTEL S5000PSL on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
acpi_button0: Sleep Button on acpi0
acpi_button1: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xca2,0xca3,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci2
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge irq 17 at device 1.0 on pci2
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge irq 18 at device 2.0 on pci2
pci5: ACPI PCI bus on pcib5
em0: Intel(R) PRO/1000 Network Connection Version - 6.2.9 port
0x3020-0x303f mem 0xf882-0xf883,0xf840-0xf87f irq 18 at
device 0.0 on pci5
em0: Ethernet address: 00:15:17:21:bf:30
em1: Intel(R) PRO/1000 Network Connection Version - 6.2.9 port
0x3000-0x301f mem 0xf880-0xf881,0xf800-0xf83f irq 19 at
device 0.1 on pci5
em1: Ethernet address: 00:15:17:21:bf:31
pcib6: ACPI PCI-PCI bridge at device 0.3 on pci1
pci6: ACPI PCI bus on pcib6
3ware device driver for 9000 series storage controllers, version:
3.60.02.012
twa0: 3ware 9000 series Storage Controller port 0x2000-0x203f mem
0xfa00-0xfbff,0xf890-0xf8900fff irq 26 at device 2.0 on pci6
twa0: [GIANT-LOCKED]
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-12, 12 ports,
Firmware FE9X 3.08.00.004, BIOS BE9X 3.08.00.002
pcib7: PCI-PCI bridge at device 3.0 on pci0
pci7: PCI bus on pcib7
pcib8: ACPI PCI-PCI bridge at device 4.0 on pci0
pci8: ACPI PCI bus on pcib8
pcib9: ACPI PCI-PCI bridge at device 5.0 on pci0
pci9: ACPI PCI bus on pcib9
pcib10: ACPI PCI-PCI bridge at device 6.0 on pci0
pci10: ACPI PCI bus on pcib10
pcib11: PCI-PCI bridge at device 7.0 on pci0
pci11: PCI bus on pcib11
pci0: base peripheral at device 8.0 (no driver attached)
pcib12: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci12: ACPI PCI bus on pcib12
uhci0: UHCI (generic) USB controller port 0x4080-0x409f irq 23 at device
29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root 

Re: a beginner

2007-10-12 Thread Norberto Meijome
On Fri, 12 Oct 2007 11:47:17 -0400
Connie Webb [EMAIL PROTECTED] wrote:

 Please help as I don't know where to begin.

No problems. what would you like to do? :)

silliness aside, if u mean 'being with freebsd', you should start with the 
Handbook, which you can find online @ freebsd.org, under documentation.

B
_
{Beto|Norberto|Numard} Meijome

I was born not knowing and have had only a little time to change that here and 
there. 
  Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


a beginner

2007-10-12 Thread Connie Webb
Please help as I don't know where to begin.

Connie Webb
Montgomery County Courts
Helpdesk Specialist
41 N. Perry Street
Dayton, Ohio

Phone: 937-225-3480
email: [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: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Joshua Isom


On Oct 12, 2007, at 11:57 AM, James wrote:



This isn't quite as simple as I'd hoped it'd be to fix. Here's my
findings thus far (I haven't started writing my script yet, but I will
later today):

1. /usr/ports/distfiles contains everything I need
2. distfiles contains several versions of some packages, but that's
pretty trivial to resolve.
3. distfiles contains some packages whose source tarballs are named
*differently* to the packages themselves, such as unrar.

It's number 3 that's getting me.  It looks like the simplest thing 
might

be an if statement:

if (make search name=$PACKAGE)
score!
else
grep -r $PACKAGE /usr/ports

But before I go that far, I wanted to see if anyone had an alternate
idea for what might work.


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




Try something more akin to this.

find /usr/ports/devel -name distinfo -exec grep -l ddd-3.3.11.tar.gz 
'{}' \; | cut -d / -f 1-5


You'd have to change ddd-3.3.11.tar.gz(I used it because I had it), but 
you can then output a list of all the directories you need to build the 
port in.  You can then probably use xargs to automatically make that 
port.


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


Re: driver for LSI megaraid sas 8708 ELP in FreeBSD 6.2

2007-10-12 Thread Aryeh M. Friedman

 I don't know if 7-RELEASE supports it or not but you might want to try
 it... for anyone else reading and unaware 7-CURRENT became 7-RELEASE and
 CURRENT is now 8-CURRENT as of yesterday (at least in cvsup).
   


Small correction I meant 7-STABLE since RELENG is not done certifying it
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1 TB data copy

2007-10-12 Thread James
On Fri, 2007-10-12 at 08:23 -0400, Monah Baki wrote:

 Hi all,
 
 We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server
 supports USB 1 while the freebsd supports usb 2.
 We went and purchased an external 1 TB usb 2 harddrive.
 Our objective is to copy 700GB worth of data from the windows to the freebsd
 server then take the external harddive to a remote client who runs windows
 2003 and then copy the data back to the windows server.



What's the connection between your windows 2003 server and your freebsd
server? Is the data 1 single file, or is it numerous small files?

I'm understanding that the reason you want to involve FreeBSD at all is
that it has faster write to the USB hard drive, yeah?

If you have any kind of network access between the two machines, and
it's small files, use rsync to copy data from windows to the FreeBSD box
(which will probably involve installing cygwin on the windows box -
relatively painless) .

If that's not an option, consider physically removing the hard drive
from the windows 2003 box, carrying it over to the FreeBSD box and
mounting the drive and then just copy the data onto the hard drive using
FAT as the destination file system, assuming it's not one large file. If
it *is* one large file, you could use the programs other folks have
recommended for NTFS read/write under FreeBSD.


Another option would be to spend $20 on a usb 2 PCI card -
http://www.amazon.com/s/ref=nb_ss_e/103-8650702-2329464?initialSearch=1url=search-alias%3Delectronicsfield-keywords=usb+2.0+pciGo.x=0Go.y=0Go=Go

Should also be available from your local electronics retailer. Install
that in the windows box and use the now native USB 2.0 connection to
dump the data.


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


help with text-append over SSH ?

2007-10-12 Thread Juri Mianovich

I have an account on a system where I cannot log in
over SSH, but I _can_ run a limited set of commands
remotely, over SSH.  (I am in a jail of some sorts).

I want to append the contents of a local text file to
the contents of a remote text file, over SSH.

Normally, I would do this locally with:

cat file1  file2

But again, file2 is remote, and I can't log in
there... I have access to the 'echo' command and the
'dd' command (among others) on the remote host ... so
for instance, I can do things like this:

ssh [EMAIL PROTECTED] rm -rf filename

So, with all that in mind, how do I append the
contents of a local file to a remote file, over SSH,
using either 'echo' or 'dd' ?

Thanks.


  

Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, 
and more!
http://tv.yahoo.com/collections/3658 

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


Re: genuine bulk email

2007-10-12 Thread Robin Becker

Jeffrey Goldberg wrote:

On Oct 12, 2007, at 7:05 AM, Robin Becker wrote:

At present I have reduced the email to a textual format with an 
embedded textual link. So the email looks like



..
When you personalize that give the date and IP address of the request. 
Something like


  ... the brochures you requested at TIME from IP.


this sounds reasonable



but is there anything at a system level that can be done to make 
emails less likely to be classified as spam?


The most crucial thing is the status of IP of the host sending the mail

  o Does it have a proper DNS PTR (reverse DNS) record?
  o Are you using SPF or DomainKeys to show that that IP address
is authorized to send mail in the sending domain's name?
  o Do you have working postmaster and abuse addresses for the domain you
are sending from?
  o Do you have a static IP address?
  o Are you clear of any major blacklists?
  o Can you demonstrate that every recipient really did request the mail?



these all sound very reasonable. However, we use the same IP for several virtual 
hosts ie we have more than one domain name so the reverse DNS is not clear to 
me. Is the from address inspected for comparison with the RDNS ie if I claim to 
be sending from xxx.com should my RDNS point back to xxx.com? Presumably I can 
have only one IP--domain ptr. I suspect it will be easier to set up the front 
end machine as that is supposed to be for the same client.


Each of those are far more important than whether you attach a PDF.  (By 
the way, say it's PDF or even Adobe's PDF, but not Adobe Acrobat format.)




OK that's good.

I assume that spammers try very hard and fail, so is this kind of 
email application effectively dead in the water before it starts?


Automatic mailing is fine.  What is important is how the email addresses 
were acquired.

..

this isn't automatic, the sales people manually enter all the details. The 
attached document is what the application generates and then the combined email.

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


Re: ECC capability and ACPI warnings

2007-10-12 Thread Chuck Swiger

On Oct 12, 2007, at 12:54 AM, CyberLeo Kitsana wrote:
Is there any way, by poking through dmesg or sysctls, to determine  
if a

machine has, or is capable of using, ECC RAM?


Well, the sysutils/dmidecode port can be used to answer that question:

pi# dmidecode -t memory
# dmidecode 2.8
SMBIOS 2.3 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Single-bit ECC
Maximum Capacity: 4 GB
Error Information Handle: No Error
Number Of Devices: 4

Handle 0x1100, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: No Error
Total Width: 72 bits
Data Width: 64 bits
Size: 128 MB
Form Factor: DIMM
Set: 1
Locator: DIMM_A
Bank Locator: BANK_1
Type: SDRAM
Type Detail: Synchronous
Speed: 133 MHz (7.5 ns)
[ ... ]


Also, is there an easy way to silence the following warnings in dmesg?
They all appear to be about the serial and parallel ports, which,  
as far

as I know, the machine does have. They may not be enabled in the BIOS,
however.


I think those messages only appear if you do a verbose boot...?

--
-Chuck

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


Re: help with text-append over SSH ?

2007-10-12 Thread Peter Boosten
On Fri, October 12, 2007 01:49, Juri Mianovich wrote:


 I have an account on a system where I cannot log in
 over SSH, but I _can_ run a limited set of commands remotely, over SSH.  (I
 am in a jail of some sorts).

 I want to append the contents of a local text file to
 the contents of a remote text file, over SSH.

 Normally, I would do this locally with:


 cat file1  file2

 But again, file2 is remote, and I can't log in
 there... I have access to the 'echo' command and the 'dd' command (among
 others) on the remote host ... so for instance, I can do things like this:


Just did some testing and this should work:

cat localtext | ssh remote cat  remotetext

Peter
-- 
http://www.boosten.org

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


batch conversion of TeX

2007-10-12 Thread Aryeh M. Friedman
Those who have followed my openoffice to TeX conversion know I am brand
new to TeX and want to know how to do the following conversions
(hopefully via some non-interactive process [eg. Make files]):

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


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Mel
On Friday 12 October 2007 00:39:27 James wrote:
 On Thu, 2007-10-11 at 18:14 -0400, Robert Huff wrote:
  James writes:
What has happened, though, is I've never ran rm in
/usr/ports/distfiles.  I'm going to think for a little bit about
a script that can move through /usr/ports/distfiles and reinstall
everything that exists there.
 
  Having been in almost the identical situation for different
  rasons, I sympathize.
  Yes, this will involve a sweep through /usr/ports distfiles.
  If you haven't ever deleted anything, I suggest a prelimiary manual
  run deleting everything but the most recent version.  This has a
  down-side, but it will prevent cluttering the rebuilt system with
  unused ports.

 /usr/ports/distfiles is definitely looking promising. awk is too damn
 painful to work with, so I'm going to dust off my perl skills.

 Hell, this could actually turn out to be fun. And if I write the script
 properly, it might make a nice disaster recovery tool
 for /usr/ports/ports-mgmt - it can be called
 WhenYou'reAnIdiotLikeJamesWasOnFreeBSDQuestions



 Well, if you figure out what ports you have installed, you can
 regenerate the

  pkgdb using:
 
  make -DNO_BUILD -DNO_INSTALL generate-plist fake-pkg
 
  for each port.
  I just tested that using a temporary PKG_DBDIR. In case you wanna see
  what happens, here's what I did:
 
  mkdir -p /tmp/var/db/pkg
  cd /usr/ports/shells/bash
  env PKG_DBDIR=/tmp/var/db/pkg make -DNO_BUILD -DNO_INSTALL \
  generate-plist fake-pkg

 Wow, that's great! I understand that it has the caveats that you mentioned,
 but it's *at least* a fantastic start.

OK, found the culprit after some digging. Quite enlightening. The pkg_create 
command gets fed the output of make actual-depends-list, which generates a 
package dependency list based on what's really installed, by looking 
into /var/db/pkg. Of course this doesn't work for you.

The solution lies in PKG_ARGS. I created a Makefile.local in x11/kdebase3 (cuz 
I was there), with the following one-liner:
PKG_ARGS=   -v -c -${COMMENT:Q} -d ${DESCR} -f ${TMPPLIST} -p 
${PREFIX} -P `cd ${.CURDIR}  ${MAKE} package-depends | ${GREP} -v -E 
${PKG_IGNORE_DEPENDS} | ${SORT} -u -t : -k 2` ${EXTRA_PKG_ARGS} 
$${_LATE_PKG_ARGS}

This is a copy of PKG_ARGS as defined in /usr/ports/Mk/bsd.port.mk with the 
difference that it uses package-depends rather then actual-package-depends to 
generate the dependency list.

I'm 90% sure this ignores any WITH_ knobs/options you've set to generate the 
dependency list, so you'll have to fix any stale dependencies with pkgdb -F 
or similar tools later.

Adding the above line to /etc/make.conf should work for you - make sure it's 
one line or escape properly ;)

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


genuine bulk email

2007-10-12 Thread Robin Becker
We have a project to make a graphical tool which allows salespersons to send an 
email with an attached PDF document. We are in testing and although the tool 
seems to work we have the problem of not looking like spam/phish etc etc. I have 
tried numerous tricks to avoid being classified as spam, but so far nothing 
seems to work.


At present I have reduced the email to a textual format with an embedded textual 
link. So the email looks like



Your  Document,

Thank you for your inquiry. below is a link to the brochures as requested, in 
Adobe Acrobat format.

It includes the YYY Airport Hotel and other information which may be useful. We 
thank you for your query.

Your  Document may be found here

http://host/path/aa-hrcc-20071012113659-20zi0rfoknv6gdi1w4bls0psd0.pdf

 Sales Team


It could be personalised a bit more, but is there anything at a system level 
that can be done to make emails less likely to be classified as spam? I assume 
that spammers try very hard and fail, so is this kind of email application 
effectively dead in the water before it starts?

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


OT: Procmail not recognising /etc/procmailrc?

2007-10-12 Thread Lisa Casey
Hi,

This is kind of off topic for this list, but I know a lot of FreeBSD Admins use 
Procmail, so hopefully someone here can help.

I'm running procmail 3.22 on FreeBSD. I verified that procmail does work on my 
system by following the testing your procmail installation in the ii Procmail 
Quick Start. Procmail worked flawlessly in processing a .procmailrc file in my 
home directory. Problem is, I can't seem to get it to do what is in my 
/etc/procmailrc file. Either procmail doesn't recognise the /etc/procmailrc 
file, or my syntax in that file is wrong.

I'm using spamassassin, and I want to send email that gets a very high spam 
score to /dev/null.  In the headers of these high scoring emails, there's a 
line like this:

X-Spam-Score: 25.762 (*)

My /etc/procmail.rc file looks like this:

mail# more /etc/procmailrc
# Directory for storing procmail configuration and log files
# You can name this environment variable anything you like
# (for example PROCMAILDIR) or, if you prefer, don't set it
# (but then don't refer to it!)
# PMDIR=/etc/Procmail

# LOGFILE should be specified ASAP so everything below it is logged
# Put ## before LOGFILE if you want no logging (not recommended)
LOGFILE=/var/log/pmlog

# To insert a blank line between each message's log entry, 
# uncomment next two lines (this is helpful for debugging)
LOG=


LOGABSTRACT=all
  
# Set to yes when debugging; VERBOSE default is no
VERBOSE=yes

# Replace $HOME/Msgs with your mailbox directory
# Mutt and elm use $HOME/Mail
# Pine uses $HOME/mail
# Netscape Messenger uses $HOME/nsmail
# Some NNTP clients, such as slrn  nn, use $HOME/News
# Mailboxes in maildir format are often put in $HOME/Maildir
#
# IMPORTANT: Upon reading an instruction that contains MAILDIR=,
#Procmail does a chdir to $MAILDIR and
#relative paths are relative to $MAILDIR
# MAILDIR=$HOME/mail   # Make sure this directory exists!
  
   
 End Variables section; Begin Processing section   

:0:
* ^X-Spam-Score: [2-9][0-9] 
/dev/null
 
:0:
* ^spam,[2-9][0-9]
/dev/null
 
  
# INCLUDERC=$PMDIR/rc.testing
# INCLUDERC=/etc/rc.testing
INCLUDERC=/etc/rc.renattach

When I receive an email with a spam score above 20, it is delivered, not sent 
to /dev/null. Also, procmail is not logging at all, even though with this 
procmailrc it ought to be logging verbosely in /var/log/pmlog

By the way, the permissions and ownership of /etc/procmailrc is-rw-r--r--  
1 root  wheel
and of /var/log/pmlog:   -rw-rw-rw-   1 root  wheel

How can I figure out why this isn't working?

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


Re: OT: Procmail not recognising /etc/procmailrc?

2007-10-12 Thread John Nielsen

Quoting Lisa Casey [EMAIL PROTECTED]:


Hi,

This is kind of off topic for this list, but I know a lot of FreeBSD 
Admins use Procmail, so hopefully someone here can help.


I'm running procmail 3.22 on FreeBSD. I verified that procmail does 
work on my system by following the testing your procmail 
installation in the ii Procmail Quick Start. Procmail worked 
flawlessly in processing a .procmailrc file in my home directory. 
Problem is, I can't seem to get it to do what is in my 
/etc/procmailrc file. Either procmail doesn't recognise the 
/etc/procmailrc file, or my syntax in that file is wrong.


As with most FreeBSD ports, procmail on FreeBSD looks under 
/usr/local/etc for its configuration information. Just use that path 
instead of /etc in any  non-FreeBSD documentation you encounter and you 
should be fine.


JN

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


Re: 1 TB data copy

2007-10-12 Thread CyberLeo Kitsana
Bill Moran wrote:
 In response to Monah Baki [EMAIL PROTECTED]:
 I'm not completely up to speed with FreeBSD's NTFS support.  Last I looked
 at it, it was experimental and there were warnings everywhere.  I assume
 it's improved since then (~3 years ago) but can't say with authority.

As I recall, the native FreeBSD NTFS support is read-only. However, the
NTFS-3g project has a mostly complete (and pretty safe) read/write
implementation as a FUSE program, which can be found in ports:

sysutils/fusefs-ntfs
sysutils/ntfsprogs

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


Re: Formatting man pages - txt file

2007-10-12 Thread David Kelly
On Fri, Oct 12, 2007 at 09:14:07AM +0200, Alain G. Fabry wrote:
 
 Hello,
 
 I'd like to get a man page in .txt format.
 
 What I tried was man man  man.txt, but this gives me the man pages
 with many control char.
 
 How can I get a man page to be formatted to a regular .txt file?

Others have already said. What I like is man -t man  man.ps to create
a Postscript file. Prints beautifully.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1 TB data copy

2007-10-12 Thread Bob Johnson
On 10/12/07, CyberLeo Kitsana [EMAIL PROTECTED] wrote:
 Bill Moran wrote:
  In response to Monah Baki [EMAIL PROTECTED]:
  I'm not completely up to speed with FreeBSD's NTFS support.  Last I looked
  at it, it was experimental and there were warnings everywhere.  I assume
  it's improved since then (~3 years ago) but can't say with authority.

 As I recall, the native FreeBSD NTFS support is read-only. However, the
 NTFS-3g project has a mostly complete (and pretty safe) read/write
 implementation as a FUSE program, which can be found in ports:

 sysutils/fusefs-ntfs
 sysutils/ntfsprogs


FreeBSD NTFS is not read only, but there are restrictions on what it
can write. To quote the man page:

 There is limited writing ability.  Limitations: file must be nonresident
 and must not contain any sparses (uninitialized areas); compressed files
 are also not supported.  The file name must not contain multibyte charac-
 ters.

If your file name uses only ASCII characters, you will be probably be
OK using mount_ntfs to write to an NTFS filesystem. I've used it for
years, but mostly for reading files. The few times I've used it for
writing, it worked fine. I think you are most likely to have problems
if you use it to edit an existing file.

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


Re: 1 TB data copy

2007-10-12 Thread Gerard
On October 12, 2007 at 08:23AM Monah Baki wrote:


 We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server
 supports USB 1 while the freebsd supports usb 2.
 We went and purchased an external 1 TB usb 2 harddrive.
 Our objective is to copy 700GB worth of data from the windows to the freebsd
 server then take the external harddive to a remote client who runs windows
 2003 and then copy the data back to the windows server.
 The throughput of copying the data from windows to the usb attached to it
 was ridiculous, more than 12 hours to copy 60GB of data.
 I tried copying a 1GB file from windows to the usb attached to the freebsd
 and it took less than 5 minutes, but ofcourse when I tried to mount the
 usb back to the windows box I could not see the 1GB file that I copied.
 How can use the freebsd as the destination copy since it has a much better
 throughput and at the same time have the windows box see the 600GB file
 that was copied once I attach the usb harddrive to it.

Wouldn't it be advantageous to upgrade the Windows machine to USB2 level?


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


Re: a beginner

2007-10-12 Thread Ivan Rambius Ivanov
Hello,

On 10/12/07, Connie Webb [EMAIL PROTECTED] wrote:
 Please help as I don't know where to begin.
It is not clear from your email what do you want to do and what you
have done up to know. If you do not have FreeBSD already installed you
can start from Installing FreeBSD chapter in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html.
I had to repeat the installation two or three times because I was not
satisfied with my partition layout or with the initial packages I had
installed and just because I wanted to play with it and get
comfortable.

If you have FreeBSD already installed then proceed with the next
chapters of the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/.

Regards
Rambius

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


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread James

This isn't quite as simple as I'd hoped it'd be to fix. Here's my
findings thus far (I haven't started writing my script yet, but I will
later today):

1. /usr/ports/distfiles contains everything I need
2. distfiles contains several versions of some packages, but that's
pretty trivial to resolve.
3. distfiles contains some packages whose source tarballs are named
*differently* to the packages themselves, such as unrar.

It's number 3 that's getting me.  It looks like the simplest thing might
be an if statement:

if (make search name=$PACKAGE)
score!
else
grep -r $PACKAGE /usr/ports

But before I go that far, I wanted to see if anyone had an alternate
idea for what might work.


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


Re: genuine bulk email

2007-10-12 Thread Robin Becker

Jeffrey Goldberg wrote:

On Oct 12, 2007, at 9:40 AM, Robin Becker wrote:

these all sound very reasonable. However, we use the same IP for 
several virtual hosts ie we have more than one domain name so the 
reverse DNS is not clear to me. Is the from address inspected for 
comparison with the RDNS ie if I claim to be sending from xxx.com 
should my RDNS point back to xxx.com? Presumably I can have only one 
IP--domain ptr. I suspect it will be easier to set up the front end 
machine as that is supposed to be for the same client.


The checking will work fine with virtual domains.  What matters is that

   DNS(rDNS(IP)) = IP  = DNS(vhost)

I think I've got that right.  (It's a bit more complicated to state when 
MXes and multiple A records for the same name are considered, but this 
is the general idea.)


Also it's not so much the header FROM or the envelope FROM, but the HELO 
string that is checked here.  For SPF and DomainKeys, it is the envelope 
FROM that is checked against the IP.  Presumably your mailer gives a 
constant HELO irrespective of the vhost that is in the envelope FROM.



OK this makes better sense. So long as my internal machine name matches the 
equation above then I should be OK no matter what. I'm fairly sure I've got 
stuff set up properly. I do need to set up the appropriate rDNS and check the 
HELO on the test machine though. The HELO looks right, but my rDNS is shot and I 
am currently in the CBL for some reason.




And how do the sales people acquire the data?  I'm sure that it's okay, 
but you may want to have a small description of the process on your web 
page that you could point postmasters to if a question arises.

..
these are telephone sales people so far as I know. When they're booking the 
room(s) for the client they ask if they want to receive an emailed document 
describing the hotel etc etc so it's not bulk in the sense of database -- email 
and certainly we're not recording any of the details at all. I suppose we could 
be used by our client as a spurious mail sender, but it would not be terribly 
fast and it's unlikely as they likely could do it much easier themselves.

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


Re: a beginner

2007-10-12 Thread Jerry McAllister
On Fri, Oct 12, 2007 at 11:47:17AM -0400, Connie Webb wrote:

 Please help as I don't know where to begin.

Presuming what you want to begin is learning and using FreeBSD,
the first thing is to start studying the extensive documentation
that is available.  See:
 http://www.freebsd.org/docs.html

Especially read the FreeBSD Handbook:  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

But, some of the other parts of documentation are helpful too.
  For Newbies gives a brief overview.  
  Publications lists lots of things published about FreeBSD, but there are 
more, such as FreeBSD Unleashed which is missing from the list and 
is pretty good.   Note that there may be more recent versions/editions 
of the books listed.
  Online Books and Publications lists some of the online magazines and
articles describing how people did things with FreeBSD.
  Don't forget the Manual Pages - usually called 'man pages' which you
should install when you install install FreeBSD, but are also 
available online.

But, since it is very difficult to just read stuff and understand it, 
I would suggest, after reading some of the beginning parts of the Handbook
such as 'Getting Started' and 'Installing FreeBSD',  commandeering a machine, 
downloading or buying the install CD for the latest RELEASE version and 
plugging it in and doing an install.  

Use it a bit just like that and maybe learn to configure X (x.org) 
and then after a while of playing so you have some familiarity, read
some more, wipe the whole thing and do the install again, for sure
with X and add some more things that you want to try, such as a web
server (Apache 2.2) and we Client/Browser (Firefox) and get Email set
up to your satisfaction.  

Keep reading the Handbook and other documentation.   It will give you 
ideas for additional things to try and improvements to make.   Keep in
mind that most of the people who write have favorite things that they
advocate.   The more religious they sound about it, the more likely it
is that there are other ways that may work just as well and, for your
specific purposes, whatever they are, even better.  So, try to stand a
little above the religious wars.  

For example, at the moment one of the hot wars seems to be about 
Email MTAs (Mail Transfer Agents).   They all work just fine for some 
applications and situations.  Sendmail, which comes included in a base
install, can be a little confusing to configure, but it comes included 
and already configured to work for a basic setup (which most people never
get beyond on a personal server), so, until you move to some more 
complicated/demanding situation (many thousands of accounts with different
rules for each or whatever), there is little need to worry about it.
Just learn from it. etc, etc, etc.

Another one that initiates religious wars is the text editor to use.
VI, Emacs, Vim, many others.
Try a few and find a favorite, but learn to use 'vi' at least well 
enough to get by.   The reason is that vi is always available in
UNIX systems (including FreeBSD) and much system management seems
to assume you are using vi.  So, you are going to get stuck with it
at times and, like many things, once you get used to it, it will
seem almost second nature.   I wrote up a page on learning to use
very basic vi.  It doesn't tell you everything about it.  There are
many more quite powerful things you can do, but if you learn the 
basics, you can do almost everything you need to do while managing
a FreeBSD (or any other UNIX) system.  That page is at:

http://z2.cl.msu.edu/~jerrymc/project/editvi/

Unfortunately, it is currently on a machine I have to take down frequently
for various work needs.  So, if it doesn't come up, check again an hour
or so later.  It will probably be back up.

Have fun.   FreeBSD is a very sophisticated and reliable OS, intended
for real computer work.  It is not just a toy, but once you get used
to it, its value becomes more apparent and /usr/ports/... is loaded
with eye candy as well as more useful work tools.

jerry 

 
 Connie Webb
 Montgomery County Courts
 Helpdesk Specialist
 41 N. Perry Street
 Dayton, Ohio
 
 Phone: 937-225-3480
 email: [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]


Re: driver for LSI megaraid sas 8708 ELP in FreeBSD 6.2

2007-10-12 Thread Aryeh M. Friedman
Daniel Madaoui wrote:


 --On 12 octobre 2007 07:52:07 + Aryeh M. Friedman
 [EMAIL PROTECTED] wrote:


 I don't know if 7-RELEASE supports it or not but you might want to try
 it... for anyone else reading and unaware 7-CURRENT became 7-RELEASE
 and
 CURRENT is now 8-CURRENT as of yesterday (at least in cvsup).



 Small correction I meant 7-STABLE since RELENG is not done certifying it

 I found 7-current-200709 on ftp.freebsd.org but when I boot on it, it
 didn't recognize my virtual disk ( raid 5 ) plugged on this card .
 This version doesn't seem to manage this card too.

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


Re: OT: Procmail not recognising /etc/procmailrc?

2007-10-12 Thread Lisa Casey
Hi John,

 As with most FreeBSD ports, procmail on FreeBSD looks under 
 /usr/local/etc for its configuration information. Just use that path 
 instead of /etc in any  non-FreeBSD documentation you encounter and you 
 should be fine.

Thanks - procmail's cranking along now! I appreciate it.

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


Re: genuine bulk email

2007-10-12 Thread Per olof Ljungmark

Robin Becker wrote:

Jeffrey Goldberg wrote:




The checking will work fine with virtual domains.  What matters is that

   DNS(rDNS(IP)) = IP  = DNS(vhost)

I think I've got that right.  (It's a bit more complicated to state 
when MXes and multiple A records for the same name are considered, but 
this is the general idea.)




This is your problem:

Ass long as the reverse DNS for the sending IP does not resolve to an 
existing domain name you are fried. Fix that and you're all set.


dig -x 217.196.247.135

;  DiG 9.3.3  -x 217.196.247.135
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 28770
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;135.247.196.217.in-addr.arpa.  IN  PTR

;; AUTHORITY SECTION:
247.196.217.in-addr.arpa. 3600  IN  SOA ns0.highspeedoffice.net. 
hostmaster.highspeedoffice.net. 2007061800 28800 7200 2419200 3600


;; Query time: 56 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 12 22:09:13 2007
;; MSG SIZE  rcvd: 116
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread RW
On Thu, 11 Oct 2007 14:26:19 -0600
James [EMAIL PROTECTED] wrote:

 Call it a moment of sheer stupidity, call it a misremembering, call it
 whatever you want (and I imagine I'll hear a few different ones), but
 I just did an rm -r /var/lib/pkg.
 
 Before I type anything to damage things further, does anyone have any
 suggestions as to how to recover from this? I have other FreeBSD boxes
 available to me, none with the same pkg list, though. I'll be reading
 man pkgdb in the meantime..


This came up recently in another thread, and what seemed to be the best
solution to me, was this:

1. work out which leaf-ports you actually need - don't worry about the
dependencies.

2. at your leisure build new packages under a chroot environment, or on
another machine.

3. back-up /usr/local/etc (or the whole of /usr/local)

4. rm -rf  /usr/local/*

5. Restore  /usr/local/etc and install packages.

(If you have xorg installed, and it's not up-to-date, you may need to
consider /usr/X11R6 too)


This seems to be a good solution, it avoids more than a few minutes
disruption, avoids leaving any orphaned files,and most importantly
makes sure that all of the installed package have an entry
in /var/db/pkg. If you miss any of these entries, it may cause a lot of
trouble down the line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Hi,
Just out of curiosity, why did I fail to notice the branching of 
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and -announce.


Thanks,

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


Re: Recent branching of CURRENT

2007-10-12 Thread Aryeh M. Friedman


 Just out of curiosity, why did I fail to notice the branching of
 RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
 -announce.

It seems it was not announced anywhere just word of mouth kind of thing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ImageMagick

2007-10-12 Thread Peter Boosten
On Fri, October 12, 2007 22:59, Rem P Roberti wrote:


 ImageMagick keeps showing up as an upgrade, but when I run portugpgrade
 I get this message:


 ** Port marked as IGNORE: graphics/ImageMagick:
 Presence of FPX breaks self-tests. Disable FPX or disable
 automatic tests.

 I don't find anything in UPGRADING about this and am wondering whether
 there is something to be done here.


Hi Rem,

Go to the graphics/ImageMagick directory, perform a make config and switch
off the tests (as suggested). Then do your portupgrade thingy.

Peter



-- 
http://www.boosten.org

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


Re: ImageMagick

2007-10-12 Thread Mel
On Friday 12 October 2007 22:59:12 Rem P Roberti wrote:
 ImageMagick keeps showing up as an upgrade, but when I run portugpgrade
 I get this message:

 ** Port marked as IGNORE: graphics/ImageMagick:
 Presence of FPX breaks self-tests. Disable FPX or disable
 automatic tests.

 I don't find anything in UPGRADING about this and am wondering whether
 there is something to be done here.

Yeah. Disable FPX or disable automatic tests.
Wait, it says that.
Long version then:
echo 'WITHOUT_IMAGEMAGICK_TESTS=YES'  /var/db/ports/ImageMagick/options
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recent branching of CURRENT

2007-10-12 Thread Kris Kennaway

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of 
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and -announce.


Because it's an administrative change that is just a normal part of the 
release engineering process.  i.e. 7.0 is not released etc.


Kris



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


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread Mel
On Friday 12 October 2007 22:19:41 RW wrote:
 On Thu, 11 Oct 2007 14:26:19 -0600

 James [EMAIL PROTECTED] wrote:
  Call it a moment of sheer stupidity, call it a misremembering, call it
  whatever you want (and I imagine I'll hear a few different ones), but
  I just did an rm -r /var/lib/pkg.
 
  Before I type anything to damage things further, does anyone have any
  suggestions as to how to recover from this? I have other FreeBSD boxes
  available to me, none with the same pkg list, though. I'll be reading
  man pkgdb in the meantime..

 This came up recently in another thread, and what seemed to be the best
 solution to me, was this:

 1. work out which leaf-ports you actually need - don't worry about the
 dependencies.

 2. at your leisure build new packages under a chroot environment, or on
 another machine.

 3. back-up /usr/local/etc (or the whole of /usr/local)

 4. rm -rf  /usr/local/*

 5. Restore  /usr/local/etc and install packages.

Why would you go through 3-5 when you can just 
mv /chroot/build/directory/var/db/pkg /var/db/pkg ?

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


ImageMagick

2007-10-12 Thread Rem P Roberti

ImageMagick keeps showing up as an upgrade, but when I run portugpgrade
I get this message:

** Port marked as IGNORE: graphics/ImageMagick:
Presence of FPX breaks self-tests. Disable FPX or disable
automatic tests.

I don't find anything in UPGRADING about this and am wondering whether
there is something to be done here.

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


PF ALTQ CBQ rules

2007-10-12 Thread Ovi

Hello guys

I have this example from OpenBSD:

altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1, 
customer_1 }
queue customer_1 bandwidth 1Mb cbq(red,ecn) { customer_1_bulk, customer_1_ack }
queue customer_1_ack priority 7
queue customer_1_bulk priority 0

I want to use CBQ on FreeBSD, with similar rules still I have the 
following problem:
On a 20Mb internet line I have 100 users. I want to limit (cap) 
bandwidth per user at 1 Mb and to add queues for all 100 users.
The problem is that on FreeBSD this rules are not working, instead I 
must use this:


altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1, 
customer_1 }
queue customer_1 bandwidth 1Mb cbq(red,ecn) { customer_1_bulk, customer_1_ack }
queue customer_1_ack bandwidth 800Kb priority 7
queue customer_1_bulk bandwidth 128Kb priority 0


This bandwidth option does not help me because I must not exceed 1 Mb.
My second problem is if I have 100 users, then toal of 1Mb x 100 will be 
100Mb and I exceed total bandwidth of 20 Mb.


So my question is: how I do bandwidthupper limit with CBQ per user, like 
no more than 1 Mb, and add rules for 100 users?


best regards,
ovi

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


Re: ImageMagick

2007-10-12 Thread David J Brooks
On Friday 12 October 2007 03:59:12 pm Rem P Roberti wrote:
 ImageMagick keeps showing up as an upgrade, but when I run portugpgrade
 I get this message:

 ** Port marked as IGNORE: graphics/ImageMagick:
 Presence of FPX breaks self-tests. Disable FPX or disable
 automatic tests.

 I don't find anything in UPGRADING about this and am wondering whether
 there is something to be done here.

Personally, I'm waiting for the FXP options to be repaired, but if you really 
want to do the upgrade now, simply run 'make config' 
in /usr/ports/graphics/ImageMagick and deselect the FXP knob. Then 'make 
install clean' as normal.

David
-- 
You will inherit some money or a small piece of land.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ImageMagick

2007-10-12 Thread Rem P Roberti
On 2007.10.12 23:16:34 +, Peter Boosten wrote:
 On Fri, October 12, 2007 22:59, Rem P Roberti wrote:
 
 
  ImageMagick keeps showing up as an upgrade, but when I run portugpgrade
  I get this message:
 
 
  ** Port marked as IGNORE: graphics/ImageMagick:
  Presence of FPX breaks self-tests. Disable FPX or disable
  automatic tests.
 
  I don't find anything in UPGRADING about this and am wondering whether
  there is something to be done here.
 
 
 Hi Rem,
 
 Go to the graphics/ImageMagick directory, perform a make config and switch
 off the tests (as suggested). Then do your portupgrade thingy.
 
 Peter


Thanks, Peter.  This is basically newbie stuff, which I am.  I sure am
having a good time learning FreeBSD.

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


rpc_lockd and syslogd

2007-10-12 Thread mr. phreak
I have a chicken-egg problem. On my diskless setup the syslogd gives me 
this error during boot:


syslogd: cannot open pid file: operation not supported

And I tracked the issue to flock() and enabled rpc_lockd. Still it gives 
me the same error - because rpc_lockd
starts AFTER syslogd does. I've tried fiddling around with REQUIRES and 
PROVIDES in the rc.d files but I cannot make it work... It gives me the 
error anyway. (or other errors due to rc.d-hacking)... is there any way 
to solve this? I'd appreciate some help!


when running syslogd when logged in it doesn't give me the error so I 
guess rpc_lockd *really* is the sollution.



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


Re: PF ALTQ CBQ rules

2007-10-12 Thread Mel
On Saturday 13 October 2007 00:17:32 Ovi wrote:
 Hello guys

 I have this example from OpenBSD:

 altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1,
 customer_1 } queue customer_1 bandwidth 1Mb cbq(red,ecn) { customer_1_bulk,
 customer_1_ack } queue customer_1_ack priority 7
 queue customer_1_bulk priority 0

 I want to use CBQ on FreeBSD, with similar rules still I have the
 following problem:
 On a 20Mb internet line I have 100 users. I want to limit (cap)
 bandwidth per user at 1 Mb and to add queues for all 100 users.
 The problem is that on FreeBSD this rules are not working, instead I
 must use this:

 altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1,
 customer_1 } queue customer_1 bandwidth 1Mb cbq(red,ecn) { customer_1_bulk,
 customer_1_ack } queue customer_1_ack bandwidth 800Kb priority 7
 queue customer_1_bulk bandwidth 128Kb priority 0


 This bandwidth option does not help me because I must not exceed 1 Mb.

This can't be done with cbq, because in cbq the sum of child queues must match 
the interface bandwidth or less. Use hfsc for this.
Also, you reserve 80% for ack and 20% for bulk, you might wanna reverse that.

 So my question is: how I do bandwidthupper limit with CBQ per user, like
 no more than 1 Mb, and add rules for 100 users?

See above.

A good resource on HFSC:
http://www.probsd.net/pf/index.php/HFSC

It would look something like this:
# Use interface bandwidth, so your interface doesn't get limited
altq on $br1_if bandwidth 100Mb hfsc(upperlimit 100Mb) queue { \
NO_CUSTOMER, \
CUSTOMERS
}
# Any traffic not assigned to a customer comes on the NO_CUSTOMER queue.
# Backlogged traffic consumes a maximum of 80Mbit
# There's always 55Mbit available.
# Realtime values may not exceed 75% of root queue
queue NO_CUSTOMER bandwidth 80Mb hfsc(realtime 55Mb default)

# Create a customers root queue, setting hard limits for any customers
# It ensures the entire internet connection is available at all times
# and also limits it to that ammount
queue CUSTOMERS bandwidth 20Mb hfsc(realtime 20Mb upperlimit 20Mb) { \
customer_1, \
customer_2, \
..., \
}
# Assign 1% per customer (100 customers) for backlogged traffic.
# No realtime guarantees, let hfsc figure out how to spend the 20Mbit
# from the CUSTOMERS parent queue.
# No customer gets more then 1Mbit even if he's alone surfing the net.
queue customer_1 bandwidth 1% hfsc(linkshare 1% upperlimit 1Mb) \
{ customer_1_bulk, customer_1_ack }
# default priority is 1
queue customer_1_bulk bandwidth 80% hfsc
queue customer_1_ack bandwidth 20% priority 2 hfsc

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


Re: Recent branching of CURRENT

2007-10-12 Thread Mel
On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:
 Per olof Ljungmark wrote:
  Hi,
  Just out of curiosity, why did I fail to notice the branching of
  RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
  -announce.

 Because it's an administrative change that is just a normal part of the
 release engineering process.  i.e. 7.0 is not released etc.

And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is just 
forked for development of entirely new features? I.o.w. do we 2 current or 2 
stable branches now?

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


Re: rpc_lockd and syslogd

2007-10-12 Thread Mel
On Saturday 13 October 2007 00:41:31 mr. phreak wrote:

 I have a chicken-egg problem. On my diskless setup the syslogd gives me
 this error during boot:

 syslogd: cannot open pid file: operation not supported

 And I tracked the issue to flock() and enabled rpc_lockd. Still it gives
 me the same error - because rpc_lockd
 starts AFTER syslogd does. I've tried fiddling around with REQUIRES and
 PROVIDES in the rc.d files but I cannot make it work... It gives me the
 error anyway. (or other errors due to rc.d-hacking)... is there any way
 to solve this? I'd appreciate some help!

 when running syslogd when logged in it doesn't give me the error so I
 guess rpc_lockd *really* is the sollution.

Or the solution is specifying a pid file on a memory disk? I can't think of 
any issues with /var/run being /dev/md*, but there might some. In any case, 
syslogd_flags=-s -P /tmp/syslogd.pid should work as well. The issue I see 
with that is that /etc/rc.d/syslogd doesn't expose it's pidfile for outside 
configuration.

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


Re: Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Mel wrote:

On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
-announce.

Because it's an administrative change that is just a normal part of the
release engineering process.  i.e. 7.0 is not released etc.


And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is just 
forked for development of entirely new features? I.o.w. do we 2 current or 2 
stable branches now?


I would assume we have one current still (8-) and a pile of -STABLE 
(2.2-, 3-, 4-, 5-, 6- and now 7-).


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


Re: Recent branching of CURRENT

2007-10-12 Thread Erik Trulsson
On Sat, Oct 13, 2007 at 12:52:00AM +0200, Mel wrote:
 On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:
  Per olof Ljungmark wrote:
   Hi,
   Just out of curiosity, why did I fail to notice the branching of
   RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
   -announce.
 
  Because it's an administrative change that is just a normal part of the
  release engineering process.  i.e. 7.0 is not released etc.
 
 And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is just 
 forked for development of entirely new features?

RELENG_7 was forked in preperation for the upcoming 7.0 release.  That meant
 -CURRENT could be unfrozen so that new features can be added.  (And since
the current -CURRENT will eventually lead up to an 8.0 release it is now
called 8-CURRENT rather than 7-CURRENT.)

Personally I would not consider RELENG_7 to be a real 'stable' branch until
after 7.0 has been officially released (or at least not until the RELENG_7_0
release branch has been created and RELENG_7 been unfrozen.)


 I.o.w. do we 2 current or 2 
 stable branches now?

We have many more than 2 stable branches: RELENG_6.  RELENG_4, RELENG_3, 
RELENG_5,
RELENG_2_2, etc.  Most of them are no longer in active development, but
you never know when some committer sees fit to backport something to an
older branch.



-- 
Insert your favourite quote here.
Erik Trulsson
[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: Recent branching of CURRENT

2007-10-12 Thread Kris Kennaway

Mel wrote:

On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
-announce.

Because it's an administrative change that is just a normal part of the
release engineering process.  i.e. 7.0 is not released etc.


And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is just 
forked for development of entirely new features? I.o.w. do we 2 current or 2 
stable branches now?


Those are just names, don't worry too much about it.  RELENG_7 will be 
the start of a new -STABLE branch once it is released.


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


Re: Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Kris Kennaway wrote:

Mel wrote:

On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
-announce.

Because it's an administrative change that is just a normal part of the
release engineering process.  i.e. 7.0 is not released etc.


And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT 
is just forked for development of entirely new features? I.o.w. do we 
2 current or 2 stable branches now?


Those are just names, don't worry too much about it.  RELENG_7 will be 
the start of a new -STABLE branch once it is released.


Mmmm... forgot we've got PRERELEASE too, sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help with text-append over SSH ? - dd: unknown operand

2007-10-12 Thread Juri Mianovich

--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2007-10-11 16:49, Juri Mianovich
 [EMAIL PROTECTED] wrote:
 
  I have an account on a system where I cannot log
 in over SSH, but I
  _can_ run a limited set of commands remotely, over
 SSH.  (I am in a
  jail of some sorts).
 
  I want to append the contents of a local text file
 to the contents of
  a remote text file, over SSH.
 
  Normally, I would do this locally with:
 
  cat file1  file2
 
  But again, file2 is remote, and I can't log in
 there... I have access
  to the 'echo' command and the 'dd' command (among
 others) on the
  remote host ... so for instance, I can do things
 like this:
 
  ssh [EMAIL PROTECTED] rm -rf filename
 
  So, with all that in mind, how do I append the
 contents of a local
  file to a remote file, over SSH, using either
 'echo' or 'dd' ?
 
 Try running:
 
 cat file1 | ssh [EMAIL PROTECTED] dd  file2


Thank you - I do indeed need to use 'dd' because I
don't have access to 'cat' in the chroot.

However, when I use your example, I get this error:

dd: unknown operand 

So I have something off a bit ... help ?


  

Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

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


Re: help with text-append over SSH ? - dd: unknown operand

2007-10-12 Thread Andrew Pantyukhin
On Fri, Oct 12, 2007 at 04:43:38PM -0700, Juri Mianovich wrote:
 
 --- Giorgos Keramidas [EMAIL PROTECTED]
 wrote:
 
  On 2007-10-11 16:49, Juri Mianovich
  [EMAIL PROTECTED] wrote:
  
   I have an account on a system where I cannot log
  in over SSH, but I
   _can_ run a limited set of commands remotely, over
  SSH.  (I am in a
   jail of some sorts).
  
   I want to append the contents of a local text file
  to the contents of
   a remote text file, over SSH.
  
   Normally, I would do this locally with:
  
   cat file1  file2
  
   But again, file2 is remote, and I can't log in
  there... I have access
   to the 'echo' command and the 'dd' command (among
  others) on the
   remote host ... so for instance, I can do things
  like this:
  
   ssh [EMAIL PROTECTED] rm -rf filename
  
   So, with all that in mind, how do I append the
  contents of a local
   file to a remote file, over SSH, using either
  'echo' or 'dd' ?
  
  Try running:
  
  cat file1 | ssh [EMAIL PROTECTED] dd  file2
 
 Thank you - I do indeed need to use 'dd' because I
 don't have access to 'cat' in the chroot.
 
 However, when I use your example, I get this error:
 
 dd: unknown operand 
 
 So I have something off a bit ... help ?

cat file1 | ssh [EMAIL PROTECTED] dd -of file2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recent branching of CURRENT

2007-10-12 Thread Mel
On Saturday 13 October 2007 01:15:45 Kris Kennaway wrote:
 Mel wrote:
  On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:
  Per olof Ljungmark wrote:
  Hi,
  Just out of curiosity, why did I fail to notice the branching of
  RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
  -announce.
 
  Because it's an administrative change that is just a normal part of the
  release engineering process.  i.e. 7.0 is not released etc.
 
  And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is
  just forked for development of entirely new features? I.o.w. do we 2
  current or 2 stable branches now?

 Those are just names, don't worry too much about it.  RELENG_7 will be
 the start of a new -STABLE branch once it is released.

That is actually what I'm worried about. It means drivers are less likely to 
be MFC'd to RELENG_6 from 7.0-RELEASE onwards - I was hoping that wouldn't 
happen till 7.1.

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


Re: Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Mel wrote:

On Saturday 13 October 2007 01:15:45 Kris Kennaway wrote:

Mel wrote:

On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
-announce.

Because it's an administrative change that is just a normal part of the
release engineering process.  i.e. 7.0 is not released etc.

And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is
just forked for development of entirely new features? I.o.w. do we 2
current or 2 stable branches now?

Those are just names, don't worry too much about it.  RELENG_7 will be
the start of a new -STABLE branch once it is released.


That is actually what I'm worried about. It means drivers are less likely to 
be MFC'd to RELENG_6 from 7.0-RELEASE onwards - I was hoping that wouldn't 
happen till 7.1.


It's called progress. This is normal. If you need a driver that is 
happening in 7- only, then upgrade to 7. RELENG_6 will turn into a 
supported fix branch or whatever the name is and RELENG_7 is where the 
action takes place, just like it has been going on for quite some time 
(please correct me if I'm wrong).




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


Re: I performed an rm -r on /var/lib/pkg

2007-10-12 Thread RW
On Fri, 12 Oct 2007 23:13:58 +0200
Mel [EMAIL PROTECTED] wrote:

 On Friday 12 October 2007 22:19:41 RW wrote:
  On Thu, 11 Oct 2007 14:26:19 -0600
 
  James [EMAIL PROTECTED] wrote:
   Call it a moment of sheer stupidity, call it a misremembering,
   call it whatever you want (and I imagine I'll hear a few
   different ones), but I just did an rm -r /var/lib/pkg.
  
   Before I type anything to damage things further, does anyone have
   any suggestions as to how to recover from this? I have other
   FreeBSD boxes available to me, none with the same pkg list,
   though. I'll be reading man pkgdb in the meantime..
 
  This came up recently in another thread, and what seemed to be the
  best solution to me, was this:
 
  1. work out which leaf-ports you actually need - don't worry about
  the dependencies.
 
  2. at your leisure build new packages under a chroot environment,
  or on another machine.
 
  3. back-up /usr/local/etc (or the whole of /usr/local)
 
  4. rm -rf  /usr/local/*
 
  5. Restore  /usr/local/etc and install packages.
 
 Why would you go through 3-5 when you can just 
 mv /chroot/build/directory/var/db/pkg /var/db/pkg ?

For the reasons that that you snipped off the bottom of my post.

   ... avoids leaving any orphaned files,and most
  importantly makes sure that all of the installed package have an
  entry in /var/db/pkg. If you miss any of these entries, it may
  cause a lot of trouble down the line.

/chroot/build/directory/var/db/pkg is only a rough guess as to
what was actually installed under /usr/local/.  Maybe some forgotten
dependency doesn't get included in the new build.  A year from now you
may find odd build problems, or new port installs may use orphaned
files with critical vulnerabilities that portaudit can't detect. 

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


Installation interrupted

2007-10-12 Thread Stephen Dill
Hello all, I think I saw a post or FAQ explaining that an  
installation CD won't run a second time. Is this correct? I wasn't  
sure how to translate the hard drive names I saw listed in the  
install screen, to the Windows drive names so I cancelled the  
install. Now that I know which to choose I am unable to get the  
install to run again. (I get a Panic: ohci_add_done: addr oxoood1bfo  
not found).
I'm guessing I need to reformat the 10G drive but am hesitant to do  
so because of the GRUB.

Pointer to a FAQ or assistance please?
I'll install over existing PCLinuxOS.

Hmm, it occurs to me what the sage advice about not working on a  
production machine (my wife's home PC) is about. One reason is that  
makes it hard to mess about with the machine and really learn the  
basics...


Trying to install FreeBSD 6.2 AMD64.
eMachines T6524 1G mem, 10G HDD; 200G HD w/XP
Dual boot with grub. PCLinuxOS already on 10G(nice too).
Thanks, Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd-update port uname/internal patch level mismatch

2007-10-12 Thread Vinny

Hi,

I noticed that using freebsd-update on a freshly installed
6.2-RELEASE system yielded the following mismatch:

$ uname -vp
FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

The results of running a freebsd-update fetch give:

zcnew# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 6.2-RELEASE-p8.

So uname says -p4 and freebsd-update says -p8

I know -p8 is correct.  The kernel was last patched in -p4 so
maybe the uname information isn't updated if the kernel
isn't updated...?

If there is something I'm doing wrong, please let me know.

Thank you.

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


  1   2   >