The FreeBSD Diary: 2004-12-12 - 2005-01-01

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


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

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


Re: FreeBSD Gateway

2005-01-02 Thread Nikolas Britton
Victor Foulk wrote:
Hello all,
I have been looking into setting up a network gateway
using a FreeBSD box, so that I may employ many of the
network security features of the system (and to 
overcome the fact that the current network is
insecurely connected to a much larger ~public LAN).

The configuration would be much like this:
{Internet}--{Huge/NastyLAN}--{FreeBSDGate}--{SafeLAN}
Most of what I see states that I should use 
a *minimum* of:

266Mhz processor
64MB RAM
1GB HD (actually ~2GB based on number 
   desired security apps)
2 Compatible NIC's
 

The minimum is what you can get FreeBSD to run on, If you can can get 
FreeBSD working on a 386 then that is the minimum but for practicality a 
486 is the absolute minimum. As far as the minimun amount of disk space 
is conserned the same thing as above goes, here is a FreeBSD router 
project that works on as little as 5MB: http://www.m0n0.ch/wall/ . Same 
thing goes for RAM and obviously you need to have at least two Network 
Interface Cards unless you wanted to route all traffic to /dev/null.

What I really had hoped to find, was more of an experienced
networking guru's thumb rule equating the number of safeLAN
workstations with the required gateway RAM/Processor; to 
enable all safeLAN users to experience a minimal network
transaction time roughly equivalent to what they would see
if plugged directly into a really good hub.
Something maybe in the form of:
Proc Speed = X*Users+Y
RAM = W*Users+Z
 

You would plug them into a switch not a hub if you did that then the 
router would be the least of your problems as the bottleneck is the hub now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kern.maxfiles formula?

2005-01-02 Thread Lucky Green
I am running FreeBSD 5.3 on a dual CPU system with 1 GB of RAM with under a
dozen of very active users and a few rather active processes. The system
keeps running out of FDs, causing any number of problems, such as preventing
ssh logins.

sysctl kern.maxfiles shows a maximum of 12328 FDs. My kernel config file has
maxusers set to 0, which means the kern.maxfiles limit must be the OS
default.

What is the maximum number of FDs that can be set on a system with 1 GB of
RAM? What would it be for 2 GB of RAM? In other words, how many FDs can a
FreeBSD 5.3 system safely support for each GB of RAM?

Thanks,
--Lucky



This email was not PGP encrypted. The next email can be PGP encrypted,
but for this to happen you need to first click on to the URL below:

https://keys.cypherpunks.to/b/b.e?r=freebsd-questions%40freebsd.orgn=IAwOVV4jo0Vi3U6uOkiaEA%3D%3D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: write state to swap for multi-os boot

2005-01-02 Thread Eric Kjeldergaard
  Has anyone considered or accomplished allowing FreeBSD to write it's
  current state (including window manager, windows, etc) to swap and
  allowing a subsequent reload of the system to last state? This would be
  sort of like the sleep mode of a laptop, but would allow the user to boot
  into another OS (like Winblows) briefly and then resume their FreeBSD
  system state. I'd love to use FreeBSD as my primary desktop, but there may
  be times where I'll need to boot into Windows for apps that don't run
  under Wine. Since I tend to have a lot of application windows open, it's a
  PITA to have to reload everything on boot. Thoughts?
 
 This isn't a direct answer to your question, but you might want to have
 a look at vmware.
 

vmware and qemu (open source semi-alternative) are good ways to
accomplish booting Windows from inside of FreeBSD.  What you want,
however, is something that has been on the wishlist for a little while
now.  Suspend-to-RAM has been around and works fine for a while, but
Suspend-to-disc (which Linux currently has) is yet to be written. 
There have been suggestions of saving the RAM to swap space and
shutting down.  I hope to see someone put this into action soon.  It'd
be a great feature.  (Especially for mobiles)

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CDROM Mounting and Permissions (easy)

2005-01-02 Thread Nikolas Britton
Sergei Gnezdov wrote:
Hi,
I need to mount /dev/acd0 (cdrom) from the standard user account.
Do I have to give the user account write access to /dev/acd0 device or
there is another way I don't know about?
 

http://groups-beta.google.com/group/lucky.freebsd.questions/browse_thread/thread/a4811769719d0538 
(look at the date on the thread :-) )

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Prism GT Chipset, hostap?

2005-01-02 Thread Nikolas Britton
http://linux.junsun.net/intersil-prism/
http://tools.collegeterrace.net/prismfw/
http://www.red-bean.com/proski/firmware/readme.html
http://www.red-bean.com/proski/firmware/
http://taosecurity.blogspot.com/2004_02_01_taosecurity_archive.html 
(Adventures in Flashing Firmware)
http://tools.collegeterrace.net/openap-ct/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: courier-imap installation

2005-01-02 Thread artware
Thanks, though I've switched to qpopper, and it's working fine. Now my
only problem is trying to get postfix working with TLS and SASL. I'm
working off of these instructions:
http://yocum.org/faqs/postfix-tls-sasl.html
But even though postfix and saslauthd are running with no problems, I
can't seem to coax the server to accept TLS connections with SASL
authentication... Telneting into port 25, the server is totally
silent.

- ben


On Sun, 02 Jan 2005 08:51:43 +0100, Volker Kindermann [EMAIL PROTECTED] wrote:
 Hi Ben,
 
 
  /usr/local/etc/rc.d/courier-imap-pop3d.sh.sample (because I'm trying
  to run a POP3 server) and now I get:
 
  /usr/local/etc/courier-imap/pop3d does not exist, forgot make 
  install-configure?
 
 perhaps you should rename the courier files in /usr/local/etc/rc.d from
 servicename.sample to servicename? Like:
 
 cd /usr/local/etc/rc.d
 mv courier-imap-pop3d.sh.sample courier-imap-pop3d.sh
 
 And then try again?
 
   -volker

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


Re: Does freeBSD have CORBA specs and does it have J2sdk1.4.2 ?

2005-01-02 Thread Loren M. Lang
On Sun, Dec 26, 2004 at 08:31:35PM -0500, [EMAIL PROTECTED] wrote:
 I have been told it does have both already, but  I can't find it in any of 
 documentations.  I'm specifically talking about  freebsd on emulab.net. 

Yes, freebsd has had both corba and sun java for a long time.  corba is
needed by the gnome desktop which is very well supported on freebsd plus
many gnome app even if you don't use the gnome desktop.  Your pretty
much guaranteed that freebsd will have corba already installed and
running because of this.  It uses ORBit, the same implementation used on
linux and so all the same docs apply to freebsd, just check out orbits
website.

For java, freebsd can use ibm or sun's java implementation.  ibm runs
under linux emulation and sun can run under linux emulation or natively.
There are also a few open source jvm's like kaffe available.

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

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does freeBSD have CORBA specs and does it have J2sdk1.4.2 ?

2005-01-02 Thread Jorn Argelo
On Sun, 2 Jan 2005 02:25:38 -0800, Loren M. Lang wrote
 On Sun, Dec 26, 2004 at 08:31:35PM -0500, [EMAIL PROTECTED] wrote:
  I have been told it does have both already, but  I can't find it in any of 
  documentations.  I'm specifically talking about  freebsd on emulab.net.
 
 Yes, freebsd has had both corba and sun java for a long time.  corba 
 is needed by the gnome desktop which is very well supported on 
 freebsd plus many gnome app even if you don't use the gnome desktop. 
  Your pretty much guaranteed that freebsd will have corba already 
 installed and running because of this.  It uses ORBit, the same 
 implementation used on linux and so all the same docs apply to 
 freebsd, just check out orbits website.
 
 For java, freebsd can use ibm or sun's java implementation.  ibm runs
 under linux emulation and sun can run under linux emulation or natively.
 There are also a few open source jvm's like kaffe available.

Also, you have the blackdown-java project. AFAIK it's open source as well, and 
it uses the Linux compatibility.

Last time I compiled Java you required a working Java enviroment before you 
were able to compile Sun's Java implementation. Might be handy to keep that in 
mind.

Cheers,

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


TCP_RESTRICT_RST in 5.2.1

2005-01-02 Thread Florian Hengstberger
Following the istructions of Mrs. Lavigne on ONLamp.com
I was trying to build a kernel with the options TCP_RESTRICT_RST.
config ignores this option.

How can I include this in 5.2.1, I can't find a similar
option in my LINT file.

Thanks
Florian

--
Linux/BSD: The daemons are not longer just in my head!
--
Florian Hengstberger
[EMAIL PROTECTED]
http://stud3.tuwien.ac.at/~e0025265
--




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


Re: kern.maxfiles formula?

2005-01-02 Thread Kris Kennaway
On Sun, Jan 02, 2005 at 01:18:56AM -0800, Lucky Green wrote:
 I am running FreeBSD 5.3 on a dual CPU system with 1 GB of RAM with under a
 dozen of very active users and a few rather active processes. The system
 keeps running out of FDs, causing any number of problems, such as preventing
 ssh logins.
 
 sysctl kern.maxfiles shows a maximum of 12328 FDs. My kernel config file has
 maxusers set to 0, which means the kern.maxfiles limit must be the OS
 default.
 
 What is the maximum number of FDs that can be set on a system with 1 GB of
 RAM? What would it be for 2 GB of RAM? In other words, how many FDs can a
 FreeBSD 5.3 system safely support for each GB of RAM?

A truly enormous number :-) You just need to increase the value of
kern.maxfiles in /boot/loader.conf as appropriate for your workload.

kris



pgpLcHvcg77w0.pgp
Description: PGP signature


Setting IMAPd MAILDIR?

2005-01-02 Thread Leonard Chung
Hi there,

 

I recently upgraded courier-imap using portupgrade, and I've noticed
that it no longer uses the proper maildir directory (./Maildir), but
rather just the user home directory.

 

This seems to have to do with the change of courier-imap to rc.subr
style scripts. It uses a variable called MAILDIRPATH which isn't defined
anywhere that I can find:

 

/usr/local/libexec/courier-imap/couriertcpd
-address=$ADDRESS \

-stderrlogger=${exec_prefix}/sbin/courierlogger
\

-stderrloggername=imapd \

-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \

-pid=$PIDFILE $TCPDOPTS \

$PORT ${exec_prefix}/sbin/imaplogin
$LIBAUTHMODULES \

${exec_prefix}/bin/imapd ${MAILDIRPATH}

 

If I delete ${MAILDIRPATH} and replace it with ./Maildir, then
everything works fine. However, I imagine there is a better (i.e.
recommended) place for me to put this information. This is a machine
running 4.10REL.

 

Can somebody tell me where MAILDIRPATH is supposed to be defined within
this new rc.subr scheme and also if anybody has any idea why the rc
script uses a variable which is undefined?

 

Thanks!

 

Leonard

 

[EMAIL PROTECTED]:/usr/local/libexec/courier-imap# more imapd.rc 

#! /bin/sh

# $Id: imapd.rc.in,v 1.26 2004/04/18 15:54:38 mrsam Exp $

#

# Copyright 1998 - 2002 Double Precision, Inc.

# See COPYING for distribution information.

 

 

prefix=/usr/local

exec_prefix=/usr/local

bindir=${exec_prefix}/bin

libexecdir=/usr/local/libexec/courier-imap

 

if test ! -f /usr/local/etc/courier-imap/imapd

then

echo /usr/local/etc/courier-imap/imapd does not exist, forgot
make install-configure?

exit 1

fi

 

if test ! -f /usr/local/etc/courier-imap/imapd-ssl

then

echo /usr/local/etc/courier-imap/imapd-ssl does not exist,
forgot make install-configure?

exit 1

fi

 

TLS_CACHEFILE=

. /usr/local/etc/courier-imap/imapd-ssl

. /usr/local/etc/courier-imap/imapd

 

case $1 in

start)

LIBAUTHMODULES=

for f in `echo $AUTHMODULES`

do

LIBAUTHMODULES=$LIBAUTHMODULES
/usr/local/libexec/courier-imap/authlib/$f

done

 

if test -x ${libexecdir}/authlib/authdaemond

then

/usr/bin/env - DEBUG_LOGIN=$DEBUG_LOGIN
${libexecdir}/authlib/authdaemond start

fi

 

if test $TLS_CACHEFILE != 

then

rm -f $TLS_CACHEFILE

fi

 

ulimit -v $IMAP_ULIMITD

/usr/bin/env - /bin/sh -c  set -a ;

prefix=/usr/local ;

exec_prefix=/usr/local ;

bindir=${exec_prefix}/bin ;

libexecdir=/usr/local/libexec/courier-imap ;

. /usr/local/etc/courier-imap/imapd ; \

. /usr/local/etc/courier-imap/imapd-ssl
; \

IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \

TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \

/usr/local/libexec/courier-imap/couriertcpd
-address=$ADDRESS \

-stderrlogger=${exec_prefix}/sbin/courierlogger
\

-stderrloggername=imapd \

-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \

-pid=$PIDFILE $TCPDOPTS \

$PORT ${exec_prefix}/sbin/imaplogin
$LIBAUTHMODULES \

${exec_prefix}/bin/imapd ${MAILDIRPATH}


^

;;

stop)

/usr/local/libexec/courier-imap/couriertcpd -pid=$PIDFILE -stop

if test -x ${libexecdir}/authlib/authdaemond

then

${libexecdir}/authlib/authdaemond stop

fi

;;

esac

exit 0

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


Re: Production Release 5.3 Installation Won't Boot

2005-01-02 Thread Fabian Keil
On Friday 31 December 2004 14:03, Andrew L. Gould wrote:
 On Friday 31 December 2004 05:19 am, babaloo munchies wrote:

  I downloaded ISO images disc 1  disc 2  the boot
  disk for FreeBSD 5.3 to install on a Pentium MMX
  machine.  None of these discs will boot for the
  installation!  What happens is the CD drive fires up,
  I see a couple of lines from FreeBSD--the bootloader
  or something--it acts like it's trying to boot.  The
  CD drive spins up, the two or three lines flash on the
  screen but then the whole computer restarts.  It keeps
  doing this over and over again for each disc.
 
  I had an old FreeBSD 4.8 disc and it booted fine.  I
  thought maybe my burner had problems so I burned a
  Linux distro and it booted fine.
 
  So the problem cannot be the CD medium (3 cds w/ same
  problem?), not the CD burner and not the machine.
  What's going on?  This is the third time I've tried
  FreeBSD and failed to get it to work.  I just give up
  and revert to linux because at least I can install it
  each and every time.  But I want to use FreeBSD.
 
  Any help would be appreciated.
 
 Perhaps the problem is with the iso image.  Try downloading the iso file 
 for CD1 again.

Comparing the md5sum of the image with the one at the server
might save bandwidth. 

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


Weird problem with 3C509 ISA NIC

2005-01-02 Thread Nikolas Britton
I was looking at the dmesg output on my firewall and re-remembered 
that I have this 3Com 509 card that doesn't work quite right. take a 
look at the demsg output below...

dmesg:
ep0: 3Com 3C509-TPO EtherLink III at port 0x300-0x30f irq 10 on isa0
ep0: No irq?!
ep0: ep_alloc() failed! (6)
device_probe_and_attach: ep0 attach returned 6
ep1: 3Com 3C509B-TPO EtherLink III (PnP) at port 0x210-0x21f irq 3 on isa0
ep1: Ethernet address 00:10:4b:54:39:52
There is only one of those cards in the system yet there are two ep 
devices. IIRC I have always had problems with this card in any system/OS 
I put it in, infact FreeBSD is the only OS I can get it to work in... I 
also have an identical clone of this card (might be a diffrent revision) 
that works perfectly in FreeBSD or any system I stick it in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting IMAPd MAILDIR?

2005-01-02 Thread Stephen L. Martin
On Sun, Jan 02, 2005 at 03:47:37AM -0800, Leonard Chung wrote:
 Hi there,
 
 I recently upgraded courier-imap using portupgrade, and I've noticed
 that it no longer uses the proper maildir directory (./Maildir), but
 rather just the user home directory.
 
 This seems to have to do with the change of courier-imap to rc.subr
 style scripts. It uses a variable called MAILDIRPATH which isn't defined
 anywhere that I can find:
 
 If I delete ${MAILDIRPATH} and replace it with ./Maildir, then
 everything works fine. However, I imagine there is a better (i.e.
 recommended) place for me to put this information. This is a machine
 running 4.10REL.
 
 Can somebody tell me where MAILDIRPATH is supposed to be defined within
 this new rc.subr scheme and also if anybody has any idea why the rc
 script uses a variable which is undefined?

$MAILDIRPATH gets defined with the MAILDIRPATH configuration option in
either /usr/local/libexec/imapd or /usr/local/libexec/pop3d; dependent
on which protocol you choose to run.

Example: MAILDIRPATH=Maildir

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


Re: Please help: burncd errors

2005-01-02 Thread Fabian Keil
On Saturday 01 January 2005 17:45, [EMAIL PROTECTED] wrote:
 On Sat, Jan 01, 2005 at 05:35:39PM +0100, Xinizul Xinizul wrote:

  Could I use another burner tool ?
 
 Of course. You can try cdrecord from /usr/ports/sysutils/cdrtools.
 
 For this to work, you need to add
   device atapicam
 to your kernel config file, recompile, reinstall and reboot the kernel.
 Once you've done that, you should see a device 'cd0' in dmesg and /dev.
 You can try burncd on /dev/cd0, or cdrecord with the appropriate SCSI ID:
 
 # cdrecord -scanbus
 should then give you the correct SCSI ID a,b,c to use.
 
 # cdrecord -v dev=a,b,c speed=4 mp3_1.iso
 for data CDs.
 
 # cdrecord -v dev=a,b,c speed=1 -audio track*.wav
 for audio CDs.

I'd be surprised, if the drive supported speed=1.

Low speed == better quality is a myth, so I'd change
the speed option with -sao (I believe -tao is still the default)
and burn at maximum speed.

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


HTTP, FIN_WAIT_1 and ppp hangup delay

2005-01-02 Thread Norbert Koch
Hello.

For connecting to internet I am using
PPP via ISDN.
One of my FreeBSD (4.10) boxes uses kernel sppp,
the other one is configured with userland ppp.

My isp charges the connection time in
seconds resolution so I configured a very
short hangup delay of 25 seconds after
inactivity. This works fine for udp connections
and also for smtp/pop/nntp, but not for http.

After closing a web browser (I use konqueror
or opera) netstat -nf inet shows
a lot of active or closing connections.
So I reduced all net.inet.tcp.* times I could
find to not more than 15 seconds. This
helped, but still from time to time I see
a connection slowly dying in FIN_WAIT_1 state.

That means, ppp disconnects and immediately
dials again, disconnects again after 25 seconds
without any traffic and dials again and so on... 
for about 3 minutes.

I read through the tcp codebut,
well, can't say, I really look through it.
May be, there is still a hard-coded timeout, I
could manipulate through an additional sysctl?

I am rather sure that it is a problem of the
tcp protocol (or its misuse), and not an isdn
or ppp problem.

(BTW, the windows software Fritz!ISDN, shipped with
 the AVM isdn card, does quite a good job with
 short hangup delays, but I don't know how)

Any ideas? May be there is a way to RST a tcp connection
in the ppp-down script? Or perhaps some stateful ipfw rule?

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


Re: Please help: burncd errors

2005-01-02 Thread Nikolas Britton
Fabian Keil wrote:
Low speed == better quality is a myth
 

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


Question on odd acl/permissions.

2005-01-02 Thread Dan Mahoney, System Admin
Hey all, I'd like to make a live backup of a file system on a regular 
basis, and maintain permissions, but have such a thing be only writable by 
root at any given time.  (i.e. I keep a backup drive unmounted, and mount 
it read-only when users need their data).  The thing is, I have to mount 
it read-write in order to create the archive.  Is there any way to make a 
file system read-only for normal users but read-write by root?

This is a local filesystem.
-Dan
--
It doesn't matter where I live, because I live in dataspace.  That's my
hometown.
-Steve Roberts, Builder of BEHEMOTH
Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does freeBSD have CORBA specs and does it have J2sdk1.4.2 ?

2005-01-02 Thread Dalibor Topic
Jorn Argelo jorn at wcborstel.nl writes:

 Also, you have the blackdown-java project. AFAIK it's open source as well, 
 and 
 it uses the Linux compatibility.

Unfortunately, as it's a Linux port of Sun's SCSL'd code base, it's also bound
by the SCSL, so it's not open source ;(
 
If you need CORBA in an open source VM like Kaffe, you could try using JacORB, a
java ORB written in Java, open source, and available from JacORB.org

cheers,
dalibor topic


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


Re: FreeBSD Gateway

2005-01-02 Thread Bill Moran
Victor Foulk [EMAIL PROTECTED] wrote:
 Hello all,
 
 I have been looking into setting up a network gateway
 using a FreeBSD box, so that I may employ many of the
 network security features of the system (and to 
 overcome the fact that the current network is
 insecurely connected to a much larger ~public LAN).
 
 The configuration would be much like this:
 {Internet}--{Huge/NastyLAN}--{FreeBSDGate}--{SafeLAN}
 
 Most of what I see states that I should use 
 a *minimum* of:
 
 266Mhz processor
 64MB RAM
 1GB HD (actually ~2GB based on number 
 desired security apps)
 2 Compatible NIC's
 
 What I really had hoped to find, was more of an experienced
 networking guru's thumb rule equating the number of safeLAN
 workstations with the required gateway RAM/Processor; to 
 enable all safeLAN users to experience a minimal network
 transaction time roughly equivalent to what they would see
 if plugged directly into a really good hub.
 Something maybe in the form of:
 Proc Speed = X*Users+Y
 RAM = W*Users+Z
 
 I am far too new at this to have a clue what numbers to use
 to even approximate. Any advice on this matter would be most
 appreciated.
 Thanks!
 Victor

Unfortunatley, there isn't a simple way to develop such an
equation.  How much CPU/RAM you need is going to be dependant
on more than just the number of computers involved.  Two additional
factors can play a large part: 1) The number of firewall rules and
2) the amount of traffic (such as UDP) that creates dynamic rules.
Rules take time to process, and more traffic takes more time with
more rules.  UDP traffic usually requires stateful rules, and that
generates dynamic rules, which increases the amount of time to
process each packet.  So it's important to design your ruleset
carefully to avoid unnecessary processing.

However, in my experience, the most critical hardware choice is
the network cards themselves.  Cheapo network cards will really
hurt performance under load.  So toss the cheapo Realtek cards
into the trash and spend a little extra on an Intel or other name
brand card designed for a server.

As a general rule of thumb, I won't put FreeBSD on anything smaller
than a 1Ghz with 128M of RAM and 4G of disk space.  While you can
get away with smaller, that's about the minimum before using the
box for maintenance purposes becomes a terrible burdon.  Try upgrading
and rebuilding world on a 266!

-- 
Bill Moran
Potential Technologies
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: FreeBSD Gateway

2005-01-02 Thread Phil Schulz
Bill Moran wrote:
Victor Foulk [EMAIL PROTECTED] wrote:
[...]
What I really had hoped to find, was more of an experienced
networking guru's thumb rule equating the number of safeLAN
workstations with the required gateway RAM/Processor; to 
enable all safeLAN users to experience a minimal network
transaction time roughly equivalent to what they would see
if plugged directly into a really good hub.
Something maybe in the form of:
Proc Speed = X*Users+Y
RAM = W*Users+Z

I don't think _anybody_ can give such a formula. Especially not whithout 
knowing how much and what kind of traffic your users generate. But as 
others have said already, good NICs are essential.

As a general rule of thumb, I won't put FreeBSD on anything smaller
than a 1Ghz with 128M of RAM and 4G of disk space.  While you can
get away with smaller, that's about the minimum before using the
box for maintenance purposes becomes a terrible burdon.  Try upgrading
and rebuilding world on a 266!
You can always build world remotely. 1GHz seems to be overkill for a 
router. Just think of energy consumption.

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


fxp driver on freebsd 4.7?

2005-01-02 Thread Vincent Chen
Hi, all

I tried to install a new intel 82550 based ethernet adapter on my freebsd 4.7.
In the first time, I don't want to recompile my kernel. So, I add the following
line to /boot/loader.conf:

if_fxp_load=YES

The driver loaded and the adapter identified as fxp0. But the system reboot
every time while I tried to run ifconfig on fxp0. Did I do anything wrong using
loadable module? Or loadable module support not stable on this release.

The second time, I compile fxp driver to my new kernel and every thing seem
work ok. This 82550 adapter has 3des support bulletin, how can I identify this
function enabled? I alread use link0 parameter on ifconfig to load microcode as
manual page instructed.


Thanks,

Vincent Chen


-
Yahoo!

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


Multiple OS one machine hda: hda1: windows, hda2: freeBSD, hda3: fat32 (emply), hda5: secundary on 4 Swap, Slackware Fedora more Linux, fdisk report up to 15 partitions, my configuration is ...

2005-01-02 Thread alex
hda: 1 (win xp), 2 (freeBSD), 3 (DOS fat32 empty), 4 Extended  5 first ( linux 
OS all on / ), 6 ( second Linux OS on 7),  8, 9. 10. 12  
hda2: freeBSD  BSD:  12 ( 12 linux, 13, 14, 15, 16 .

now either GRUB or LILO can boot up to 5 OS either way, OS 6+ dont boot with 
various KERNEL  PANIC errors at the end, then try MBR on hda12 ( SLACK) and try 
add more then 4 OS and nothing, soo ... fi i fdisk /mbr, fdisk (create) hda1 , 
hda2, hda3, hda4 (extended), then create 7,8,9,19,11,12,13,14,15 and install 
every one in it (with out any SWAP), say 12 OS on it.

Whats the steps to create a multiple operating systems on one computer??
 thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


just an inquiry

2005-01-02 Thread ortega willy
i just like to know how i can be qualified to post a hardware request from your 
donors like i would like to have a replacement for my hard disk drive for my 
laptop. I am using my laptop for our church. I suspect ants ate the wire coat 
of my hard disk. I can't find replacement here in our country because i think 
my hard disk model is already phased out. Please help me i need a replacement.
 
I live in the Philippines.
 
Thanks 
 
Willy Ortega


-
Do you Yahoo!?
 The all-new My Yahoo! – What will yours do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: write state to swap for multi-os boot

2005-01-02 Thread Bill Moran
Eric Kjeldergaard [EMAIL PROTECTED] wrote:

   Has anyone considered or accomplished allowing FreeBSD to write it's
   current state (including window manager, windows, etc) to swap and
   allowing a subsequent reload of the system to last state? This would be
   sort of like the sleep mode of a laptop, but would allow the user to boot
   into another OS (like Winblows) briefly and then resume their FreeBSD
   system state. I'd love to use FreeBSD as my primary desktop, but there may
   be times where I'll need to boot into Windows for apps that don't run
   under Wine. Since I tend to have a lot of application windows open, it's a
   PITA to have to reload everything on boot. Thoughts?
  
  This isn't a direct answer to your question, but you might want to have
  a look at vmware.
 
 vmware and qemu (open source semi-alternative) are good ways to
 accomplish booting Windows from inside of FreeBSD.

Actually, not really, as I've been unable to make modern versions of
VMWare work on FreeBSD.

But it's a great way to boot Linux under Windows, or FreeBSD under
either, or have multiple OSes running simultaneously under a single
computer.

  What you want,
 however, is something that has been on the wishlist for a little while
 now.  Suspend-to-RAM has been around and works fine for a while, but
 Suspend-to-disc (which Linux currently has) is yet to be written. 
 There have been suggestions of saving the RAM to swap space and
 shutting down.  I hope to see someone put this into action soon.  It'd
 be a great feature.  (Especially for mobiles)

I agree that it would be a great feature.  I was just offering a potential
alternative until it's written.

-- 
Bill Moran
Potential Technologies
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]


DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
I'm running BIND 9 for my own DNS and I'm connecting to the Internet
through cable modem. In my named.conf I have a forwarders section
where I put the IPs for my ISPs DNS. Since my connection to the ISP is
DHCP how can I determine the DNS IPs that have been assigned? I don't
see it when man'ing ifconfig.

Are there tools/commands I can use to determine the resolution time
that my lookups are taking? A lot of my web browser requests are
timing out (name lookups) and I have to keep hitting refresh until it
finally resolves.

-- 
Doc

[EMAIL PROTECTED]
317.536.1858

The only thing necessary for evil to triumph is for good men to do
nothing.
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


TCPDUMP performance

2005-01-02 Thread James Kilton
Hello,

We've installed some FreeBSD machines as Gigabit sniffers, and I'm
wondering if there are any things I can tweak (e.g., buffer size) to help
TCPDUMP capture better (we often see packets dropped by the kernel).

Any advice would be appreciated.

Thanks,
James

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please help: burncd errors

2005-01-02 Thread Xinizul Xinizul
Thanks to all.

Definetely I have to compile the kernel as suggested above with the
atapicam entry.

Now I'm burning succesfully with the cdrecord tool.


Regards,

Xinizul

On Sun, 02 Jan 2005 07:48:03 -0600, Nikolas Britton
[EMAIL PROTECTED] wrote:
 Fabian Keil wrote:
 
 
 Low speed == better quality is a myth
 
 
 why so?
 

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


Re: TCPDUMP performance

2005-01-02 Thread Bill Moran
James Kilton [EMAIL PROTECTED] wrote:

 Hello,
 
 We've installed some FreeBSD machines as Gigabit sniffers, and I'm
 wondering if there are any things I can tweak (e.g., buffer size) to help
 TCPDUMP capture better (we often see packets dropped by the kernel).
 
 Any advice would be appreciated.

When using tethereal to do captures, I found that nicing the capture
process reduced the incidence of dropped packets to 0.

Not exactly the same circumstance, but I would guess that tcpdump would
respond simularly.

-- 
Bill Moran
Potential Technologies
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: FreeBSD Gateway

2005-01-02 Thread Micah Bushouse
  Victor Foulk [EMAIL PROTECTED] wrote:
 [...]
 Bill Moran [EMAIL PROTECTED] wrote:
[...]
 However, in my experience, the most critical hardware choice is
 the network cards themselves.  Cheapo network cards will really
 hurt performance under load.  So toss the cheapo Realtek cards
 into the trash and spend a little extra on an Intel or other name
 brand card designed for a server.
[...]

Similarly to Mr. Foulk, I'm also in the market for a pair of NICs for a
small organization's firewall/gateway (in this case using IPFilter). 

Per your plug for Intel, I'm browsing 3Com and Intel NICs right now on
mwave.com. 

Intel 10/100 w 3DES - $63
http://www.mwave.com/mwave/viewspec.hmx?scriteria=1562535
3Com 10/100 w 3DES - $92
http://www.mwave.com/mwave/viewspec.hmx?scriteria=3387169

Why do you suppose that while the 3Com seems very similar to the Intel
it costs $30 more? Perhaps because it specs more types of encryption
than the Intel NIC?

How would this hardware acceleration integrate w FreeBSD? Per some Linux
binary compat (as both cards are compat w Linux kernel 2.2+)?

Will the hardware encryption on these cards ever be useful in a
firewall/gateway application?

Sorry for all the questions and thanks for your time,

-- 
Micah Bushouse [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: DNS problems - slow to resolve

2005-01-02 Thread Michael Madden
David Daugherty wrote:
Are there tools/commands I can use to determine the resolution time
that my lookups are taking? A lot of my web browser requests are
timing out (name lookups) and I have to keep hitting refresh until it
finally resolves.
I'd try using dig:
 dig www.freebsd.org
At the end look for the query time:
;; Query time: 3 msec
;; WHEN: Sun Jan  2 09:33:07 2005
;; MSG SIZE  rcvd: 211
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


named exits on SIGHUP?

2005-01-02 Thread Matthias Buelow
Hi folks,
when I kill -HUP named on 5.3 (BIND 9), it exits, instead of reloading, 
as stated in the manpage.  Is this normal?  I think it's rather 
impractical, since it prevents proper log rotation through 
newsyslog.conf (when using file logging in named.conf).  It doesn't 
seem to matter if it's running chrooted or not.

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


Re: DNS problems - slow to resolve

2005-01-02 Thread Josh Paetzel
On Sunday 02 January 2005 09:22, David Daugherty wrote:
 I'm running BIND 9 for my own DNS and I'm connecting to the
 Internet through cable modem. In my named.conf I have a forwarders
 section where I put the IPs for my ISPs DNS. Since my connection to
 the ISP is DHCP how can I determine the DNS IPs that have been
 assigned? I don't see it when man'ing ifconfig.

/etc/resolv.conf lists which nameservers your system is using. 

(Hope I didn't completely interpret your question) :-/

-- 
Thanks,

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


Re: DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
The problem with resolv.conf is that it just puts insightbb.com in
there. Doing a whois on insightbb.com gives a few DNS servers but none
of them are any speedier lookups then the others. If I put the IP that
insightbb.com resolves to it's still slow.


On Sun, 2 Jan 2005 09:41:20 -0600, Josh Paetzel [EMAIL PROTECTED] wrote:
 On Sunday 02 January 2005 09:22, David Daugherty wrote:
  I'm running BIND 9 for my own DNS and I'm connecting to the
  Internet through cable modem. In my named.conf I have a forwarders
  section where I put the IPs for my ISPs DNS. Since my connection to
  the ISP is DHCP how can I determine the DNS IPs that have been
  assigned? I don't see it when man'ing ifconfig.
 
 /etc/resolv.conf lists which nameservers your system is using.
 
 (Hope I didn't completely interpret your question) :-/
 
 --
 Thanks,
 
 Josh Paetzel
 


-- 
Doc

[EMAIL PROTECTED]
317.536.1858

The only thing necessary for evil to triumph is for good men to do
nothing.
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
Ah, yes..dig. Forgot that it had a resolve time in there.

Here's a perfect example of the slowness I'm talking about:
su-2.05b# dig yahoo.com

;  DiG 8.3  yahoo.com 
;; res options: init recurs defnam dnsrch
;; res_nsend: Operation timed out
su-2.05b# dig yahoo.com

;  DiG 8.3  yahoo.com 
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 1563
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 0
;; QUERY SECTION:
;;  yahoo.com, type = A, class = IN

;; ANSWER SECTION:
yahoo.com.  5M IN A 216.109.112.135
yahoo.com.  5M IN A 66.94.234.13

;; AUTHORITY SECTION:
yahoo.com.  1d6h52m8s IN NS  ns2.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns3.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns4.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns5.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns1.yahoo.com.

;; Total query time: 6179 msec
;; FROM: datasphereweb.com to SERVER: 127.0.0.1
;; WHEN: Sun Jan  2 09:55:17 2005
;; MSG SIZE  sent: 27  rcvd: 149

First one didn't resolve in time. Second one, 6 seconds!!!

On Sun, 2 Jan 2005 10:49:28 -0500, David Daugherty
[EMAIL PROTECTED] wrote:
 The problem with resolv.conf is that it just puts insightbb.com in
 there. Doing a whois on insightbb.com gives a few DNS servers but none
 of them are any speedier lookups then the others. If I put the IP that
 insightbb.com resolves to it's still slow.
 
 
 On Sun, 2 Jan 2005 09:41:20 -0600, Josh Paetzel [EMAIL PROTECTED] wrote:
  On Sunday 02 January 2005 09:22, David Daugherty wrote:
   I'm running BIND 9 for my own DNS and I'm connecting to the
   Internet through cable modem. In my named.conf I have a forwarders
   section where I put the IPs for my ISPs DNS. Since my connection to
   the ISP is DHCP how can I determine the DNS IPs that have been
   assigned? I don't see it when man'ing ifconfig.
 
  /etc/resolv.conf lists which nameservers your system is using.
 
  (Hope I didn't completely interpret your question) :-/
 
  --
  Thanks,
 
  Josh Paetzel
 
 
 --
 Doc
 
 [EMAIL PROTECTED]
 317.536.1858
 
 The only thing necessary for evil to triumph is for good men to do
 nothing.
   - Edmund Burke
 


-- 
Doc

[EMAIL PROTECTED]
317.536.1858

The only thing necessary for evil to triumph is for good men to do
nothing.
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Device timeout

2005-01-02 Thread scott renna
I get a similar error for ath0, which is my wireless
card.  inexplicably, I'll get ath0: device timeout for
some unknown reason.  Have not seen this with wired
ethernet cards, only this wireless one.


--- Alexei Stukov [EMAIL PROTECTED] wrote:

 Hi,
 
After a reinstalltion of FreeBSD 5.3, I get the
 following error : 
 
 nv0 : Device timout
 
 That NIC is on-board and the motherboard is a
 brand-new ASUS SK8N.
 Everything worked fine until I reinstalled.
 
 Any ideas about how to fix this?
 
 Thanks.
 ___
 freebsd-questions@freebsd.org mailing list

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




__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Do I need atapicam?

2005-01-02 Thread Trey Sizemore
I'm running 5.3-RELEASE and want to use k3b for CD burning.  I have an
IDE CD burner and IDE DVD drive.  Do I need to have atapicam loaded in
the kernel?  Has this been depricated in 5.3?  I notice the following in
my GENERIC kernel config:

salamander# cat /sys/i386/conf/GENERIC | grep atapi
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives

And trying to load atapicam results in:

salamander# kldload atapicam
kldload: can't load atapicam: No such file or directory

Do I need to add a line for atapicam in my GENERIC file and rebuild the
kernel?

Thanks.

-- 
Cheers,
Trey
---

This wasn't just plain terrible, this was fancy terrible.
This was terrible with raisins in it.
-- Dorothy Parker 

10:58AM up 18:11, 0 users, load averages: 0.09, 0.08, 0.07 
FreeBSD salamander.thesizemores.net 5.3-RELEASE i386

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


Re: Do I need atapicam?

2005-01-02 Thread cpghost
On Sun, Jan 02, 2005 at 10:59:05AM -0500, Trey Sizemore wrote:
 I'm running 5.3-RELEASE and want to use k3b for CD burning.  I have an
 IDE CD burner and IDE DVD drive.  Do I need to have atapicam loaded in
 the kernel?  Has this been depricated in 5.3?  I notice the following in
 my GENERIC kernel config:

 [snip]
 
 Do I need to add a line for atapicam in my GENERIC file and rebuild the
 kernel?

Yes. You can't kldload atapicam. You need a 'device atapicam' line in
your kernel config file, then rebuild, install and reboot the kernel.

 Cheers,
 Trey

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
Ok, I wasn't getting the IPs in my resolv.conf because I had
dhclient.conf modified to supersede to the local DNS. Here's what I
did to determine the DNS that my ISP was assigning me.

I changed the dhclient.conf back to empty and restarted the network.
This then put the IPs of the two DNS servers assigned into my
resolv.conf. I then took these two IPs and added them to my forwarders
section in my named.conf. Rebooted and name lookup is much faster now.

It only took my wife grumping about having to hit refresh 20+ times to
bring up a web page in order for me to fix this since we've moved and
changed ISPs.

Thanks for the ideas everyone.


On Sun, 2 Jan 2005 10:52:14 -0500, David Daugherty
[EMAIL PROTECTED] wrote:
 Ah, yes..dig. Forgot that it had a resolve time in there.
 
 Here's a perfect example of the slowness I'm talking about:
 su-2.05b# dig yahoo.com
 
 ;  DiG 8.3  yahoo.com
 ;; res options: init recurs defnam dnsrch
 ;; res_nsend: Operation timed out
 su-2.05b# dig yahoo.com
 
 ;  DiG 8.3  yahoo.com
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 1563
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 0
 ;; QUERY SECTION:
 ;;  yahoo.com, type = A, class = IN
 
 ;; ANSWER SECTION:
 yahoo.com.  5M IN A 216.109.112.135
 yahoo.com.  5M IN A 66.94.234.13
 
 ;; AUTHORITY SECTION:
 yahoo.com.  1d6h52m8s IN NS  ns2.yahoo.com.
 yahoo.com.  1d6h52m8s IN NS  ns3.yahoo.com.
 yahoo.com.  1d6h52m8s IN NS  ns4.yahoo.com.
 yahoo.com.  1d6h52m8s IN NS  ns5.yahoo.com.
 yahoo.com.  1d6h52m8s IN NS  ns1.yahoo.com.
 
 ;; Total query time: 6179 msec
 ;; FROM: datasphereweb.com to SERVER: 127.0.0.1
 ;; WHEN: Sun Jan  2 09:55:17 2005
 ;; MSG SIZE  sent: 27  rcvd: 149
 
 First one didn't resolve in time. Second one, 6 seconds!!!
 
 On Sun, 2 Jan 2005 10:49:28 -0500, David Daugherty
 [EMAIL PROTECTED] wrote:
  The problem with resolv.conf is that it just puts insightbb.com in
  there. Doing a whois on insightbb.com gives a few DNS servers but none
  of them are any speedier lookups then the others. If I put the IP that
  insightbb.com resolves to it's still slow.
 
 
  On Sun, 2 Jan 2005 09:41:20 -0600, Josh Paetzel [EMAIL PROTECTED] wrote:
   On Sunday 02 January 2005 09:22, David Daugherty wrote:
I'm running BIND 9 for my own DNS and I'm connecting to the
Internet through cable modem. In my named.conf I have a forwarders
section where I put the IPs for my ISPs DNS. Since my connection to
the ISP is DHCP how can I determine the DNS IPs that have been
assigned? I don't see it when man'ing ifconfig.
  
   /etc/resolv.conf lists which nameservers your system is using.
  
   (Hope I didn't completely interpret your question) :-/
  
   --
   Thanks,
  
   Josh Paetzel
  
 
  --
  Doc
 
  [EMAIL PROTECTED]
  317.536.1858
 
  The only thing necessary for evil to triumph is for good men to do
  nothing.
- Edmund Burke
 
 
 --
 Doc
 
 [EMAIL PROTECTED]
 317.536.1858
 
 The only thing necessary for evil to triumph is for good men to do
 nothing.
   - Edmund Burke
 


-- 
Doc

[EMAIL PROTECTED]
317.536.1858

The only thing necessary for evil to triumph is for good men to do
nothing.
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Gateway

2005-01-02 Thread Nikolas Britton
Micah Bushouse wrote:
Victor Foulk [EMAIL PROTECTED] wrote:
 

[...]
Bill Moran [EMAIL PROTECTED] wrote:
   

[...]
 

However, in my experience, the most critical hardware choice is
the network cards themselves.  Cheapo network cards will really
hurt performance under load.  So toss the cheapo Realtek cards
into the trash and spend a little extra on an Intel or other name
brand card designed for a server.
   

[...]
Similarly to Mr. Foulk, I'm also in the market for a pair of NICs for a
small organization's firewall/gateway (in this case using IPFilter). 

Per your plug for Intel, I'm browsing 3Com and Intel NICs right now on
mwave.com. 

Intel 10/100 w 3DES - $63
http://www.mwave.com/mwave/viewspec.hmx?scriteria=1562535
3Com 10/100 w 3DES - $92
http://www.mwave.com/mwave/viewspec.hmx?scriteria=3387169
Why do you suppose that while the 3Com seems very similar to the Intel
it costs $30 more? Perhaps because it specs more types of encryption
than the Intel NIC?
How would this hardware acceleration integrate w FreeBSD? Per some Linux
binary compat (as both cards are compat w Linux kernel 2.2+)?
Will the hardware encryption on these cards ever be useful in a
firewall/gateway application?
Sorry for all the questions and thanks for your time,
 

$92
-$63
---
$29=Branding?
---
INTEL PRO 100S, Model PILA8460C3
Specifications:
Standard: 802.2, 802.3, 802.3u, 802.3x, 802.1p/Q
Encryption: DES(56bit)/3DES(168bit)
On-board Memory: 18KB
Special Features: Integrated security co-processor, Advanced management 
for lower support costs, intel SingleDriver technology simplifies 
installation and maintenance

[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: named exits on SIGHUP?

2005-01-02 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sun, 2 Jan 2005, Matthias Buelow wrote:
Hi folks,
when I kill -HUP named on 5.3 (BIND 9), it exits, instead of reloading, as 
stated in the manpage.  Is this normal?  I think it's rather impractical, 
since it prevents proper log rotation through newsyslog.conf (when using 
file logging in named.conf).  It doesn't seem to matter if it's running 
chrooted or not.
i noticed the same behavior.
it did not exit if named is running in foreground, started with -f.
it's also impractical as '/etc/rc.d/named' is using the HUP signal for the 
reload command which causes the process to exit silently.
the named(8) manpage says in the SIGNAL section:
[snip]
In  routine  operation, signals should not be used to control the name-
server; rndc(8) should be used instead.
[snip]

i tried 'rndc reload' and it's working and did not cause the named process 
to exit. maybe '/etc/rc.d/named' should be changed to use this as reload 
command.

i have not looked deeper into this because my spare time is currently very 
limited.

regards
Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB2CenSPOsGF+KA+MRAuu2AJ9cS1wJIhYw3SyhqQyjVy5EP5e1YACglMWt
dMpKdIEqWEVjAB6CF7BoVbw=
=4lP4
-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: buildworld fails with sendmail

2005-01-02 Thread jason henson

I think I got it!  Some more searching revealed a comman problem with  
the standard refuse file having src/etc/sendmail/freebsd.mc* in it.   
Hopifully this will solve the problem.

Thanks for the help,
Keep up the good work.
Nope, it still is not working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: named exits on SIGHUP?

2005-01-02 Thread Matthias Buelow
Joerg Pulz wrote:
i tried 'rndc reload' and it's working and did not cause the named 
process to exit. maybe '/etc/rc.d/named' should be changed to use this 
as reload command.
Yes, this works here also.
In the long run, it would probably be a good idea to make newsyslog 
understand arbitrary commands for restarting, instead of just sending a 
signal.

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


Re: Multiple OS one machine hda: hda1: windows, hda2: freeBSD, hda3: fat32 (emply), hda5: secundary on 4 Swap, Slackware Fedora more Linux, fdisk report up to 15 partitions, my configuration is ...

2005-01-02 Thread dick hoogendijk
On 01 Jan alex wrote:

 Whats the steps to create a multiple operating systems on one
 computer??  thanks.

Install GAG (do a google search on it). Piece of cake ;-)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Device timeout

2005-01-02 Thread Alexei Stukov
And have you found the way to fix it? It may be the same issue for
both of our NICs.

Thanks.


On Sun, 2 Jan 2005 07:57:01 -0800 (PST), scott renna
[EMAIL PROTECTED] wrote:
 I get a similar error for ath0, which is my wireless
 card.  inexplicably, I'll get ath0: device timeout for
 some unknown reason.  Have not seen this with wired
 ethernet cards, only this wireless one.
 
 
 --- Alexei Stukov [EMAIL PROTECTED] wrote:
 
  Hi,
 
 After a reinstalltion of FreeBSD 5.3, I get the
  following error :
 
  nv0 : Device timout
 
  That NIC is on-board and the motherboard is a
  brand-new ASUS SK8N.
  Everything worked fine until I reinstalled.
 
  Any ideas about how to fix this?
 
  Thanks.
  ___
  freebsd-questions@freebsd.org mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail - 250MB free storage. Do more. Manage less.
 http://info.mail.yahoo.com/mail_250

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


Re: buildworld fails with sendmail

2005-01-02 Thread jason henson
On 01/02/05 12:13:31, jason henson wrote:

I think I got it!  Some more searching revealed a comman problem  
with the standard refuse file having src/etc/sendmail/freebsd.mc* in  
it.  Hopifully this will solve the problem.

Thanks for the help,
Keep up the good work.
Nope, it still is not working.
Now I found out that http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/ 
sendmail/ has different files and some files I don't.  I was using  
cvsup4.FreeBSD.org but I am switching to another.  

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


Re: kern.maxfiles formula?

2005-01-02 Thread Matthias Buelow
Kris Kennaway wrote:
A truly enormous number :-) You just need to increase the value of
kern.maxfiles in /boot/loader.conf as appropriate for your workload.
would it be possible to make this dynamically allocated in the future? 
imho, such limits are a bit anachronistic.

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


basic freebsd programming

2005-01-02 Thread Andrew P.
Hello and Happy New Year!
I need to write some very basic C programs under FreeBSD. I am new to 
Unix programming and not very good at C programming either, so I'm 
looking for documentation on some topics. The ones that are the most 
interesting for me now is how to write small daemons best and how to 
read ipfw info from a program. Man pages help me very much, but I really 
need some guide. The problem is that doc project doesn't seem to have 
released anything like it. I looked through dev-, arch-, porters- 
handbooks, read design-44bsd - but I didn't find what I want.

Of course I can refresh my C skills and gain some Unix-coding knowledge 
by reading a couple' thousand pages, but I don't feel like it's 
necessary for what I want to write - just a basic statistics collector.

Should I explore FreeBSD source code or is there some solid piece of 
documentation?

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


4.10, USB problems

2005-01-02 Thread Gregor Mosheh
For several months I've been using an external USB
hard drive, under 4.10 and the EHCI driver. It's
worked perfectly for months.

As of a month ago, when I swapped the drive for
another one, the drive has not worked properly. A few
days ago, my employer went on-site (the server is
colocated) to swap the drive. The new drive had the
same problem, and rebooting the server did not correct
the problem.

It was also reported that the last time he unplugged
the drive (the fs on the drive was not mounted) the
system crashed; he has since not plugged in the drive.

Now the details...

dmesg shows that it found a mass storage device and
properly identifies it, and usbdevs also reports the
drive; however, attempting to mount the drive causes
mount: /dev/da0s1e: Device not configured and the
message umass0: BBB reset failed, TIMEOUT appears in
the dmesg.

The external drive uses device usb4, since usb0
through usb3 are reported as USB1.

It was suggested that having both the USB1 (uhci) and
USB2 (ehci) driver may be causing confusion in the
kernel. I find this unlikely, though, since it's been
working for months.

Any thoughts or troubleshooting tips?





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: News from several NNTP Servers

2005-01-02 Thread Eric F Crist
Are the servers listed going to allow me to pull all those feeds?
On Jan 1, 2005, at 10:24 PM, Ted Mittelstaedt wrote:
open nntp server list
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


Re: sharing printers with Mac - Rendezvous?

2005-01-02 Thread Eric F Crist
On Jan 1, 2005, at 11:19 PM, Timothy Luoma wrote:
On Jan 1, 2005, at 6:25 PM, Eric F Crist wrote:
I would recommend setting up the lpd daemon.  This is supported by Mac
OS X be default, so there's not a whole lot to setup.  No Rendevous
necessary.
Thanks Eric.  I'll try that.  I was thinking Rendezvous would be 
easier than setting up lpd, but I might be wrong.  I'm not even sure 
that my printers (Brother 1240 and HP Deskjet something) support 
Rendezvous or how it works.

TjL
No problem.  If that Brother 1240 is a b/w laser, you're going to need 
to setup apsfilter first.  Then just make that printer accessible from 
the rest of the network.  The other thing you *could* do is purchase a 
network print server.  I got one off eBay for about $40 from Zero One 
Technologies 01tech.com (that's a zero-one).  A little difficult to 
setup at first, but works great!

HTH
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


smbfs module + securelevel

2005-01-02 Thread Gregor Mosheh
I am trying to mount a SMB share in the usual fashion:
mount -t smbfs //[EMAIL PROTECTED]/share /mnt

And in response I get this:
smbfs: vfsload(smbfs): Operation not permitted

I am running at securelevel 1, so it would make sense
if that were why I'm not allowed to load the module.
My question is: How do I have this module loaded
during the boot process, before the securelevel is
set? Is there a rc.conf variable to set? Or is
mentioning this smbfs share in the fstab sufficient?




__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smbfs module + securelevel

2005-01-02 Thread Stefan Bethke
Am 02.01.2005 um 20:04 schrieb Gregor Mosheh:
I am trying to mount a SMB share in the usual fashion:
mount -t smbfs //[EMAIL PROTECTED]/share /mnt
And in response I get this:
smbfs: vfsload(smbfs): Operation not permitted
I am running at securelevel 1, so it would make sense
if that were why I'm not allowed to load the module.
My question is: How do I have this module loaded
during the boot process, before the securelevel is
set? Is there a rc.conf variable to set? Or is
mentioning this smbfs share in the fstab sufficient?
To make sure a module is loaded, add a line to /boot/loader.conf:
smbfs_load=YES
I believe that you also might need to load libiconf.ko, if it isn't 
pulled in automatically when loading smbfs:

libiconf_load=YES
HTH,
Stefan
--
Stefan Bethke [EMAIL PROTECTED]   Fon +49 170 346 0140
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freebsd remote install howto

2005-01-02 Thread Sunil Sunder Raj
Hi,
Had to install freebsd on a machine without a floppy disk nor a cd drive. 
This machine is on the lan. Is there any way I can install freebsd from 
another freebsd machine in the lan.

Regards
SSR
_
Redefine team work. Discover your true potential. 
http://www.microsoft.com/india/office/experience/ With the MS product suite.

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


Re: basic freebsd programming

2005-01-02 Thread cpghost
On Sun, Jan 02, 2005 at 09:11:42PM +0300, Andrew P. wrote:
 The ones that are the most interesting for me now is how to
 write small daemons best and how to read ipfw info from a program.
 
 Of course I can refresh my C skills and gain some Unix-coding knowledge 
 by reading a couple' thousand pages, but I don't feel like it's 
 necessary for what I want to write - just a basic statistics collector.

Of course you could do that in C, but if all you need is a program
that reads the output of other programs, and presents stats on some
port as a daemon (and a client to read that out), why not just go for
a scripted solution in Perl or Python? Both languages are much better
than C when it comes to parsing strings, and they are very good at
networking too. IMHO, the only reason (besides efficiency) to write
a monitoring program in C is if you don't want (or can't afford) to
install a perl or python interpreter on the nodes that you want to
monitor.

 Should I explore FreeBSD source code or is there some solid piece of 
 documentation?

That's not necessary. If you want to write that in C, you'll have
to familiarize yourself with the popen(3) call for executing a program
and capturing its output. Then you need a few string processing functions
like str*(3) sscanf() etc... to parse the output (that's the tricky part).
Finally you will need a small example of a client and server in C that
uses the sockets API (that's pretty generic and not FreeBSD-specific at
all, just google for it). Combine all this and voila, you've got your
nice monitoring app in C.

Alternatively, you could extract the info directly from the kernel
by performing exactly the same steps that your utility program (ipfw...)
does, but it's overkill for such a simple app.

But again, consider giving Python a try. It's well worth it for such
basic tasks.

 Best wishes,
 Andrew P.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smbfs module + securelevel

2005-01-02 Thread Gregor Mosheh
Viel danke, Stefan!


--- Stefan Bethke [EMAIL PROTECTED] wrote:

 Am 02.01.2005 um 20:04 schrieb Gregor Mosheh:
 
  I am trying to mount a SMB share in the usual
 fashion:
  mount -t smbfs //[EMAIL PROTECTED]/share /mnt
 
  And in response I get this:
  smbfs: vfsload(smbfs): Operation not permitted
 
  I am running at securelevel 1, so it would make
 sense
  if that were why I'm not allowed to load the
 module.
  My question is: How do I have this module loaded
  during the boot process, before the securelevel is
  set? Is there a rc.conf variable to set? Or is
  mentioning this smbfs share in the fstab
 sufficient?
 
 To make sure a module is loaded, add a line to
 /boot/loader.conf:
 
  smbfs_load=YES
 
 I believe that you also might need to load
 libiconf.ko, if it isn't 
 pulled in automatically when loading smbfs:
 
  libiconf_load=YES
 
 
 HTH,
 Stefan
 
 -- 
 Stefan Bethke [EMAIL PROTECTED]   Fon +49 170 346
 0140
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd remote install howto

2005-01-02 Thread cpghost
On Mon, Jan 03, 2005 at 01:05:26AM +0530, Sunil Sunder Raj wrote:
 Hi,
 Had to install freebsd on a machine without a floppy disk nor a cd drive. 
 This machine is on the lan. Is there any way I can install freebsd from 
 another freebsd machine in the lan.

You could try a pxeboot(8)-based method, if your machine supports PXE:

http://www.onlamp.com/pub/a/bsd/2004/09/09/diskless_server.html

I've done something similar to install FreeBSD 5.2.1 on a
Soekris net4801 board that comes without keyboard, floppy drives,
CD drives, nor VGA; just a serial console and ethernet ports.
It was amazingly simple and effective.

Good luck!

 Regards
 SSR

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why might my USB devices be detected?

2005-01-02 Thread Trey Sizemore
My USB devices are not being detected on my tower.  I'm running
5.3-STABLE and have the following in my /etc/rc.conf:

  

salamander# cat /etc/rc.conf
# -- sysinstall generated deltas -- # Mon Dec  6 13:36:23 2004
# Created: Mon Dec  6 13:36:23 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not
to /etc/defaults/rc.conf.
# This file now contains just the overrides
from /etc/defaults/rc.conf.
hostname=salamander.thesizemores.net
ifconfig_vr0=DHCP
linux_enable=YES
moused_enable=YES
usbd_enable=YES
sendmail_enable=YES
sendmail_flags=-bd
sendmail_pidfile=/var/spool/postfix/pid/master.pid
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO
devfs_system_ruleset=local_ruleset


and this in a /etc/devfs.rules file that I created per another post I
saw on the forum:



[local_ruleset=10]
add path 'ugen*' mode 664



The following lines appear in my /sys/i386/conf/GENERIC file (this is
out-of-the-box, I have not recompiled the kernel since initial install):



# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires
scbus and da
device  ums # Mouse
device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners

# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct
SCSI access)
device  ses # SCSI Environmental Services
(and SAF-TE)




However, when I connect my camera via the USB connector (or via a
SanDisk card reader) and turn it on, I get no messages in dmesg and
usbdevs shows



salamander# usbdevs
addr 1: UHCI root hub, VIA
addr 1: UHCI root hub, VIA
addr 1: UHCI root hub, VIA


I also have an Epson Stylus C84 printer connected directly to one of the
box's USB ports and it doesn't appear either.  I have PNP turned off in
the BIOS.  What else could I check?  These ports were working as
recently as a month ago with a Linux flavor installed.

Thanks.

-- 
Cheers,
Trey
---

Humor is the only test of gravity, and gravity of humor; for a subject
which will not bear raillery is suspicious, and a jest which will not
bear serious examination is false wit.
-- Aristotle 

3:06PM up 1:15, 0 users, load averages: 0.01, 0.02, 0.00 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386

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


Recommended Mail Transfer Agent

2005-01-02 Thread Michael Madden
I'm looking to setup a mail server with FreeBSD 5.3 for a group of around
100 users, and I was wondering which MTA I should use.  I have noticed 
sendmail is the default MTA, but I have no sendmail experience.  Also I know 
historically sendmail has had some serious security issues.

Furthermore, can someone recommend a decent POP3 and IMAP server?

Thanks in advance,
Mike 

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


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Bill Moran
Michael Madden [EMAIL PROTECTED] wrote:

 I'm looking to setup a mail server with FreeBSD 5.3 for a group of around
 100 users, and I was wondering which MTA I should use.  I have noticed 
 sendmail is the default MTA, but I have no sendmail experience.  Also I know 
 historically sendmail has had some serious security issues.

You're liable to get a LOT of opinion on this.  Personally, the only thing
I have against sendmail is that it's configuration makes me dizzy.

I use Postfix, and I recommend it to most, as it does a nice job of
being secure, yet easy to configure.

 Furthermore, can someone recommend a decent POP3 and IMAP server?

I've been using Dovecot for quite some time now.  It's not even a 1.0
product yet, and I still find it excellent for both POP and IMAP.  It
includes support for both POP3S and IMAPS, which I find very important
in this day and age.

Postfix delivering to maildirs + Dovecot for POP3S/IMAPS makes a very
reliable and secure setup in my opinion.

-- 
Bill Moran
Potential Technologies
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: basic freebsd programming

2005-01-02 Thread Andrew P.
[EMAIL PROTECTED] wrote:
On Sun, Jan 02, 2005 at 09:11:42PM +0300, Andrew P. wrote:
The ones that are the most interesting for me now is how to
write small daemons best and how to read ipfw info from a program.
Of course I can refresh my C skills and gain some Unix-coding knowledge 
by reading a couple' thousand pages, but I don't feel like it's 
necessary for what I want to write - just a basic statistics collector.
why not just go for a scripted solution in Perl or Python?
Well, I am going to dump all the ipfw counters to disk
(and process some data) in a loop of a single second.
Perl adds too much overhead for this task.

Should I explore FreeBSD source code or is there some solid piece of 
documentation?

That's not necessary. If you want to write that in C, you'll have
to familiarize yourself with the popen(3) call for executing a program
and capturing its output. Then you need a few string processing functions
like str*(3) sscanf() etc... to parse the output (that's the tricky part).
Finally you will need a small example of a client and server in C that
uses the sockets API (that's pretty generic and not FreeBSD-specific at
all, just google for it). Combine all this and voila, you've got your
nice monitoring app in C.
As a matter of fact, I already do have a functional C program,
processing and dumping data, which it gets from stdin. So I have
a shell loop, invoking `ipfw show | c_program` every 10 seconds.
But it seems to be ineffective. What I'm thinking about is a
closer-to-real-time daemon dumper.
Alternatively, you could extract the info directly from the kernel
by performing exactly the same steps that your utility program (ipfw...)
does, but it's overkill for such a simple app.
ipfw show takes up to 0.1s and 500kb to run on my system. Which
is great for manual checks, but almost unacceptable for continuous
monitoring on a server under heavy load. I guess I'll have to learn
how to look up the counters in the kernel.
Thanks anyway!
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Adam Fabian
On Sun, Jan 02, 2005 at 02:20:51PM -0600, Michael Madden wrote:
 have noticed sendmail is the default MTA, but I have no sendmail
 experience.  Also I know historically sendmail has had some serious
 security issues.

sendmail is also bundled with OpenBSD, which is proactively rabid about
security.  Considering sendmail's track record, the OpenBSD FAQ says
something to the effect that the maintainers of sendmail are responsive
to security issues, unlike many projects, and the code now appears to be
as secure as anything else out there.

Configuration is pretty easy with the m4 macros, and sendmail still
amounts to something of a de-facto standard.  
-- 
Adam Fabian ([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: Recommended Mail Transfer Agent

2005-01-02 Thread Matthias Buelow
Bill Moran wrote:
I've been using Dovecot for quite some time now.  It's not even a 1.0
product yet, and I still find it excellent for both POP and IMAP.  It
includes support for both POP3S and IMAPS, which I find very important
in this day and age.
I've had bad experience so far with dovecot, including, but not limited 
to, lock file problems, hung imap processes in the bulk, and behaviour 
that neither matched the comments in the sample config file, nor the 
documentation (and both were contradictory), like the way to configure 
inbox and folder locations.
Unless the OP has the time and resources to experiment, I'd suggest 
leaving that software alone for a while still until it has been 
stabilized, and go for proven alternatives like Cyrus or Courier (or 
even uw-imapd, if it's a one-person setup).

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


Compiling perl5.8.5 fails in chroot'ed environment

2005-01-02 Thread Erik Norgaard
Hi,
I am trying to setup a diskless client, so I have created  a directory
/usr/diskless and installed FreeBSD 5.3 into it. I then unpacked
ports.tgz from the release and cvsup'ed yesterday.
If I chroot into /usr/diskless and try to compile perl5.8 I get the
following error:
LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib
-e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*/*.pm
make lib/re.pm
makefile, line 915: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1
Stop in /usr/ports/lang/perl5.8/work/perl-5.8.5.
*** Error code 1
Stop in /usr/ports/lang/perl5.8.
It only fails in the chroot'ed environment, even though the chroot has a 
full bootable base. I have successfully installed lynx, bash, libiconv, 
libtool and gettext in this environment.

How do I correct this?
Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fxp driver on freebsd 4.7?

2005-01-02 Thread Kris Kennaway
On Sat, Jan 01, 2005 at 10:47:43PM +0800, Vincent Chen wrote:
 Hi, all
 
 I tried to install a new intel 82550 based ethernet adapter on my freebsd 4.7.
 In the first time, I don't want to recompile my kernel. So, I add the 
 following
 line to /boot/loader.conf:
 
 if_fxp_load=YES
 
 The driver loaded and the adapter identified as fxp0. But the system reboot
 every time while I tried to run ifconfig on fxp0. Did I do anything wrong 
 using
 loadable module?

Perhaps, if it wasn't compiled at the same time as the kernel, it
might be incompatible and this will cause this kind of probblem.

 Or loadable module support not stable on this release.

4.7 is very old, so I doubt anyone remembers specific problems in this
release.

 The second time, I compile fxp driver to my new kernel and every thing seem
 work ok. This 82550 adapter has 3des support bulletin, how can I identify this
 function enabled?

I doubt this is supported in 4.7.

Kris

pgpzJV1TP8PAF.pgp
Description: PGP signature


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Gary
Hi Matthias,
--On Sunday, January 02, 2005 9:41 PM +0100 Matthias Buelow 
[EMAIL PROTECTED] wrote in part:

Unless the OP has the time and resources to experiment, I'd suggest
leaving that software alone for a while still until it has been
stabilized, and go for proven alternatives like Cyrus or Courier (or even
uw-imapd, if it's a one-person setup).
There is also one other IMAP server called bincimap which is in ports. This 
is made for Maildir mail type only. It works quite well and is actively 
supported by its author. I have several production FreeBSD boxes using it 
without problems. It is extremely easy to set up, even the certs for IMAPS.

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


Re: kern.maxfiles formula?

2005-01-02 Thread Kris Kennaway
On Sun, Jan 02, 2005 at 07:09:35PM +0100, Matthias Buelow wrote:
 Kris Kennaway wrote:
 
 A truly enormous number :-) You just need to increase the value of
 kern.maxfiles in /boot/loader.conf as appropriate for your workload.
 
 would it be possible to make this dynamically allocated in the future? 

Having a hard limit is by design, or users could run your machine out
of memory and cause it to panic.

 imho, such limits are a bit anachronistic.

No, you're just using an abnormal workload on your machine, for which
the defaults are not sufficient.

Kris


pgpmBX2Fl7RLf.pgp
Description: PGP signature


Re: TCP_RESTRICT_RST in 5.2.1

2005-01-02 Thread Kris Kennaway
On Sun, Jan 02, 2005 at 11:21:22AM +0100, Florian Hengstberger wrote:
 Following the istructions of Mrs. Lavigne on ONLamp.com
 I was trying to build a kernel with the options TCP_RESTRICT_RST.
 config ignores this option.
 
 How can I include this in 5.2.1, I can't find a similar
 option in my LINT file.

It was removed; check the CVS logs on cvsweb.freebsd.org.

Kris


pgpInW4o7Adey.pgp
Description: PGP signature


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Sergei Gnezdov
On Sun, 2005-01-02 at 14:36 -0600, Adam Fabian wrote:
 Configuration is pretty easy with the m4 macros, and sendmail still
 amounts to something of a de-facto standard.  

I am not saying senmail is bad.  In fact, I have no plans to get rid of
it.  I just want to know where to find the information about sendmail
when I need it.

Where do I go to learn about sendmail configuration?
Any HOWTO do something standard instructions?
Where do I send newbie questions to?



signature.asc
Description: This is a digitally signed message part


Re: Compiling perl5.8.5 fails in chroot'ed environment

2005-01-02 Thread Kris Kennaway
On Sun, Jan 02, 2005 at 09:44:00PM +0100, Erik Norgaard wrote:
 Hi,
 
 I am trying to setup a diskless client, so I have created  a directory
 /usr/diskless and installed FreeBSD 5.3 into it. I then unpacked
 ports.tgz from the release and cvsup'ed yesterday.
 
 If I chroot into /usr/diskless and try to compile perl5.8 I get the
 following error:
 
 LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib
 -e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*/*.pm
 make lib/re.pm
 makefile, line 915: Need an operator
 make: fatal errors encountered -- cannot continue
 *** Error code 1
 
 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.5.
 *** Error code 1
 
 Stop in /usr/ports/lang/perl5.8.
 
 It only fails in the chroot'ed environment, even though the chroot has a 
 full bootable base. I have successfully installed lynx, bash, libiconv, 
 libtool and gettext in this environment.
 
 How do I correct this?

Do you have devfs mounted in the chroot?

Kris


pgpLbkUMqE1KW.pgp
Description: PGP signature


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Nico Meijer
Hi Bill,

 I use Postfix, and I recommend it to most, as it does a nice job of
 being secure, yet easy to configure.

Nicely put. It's been my favorite MTA aswell for a number of years now.

I liked your presentation on antispam measures using postfix, which
shows its flexibility.

Heck, I'll link it:
http://www.potentialtech.com/wmoran/spam.pdf

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


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Tabor Kelly
Michael Madden wrote:
I'm looking to setup a mail server with FreeBSD 5.3 for a group of around
100 users, and I was wondering which MTA I should use.  I have noticed 
sendmail is the default MTA, but I have no sendmail experience.  Also I know 
historically sendmail has had some serious security issues.

Furthermore, can someone recommend a decent POP3 and IMAP server?
Thanks in advance,
Mike 

I use qmail + dovecot. I have some rough drafts of howto's here:
http://tabor.taborandtashell.net/serversetup/qmail.html
http://tabor.taborandtashell.net/serversetup/dovecot.html
--
Tabor Kelly
[EMAIL PROTECTED]
http://tabor.taborandtashell.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


java question.

2005-01-02 Thread Gary Kline

On both my 4.10 system (this one: tao) and one on my 
5.3 platforms, I'm *finally* using jdk14.  Can I free 
up the linux-sun-jdk14 binary and space and yet be
able to build/rebuild everything Java??

(I'd like it if we had a FBSD version of everything
but [*sigh*] that's not the way it is?

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Compiling perl5.8.5 fails in chroot'ed environment

2005-01-02 Thread Erik Norgaard
Kris Kennaway wrote:
Do you have devfs mounted in the chroot?
Nope, ... but it doesn't seem to help either. Maybe I am doing it wrong:
   mount -t devfs devfs /usr/diskless/dev
? I also tried chroot first, then 'mount -t devfs devfs /dev' - no 
difference. But I don't see what devfs has got do do with make?

Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Anish Mistry
On Sunday 02 January 2005 03:59 pm, Sergei Gnezdov wrote:
 On Sun, 2005-01-02 at 14:36 -0600, Adam Fabian wrote:
  Configuration is pretty easy with the m4 macros, and sendmail still
  amounts to something of a de-facto standard.

 I am not saying senmail is bad.  In fact, I have no plans to get rid of
 it.  I just want to know where to find the information about sendmail
 when I need it.

 Where do I go to learn about sendmail configuration?
Pick up the O'Reilly Bat Book Sendmail book.  The sendmail.org site is 
also a very good resource as well as IRC on freenode.
 Any HOWTO do something standard instructions?
 Where do I send newbie questions to?

-- 
Anish Mistry


pgpcTIy5tzrdI.pgp
Description: PGP signature


Re: kern.maxfiles formula?

2005-01-02 Thread Matthias Buelow
Kris Kennaway wrote:
Having a hard limit is by design, or users could run your machine out
of memory and cause it to panic.
# sysctl -w kern.maxfiles=2
kern.maxfiles: 12328 - 2
Ok, I agree. Must've confused something here. I was under the impression 
that it was fixed at boot. The user issue could be tackled with ulimit, 
however probably not in a completely satisfactory way (with resource 
limits being per-process, not per-user. Sometimes a bit of VMS would be 
nice ;).

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


Solved: Compiling perl5.8.5 fails in chroot'ed environment

2005-01-02 Thread Erik Norgaard
Erik Norgaard wrote:
Kris Kennaway wrote:
Do you have devfs mounted in the chroot?
Nope, ... but it doesn't seem to help either. 
Hmm. Ok, I tried again:
  # chroot /usr/diskless
  # mount -t devfs devfs /dev
  # su -l
  # cd /usr/ports/lang/perl5.8
  # make
that worked.!?
Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: java question.

2005-01-02 Thread Jorn Argelo
On Sun, 2 Jan 2005 13:15:31 -0800, Gary Kline wrote
 On both my 4.10 system (this one: tao) and one on my 
   5.3 platforms, I'm *finally* using jdk14.  Can I free 
   up the linux-sun-jdk14 binary and space and yet be
   able to build/rebuild everything Java??

Well, I can't say for sure. You have to make sure that your system is indeed 
using the proper executable and the proper libs. If you have things mixed you 
can have a serious problem.

AFAIK everything is put in /compat/linux ... so deinstalling it wouldn't bring 
in too much problem. However, unless you have serious disk space problems, I 
can't see why risk to break stuff if it is not needed.

Correct me if any of the above things are wrong, of course :)

Cheers,

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


Re: write state to swap for multi-os boot

2005-01-02 Thread ctodd

On Sun, 2 Jan 2005, Bill Moran wrote:

 But it's a great way to boot Linux under Windows, or FreeBSD under
 either, or have multiple OSes running simultaneously under a single
 computer.

How good is device support from within vmware? Can I get to
serial/usb/audio/network ports seamlessly?

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


RE: Weird problem with 3C509 ISA NIC

2005-01-02 Thread Ted Mittelstaedt
Run the DOS configuration program 3c5x9cfg.exe and look at how the
card is setup.  Like many ISA cards the 3c509 has an eeprom instead
of jumpers that you move around on the card.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Nikolas Britton
 Sent: Sunday, January 02, 2005 5:06 AM
 To: freebsd-questions
 Subject: Weird problem with 3C509 ISA NIC
 
 
 I was looking at the dmesg output on my firewall and re-remembered 
 that I have this 3Com 509 card that doesn't work quite right. take a 
 look at the demsg output below...
 
 dmesg:
 ep0: 3Com 3C509-TPO EtherLink III at port 0x300-0x30f irq 10 on isa0
 ep0: No irq?!
 ep0: ep_alloc() failed! (6)
 device_probe_and_attach: ep0 attach returned 6
 ep1: 3Com 3C509B-TPO EtherLink III (PnP) at port 0x210-0x21f 
 irq 3 on isa0
 ep1: Ethernet address 00:10:4b:54:39:52
 
 There is only one of those cards in the system yet there are two ep 
 devices. IIRC I have always had problems with this card in any system/OS 
 I put it in, infact FreeBSD is the only OS I can get it to work in... I 
 also have an identical clone of this card (might be a diffrent revision) 
 that works perfectly in FreeBSD or any system I stick it in.
 ___
 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: Recommended Mail Transfer Agent

2005-01-02 Thread Warren Block
On Sun, 2 Jan 2005, Michael Madden wrote:
I'm looking to setup a mail server with FreeBSD 5.3 for a group of around
100 users, and I was wondering which MTA I should use.  I have noticed
sendmail is the default MTA, but I have no sendmail experience.  Also I know
historically sendmail has had some serious security issues.
So have other MTAs, including one for Postfix not so long ago.  Sendmail 
configuration can be charitably called odd, but it's so widely used 
that answers can usually be found on google or groups.google.com.  Then 
there's comp.mail.sendmail, and sendmail.org, the bat book, and even 
sendmail.com.

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


Re: Recommended Mail Transfer Agent

2005-01-02 Thread Michael Madden

Where do I go to learn about sendmail configuration?
Pick up the O'Reilly Bat Book Sendmail book.  The sendmail.org site is 
also a very good resource as well as IRC on freenode.

Any HOWTO do something standard instructions?
Where do I send newbie questions to? 
Does anyone know of a good tutorial/howto for configuring
sendmail on FreeBSD.  My two books ('Absolute BSD' and
'The Complete FreeBSD') make little mention of sendmail
configuration and focus on setting up postfix.
The FreeBSD Handbook seems incomplete and glosses over details:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
1.) How do I edit /etc/rc.conf to start sendmail at boot.
2.) Most of the configurations files seem pretty normal, but
sendmail.cf seems quite obtuse.
I guess I'm looking for a document that would walk a newbie
through setting up sendmail on FreeBSD without being too arcane
or not detailed enough. My experience with some of the other
Oreilly books leads me to believe they're pretty generic;
I doubt I'd find information on how to setup sendmail for FreeBSD.
Thanks again,
Mike

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


Re: just an inquiry

2005-01-02 Thread Kris Kennaway
On Sat, Jan 01, 2005 at 10:57:11PM -0800, ortega willy wrote:

 i just like to know how i can be qualified to post a hardware
 request from your donors like i would like to have a replacement for
 my hard disk drive for my laptop.

The donation request list you see on the freebsd website is only for
FreeBSD committers, sorry.

Kris


pgp2xsGZTsiHl.pgp
Description: PGP signature


Re: triple monitor hardware setup on FBSD - suggestions needed...

2005-01-02 Thread Louis LeBlanc
On 01/01/05 11:08 PM, Eric Kjeldergaard sat at the `puter and typed:
  I am currently running a triple-monitor setup under
  winXP, with an extended desktop that stretches across
  all three monitors.  I like it.
  
  I would, however, like to use FreeBSD.
 
 Good choice :)
  
  So, first off, what hardware (video card) comes to
  mind for doing triple screens with FreeBSD ?  A matrox
  P750 comes to mind, but when you run it with three
  screens, they downgrade to 1280x1024, which is bad.  I
  am happy to consider multiple video cards to
  accomplish this ... at the very least I need 1600x1200
  out of each card, preferably 1920x1200 ...
 
 Well, as far as hardware goes for my tri-monitor, I usually have a
 Radeon 7500 and an geforce2 mx400 (or some other cruddy pci card)
 though I'm using a matrox G450 for the primary right now.  Really, any
 combination of supported video cards will work about equally well.
 
  Second, what is the support for something like this in
  XFree86, or x.org ?  What I am really looking for is
  the ability to create virtually sized screens - so
  instead of having three total (physical) screens that
  I can maximize windows inside of, I want to split each
  physical screen in half for a total of 6 virtual
  screens - so there are six total areas within which I
  can maximize a window in ... this is something I am
  really trying to accomplish.

I think you'll get this through the window manager.  I'm only running
two monitors with the Xinerama extensions (Xorg) but I use fvwm as my
window manager.  Just define your desktop to be a 1X2 area, and you'll
have 2 screens for each monitor.  I use 3X2, so I have 3 screens for
each monitor.  You can even use the pager to define multiple desktops,
all using the same geography.

If you want each screen to scroll individually of the others, meaning
changing the screen on one monitor doesn't change the screen on the
others, I'm not sure that's possible.  Think of the monitors as a 3
paned window onto the desktop, and everything makes sense.

Good luck.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

People who go to conferences are the ones who shouldn't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: java question.

2005-01-02 Thread Ian Moore
On Mon, 3 Jan 2005 07:45, Gary Kline wrote:
   On both my 4.10 system (this one: tao) and one on my
   5.3 platforms, I'm *finally* using jdk14.  Can I free
   up the linux-sun-jdk14 binary and space and yet be
   able to build/rebuild everything Java??

   (I'd like it if we had a FBSD version of everything
   but [*sigh*] that's not the way it is?

   gary
Yes you can. I deinstalled my linux-java a while back  have successfully 
updated jdk-14 twice since then - you only need the linux version the first 
tim.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpkNAt7mSSHg.pgp
Description: PGP signature


Re: java question.

2005-01-02 Thread Gary Kline
On Sun, Jan 02, 2005 at 10:57:17PM +0100, Jorn Argelo wrote:
 On Sun, 2 Jan 2005 13:15:31 -0800, Gary Kline wrote
  On both my 4.10 system (this one: tao) and one on my 
  5.3 platforms, I'm *finally* using jdk14.  Can I free 
  up the linux-sun-jdk14 binary and space and yet be
  able to build/rebuild everything Java??
 
 Well, I can't say for sure. You have to make sure that your system is indeed 
 using the proper executable and the proper libs. If you have things mixed you 
 can have a serious problem.
 
 AFAIK everything is put in /compat/linux ... so deinstalling it wouldn't 
 bring 
 in too much problem. However, unless you have serious disk space problems, I 
 can't see why risk to break stuff if it is not needed.
 

Thanks.  On my laptop that's currently being ports-upgraded
I have seen /compat/linux complaints (mostly re mozilla).
I *think* future Java builds will work and java will work
from the browser... but better to be safe than bashing my 
head :)

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: java question.

2005-01-02 Thread Gary Kline
On Mon, Jan 03, 2005 at 09:47:49AM +1030, Ian Moore wrote:
 On Mon, 3 Jan 2005 07:45, Gary Kline wrote:
  On both my 4.10 system (this one: tao) and one on my
  5.3 platforms, I'm *finally* using jdk14.  Can I free
  up the linux-sun-jdk14 binary and space and yet be
  able to build/rebuild everything Java??
 
  (I'd like it if we had a FBSD version of everything
  but [*sigh*] that's not the way it is?
 
  gary
 Yes you can. I deinstalled my linux-java a while back  have successfully 
 updated jdk-14 twice since then - you only need the linux version the first 
 tim.
 
Outstanding!!

gary





-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


freebsd training/certification

2005-01-02 Thread Jayton Garnett
Hello,
I am wondering if there are any training/certification courses that I 
could take to become a FreeBSD guru?

I have been using the OS for over a year now and have become very 
familiar with installation/configuration but would like to be able to 
add some sort of certification to my CV.
Also how much of a threat is Solaris 10 x86 to FreeBSD and how come 
FreeBSD is not as popular as RH/Fedora?

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


Re: freebsd training/certification

2005-01-02 Thread Chris
Jayton Garnett wrote:
Hello,
I am wondering if there are any training/certification courses that I 
could take to become a FreeBSD guru?

I have been using the OS for over a year now and have become very 
familiar with installation/configuration but would like to be able to 
add some sort of certification to my CV.
Also how much of a threat is Solaris 10 x86 to FreeBSD and how come 
FreeBSD is not as popular as RH/Fedora?

Thanks,
Jayton Garnett
Search this list - you will find all your answers. This has been hashed 
over many, many times. Do a little work on your part - and you'll find 
out on your own.

--
Best regards,
Chris
Real programmers don't announce how many times the
operations department called them last night.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd training/certification

2005-01-02 Thread Chris
Jayton Garnett wrote:
Hello,
I am wondering if there are any training/certification courses that I 
could take to become a FreeBSD guru?

I have been using the OS for over a year now and have become very 
familiar with installation/configuration but would like to be able to 
add some sort of certification to my CV.
Also how much of a threat is Solaris 10 x86 to FreeBSD and how come 
FreeBSD is not as popular as RH/Fedora?

Thanks,
Jayton Garnett
... come to think of it... This has to be a troll. Let's ponder this...
The user states, I have been using the OS for over a year now, Hmmm 
seems to me that the user should KNOW the answer to, and how come 
FreeBSD is not as popular as RH/Fedora?

In addition - using it for a year now, this would make one think that 
the user would have read the cert thread of not even a month ago.

But let's really notice how the user unfolds the message. Starts off 
nice, curious to a point and even showing that the user wishes to 
possibly contribute to the foundation as a whole.

Once the user softens the audience, delivers the one-two punch tactic 
 of the evil creature known as a troll. However, this one don't look 
like Shrek

... Just my comical way of looking at things.
--
Best regards,
Chris
A budget is spending $15.00 on gas to drive to a
shopping mall to save $4.30 on a 20 pound turkey.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mailing Lists (and high volumes) vs Newsgroups

2005-01-02 Thread Sergei Gnezdov
Although I've been using FreeBSD for several years, I have not been
active with mailing lists at all.  I preferred to use newsgroups search
and a little bit of posting.

I am wondering, why mailing list is the official support mechanism (as
opposed to newsgroups)?  Ruby seems to be supported through newsgroups
quite nicely.

It seems to me that mailing lists still expose senders email address.  I
am worried about getting spam because of this.  Ok, nntp is even worse,
but I can manage that.

I also find that email applications don't deal as well with high volume
email messages.  I am comparing against newsreaders like:
- Emacs GNUS
- slrn
I like these newsreaders, because they allow me to assign scores based
on the subject and authors.  I can easily handle a very high volume ruby
newsgroup.  The longer I use the newsreader the faster I become.  For
example, if I did not pay attention the the original message the replies
are ignored automatically for me.  I will read 2 - 3 messages I am
interested out of 1000 post list in 30 seconds.

Ok, may be I am using the wrong tools...  I settled on Evolution as my
primary application and I like it.  Thunderbird is not bad either.
Neither can handle high volume subscriptions.

I'd appretiate advice on how to improve email handling.



signature.asc
Description: This is a digitally signed message part


Re: Why might my USB devices *not* be detected?

2005-01-02 Thread Trey Sizemore
On Sun, 2005-01-02 at 15:13 -0500, Trey Sizemore wrote:
snip

Sorry for replying to myself, but wanted to fix the subject (less
confusing).  Might this have something to do with the usbd.conf file
(I've not changed mine, but perhaps something to be added?).

-- 
Cheers,
Trey
---

This wasn't just plain terrible, this was fancy terrible.
This was terrible with raisins in it.
-- Dorothy Parker 

8:20PM up 6:28, 0 users, load averages: 0.05, 0.12, 0.41 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386

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


Re: basic freebsd programming

2005-01-02 Thread J65nko BSD
On Sun, 02 Jan 2005 21:11:42 +0300, Andrew P. [EMAIL PROTECTED] wrote:
 Hello and Happy New Year!
 
 I need to write some very basic C programs under FreeBSD. I am new to
 Unix programming and not very good at C programming either, so I'm
 looking for documentation on some topics. The ones that are the most
 interesting for me now is how to write small daemons best and how to
 read ipfw info from a program. Man pages help me very much, but I really
 need some guide. The problem is that doc project doesn't seem to have
 released anything like it. I looked through dev-, arch-, porters-
 handbooks, read design-44bsd - but I didn't find what I want.
 
 Of course I can refresh my C skills and gain some Unix-coding knowledge
 by reading a couple' thousand pages, but I don't feel like it's
 necessary for what I want to write - just a basic statistics collector.
 
 Should I explore FreeBSD source code or is there some solid piece of
 documentation?
 
 Best wishes,
 Andrew P. 

This could be useful: http://www.khmere.com/freebsd_book/index.html

Table of Contents:

* I. Introduction
* Chapter 1: FreeBSD's Make
* Chapter 2: Bootstrapping BSD
* Chapter 3: Processes and Kernel Services
* Chapter 4: Advanced Process Controls and Signals
* Chapter 5: Basic I/O
* Chapter 6: Advanced I/O
* Chapter 7: Processes Resources and System Limits
* Chapter 8: FreeBSD 5.x
* All source code
* Entire book in a tarball

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


Re: Mailing Lists (and high volumes) vs Newsgroups

2005-01-02 Thread Dan Nelson
In the last episode (Jan 02), Sergei Gnezdov said:
 Although I've been using FreeBSD for several years, I have not been
 active with mailing lists at all.  I preferred to use newsgroups
 search and a little bit of posting.

You can use gmane.org to read almost all of the FreeBSD lists via nntp.
 
 I am wondering, why mailing list is the official support mechanism
 (as opposed to newsgroups)?  Ruby seems to be supported through
 newsgroups quite nicely.

It's a lot easier to read email offline than nntp, for one, and
conversations progress much quicker on email lists because people
interested in the topic get messages immediately instead of having to
constantly poll the news server.  I subscribe to mailing lists that I
am active on, and less-frequently used ones I read via gmane's nntp
interface every few days.  I use mutt's scoring rules to sort topics
(mutt is both an email client and a newsreader, but I only use it for
mail; I read my news with mozilla).

-- 
Dan Nelson
[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: basic freebsd programming

2005-01-02 Thread Andrew P.
J65nko BSD wrote:
This could be useful: http://www.khmere.com/freebsd_book/index.html
Table of Contents:
* I. Introduction
* Chapter 1: FreeBSD's Make
* Chapter 2: Bootstrapping BSD
* Chapter 3: Processes and Kernel Services
* Chapter 4: Advanced Process Controls and Signals
* Chapter 5: Basic I/O
* Chapter 6: Advanced I/O
* Chapter 7: Processes Resources and System Limits
* Chapter 8: FreeBSD 5.x
* All source code
* Entire book in a tarball
Thanks! Kinda what I'm looking for. I'll print it and read carefully,
and I'd be very glad if I knew about similar sources of information
(except for official doc project).
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd training/certification

2005-01-02 Thread Louis LeBlanc
On 01/02/05 07:01 PM, Chris sat at the `puter and typed:
 Jayton Garnett wrote:
  Hello,
  
  I am wondering if there are any training/certification courses that I 
  could take to become a FreeBSD guru?
  
  I have been using the OS for over a year now and have become very 
  familiar with installation/configuration but would like to be able to 
  add some sort of certification to my CV.
  Also how much of a threat is Solaris 10 x86 to FreeBSD and how come 
  FreeBSD is not as popular as RH/Fedora?
  
  Thanks,
  Jayton Garnett
 
 ... come to think of it... This has to be a troll. Let's ponder this...

Not nececelery, but yes, lettuce ponder . . .

 The user states, I have been using the OS for over a year now, Hmmm 
 seems to me that the user should KNOW the answer to, and how come 
 FreeBSD is not as popular as RH/Fedora?

Obviously not a well thought out question, but I have to admit that I
*don't* read *every* single thread on the list.  In fact I probably
read half - or less, of what comes to me through the list.  I just
don't have time.  As far as why FreeBSD isn't as popular as RH/Fedora
- wait, you really mean it isn't? :)

 In addition - using it for a year now, this would make one think that 
 the user would have read the cert thread of not even a month ago.

There are threads from yesterday I didn't read.  I try to limit what I
read to those that indicate (reasonably) from the subject that it is
something I can answer, something related to a particular problem
I'm working on, or something otherwise of interest.  I've been using
FreeBSD for almost 5 years, and my knowledge of it is still a drop in
the bucket.

 But let's really notice how the user unfolds the message. Starts off 
 nice, curious to a point and even showing that the user wishes to 
 possibly contribute to the foundation as a whole.

Ah, yes.  I was naieve once too.  Thought I was the answer to all
FreeBSDs problems :)  Chalk it up to Newbie Zeal.  Yeah, even though
he's been using it for a year.  Using it doesn't mean learning the
internals, architecture, etc.  I can install the OS, ports, set up a
mail services, web services, ftp, firewall (more or less) and still
I'm a newbie.  FreeBSD is definitely my OS of preference, but I've
lost a little of that zeal.

 Once the user softens the audience, delivers the one-two punch tactic 
   of the evil creature known as a troll. However, this one don't look 
 like Shrek

Not sure he's necessarily a troll, but I see your angle.

 ... Just my comical way of looking at things.

Most entertaining :)

 -- 
 Best regards,
 Chris

Ditto
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Pohl's law:
  Nothing is so good that somebody, somewhere, will not hate it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd training/certification

2005-01-02 Thread Louis LeBlanc
On 01/02/05 06:47 PM, Chris sat at the `puter and typed:
 Jayton Garnett wrote:
  Hello,
  
  I am wondering if there are any training/certification courses that I 
  could take to become a FreeBSD guru?
  
  I have been using the OS for over a year now and have become very 
  familiar with installation/configuration but would like to be able to 
  add some sort of certification to my CV.
  Also how much of a threat is Solaris 10 x86 to FreeBSD and how come 
  FreeBSD is not as popular as RH/Fedora?
  
  Thanks,
  Jayton Garnett
 
 Search this list - you will find all your answers. This has been hashed 
 over many, many times. Do a little work on your part - and you'll find 
 out on your own.

That last line: Do a little work on your part - and you'll find out
on your own.  That's the certification program :)

You can learn more about FreeBSD in a month on the list and reading
the books written on it than you'll ever learn (or care to retain)
from some MS cert program.  Best part is it only costs book fees and
. . . what's the brains equivalent of elbow grease?  Hard work,
anyway.

The thing to remember is that using FreeBSD isn't learning
FreeBSD.  Not in the sense of a cert program.  I've been using
FreeBSD for almost 5 years, but I'd be up the creek if I had to
perform a major crash recovery.  I just haven't gotten round to that
yet.

If you want a FreeBSD cert, find the goals list of any major Unix cert
program, learn how to do that on FreeBSD (on at least two major
releases, like 4.10 and 5.3) then do it a lot.  That's your cert, but
it's really a self signed cert.  If you did all the work, it's every
bit as good as the one you'd have paid $2850 for, but there's no fancy
plaque to hang up (unless you make it yourself) and nobody has to
honor it - not that they *have* to place much stock in the MS or Sun
certs.

Good luck.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Alexander Graham Bell is alive and well in New York, and still waiting
for a dial tone.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: write state to swap for multi-os boot

2005-01-02 Thread Bill Moran
[EMAIL PROTECTED] wrote:

 
 On Sun, 2 Jan 2005, Bill Moran wrote:
 
  But it's a great way to boot Linux under Windows, or FreeBSD under
  either, or have multiple OSes running simultaneously under a single
  computer.
 
 How good is device support from within vmware? Can I get to
 serial/usb/audio/network ports seamlessly?

I can't speak for all of those, but audio and network seem fine.  I
haven't really experimented with usb/serial yet, but I would
expect support for both of them to be very good.

-- 
Bill Moran
Potential Technologies
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: Recommended Mail Transfer Agent

2005-01-02 Thread Michael Madden
Warren Block wrote:
So have other MTAs, including one for Postfix not so long ago.  Sendmail 
configuration can be charitably called odd, but it's so widely used 
that answers can usually be found on google or groups.google.com.  Then 
there's comp.mail.sendmail, and sendmail.org, the bat book, and even 
sendmail.com.
FYI:
With help from a decent tutorial for sendmail at
http://www.technoids.org/freebsdsendmailfaqs.html
and some detailed explanation from the bad book,
I got sendmail setup fine.
I found the tutorial to be a good initial walk
through, and the bat book was a great reference.
Thanks for all the suggestions,
Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >