Re: Which of these NICs will work?

2010-09-04 Thread Matthew Seaman
On 03/09/2010 18:32:49, Robert Huff wrote:
> 
> Ryan Coleman writes:
> 
>>  Any thoughts? I need/want to get a multi-port NIC for my new
>>  system but I haven't purchased the guts for the server yet. 
>>  
>>  
>> http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100010064+600013872+600016290&QksAutoSuggestion=&ShowDeactivatedMark=False&Configurator=&IsNodeId=1&Subcategory=27&description=&Ntk=&CFG=&SpeTabStoreType=&srchInDesc=
>>  
>>  
>>  Basically, this machine will have two external (real-world) IPs
>>  and one network LAN (10.0.1.0/24) address, finding three-NIC
>>  motherboards is not exactly possible so this is my alternative. 
> 
>   Intel network cards have a very good reputation; I have been
> running a dual-port Pro/1000 GT for years and the thing is still a
> rock.  Others will have a better opinion on performance issues.
>   The Intel employee who maintains the driver is frequently seen
> on current@ and occasionally on questi...@.  Nice guy, very
> responsive.

I second all the other respondents praise of the Intel cards.  Intel is
a safe choice of NIC -- basically you can be sure that it will not only
be supported, but it will work very well.

Of the other branded NICs there, unfortunately it is impossible to say
much about them based on the manufacturers name.  The important thing is
the chipset.  If the chipset is supported then you can be 99% certain
the card will work.  (The other 1% are manufacturers who do stupid
things to the card firmware.)  Unfortunately that is the sort of useful
information that vendors almost never tell you on a website.  Probably
because they think all those letters and numbers will scare people away.
 They're right of course: that sort of cheap card tends to use chipsets
from people like RealTek, many of whose products attract a wholly
justified level of opprobrium.  [Definitely avoid things that use the
rl(4) driver.  Stuff that uses re(4) is passable for some uses.]

Also "working well" is quite subjective.  It depends on the sort of
traffic patterns and load levels you need to deal with.  Cheaper NICs
will not be able to cope with sustained mega-bit levels of traffic and
complicated networking layouts, but they will be fine for occasional
light use in a desktop box.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Benchmark tool

2010-09-04 Thread bsd
Hi, 

I am looking for a tool (or a configuration setup) that will allow me to 
benchmark (performance test) couple of firewall based on pfSense, and eventualy 
to compare them with other software / hard solution. 

Any idea, clue, link will be highly appreciated. 


Thanks 


Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need to run a Command Once on Boot. FreeBSD8.1

2010-09-04 Thread Odhiambo Washington
On Fri, Sep 3, 2010 at 11:00 PM, Jason  wrote:

> On Fri, Sep 03, 2010 at 02:50:48PM -0500, Martin McCormick thus spake:
>
>  Robert Bonomi writes:
>>
>>> /etc/rc.local maybe?  contrary to the 'rc.d' way of doing things, but
>>> 'simple'.  :)
>>>
>>
>>Thanks so much to both people who answered. I thought
>> there was more to it than that  but I may be thinking of the
>> rcx.d directories in Linux. If you don't watch out, you can be
>> scratching your head all day trying to figure out why the job
>> isn't getting done. I use and like both FreeBSD and Linux but
>> some things are easier in one than the other.
>>
>>Again, many thanks.
>>
>
> man 5 crontab has:
>
> @reboot Run once, at startup


But this will always run every reboot, no?

I think there used to be something along the lines of rc.early which could
do what he wants. Then you can schedule a task to delete rc.early once it's
served it's purpose:)


>
>
>
>> Martin McCormick WB5AGZ  Stillwater, OK
>> Systems Engineer
>> OSU Information Technology Department Telecommunications Services Group
>>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
   -- Lucky Dube
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Updating KDE4

2010-09-04 Thread Jerry
From the UPDATING file:

20100902:
  AFFECTS: users of KDE4
  AUTHOR: k...@freebsd.org

  KDE SC ports has been updated to 4.5.1. A number of files were moved
  between packages, manual intervention into update procedure is required:

  # pkg_delete -f kdehier4\* kdelibs-4\* kdebase-4\* kdebase-runtime-4\* 
kdebase-workspace-4\*
  # rm -rf /usr/local/kde4/share/PolicyKit/policy
  # cd /usr/ports/misc/kdehier4 && make install clean
  # portmaster -a

I don't use 'portmaster'. I am assuming that 'portupgrade -a' would
accomplish the same thing. Would that be correct?

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Which of these NICs will work?

2010-09-04 Thread H.Fazaeli

 based on 10+ exprience and working with a dozen models,
I recommend intel cards:

- Intel explicitly supports freebsd.
- the cards are highly stable
- have best performance among all other cards on freebsd

and if you look for best performance, buy a card
based on 82575 or 82576 controllers.

On 9/3/2010 8:28 PM, Ryan Coleman wrote:

Any thoughts? I need/want to get a multi-port NIC for my new system but I 
haven't purchased the guts for the server yet.

http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100010064+600013872+600016290&QksAutoSuggestion=&ShowDeactivatedMark=False&Configurator=&IsNodeId=1&Subcategory=27&description=&Ntk=&CFG=&SpeTabStoreType=&srchInDesc=

Basically, this machine will have two external (real-world) IPs and one network 
LAN (10.0.1.0/24) address, finding three-NIC motherboards is not exactly 
possible so this is my alternative.

I'm looking for FreeBSD 7-9 support. Rather run 8.1-RELEASE (same as my other 
two machines right now).

Thanks,

Ryan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD8.1 AMD64 UFS2 file system size issues.

2010-09-04 Thread troy

   Hello.
   I am having a problem with a fresh install onto a = raid5 file system
   that is 9TB in size. during the initial install, the syste= m shows
   the correct disk size and partition sizes, but after it has complete   d and 
rebooted it shows the the large partition as only 1TB. I am
   using a 3w= are raid controller and even when I look at the boot
   message, it shows that = the entire drive is of the correct size.
   On initial install, this is= how I have setup the drive.
   Total disk size: Sep  4 12:17:51 fi= leserv kernel: da0: 9536640MB
   (19531038720 512 byte sectors: 255H 63S/T 1215= 750C)
   1G da0s1a /&nbs= p;UFS
   4G da0s1b  &nb= sp;  swap
   2G da0s1d  =/varUFS2+S
   36G   da0s1e &n= bsp;   /usrUFS2+S
   remainder da0s1f &nbs= p;   /bigUFS2+S
   Upon completion of insta= ll and a reboot, The drive partitions show
   up as this:
   Filesystem&nbs= p; 1K-blocks Used  Avai= l Capacity  Mounted
   on
   /dev/da0s1a1012974  2= 72248 65969029%   = /
   devfs   = ; 1   1  = ;0   100%  &n= bsp; /dev
   /dev/da0s1f 1094909108   4 10= 07316376 0%/big
   /dev/da0s1e&nb= sp;  36558732 1486022   32148012 4%&n= bsp;   /usr
   /dev/da0s1d2026030  &n= bsp;  5501863398 0% &nb= sp;  /var
   It was my understanding that UFS2 supports drive s= izes well above
   what I am trying to use. Is there something that I am doing = wrong?
   Thanks,
   -Troy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


proper way to setup laptop with apache22

2010-09-04 Thread Jim Pazarena

I'm setting up a laptop with apache, just to play, basically.

But apache doesn't like the fact that it can't resolve the
lappy's hostname to an IP number and it will not load. The laptop
gets its IP # via DHCP so it changes at various locations.

I could use the localhost name & IP #, which should work.

My laptop is named 'laptop' (laptop.mydomain.com)

Is there a way to have the system utilize it's assigned IP #?
Or do I have to change my apache config to "localhost" ?

thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Directory Encryption?

2010-09-04 Thread Bernt Hansson

2010-08-23 18:04, Timm Wimmers skrev:

Am 23.08.2010 16:36, schrieb Chris Maness:

What is a good tool to encrypt a directory?  I need an application
that is also readily available for Apple OSX, and that does not get
mangled when transferring via rsync.


How about "openssl'?

Encrypt a TARed directory:

$ tar cjf - /path/to/source/folder | \
openssl enc -e -bf -out OUTFILE.tgz.enc -pass pass:MYSILLYPASS


Decrypt:

$ openssl enc -d -bf   \
  -in OUTFILE.tgz.enc   \
  -out OUTFILE.tgz  \
  -pass pass:MYSILLYPASS

There are also ways to encrypt with keys, see manpage.


Or
A single file

Encrypt and decrypt:

# openssl aes-128-cbc -salt -in file -out file.aes
# openssl aes-128-cbc -d -salt -in file.aes -out file


Note that the file can of course be a tar archive.

tar and encrypt a whole directory

# tar -cf - directory | openssl aes-128-cbc -salt -out directory.tar.aes 
 # Encrypt
# openssl aes-128-cbc -d -salt -in directory.tar.aes | tar -x -f - 
  # Decrypt




tar zip and encrypt a whole directory

# tar -zcf - directory | openssl aes-128-cbc -salt -out 
directory.tar.gz.aes  # Encrypt
# openssl aes-128-cbc -d -salt -in directory.tar.gz.aes | tar -xz -f - 
  # Decrypt





* Use -k mysecretpassword after aes-128-cbc to avoid the 
interactive password request. However note that this is highly insecure.


* Use aes-256-cbc instead of aes-128-cbc to get even stronger 
encryption. This uses also more CPU.


 http://cb.vu/unixtoolbox.xhtml#crypt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: proper way to setup laptop with apache22

2010-09-04 Thread Glen Barber
On 9/4/10 5:59 PM, Jim Pazarena wrote:
> I'm setting up a laptop with apache, just to play, basically.
> 
> But apache doesn't like the fact that it can't resolve the
> lappy's hostname to an IP number and it will not load. The laptop
> gets its IP # via DHCP so it changes at various locations.
> 
> I could use the localhost name & IP #, which should work.
> 
> My laptop is named 'laptop' (laptop.mydomain.com)
> 
> Is there a way to have the system utilize it's assigned IP #?
> Or do I have to change my apache config to "localhost" ?
> 

Hi,

You can enter (assuming 'lappy' is the hostname):

127.0.0.1   localhost lappy

in /etc/hosts and set the ListenAddress directive in Apache to bind to
that IP.

Regards,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: proper way to setup laptop with apache22

2010-09-04 Thread Glen Barber
On 9/4/10 6:34 PM, Glen Barber wrote:
> On 9/4/10 5:59 PM, Jim Pazarena wrote:
>> I'm setting up a laptop with apache, just to play, basically.
>>
>> But apache doesn't like the fact that it can't resolve the
>> lappy's hostname to an IP number and it will not load. The laptop
>> gets its IP # via DHCP so it changes at various locations.
>>
>> I could use the localhost name & IP #, which should work.
>>
>> My laptop is named 'laptop' (laptop.mydomain.com)
>>
>> Is there a way to have the system utilize it's assigned IP #?
>> Or do I have to change my apache config to "localhost" ?
>>
> 
> Hi,
> 
> You can enter (assuming 'lappy' is the hostname):
> 
> 127.0.0.1 localhost lappy
> 
> in /etc/hosts and set the ListenAddress directive in Apache to bind to
> that IP.
> 

Oops.  Listen 127.0.0.1:80

Too much SSH config-ing for me lately. :)

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


PDF to HTML translations

2010-09-04 Thread Chad Perrin
What PDF to HTML translators, other than pdftohtml, am I likely to be
able to find in ports?  I went looking for pdf2html, expecting to find
that there, but no luck.  Before I spend hours sifting through, still
without knowing whether I missed something that should be obvious, I
figured I'd ask here whether anyone knows of something off the top of
his/her head.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpcfXqERGvTX.pgp
Description: PGP signature


Re: PDF to HTML translations

2010-09-04 Thread Antonio Olivares
On 9/4/10, Chad Perrin  wrote:
> What PDF to HTML translators, other than pdftohtml, am I likely to be
> able to find in ports?  I went looking for pdf2html, expecting to find
> that there, but no luck.  Before I spend hours sifting through, still
> without knowing whether I missed something that should be obvious, I
> figured I'd ask here whether anyone knows of something off the top of
> his/her head.
>
> --
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
>

Chad,

There might be several out there, one that I know from the top of my head is
 OpenOffice.org, with the pdf import option then use export to pdf?
Have not used it to do the task, but I believe it can do the job.  An
other option without ports is to use google(gmail) and use the option
(View as HTML)?

Hope this helps in some way.

Regards,

Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF to HTML translations

2010-09-04 Thread b. f.
>What PDF to HTML translators, other than pdftohtml, am I likely to be
>able to find in ports?  I went looking for pdf2html, expecting to find
>that there, but no luck.

Off the top of my head:

OpenOffice
graphics/xpdf (via pdftotext -htmlmeta, simplistic)
graphics/poppler-utils (pdftohtml)

I'm guessing there are others, too.  Or maybe, you could use Adobe's
service.  From:

http://www.adobe.com/products/acrobat/access_onlinetools.html

"Adobe PDF Conversion by Email Attachment
If the Adobe PDF file is on local media, such as a hard drive, CD-ROM,
or internal server, it can be submitted as a MIME attachment to an
e-mail message. All converted Adobe PDF documents will be sent back to
the sender as MIME attachments. For plain text, mail the attached PDF
to pdf2...@adobe.com. For HTML, mail the attached PDF to
pdf2h...@adobe.com."

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF to HTML translations

2010-09-04 Thread b. f.
On 9/5/10, b. f.  wrote:
>>What PDF to HTML translators, other than pdftohtml, am I likely to be
>>able to find in ports?  I went looking for pdf2html, expecting to find
>>that there, but no luck.
>
> Off the top of my head:
>
> OpenOffice
> graphics/xpdf (via pdftotext -htmlmeta, simplistic)
> graphics/poppler-utils (pdftohtml)
>

I guess that you could also use converters/pdf2djvu + djvutoxml from
graphics/djvulibre[-nox11].

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD on Compaq mini CQ10 anyone?

2010-09-04 Thread Gonzalo Nemmi
I just got one and was wondering if anyone was running FreeBSD on it and 
how well does it work out of the box.

All comments are welcome.

Best Regards.
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


"gmirror load" broken in 8.1 memstick

2010-09-04 Thread perryh
Fixit# gmirror label -vb round-robin gm0 /dev/ad0s2a

appeared to work properly.  (I didn't write down the exact
message, but it said something about the metadata having
been written successfully.)  However:

Fixit# gmirror load
gmirror: Command 'load' not available.

and it did not create /dev/mirror/gm0 or even the /dev/mirror
directory.

How do I fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Can i use tmpfs to mount /tmp ?

2010-09-04 Thread zaxis

>cat /etc/fstab 
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s3b noneswapsw  0   0
/dev/ad4s3a /   ufs rw,noatime  1   
1
/dev/ad4s3e /tmpufs rw  2   2
/dev/ad4s3f /usrufs rw  2   2
/dev/ad4s3d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
/dev/ad4s7  /media/Fmsdosfs rw  0   0
/dev/ad4s8  /media/Gext2fs  rw  0   0

The /dev/ad4s3e is used for /tmp. Now i want to use tmpfs instead of ufs as
below
none /tmp tmpfs size=64M,nodev,nosuid,noexec 0 0

If i can, then how to reuse the space of /dev/ad4s3e ?

Sincerely!

-
e^(π⋅i) + 1 = 0
-- 
View this message in context: 
http://old.nabble.com/Can-i-use-tmpfs-to-mount--tmp---tp29625711p29625711.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF to HTML translations

2010-09-04 Thread Roland Smith
On Sat, Sep 04, 2010 at 05:09:20PM -0600, Chad Perrin wrote:
> What PDF to HTML translators, other than pdftohtml, am I likely to be
> able to find in ports?  I went looking for pdf2html, expecting to find
> that there, but no luck.  Before I spend hours sifting through, still
> without knowing whether I missed something that should be obvious, 

Yes, you did. :-)

> I
> figured I'd ask here whether anyone knows of something off the top of
> his/her head.

Try textproc/pdftohtml 

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)


pgpcasAYd2Ima.pgp
Description: PGP signature