RE: Postfix vs. Sendmail

2003-01-08 Thread Daniel Goepp
On Tue, Jan 07, 2003 at 11:26:53PM -0800, Kurt Bigler wrote:
 on 1/6/03 10:59 PM, Jonathan Chen [EMAIL PROTECTED] wrote:
 
  On Mon, Jan 06, 2003 at 05:29:15PM -0800, Kurt Bigler wrote:
  
  [...]
  The problem came up when my VPS provider did a system upgrade.
This process
  left everything I had intact except I lost my sendmail soft link
which had
  pointed to the sendmail replacement provided by qmail.  The link
was
  replaced by the sendmail binary with the result that I suddently
had
  sendmail running again beside qmail.
  
  The correct thing to do is to leave the sendmail binary alone and
  tweak /etc/mail/mailer.conf so that the sendmail replacement is
  invoked instead of the base-system's sendmail.
 
 Yes, I actually corrected mailer.conf when the problem occurred, but I
have
 heard that some software will try to use /usr/sbin/sendmail explicitly
 ignoring mailer.conf.

/usr/sbin/sendmail is a symbolic link to /usr/sbin/mailwrapper. ie
invoking /usr/sbin/sendmail will consult /etc/mail/mailer.conf.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 A person should be able to do a small bit of everything,
specialisation is for insects

This is exactly my point, we are running our selves in legacy circles to
comply with the original application.  And even worse, we are continuing
to conform for how sendmail wants thing, and still calling it sendmail.
So, for example, if you install postfix...It replaces the sendmail
executable also.  So, sendmail (mailwrapper version), points to sendmail
(postfix replacement), which finally points to the postfix delivery app.
Seems a bit much...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



recompile libc with BIND IRS ?

2003-01-08 Thread Frank Bonnet
Hi

In order to have nss_ldap to work on FreeBSD 
I've read it would be necessary to recompile 
the libc with the BIND IRS.

Does some guru could explain how to do such
thing and does anybody has done this with success ?

The goal is to have LDAP auth to work on FreeBSD
which is not the case with std configuration.

Thanks a lot for any infos.
-- 
Frank Bonnet 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: POP Server with Secure Password Authentication

2003-01-08 Thread Francesco Casadei
On Tue, Jan 07, 2003 at 11:00:34PM -0800, Kory Hamzeh wrote:
 
[snip]
 
 Francesco,
 
 Thank you! That works great and it took me all of 10 minutes to setup and
 configure. I'm wondering if stunnel can be setup to encrypt all traffic to a
 certain host. Right now, I have a bunch of user's using the cisco VPN
 software (IKE  IPSEC) on their PC's and connect to a cisco router acting as
 a security gateway which decrypts and routes the traffic on the local LAN.
 I'm wondering if stunnel can replace all of that by running stunnel on a
 freebsd machine acting as the security gateway and then run a copy of
 stunnel on all of the user's PC under windoze.
 
 Thanks,
 Kory
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of the original message

If I understand you well, you have several options:

- install mpd (net/mpd in the ports) on the FreeBSD machine acting as a PPTP
server and then configure a PPTP connection to the security gateway on the
windows clients; mpd also supports DES encryption

- install one of the following VPN servers on the FreeBSD machine:
  * openvpn (security/openvpn), see http://openvpn.sourceforge.net/
  * vpnd (security/vpnd), see http://sunsite.dk/vpnd/ 
  * tinc (security/tinc), see http://tinc.nl.linux.org/

I have only tried the first option to connect a Windows 95 box, via an
MPPE-encrypted tunnel over the Internet, to a PPTP FreeBSD server, which in
turn is the firewall/gateway of the office LAN. 

Francesco Casadei
-- 
You can download my public key from http://digilander.libero.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B




msg14692/pgp0.pgp
Description: PGP signature


Re: Apache stress testing tool ?

2003-01-08 Thread Dirk-Willem van Gulik

  |Anybody recommend a good/simple tool to load/stress test an apache
  |webserver ? (or any other webserver for that matter)
 
 Check out http://hammerhead.sourceforge.net/

Apache comes with 'ab' which does braindead hammering (and is rather good
at that) - or check out flood; also an apache project for more advanced
testing cycles.

Dw.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Viewing Network Traffic

2003-01-08 Thread Denis N. Peplin
On Tuesday 07 January 2003 18:49, Justin P. Michel wrote:
 Greetings,

 I need to be able to view packets that are being sent out, and recieved by
 a machine on my network, running FreeBSD 4.7-Release-p2.  I was wondering
 what utilities are recommended by those in the know.  Any site links where
 I can read up on said utilities are also needed.
tcpdump (base system, show each packet) or trafshow (ports)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



5.0-DP2 sparc64 buildworld problem

2003-01-08 Thread Julien Bournelle
Hi all,

 I try to compile a kernel for a sparc64 on my FreeBSD 4.5 box.
So I cvsup with:


*default host=ftp.fr.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
#*default compress

## Main Source Tree.
#
# The easiest way to get the main source tree is to use the src-all
# mega-collection.  It includes all of the individual src-* collections.
src-all


ok, I have no problem with that.
Then I cd to /usr/src and run:

make TARGET_ARCH=sparc64 buildworld

and I have the following error:


=== usr.bin/xargs
/usr/obj/sparc64/usr/src/i386/usr/src/usr.bin/xargs created for /usr/src/usr.bin/xargs
rm -f .depend
mkdep -f .depend -a  /usr/src/usr.bin/xargs/xargs.c 
/usr/src/usr.bin/xargs/strnsubst.c
echo xargs: /usr/lib/libc.a   .depend
cc -O -pipe   -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wcast-align -Wno-uninitialized  -c /usr/src/usr.bin/xargs/xargs.c
cc -O -pipe   -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wcast-align -Wno-uninitialized  -c /usr/src/usr.bin/xargs/strnsubst.c
cc -O -pipe   -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wcast-align -Wno-uninitialized   -static -o xargs xargs.o strnsubst.o 
xargs.o: In function `prompt':
xargs.o(.text+0xd15): undefined reference to `nl_langinfo'
*** Error code 1

Stop in /usr/src/usr.bin/xargs.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src


in stage 1 process.

I tried to run these commands before:

# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir
# make cleandir

but still have the same error.
I guess that it isn't specific to TARGET_ARCH option because I tried to run the command
without it and I still have this error.


If someone has an idea or a better appropriated mailing lists and I would be
very happy :-)

Thanks in advance,

[EMAIL PROTECTED]

ps: I tried to run 'make TARGET_ARCH=sparc64' libraries before and in this case I
have the following error:


=== gnu/lib/csu
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/l
ib/csu/../../../contrib/gcc tconfig.h
echo 'struct rtx_def;'   tconfig.h
echo 'typedef struct rtx_def *rtx;'  tconfig.h
echo 'struct rtvec_def;' tconfig.h
echo 'typedef struct rtvec_def *rtvec;'  tconfig.h
echo 'union tree_node;'  tconfig.h
echo 'typedef union tree_node *tree;'tconfig.h
echo ''  tconfig.h
echo '#include ansidecl.h' tconfig.h
echo '#include sparc/sparc.h'  tconfig.h
echo '#include dbxelf.h'   tconfig.h
echo '#include elfos.h'tconfig.h
echo '#include freebsd-native.h'   tconfig.h
echo '#include freebsd-spec.h' tconfig.h
echo '#include freebsd.h'  tconfig.h
echo '#include sparc/sysv4.h'  tconfig.h
echo '#include sparc/freebsd.h'tconfig.h
echo '#include defaults.h' tconfig.h
echo '#ifndef POSIX' tconfig.h
echo '# define POSIX'tconfig.h
echo '#endif'tconfig.h
echo '#define CONFIG_SJLJ_EXCEPTIONS 0'  tconfig.h
rm -f .depend
CC=cc MKDEP_CPP_OPTS=-M -DCRT_BEGIN mkdep -f .depend -a
-DTARGET_CPU_DEFAULT=TARGET_CPU_ultrasparc -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -I/usr/sr
c/gnu/lib/csu/../../../contrib/gcc/config -I/usr/src/gnu/lib/csu/../../../contrib/gcc 
-I. -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  /usr/sr
c/gnu/lib/csu/../../../contrib/gcc/crtstuff.c 
/usr/src/gnu/lib/csu/../../../contrib/gcc/config/sparc/crtfastmath.c
cc -O -pipe -mcpu=pentiumpro -DTARGET_CPU_DEFAULT=TARGET_CPU_ultrasparc -DIN_GCC 
-DHAVE_LD_EH_FRAME_HDR -finhibit-size-directive -fno-inline-functi
ons  -fno-exceptions -fno-omit-frame-pointer 
-I/usr/src/gnu/lib/csu/../../../contrib/gcc/config 
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.  -I
/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  -g0 -DCRT_BEGIN  -c -o crtbegin.o 
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
In file included from /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:63:
/usr/src/gnu/lib/csu/../../../contrib/gcc/unwind-dw2-fde.h:37: field `array' has 
incomplete type
/usr/src/gnu/lib/csu/../../../contrib/gcc/unwind-dw2-fde.h:135: field `augmentation' 
has incomplete type
/usr/src/gnu/lib/csu/../../../contrib/gcc/unwind-dw2-fde.h:143: 

RE: How to get detailed information on the RAM in the system?

2003-01-08 Thread Aaron Burke
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Pranav A. Desai
 Sent: Tuesday, January 07, 2003 11:47 AM
 To: FreeBSD Questions
 Subject: How to get detailed information on the RAM in the system?

It shows you if you type dmesg. Its just below the processor info.
CPU: Pentium/P55C (233.86-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x543  Stepping = 3
  Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX
real memory  = 67108864 (65536K bytes)


 
 
 Hi!
 
   Is there a way to find out how many memory modules are in a
 machine e.g. whether it is 2*1G=2G or 4*512M=2G of RAM. I dont have
 physical access to the machine.
 
 Thank you for your time
 
 -Pranav
 
 ***
 Pranav A. Desai
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-08 Thread Khairil Yusof
On Tue, 2003-01-07 at 01:02, Jonathan Belson wrote:

 Since the machine is a gateway, it has two network cards.  Will
 'me' match *both* IP address or just the first one it comes
 across?  I only really want it to match the IP address of the
 external interface, not the internal one.

How about using interface rules since you have 2 network cards?

rules to allow stuff local network on fxp0 (internal network)
deny from any to any via fxp0

allow stuff via fxp1 (external network)
deny from any to any via fxp1

I find this to be easier.

-- 
Khairil Yusof [EMAIL PROTECTED]



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


Re: SMP kernel installation

2003-01-08 Thread Khairil Yusof
On Tue, 2003-01-07 at 14:18, shubha mr wrote:

 For a multiprocessor machine,to install FreeBSD,is
 something extra needs to be done from what will be
 done to install the OS for a uni processor machine?I
 mean is there anything different to be installed for a
 symmetric multi processor machine?

Posted a reply to this a while back (check the archives).

After installation you just need to recompile the kernel (see the
freebsd handbook).

You just need to uncomment/enable these options in the GENERIC kernel
configuration like so:

#cpuI486_CPU
cpu I586_CPU
cpu I686_CPU

options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O

recompile and reboot:

#cat /var/run/dmesg.boot | grep SMP

should give you this message:

SMP: AP CPU #1 Launched!

If you're curious, you can run top. It will have a CPU column.


-- 
Khairil Yusof [EMAIL PROTECTED]



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


RE: How to get detailed information on the RAM in the system?

2003-01-08 Thread Toomas Aas
Hi!

Earlier on the freebsd-questions list:

  Is there a way to find out how many memory modules are in a
  machine e.g. whether it is 2*1G=2G or 4*512M=2G of RAM.

 It shows you if you type dmesg. Its just below the processor info.
 CPU: Pentium/P55C (233.86-MHz 586-class CPU)
   Origin = GenuineIntel  Id = 0x543  Stepping = 3
   Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX
 real memory  = 67108864 (65536K bytes)

What in this information shows whether you have 2x32 MB or 4x16 MB 
memory modules? The original question was not about the total amount of 
memory installed.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Windws is ine for bckgroun comunicaions - Bll Gats, 192


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: LS -L command, year created field contains hour:minute instead of year

2003-01-08 Thread Giorgos Keramidas
On 2003-01-07 21:00, JoeB [EMAIL PROTECTED] wrote:
 The LS -L command will display the long info about files in a
 directory.  FBSD 4.0 through 4.5 LS -L command would display among
 other things the month/day/year the file was created.  FBSD versions
 4.6 and 4.7 displays the hour:minute the file was created in the
 year field instead of the year.

This is done to save some space in the output of ls(1) and yet print
useful information like the `hour:minute' of modification time for
files that have been modified recently (for some definition of
`recently').  The same is done in other BSDs too.  Here's output from
a NetBSD 1.6 system that shows similar behavior:

nbsd- touch -t 199805092317.25 lala
nbsd- ls -l
total 100
drwx--  2 gk736  nis   8192 Jan  6 08:25 bin
drwxr-xr-x  4 gk736  nis   8192 Jan  6 23:28 compress
-rw-r-  1 gk736  nis  30918 Jan  6 23:28 compress.tgz
-rw-r--r--  1 gk736  nis  0 May  9  1998 lala
-rw-r--r--  1 gk736  nis   2563 Jan  7 05:16 text

 To me this looks like there is a bug in the routine that populates
 the file's creation date field upon creation of the file and the LS
 -L command is just displaying what it finds in the year field which
 has been populated with incorrect data.

Hmmm.  I'm not sure I understand what is being said here.

There is no bug at this part of ls(1).  It simply prints the year at
column 8 for files that have been modified way back in the past, and
uses the same column to print the hour:minute of recently modified
files.

 I am looking for confirmation of my interpretation of the problem
 from other FBSD users, before I submit PR on it.

It's not really a problem, imho.  You can always use the -lT options
of ls(1) to print the full time information of file.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Asus Message LED

2003-01-08 Thread Quinn Ellis
Asus boards have a System message LED.  It says in the manual it requires an 
ACPI OS.  (I am using an ASUS a7v

I was curious as to whether or not this could be done under FreeBSD, and 
whether or not people have got this working under any other OS/programs.

Regards,
Quinn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Faking a .mac server for Mac Backup

2003-01-08 Thread Brian Jackson
Hi -

Wayne Pascoe wrote:


Hi all,

I'm trying to fake a mac server for Backup on my Mac. I'm using
FreeBSD with Apache 2.0.43 and SSL.

I've got an SSL server working on port 443 with a self signed
certificate. Connecting to this box with a browser, all looks ok both
with http:// and https://

Using Internet Preferences on the mac to setup a username and password
for my iDisk fails. I've checked the log file on the FreeBSD server,
and as it fails I'm getting the following message:

[Wed Jan 08 13:07:08 2003] [error] SSL handshake failed (server
www.mac.com:443, client 213.52.146.197)
[Wed Jan 08 13:07:08 2003] [error] SSL Library Error: 336151528
error:140943E8:lib(20):func(148):reason(1000)

Any idea what could be causing this and how I could fix it ? 

thanks in advance,

 

Is the server that you're trying to emulate the iServices on known as 
www.mac.com to your mac?  i.e; instead of the real Apple server?

I'm thinking (out loud) that you may need to spoof your Mac into 
thinking your BSD box is Apple's server to be able to get your mac to 
connect properly.  I believe that there's been some discussion of this 
at http://www.macosxhints.com as well.

Brian

--
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: can't boot off HPT37A RAID1 array

2003-01-08 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-08 16:53:28 +0100:
 Hi there,
 
 I'm trying to get FreeBSD 4.7-RELEASE boot off of HightPoint RocketRAID
 100 (HPT370A, BIOS v. 2.34) based RAID1 array. 

Sorry for the repost. I fat-fingered...

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entering smbfs shares with spaces in name in fstab

2003-01-08 Thread Matt Smith
On Wed, 2003-01-08 at 11:15, Thomas Spreng wrote:
  
 On Wed, Jan 08, 2003 at 09:43:22AM -0500, Matt Smith wrote:
  I am looking to make an entry in my fstab for an smb file share that has
  a space in  the name.
  
  snip one line from fstab
  
  //Account@NBName/MY SHARE  /mntpointsmbfs
  rw,noauto,-W=AccountDomain,-I=RealName.My.Domain.Edu 0 0
  
  /end snip
  
  I have tried many variations on the share name using double-quotes,
  single-quotes, \ , with no success.
  
  mount /mntpoint
  fstab: /etc/fstab:17: Inappropriate file type or format
  fstab: /etc/fstab:17: Inappropriate file type or format
  mount: /mntpoint: unknown special file or file system
  
  mount is parsing the fstab and using the space in the share name as a
  delimiter.
  
  Any ideas how I can make this entry in my fstab?  Unfortunately,
  renaming my share is NOT an option.
  
  Thanks all,
  -Matt
  
  
  -- 
  Matt Smith [EMAIL PROTECTED]
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
  
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
Hi,
 
 you might try writing your space character as an ascii escape sequence (\040).
 
 bye,
   Tom
 
 
 
Tom -- thanks for the reply.  I found the same info on google, but it was from Linux 
sites.  Ufn, no luck -- now I get:
smbfs: unable to open connection: syserr = No such file or directory

To use the ascii escape sequence, do I need anything more than:
Account@NBName/MY\040SHARE  /mntpointsmbfs 
rw,noauto,-W=AccountDomain,-I=RealName.My.Domain.Edu 0 0


Even the following fails from a command line:
#mount -tsmbfs -o -I=RealName.My.Domain.Edu,-W=AccountDomain 
//Account@NBName/MY\040SHARE mntpoint/

This show a little more info (note the -d -v):
#mount -tsmbfs -d -v -o -I=RealName.My.Domain.Edu,-W=AccountDomain
//Account@NBName/MY\040SHARE mntpoint/

Which returns:
exec: mount -tsmbfs -d -v -o -I=RealName.My.Domain.Edu,-W=AccountDomain
//Account@NBName/MY040SHARE mntpoint/

Which seems to mean that \040 resolves to simply 040.


The following works (using \ ) from a command line:
#mount -tsmbfs -o -I=RealName.My.Domain.Edu,-W=AccountDomain
//Account@NBName/MY\ SHARE mntpoint/

But \  does NOT work in the fstab file.

Any other ideas, anyone?
-Matt

-- 
Matt Smith [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Renaming files with spaces in the name to files without spaces..

2003-01-08 Thread parv
in message [EMAIL PROTECTED], wrote
BigBrother (BigB3) thusly...

 Sorry for this OT but I am trying for some hours to achieve
 a massive rename of files using a simple script and I have not
 success yet. I want to rename files like
 
 RESULTS OF JAN 01 2002.txt 
 
 to
 
 RESULTS_OF_JAN_01_2002.txt

here is another way in perl (though it changes blanks to '-'; edit
as you desire)...

  http://www103.pair.com/parv/comp/src/perl/sanename.perl

  description...

http://www103.pair.com/parv/comp/src/perl/sanename.perl.pod


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



SUP

2003-01-08 Thread Sellenschuetter, Mike
It has been our experience that in order for the sup process to distribute a
file, the file in the repository needs to be other readable (644, for
example).  Whenever we remove the read bit from other (640), the SUP process
will not distribute the file.  The supfilesrv process is running as root.
Is there anyway to configure the sup process to distribute a file when the
file's mode does not have the other bit set to readable (640)?  

Thank You,
Mike Sellenschuetter
Security Administration Team Lead, Lockbox Systems



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



SOLVED: Re: can't boot off HPT37A RAID1 array

2003-01-08 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-08 15:29:32 +0100:
 I'm trying to get 4.7-RELEASE boot off of HightPoint RocketRAID 100
 (HPT370A, BIOS v. 2.34) based RAID1 array. 

seems that the / fs was beyond the area BIOS can address. wiped out
the array, recreated the filesystems, did new dump/restore, and it
boots.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SMP kernel installation

2003-01-08 Thread Ceri Davies
On Wed, Jan 08, 2003 at 06:37:56PM +, Stacey Roberts wrote:
  
  You just need to uncomment/enable these options in the GENERIC kernel
  configuration like so:
  
  #cpuI486_CPU
  cpu I586_CPU
  cpu I686_CPU
 
 Is *this* actually correct?
 
 Looks as if you've enabled two different CPU classes here in the kernel.

That's ok - it means that the kernel will run on both (i.e. less optimization).

Ceri
-- 
May the fire of my ancestors bring your last day!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Renaming files with spaces in the name to files without spaces..

2003-01-08 Thread Chris Doherty
On Wed, Jan 08, 2003 at 06:01:50PM +0200, BigBrother (BigB3) said: 
 -BEGIN PGP SIGNED MESSAGE-
 Sorry for this OT but I am trying for some hours to achieve a massive
 rename of files using a simple script and I have not success yet. I want
 to rename files like

there is already a general utility for this:
/usr/src/contrib/perl5/eg/rename .

leviathan:/home/chris:1168 /usr/src/contrib/perl5/eg/rename
Usage: rename perlexpr [filenames]

not only already written and tested, but you get to use perl regexen. :-)

HTH,
Chris

---
Chris Doherty
chris [at] randomcamel.net

I think, said Christopher Robin, that we ought to eat
all our provisions now, so we won't have so much to carry.
   -- A. A. Milne
---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



setting up ldap client

2003-01-08 Thread Radko Keves
hi all

i want set up ldap client, but don't know how
i can't found good document
(for example how set up pam ... )

can anybody help me ?

thank and bye
-- 
R

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cannot install FreeBSD 4.7

2003-01-08 Thread Lowell Gilbert
Ying Shi [EMAIL PROTECTED] writes:

 It's a PIII-1.2 GHz w/1024MB RAM with RAID. RAID controller is
 a Promise FastTrak100 with two 40GB Maxtor hard disks attached.
 
 I can boot the Kernel floppy and MFS root floppy with no problem.
 
 After all the conflicts had been resolved, /stand/sysinstall Main Menu
 was displayed. Then I selected a standard installation.
 I got a message --- No disks found!
 
 I configured one of disks as a logical disk, another unplugged.
 
 I'm wondering if FreeBSD 4.7 can be installed in above device.

I don't know about that specific disk controller, but perhaps you
should try installing *without* worrying about conflicts.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 4.7Release - sed problems?

2003-01-08 Thread Lowell Gilbert
John Brooks [EMAIL PROTECTED] writes:

 I'm working on a new clean install of 4.7R from the iso.
 
 dmesg gives an error:
   pid 94 (sed), uid 0: exited on signal 4 (core dumped)
 this comes from the 'sed' call in 'update_motd'
 
 installing applications from ports also fail on 'sed' calls
 
 release notes on 4.7 indicate:
   sed(1) now takes a -i option to enable in-place editing of files.
 
 my question:
 Does this mean that the wrong version of sed is included in the iso of disk 1?

No, the error would manifest differently if that were the case.

Sounds like your sed binary is corrupt (or maybe a library).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



I viewed your web site

2003-01-08 Thread money4u1
Hello,

85% of all Internet surfers are directed by search engines. Search 
Engines are the super powerful traffic solution on the Internet.

Your web site can be evaluated for FREE for its keyword placement
in the top twenty major search engines.  By evaluate, we mean taking
the search words that are important to your web site and checking
the results of those words in the top twenty search engines to
determine your web site's placement within those results.  We 
will create a report that displays the results, and then a
professional evaluator will look at your site to see if there is
any 'search engine hostile' content.  This valuable service is
simply free for you as our gift.

To take part in our free offer, simply click the link below:
http://www.blueskynite.com/form_s.html

I think you will be very surprised by the detail and results of our 
analysis.

If by some misunderstanding we sent this email, click reply and type \'take away\' in 
the 
subject line.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: creating user dirs

2003-01-08 Thread Karl Vogel
 On Tue, 7 Jan 2003 13:44:53 +0200, 
 Lauri Laupmaa [EMAIL PROTECTED] said:

L Is there a simple solution for creating all user directories under
L /home?  So, I have clean /home filesystem and hundreds of users in
L /etc/*passwd. Hopefully there is some simple command or script :)

   Create a subset of the passwd file with the user, group, and home
   directory only:

 # cut -f1,4,6 -d: /etc/passwd | grep /home/ | sed -e 's/:/ /g'  /tmp/pw

   Create the directory tree.  You need the '-p' flag in mkdir if you
   have multiple levels of directories under /home:

 # awk '{print mkdir -p, $3}' /tmp/pw | sh

   Next, set permissions.  Use 750 instead of 755 if you don't want
   world read access to user's home directories:

 # awk '{print chmod 755, $3}' /tmp/pw | sh

   If you want to populate the home directories with some default dot files
   (.profile, etc) you can do something like

 # cd /etc/skel
 # awk '{print find . -print | cpio -pdum, $3}' /tmp/pw 

   Finally, set ownerships.  This assumes you want the user's home
   directory and files owned by the user and the default user's group:

 # awk '{print chown -R, $1.$2, $3}' /tmp/pw | sh
 # rm /tmp/pw

-- 
Karl Vogel  I don't speak for the USAF or my company
[EMAIL PROTECTED]  http://www.pobox.com/~vogelke

If all the veins in your body were laid end to end, you'd be dead.
--unknown

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Problem with USB Kodak DX4900

2003-01-08 Thread Jeffrey Eugene Crawford
Hello everyone,

	I origionaly posted this message to [EMAIL PROTECTED] but recieved 
no responce as of yet. I'm hoping that someone here might point me to the right 
direction as to where I may be able to better ask this question or even help me 
right away if possible. Since my last message I have turned on USB debugging and 
have some more information showing up on the console:

usbd_new_device: addr=3, getting first desc failed
uhub_explore: usb_new_device failed, error=TIMEOUT
uhub0: device problem, disabling port 1

After removing the device I get

uhub0: port error, restarting port 1

Also after enabling the debugging I have noticed that the other port (2) in 
which my scanner is attached works dispite port 1 being disabled when I try to 
attach my camera (See below). I would relly like to try getting this camera to 
work in FreeBSD! If anyone can help me I would love to help allow this camera to 
be added to FreeBSD's support list :) My original message below

==

Hello everyone,

I've been looking around the newsgroups, and mail archives the past
couple of days, but I still can't get the thing to work. When I try to connect
the Kodak DX4900 digital camera to my USB port, I get (After a slight delay)
the following message appears on the console:

uhub0: device problem, disabling port 1

After that my Mustek 1200UB scanner stops woking with a similar message
identifying port 2 this time. Only a reboot with the Camera not attached will
reenable the Mustek Scanner again. the output of usbdev -v will print a
message on the port where the camera is installed this can't happen! (Or
something simmilar). My VIA chipset seems to show up often when I'm searching
for USB problems in the newsgroup and freebsd archives. I'm starting to assume
that the VIA USB chipset is not all that its cracked up to be.

Please note that I'm not subscribed to this mailing list so please remember to
include me in the CC when responding to this mail. Here is the output from
dmesg when camera and scanner were attached:


Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE-p2 #0: Thu Dec 12 00:08:52 CET 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISSI
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 751709439 Hz
CPU: AMD Athlon(tm) Processor (751.71-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x622  Stepping = 2

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 805240832 (786368K bytes)
avail memory = 778235904 (759996K bytes)
Preloaded elf kernel kernel at 0xc04a5000.
Preloaded userconfig_script /boot/kernel.conf at 0xc04a509c.
Preloaded elf module linux.ko at 0xc04a50ec.
Preloaded elf module agp.ko at 0xc04a518c.
Preloaded elf module nvidia.ko at 0xc04a5228.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fde40
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: VIA Generic host to PCI bridge mem 0xd800-0xdbff at device 0.0 
on pci0
pcib2: PCI to PCI bridge (vendor=1106 device=8391) at device 1.0 on pci0
pci1: PCI bus on pcib2
nvidia0: GeForce2 MX/MX 400 mem 0xd000-0xd7ff,0xdc00-0xdcff 
irq 5 at device 0.0 on pci1
isab0: VIA 82C686 PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686 ATA66 controller port 0xc000-0xc00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0xc400-0xc41f irq 9 at device 7.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: device problem, disabling port 1
uhub0: device problem, disabling port 2
pci0: unknown card (vendor=0x1106, dev=0x3057) at 7.4
pcm0: VIA VT82C686A port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 10 at 
device 7.5 on pci0
atapci1: Promise TX2 ATA133 controller port 
0xe800-0xe80f,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 mem 
0xdf00-0xdf003fff irq 11 at device 9.0 on pci0
ata2: at 0xd800 on atapci1
ata3: at 0xe000 on atapci1
rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xdf004000-0xdf0040ff 
irq 10 at device 10.0 on pci0
rl0: Ethernet address: 00:30:84:40:ff:fa
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: Host to PCI bridge on motherboard
pci2: PCI bus on pcib1
orm0: Option ROMs at iomem 0xc-0xcc7ff,0xd-0xd27ff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x2 irq 1 on atkbdc0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0

Dell PowerVault 122T

2003-01-08 Thread Mike Hogsett

Greetings,

Has anyone used a Dell PowerVault 122T tape loader with FreeBSD.
Specifically I am interested on how well the tape changing works.

 - Mike

P.S.  I would like to use the 122T with the LTO tapes, and Amanda to do
our backups.  I use two Sony AIT SDX-400C drives now.  I have been looking
at the 122T as a potential upgrade in capacity for our system.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread Bill Moran
Sean Ellis wrote:

Hello freebsd-questions,

  I wonder if anyone has any comment on this web article. The results
  of the benchmarking seem to portray FreeBSD in a less than
  favourable light.

  http://www.samag.com/documents/s=1148/sam0107a/0107a.htm


It looks like garbage to me.  He doesn't give enough information to
reproduce his results, though I strongly suspect the FreeBSD box
has softupdates disabled, and is therefore going to be slower.

His writeup isn't even very good.  On the initial page he claims
they tested with FreeBSD, but on sidebar #2 he claims they used
OpenBSD.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Bios not recognizing correct HD size

2003-01-08 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday, January 08, 2003 5:40 PM Stephen Hovey
mailto:[EMAIL PROTECTED] wrote:

 I thought fbsd didnt use the bios when addressing a drive
 
 On Wed, 8 Jan 2003, Mike Loiterman wrote:
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 PROBLEM
 I have an old Compaq machine that I'm trying to install a 20 gig
 drive into, but it's only recognizing the first 2112MB.  Obviously
 this is a limitation of the BIOS.  Aside from buying an PCI ATA card
 (the machine only has one PCI slot and I'm using it for my NIC), is
 there anyway to get this drive working on the exsisting system?
 
 
 CURRENT SETTINGS
 Compaq Presario 4504
 Phoenix BIOS, not sure what version
 Maxtor Drive, not sure which model since there are no markings on
 the drive itself Drive is Primary Master and the Cylinder Limitation
 Jumper is set as well. 
 
 Detection Type:  Auto
 Cylinders: 4092
 Heads: 16
 Sectors 63
 Multi-Sector Transfers: 16 Sectors
 LBA Mode Control: Enabled
 32 Bit I/O: Disabled
 Transfer Mode: Fast PIO 4.
 
 I can put the drive into User Detection mode and adjust the
 Cylinders, Heads, and Sectors myself, but I don't know what settings
 to use.  
 
 Thanks to all for help.
 
 - ---
 Randomly Generated Quote:
 Why do cats have canine teeth?
 
 Mike Loiterman
 PGP Key 0xD1B9D18E
 http://www.ascendency.net
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: PGP 8.0
 Comment: This message has been digitally signed by Mike Loiterman
 
 iQA/AwUBPhy0sGjZbUnRudGOEQLmgwCfcF3+qfZOjbdlXFbk7/Tlc31sMXcAoIz0
 UwEYoDeu6yyc1AY56JqfuaaF =aREs
 -END PGP SIGNATURE-
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

I think you're right.  So should I just define the drive correctlt in fdisk?  If so, 
what would be the proper settings.

- ---
Randomly Generated Quote:
I'm immortalso far. - Anon

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPhy29WjZbUnRudGOEQLwDwCg+kEZaAVvmXT9bSo/kcEqdF82ZbIAoOLu
9B4uyx/OSa+TKJPwfaem3Hjv
=7gLP
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread Duncan Anker
On Thu, 2003-01-09 at 03:53, Sean Ellis wrote:
 Hello freebsd-questions,
 
   I wonder if anyone has any comment on this web article. The results
   of the benchmarking seem to portray FreeBSD in a less than
   favourable light.
 
   http://www.samag.com/documents/s=1148/sam0107a/0107a.htm
 
   Please CC any replies as I am not currently subscribed.

Linux comes out the fastest because they do fun things like including
support for http in the kernel. I have heard of a lot of problems with
postfix on Linux because the filesystem doesn't journal properly so in
the event of a crash all your mail is lost (postfix was told it was
delivered, etc). Recent research into NFS I have done also suggests that
Linux is much slower than FreeBSD due to the nature of network
buffering.

I would say that the benchmarks were performed on stock installs without
optimizations (such as recompiling the kernel to take advantage of a P3
or better). Given the opportunity to tweak each setup, my guess is Linux
and FreeBSD would be on top, with Windows ranking last (because it's not
open source, you have less control - what you get is what Microsoft gave
you).

I'm not advocating any operating system above any other. I think people
should determine what they want to do with their system, find out what
platforms are capable of handling it, and perform their own benchmarks
for their particular application. If only the authors of such articles,
who really should know better, did the same thing.

-- 

The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: iomega usb zip 100

2003-01-08 Thread Jason Hunt
On Fri, 3 Jan 2003, Ted wrote:

 Dear FreeBSDers,
 I've tried using the mount command to mount my USB Iomega Zip 100 drive
 but have failed. Upon boot w/ the device plugged into the pc, the
 kernal recognizes it as umass0 but on the very next line it states that
 Get Lun (stalled).

 How do I mount a USB Iomega Zip 100 drive under FreeBSD 4.7?


Have you tried mounting the device anyways?  I use mount -t msdos
/dev/da0s4 /mnt (I might be a bit off about the device name - I will
check later tonight).

It could be a bad zip disk.  Have you tried doing an extended format
using the IOMega drivers under Windows?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Epals (Undeliverable mail, return to sender)

2003-01-08 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, January 06, 2003 6:45 AM [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

 This is a multi-part message in MIME format...
 
 =_1042069519-15086-238
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: binary
 
 Your message could not be delivered to [EMAIL PROTECTED] because
 their mailbox is full.  Try resending your message at a later date.
  Your orginal message is attached to this email. 
 =_1042069519-15086-238
 Content-Disposition: attachment
 Content-Transfer-Encoding: binary
 Content-Type: message/rfc822
 
 Return-Path: [EMAIL PROTECTED]
 Received: from localhost (smtp2 [127.0.0.1])
   by mail.epals.com (ePALS-PostMaster) with ESMTP id A3CAC3C5E7
   for [EMAIL PROTECTED]; Wed,  8 Jan 2003 18:45:19 -0500 (EST)
 Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119])
   by mail.epals.com (ePALS-PostMaster) with ESMTP id 26D273C5D5
   for [EMAIL PROTECTED]; Wed,  8 Jan 2003 18:45:19 -0500 (EST)
 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
   by mx2.freebsd.org (Postfix) with ESMTP
   id 4BAE955597; Wed,  8 Jan 2003 15:45:12 -0800 (PST)
   (envelope-from [EMAIL PROTECTED])
 Received: by hub.freebsd.org (Postfix, from userid 538)
   id 3905F37B405; Wed,  8 Jan 2003 15:45:11 -0800 (PST)
 Received: from localhost (localhost [127.0.0.1])
   by hub.freebsd.org (Postfix) with SMTP
   id 1D9942E800D; Wed,  8 Jan 2003 15:45:11 -0800 (PST)
 Received: by hub.freebsd.org (bulk_mailer v1.12); Wed, 8 Jan 2003
 15:45:11 -0800 Received: from mx1.FreeBSD.org (mx1.freebsd.org
   [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id
   7A4B437B401 for [EMAIL PROTECTED]; Wed,  8 Jan 2003
 15:45:08 -0800 (PST) Received: from fat_man.ascendency.net
   (12-211-152-75.client.attbi.com [12.211.152.75]) by
 mx1.FreeBSD.org   (Postfix) with ESMTP id 82CE243ED4 for
   [EMAIL PROTECTED]; Wed,  8 Jan 2003 15:45:07 -0800
 (PST) (envelope-from [EMAIL PROTECTED]) Received: from mike
   (user-119bct7.biz.mindspring.com [66.149.179.167]) (authenticated)
   by fat_man.ascendency.net (8.11.6/8.11.6) with ESMTP id
 h08NiKQ24471; Wed, 8 Jan 2003 17:44:20 -0600 (CST)
   (envelope-from [EMAIL PROTECTED])
 Reply-To: [EMAIL PROTECTED]
 From: Mike Loiterman [EMAIL PROTECTED]
 To: 'Stephen Hovey' [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: Bios not recognizing correct HD size
 Date: Wed, 8 Jan 2003 17:40:37 -0600
 MIME-Version: 1.0
 Content-Type: text/plain;
   charset=us-ascii
 Content-Transfer-Encoding: quoted-printable
 X-Priority: 3 (Normal)
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook, Build 10.0.4024
 Importance: Normal
 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
 In-Reply-To:
 [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED] List-ID:
 freebsd-questions.FreeBSD.ORG List-Archive:
 http://docs.freebsd.org/mail/ (Web Archive) List-Help:
 mailto:[EMAIL PROTECTED]?subject=help (List Instructions)
 List-Subscribe:
 mailto:[EMAIL PROTECTED]?subject=subscribe%20freebsd-questions
 List-Unsubscribe:
 mailto:[EMAIL PROTECTED]?subject=unsubscribe%20freebsd-question
 s X-Loop: FreeBSD.ORG Precedence: bulk  
 
 =20
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wednesday, January 08, 2003 5:40 PM Stephen Hovey
 mailto:[EMAIL PROTECTED] wrote:
 
 I thought fbsd didnt use the bios when addressing a drive =20
 On Wed, 8 Jan 2003, Mike Loiterman wrote:
 =20
 =20
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 =20
 PROBLEM
 I have an old Compaq machine that I'm trying to install a 20 gig
 drive into, but it's only recognizing the first 2112MB.  Obviously
 this is a limitation of the BIOS.  Aside from buying an PCI ATA card
 (the machine only has one PCI slot and I'm using it for my NIC), is
 there anyway to get this drive working on the exsisting
 system?=20=20=20= =20 =20 =20
 CURRENT SETTINGS
 Compaq Presario 4504
 Phoenix BIOS, not sure what version
 Maxtor Drive, not sure which model since there are no markings on
 the drive itself Drive is Primary Master and the Cylinder
 Limitation Jumper is set as well.=20 =20
 Detection Type:  Auto
 Cylinders: 4092
 Heads: 16
 Sectors 63
 Multi-Sector Transfers: 16 Sectors
 LBA Mode Control: Enabled
 32 Bit I/O: Disabled
 Transfer Mode: Fast PIO 4.
 =20
 I can put the drive into User Detection mode and adjust the
 Cylinders, Heads, and Sectors myself, but I don't know what
 settings to use.=20=20 =20
 Thanks to all for help.
 =20
 - ---
 Randomly Generated Quote:
 Why do cats have canine teeth?
 =20
 Mike Loiterman
 PGP Key 0xD1B9D18E
 http://www.ascendency.net
 =20
 =20
 =20
 -BEGIN PGP SIGNATURE-
 Version: PGP 8.0
 Comment: This message has been digitally signed by Mike Loiterman
 =20 iQA/AwUBPhy0sGjZbUnRudGOEQLmgwCfcF3+qfZOjbdlXFbk7/Tlc31sMXcAoIz0
 

RE: Bios not recognizing correct HD size

2003-01-08 Thread Stephen Hovey
 
 I think you're right.  So should I just define the drive correctlt in
fdisk?  If so, what would be the proper settings.


usually a drive has em on the drive on something - a sticker/label sorta
thing with head, cyl, sect, etc


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Epals (Undeliverable mail, return to sender)

2003-01-08 Thread Stephen Hovey
nope - I think we are all gettin em - some loser signed up, and didnt
unsign up before losin his address

On Wed, 8 Jan 2003, Mike Loiterman wrote:

  
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Monday, January 06, 2003 6:45 AM [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  This is a multi-part message in MIME format...
  
  =_1042069519-15086-238
  Content-Type: text/plain; charset=ISO-8859-1
  Content-Disposition: inline
  Content-Transfer-Encoding: binary
  
  Your message could not be delivered to [EMAIL PROTECTED] because
  their mailbox is full.  Try resending your message at a later date.
   Your orginal message is attached to this email. 
  =_1042069519-15086-238
  Content-Disposition: attachment
  Content-Transfer-Encoding: binary
  Content-Type: message/rfc822
  
  Return-Path: [EMAIL PROTECTED]
  Received: from localhost (smtp2 [127.0.0.1])
  by mail.epals.com (ePALS-PostMaster) with ESMTP id A3CAC3C5E7
  for [EMAIL PROTECTED]; Wed,  8 Jan 2003 18:45:19 -0500 (EST)
  Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119])
  by mail.epals.com (ePALS-PostMaster) with ESMTP id 26D273C5D5
  for [EMAIL PROTECTED]; Wed,  8 Jan 2003 18:45:19 -0500 (EST)
  Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
  by mx2.freebsd.org (Postfix) with ESMTP
  id 4BAE955597; Wed,  8 Jan 2003 15:45:12 -0800 (PST)
  (envelope-from [EMAIL PROTECTED])
  Received: by hub.freebsd.org (Postfix, from userid 538)
  id 3905F37B405; Wed,  8 Jan 2003 15:45:11 -0800 (PST)
  Received: from localhost (localhost [127.0.0.1])
  by hub.freebsd.org (Postfix) with SMTP
  id 1D9942E800D; Wed,  8 Jan 2003 15:45:11 -0800 (PST)
  Received: by hub.freebsd.org (bulk_mailer v1.12); Wed, 8 Jan 2003
  15:45:11 -0800 Received: from mx1.FreeBSD.org (mx1.freebsd.org
  [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id
  7A4B437B401 for [EMAIL PROTECTED]; Wed,  8 Jan 2003
  15:45:08 -0800 (PST) Received: from fat_man.ascendency.net
  (12-211-152-75.client.attbi.com [12.211.152.75]) by
  mx1.FreeBSD.org (Postfix) with ESMTP id 82CE243ED4 for
  [EMAIL PROTECTED]; Wed,  8 Jan 2003 15:45:07 -0800
  (PST) (envelope-from [EMAIL PROTECTED]) Received: from mike
  (user-119bct7.biz.mindspring.com [66.149.179.167]) (authenticated)
  by fat_man.ascendency.net (8.11.6/8.11.6) with ESMTP id
  h08NiKQ24471;   Wed, 8 Jan 2003 17:44:20 -0600 (CST)
  (envelope-from [EMAIL PROTECTED])
  Reply-To: [EMAIL PROTECTED]
  From: Mike Loiterman [EMAIL PROTECTED]
  To: 'Stephen Hovey' [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: RE: Bios not recognizing correct HD size
  Date: Wed, 8 Jan 2003 17:40:37 -0600
  MIME-Version: 1.0
  Content-Type: text/plain;
  charset=us-ascii
  Content-Transfer-Encoding: quoted-printable
  X-Priority: 3 (Normal)
  X-MSMail-Priority: Normal
  X-Mailer: Microsoft Outlook, Build 10.0.4024
  Importance: Normal
  X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
  In-Reply-To:
  [EMAIL PROTECTED]
  Sender: [EMAIL PROTECTED] List-ID:
  freebsd-questions.FreeBSD.ORG List-Archive:
  http://docs.freebsd.org/mail/ (Web Archive) List-Help:
  mailto:[EMAIL PROTECTED]?subject=help (List Instructions)
  List-Subscribe:
  mailto:[EMAIL PROTECTED]?subject=subscribe%20freebsd-questions
  List-Unsubscribe:
  mailto:[EMAIL PROTECTED]?subject=unsubscribe%20freebsd-question
  s X-Loop: FreeBSD.ORG Precedence: bulk  
  
  =20
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  On Wednesday, January 08, 2003 5:40 PM Stephen Hovey
  mailto:[EMAIL PROTECTED] wrote:
  
  I thought fbsd didnt use the bios when addressing a drive =20
  On Wed, 8 Jan 2003, Mike Loiterman wrote:
  =20
  =20
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  =20
  PROBLEM
  I have an old Compaq machine that I'm trying to install a 20 gig
  drive into, but it's only recognizing the first 2112MB.  Obviously
  this is a limitation of the BIOS.  Aside from buying an PCI ATA card
  (the machine only has one PCI slot and I'm using it for my NIC), is
  there anyway to get this drive working on the exsisting
  system?=20=20=20= =20 =20 =20
  CURRENT SETTINGS
  Compaq Presario 4504
  Phoenix BIOS, not sure what version
  Maxtor Drive, not sure which model since there are no markings on
  the drive itself Drive is Primary Master and the Cylinder
  Limitation Jumper is set as well.=20 =20
  Detection Type:  Auto
  Cylinders: 4092
  Heads: 16
  Sectors 63
  Multi-Sector Transfers: 16 Sectors
  LBA Mode Control: Enabled
  32 Bit I/O: Disabled
  Transfer Mode: Fast PIO 4.
  =20
  I can put the drive into User Detection mode and adjust the
  Cylinders, Heads, and Sectors myself, but I don't know what
  settings to use.=20=20 =20
  Thanks to all for help.
  =20
  - ---
  Randomly Generated Quote:
  Why do cats have canine teeth?
  =20
  Mike Loiterman
  PGP Key 0xD1B9D18E
  

Re: lock.

2003-01-08 Thread Jason Hunt
On Sat, 4 Jan 2003, lewiz wrote:

   Is there any utility similar to lock (that I can do the equivalent of
 lock -npv) that I can set a timeout on - much like with xscreensaver?  I
 don't want to manually have to run lock - instead a timeout would be
 good, so that if I don't hit any keys it will lock the machine?


If you want to lock the X session, try xlock + xscreensaver.  Both are in
the ports.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Mouse Murder

2003-01-08 Thread Christopher J Phillips
Chris suggested killing moused like this: -

furrie@furriebox% ps -ax | grep moused
  123  ??  Ss 0:00.70 moused -p /dev/psm0 -t auto
furrie@furriebox% kill -1 123
furrie@furriebox% ps -ax | grep moused
  123  ??  Ss 0:00.70 moused -p /dev/psm0 -t auto

The process is still there  my pointer aim problems continue :-( 

Should the pid change?

Having tried it like this  my mouse still not aiming correctly, I'm
losing hope...  Unless you guys can provide any?

--- Previously I wrote ---
During X sessions, my mouse pointer is fine (usually).  Intermittently,
and without any obvious reason, the mouse pointer aim shifts
approximately 1.3cm to the right of where the actual pointer is acting.

I feel like I have to explain further as its that weird...

If I wanted to select the * section, in the Test Area: below, I
would position my cursor / pointer in front of the first *  then
click_n_drag to the right, till all the *s were selected.  In fact what
actually happens is that I'd have the @s selected instead.  That's
how far out of alignment it goes.  It makes things a bit difficult using
windows  dialog boxes, when you have to place the pointer over one
button, to be able to press another!

Test Area:  @*

This weirdness also happened when I was using Linux Mandrake 8.2,
(before I discovered what a great idea FreeBSD is ;-)
Not wanting to sound (too) lame, this didn't ever occur when I used
Windows 2k Pro or XP Pro.
I get the same problem when in either GNOME or KDE.
I had it when I installed FreeBSD 4.7 RELEASE  still have it after
updating (tracking STABLE), using CVSup.
 
A reboot is all that will get things back on track for me.  I know how
to kill moused but I am not sure how to restart it within or without X
from the command line (which I might be able to reach without a mouse,
right?)...
I suppose I could exit X, kill moused, restart it, then get back into X,
but I'd still need to know how to run moused (OK, I'm sounding lame
now).

Just in case you need it: -

My Hardware:
Compaq Evo N150 Laptop
800MHz Intel Celeron CPU
Upgraded to 320MB RAM, (when purchased)

Uname -a:
FreeBSD furriebox.furrie.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Sun Jan 
5 19:39:40 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FURRIEBOX  i386

Can anybody point me in the right direction for maybe a some logs that I
can peruse to see if anything obvious is afoot?  I'm a fan of RTFM but
could do with a helpful nudge in the right direction...



intY has scanned this email for all known viruses (www.inty.com)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mouse Murder

2003-01-08 Thread Mike Meyer
In [EMAIL PROTECTED], Christopher J Phillips 
[EMAIL PROTECTED] typed:
 Having tried it like this  my mouse still not aiming correctly, I'm
 losing hope...  Unless you guys can provide any?

Can you try letting X talk to the mouse directly? I know I had strange
mouse problems with moused and they went away when I let X do things
directly.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mouse Murder

2003-01-08 Thread Christopher J Phillips
OK, I'll try with another mouse ps2 style  see if it is any different.

As far as killing the moused, I'd be fine if I knew exactly how to
restart it, to see if that will fix the problem without rebooting...

I believe it's currently set up as /dev/sysmouse.  I have not actually
needed to set it up as simply starting the mouse demon in
/stand/sysinstall makes it work.  I have not configured it since.  MS
Windows sees the mouse pad as a ps2 mouse.

Thanks Randall

On Thu, 2003-01-09 at 00:06, randall s. ehren wrote:
 your mouse may just be bad. windows might be compensating better than 
 XFree86 can for the jitters.
 
 you can try kill -9 if kill -1 doensn't work, but that won't fix any 
 hardware problems.
 
   -randall
 
 
 Christopher J Phillips wrote:
  Chris suggested killing moused like this: -
  
  furrie@furriebox% ps -ax | grep moused
123  ??  Ss 0:00.70 moused -p /dev/psm0 -t auto
  furrie@furriebox% kill -1 123
  furrie@furriebox% ps -ax | grep moused
123  ??  Ss 0:00.70 moused -p /dev/psm0 -t auto
  
  The process is still there  my pointer aim problems continue :-( 
  
  Should the pid change?
  
  Having tried it like this  my mouse still not aiming correctly, I'm
  losing hope...  Unless you guys can provide any?
  
  --- Previously I wrote ---
  During X sessions, my mouse pointer is fine (usually).  Intermittently,
  and without any obvious reason, the mouse pointer aim shifts
  approximately 1.3cm to the right of where the actual pointer is acting.
  
  I feel like I have to explain further as its that weird...
  
  If I wanted to select the * section, in the Test Area: below, I
  would position my cursor / pointer in front of the first *  then
  click_n_drag to the right, till all the *s were selected.  In fact what
  actually happens is that I'd have the @s selected instead.  That's
  how far out of alignment it goes.  It makes things a bit difficult using
  windows  dialog boxes, when you have to place the pointer over one
  button, to be able to press another!
  
  Test Area:  @*
  
  This weirdness also happened when I was using Linux Mandrake 8.2,
  (before I discovered what a great idea FreeBSD is ;-)
  Not wanting to sound (too) lame, this didn't ever occur when I used
  Windows 2k Pro or XP Pro.
  I get the same problem when in either GNOME or KDE.
  I had it when I installed FreeBSD 4.7 RELEASE  still have it after
  updating (tracking STABLE), using CVSup.
   
  A reboot is all that will get things back on track for me.  I know how
  to kill moused but I am not sure how to restart it within or without X
  from the command line (which I might be able to reach without a mouse,
  right?)...
  I suppose I could exit X, kill moused, restart it, then get back into X,
  but I'd still need to know how to run moused (OK, I'm sounding lame
  now).
  
  Just in case you need it: -
  
  My Hardware:
  Compaq Evo N150 Laptop
  800MHz Intel Celeron CPU
  Upgraded to 320MB RAM, (when purchased)
  
  Uname -a:
  FreeBSD furriebox.furrie.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Sun Jan 
  5 19:39:40 GMT 2003
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FURRIEBOX  i386
  
  Can anybody point me in the right direction for maybe a some logs that I
  can peruse to see if anything obvious is afoot?  I'm a fan of RTFM but
  could do with a helpful nudge in the right direction...
  
  
  
  intY has scanned this email for all known viruses (www.inty.com)
  
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
  
  
 
 -- 
  - randall s. ehren   :// 805.893.5632
 systems administrator :// isber|survey|avss.ucsb.edu
  institute for social, behavioral, and economic research
 
 
 intY has scanned this email for all known viruses (www.inty.com)
 
 



intY has scanned this email for all known viruses (www.inty.com)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Bios not recognizing correct HD size

2003-01-08 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday, January 08, 2003 5:54 PM Stephen Hovey mailto:[EMAIL PROTECTED] wrote:

 I think you're right.  So should I just define the drive correctlt in
 fdisk?  If so, what would be the proper settings.
 
 
 usually a drive has em on the drive on something - a sticker/label
 sorta thing with head, cyl, sect, etc

Ok I found out the proper numbers:
39704  cyls, 16 heads, 63 sectors. 

I defined it that way in the BIOS.

When I get to the fdisk part of the install I did 'G'.  I then set the geometry 
according to those numbers and told it to use the entire drive.  When I go to define 
the slices, though, it still thinks the drive is only 2 gigs.  What am I doing wrong?

- ---
Randomly Generated Quote:
Time is nature's way of making sure
that everything doesn't happen at once.

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPhy/yWjZbUnRudGOEQJuMQCfdGPiziwQl63XRoKBezC+Qgc//SUAoNk6
BQUYb3spQEflY3x6i4a2A71G
=AUgk
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Bios not recognizing correct HD size

2003-01-08 Thread Stephen Hovey
got me hangin unless fbsd does use bios for ide

On Wed, 8 Jan 2003, Mike Loiterman wrote:

  
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wednesday, January 08, 2003 5:54 PM Stephen Hovey mailto:[EMAIL PROTECTED] 
wrote:
 
  I think you're right.  So should I just define the drive correctlt in
  fdisk?  If so, what would be the proper settings.
  
  
  usually a drive has em on the drive on something - a sticker/label
  sorta thing with head, cyl, sect, etc
 
 Ok I found out the proper numbers:
 39704  cyls, 16 heads, 63 sectors. 
 
 I defined it that way in the BIOS.
 
 When I get to the fdisk part of the install I did 'G'.  I then set the geometry 
according to those numbers and told it to use the entire drive.  When I go to define 
the slices, though, it still thinks the drive is only 2 gigs.  What am I doing wrong?
 
 - ---
 Randomly Generated Quote:
 Time is nature's way of making sure
 that everything doesn't happen at once.
 
 Mike Loiterman
 PGP Key 0xD1B9D18E
 http://www.ascendency.net
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: PGP 8.0
 Comment: This message has been digitally signed by Mike Loiterman
 
 iQA/AwUBPhy/yWjZbUnRudGOEQJuMQCfdGPiziwQl63XRoKBezC+Qgc//SUAoNk6
 BQUYb3spQEflY3x6i4a2A71G
 =AUgk
 -END PGP SIGNATURE-
 
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Bios not recognizing correct HD size

2003-01-08 Thread Warren Block
On Wed, 8 Jan 2003, Mike Loiterman wrote:

 I have an old Compaq machine that I'm trying to install a 20 gig drive
 into, but it's only recognizing the first 2112MB.  Obviously this is a
 limitation of the BIOS.

Hold on a second...

 Drive is Primary Master and the Cylinder Limitation Jumper is set as well.
  ^^
Unset it and see what happens.

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mouse Murder

2003-01-08 Thread Warren Block
On Wed, 9 Jan 2003, Christopher J Phillips wrote:

 OK, I'll try with another mouse ps2 style  see if it is any different.

 As far as killing the moused, I'd be fine if I knew exactly how to
 restart it, to see if that will fix the problem without rebooting...

# moused -f -p /dev/psm0 -t auto

The -f runs it in the foreground so you can just ^C it.

kill -1 is just a HUP.  It makes moused restart, not quit.  Try
without the -1.

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: web write-up

2003-01-08 Thread Kory Hamzeh
 
 Personally - I dont care what some lamer writer said - what I CARE about
 is that I SLEEP at nite since switching to fbsd..
 
 the fbsd programmers saved me from tossin myself off a roof!
 

Did you switch from Linux or Windoze to FBSD?

Kory


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread Shaun Dwyer
Sean Ellis wrote:

Hello freebsd-questions,

  I wonder if anyone has any comment on this web article. The results
  of the benchmarking seem to portray FreeBSD in a less than
  favourable light.

  http://www.samag.com/documents/s=1148/sam0107a/0107a.htm

  Please CC any replies as I am not currently subscribed.



I would tend to think that these people did bugger all in terms of 
performance tuning the FreeBSD box. It wouldnt surprise me if they 
didn't turn on soft updates for one. Other thing that is quite likely
is they probably didn't make seperate slices for /, /var and /usr.

I would guess that they did some (probably limited) tuning to the Linux 
box they were testing with. If you look at the 'Sidebar 2' page, they
state a few OSs they use internally, Linux being one. I suspect that
they might be knowlegeable about Linux, Solaris and Windoze and 
performance tuning each (look at what they use them for). The only BSD 
they have is OpenBSD for their firewall(s). Not much tuning needed there
to get good network performance. Same goes with FreeBSD if all you are 
doing is using it for a firewall. Based on this I'd say they have little 
to no experiance tuning FreeBSD/*BSD for performance.

That being said, anyone that claims FreeBSD's performance isn't that 
great is probably full of shit. Check their background, I bet they don't
specialise in any sort of BSD, or have used it much at all :)

--Shaun


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: web write-up

2003-01-08 Thread Stephen Hovey
  Personally - I dont care what some lamer writer said - what I CARE about
  is that I SLEEP at nite since switching to fbsd..
  
  the fbsd programmers saved me from tossin myself off a roof!
  
 
 Did you switch from Linux or Windoze to FBSD?
 
linux and sco


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread Anti
On Wed, 08 Jan 2003 12:19:20 -0500
Bill Moran [EMAIL PROTECTED] wrote:

 Sean Ellis wrote:
  Hello freebsd-questions,
  
I wonder if anyone has any comment on this web article. The results
of the benchmarking seem to portray FreeBSD in a less than
favourable light.
  
http://www.samag.com/documents/s=1148/sam0107a/0107a.htm
 
 It looks like garbage to me.  He doesn't give enough information to
 reproduce his results, though I strongly suspect the FreeBSD box
 has softupdates disabled, and is therefore going to be slower.
 
 His writeup isn't even very good.  On the initial page he claims
 they tested with FreeBSD, but on sidebar #2 he claims they used
 OpenBSD.


the only tuning they did (kernel tweaks for high performance lol) was
upping kern.maxfiles and kern.maxfilesperproc... all one can argue
this shows is that out of the box freebsd 4.2 isn't configured for optimal
performance on these tests...

`Anti`

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread JacobRhoden
On Thursday 09 January 2003 12:09, Shaun Dwyer wrote:
 is they probably didn't make seperate slices for /, /var and /usr.

What difference does it make as to wether these partions are seperate. I 
realise if you have more than one ide drive then having them on seperate 
drives is alot better. On single drive machines I usually make only one 
partion, what reasons are there to slice it?

- jacob
 
Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



glibwww port - patch does not apply

2003-01-08 Thread Andrew
Hi there,

Maybe someone can help me, as I'm having trouble building evolution1.2.0 from 
ports. It seems to be stuck on the glibwww library, and I've had a look 
around and can't find an obvious solution. I've replaced the distfile, but I 
think the problem lies elsewhere. Anyroad, it's beyond my expertise, so if 
anyone can help, I'd really appreciate it.

Firstly there's a problem with the checksum on glibwww, then when I try to 
compile with NO_CHECKSUM=yes, it gives an error about the patch failing to 
apply cleanly.

I've copied the output of my make install, and uname -a is there too.

TIA,
Andrew

bp6# uname -a
FreeBSD bp6.logger.org 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Jan  8 16:05:00 
GMT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/BP6  i386

===  Extracting for evolution-1.2.0_4
 Checksum OK for gnome/evolution-1.2.0.tar.bz2.
 Checksum OK for gnome/db-3.1.17.tar.bz2.
===   evolution-1.2.0_4 depends on file: 
/usr/X11R6/lib/gnome-pilot/conduits/libemail_conduit.so - found
===   evolution-1.2.0_4 depends on executable: gmake - found
===   evolution-1.2.0_4 depends on executable: bison - found
===   evolution-1.2.0_4 depends on shared library: bonobo_conf.0 - found
===   evolution-1.2.0_4 depends on shared library: nss3.1 - found
===   evolution-1.2.0_4 depends on shared library: soup.5 - found
===   evolution-1.2.0_4 depends on shared library: X11.6 - found
===   evolution-1.2.0_4 depends on shared library: esd.2 - found
===   evolution-1.2.0_4 depends on shared library: ghttp.1 - found
===   evolution-1.2.0_4 depends on shared library: glib12.3 - found
===   evolution-1.2.0_4 depends on shared library: gtk12.2 - found
===   evolution-1.2.0_4 depends on shared library: xml.5 - found
===   evolution-1.2.0_4 depends on shared library: gdk_pixbuf.2 - found
===   evolution-1.2.0_4 depends on shared library: Imlib.5 - found
===   evolution-1.2.0_4 depends on shared library: ORBit.2 - found
===   evolution-1.2.0_4 depends on shared library: gnome.5 - found
===   evolution-1.2.0_4 depends on shared library: gnomecanvaspixbuf.1 - 
found
===   evolution-1.2.0_4 depends on shared library: oaf.0 - found
===   evolution-1.2.0_4 depends on shared library: gconf-1.1 - found
===   evolution-1.2.0_4 depends on shared library: capplet.5 - found
===   evolution-1.2.0_4 depends on shared library: gnomeprint.16 - found
===   evolution-1.2.0_4 depends on shared library: bonobo.2 - found
===   evolution-1.2.0_4 depends on shared library: gda-client.0 - found
===   evolution-1.2.0_4 depends on shared library: gnomedb.0 - found
===   evolution-1.2.0_4 depends on shared library: glade.4 - found
===   evolution-1.2.0_4 depends on shared library: gal.21 - found
===   evolution-1.2.0_4 depends on shared library: glibwww.1 - not found
===Verifying install for glibwww.1 in /usr/ports/www/glibwww
===  Extracting for glibwww-0.2_1
 Checksum mismatch for glibwww-0.2.tar.gz.
Make sure the Makefile and distinfo file (/usr/ports/www/glibwww/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type make NO_CHECKSUM=yes [other args].
*** Error code 1

Stop in /usr/ports/www/glibwww.
*** Error code 1

Stop in /usr/ports/mail/evolution.
bp6#
bp6# make NO_CHECKSUM=yes install clean
===  Extracting for evolution-1.2.0_4
===   evolution-1.2.0_4 depends on file: 
/usr/X11R6/lib/gnome-pilot/conduits/libemail_conduit.so - found
===   evolution-1.2.0_4 depends on executable: gmake - found
===   evolution-1.2.0_4 depends on executable: bison - found
===   evolution-1.2.0_4 depends on shared library: bonobo_conf.0 - found
===   evolution-1.2.0_4 depends on shared library: nss3.1 - found
===   evolution-1.2.0_4 depends on shared library: soup.5 - found
===   evolution-1.2.0_4 depends on shared library: X11.6 - found
===   evolution-1.2.0_4 depends on shared library: esd.2 - found
===   evolution-1.2.0_4 depends on shared library: ghttp.1 - found
===   evolution-1.2.0_4 depends on shared library: glib12.3 - found
===   evolution-1.2.0_4 depends on shared library: gtk12.2 - found
===   evolution-1.2.0_4 depends on shared library: xml.5 - found
===   evolution-1.2.0_4 depends on shared library: gdk_pixbuf.2 - found
===   evolution-1.2.0_4 depends on shared library: Imlib.5 - found
===   evolution-1.2.0_4 depends on shared library: ORBit.2 - found
===   evolution-1.2.0_4 depends on shared library: gnome.5 - found
===   evolution-1.2.0_4 depends on shared library: gnomecanvaspixbuf.1 - 
found
===   evolution-1.2.0_4 depends on shared library: oaf.0 - found
===   evolution-1.2.0_4 depends on shared library: gconf-1.1 - found
===   evolution-1.2.0_4 depends on shared library: capplet.5 - found
===   evolution-1.2.0_4 depends on shared library: gnomeprint.16 - found
===   evolution-1.2.0_4 depends on shared library: bonobo.2 - found
===   evolution-1.2.0_4 depends on shared library: gda-client.0 - found
===   evolution-1.2.0_4 depends on shared library: gnomedb.0 - found
===   evolution-1.2.0_4 depends on 

Re: glibwww port - patch does not apply

2003-01-08 Thread paul beard
Andrew wrote:

Hi there,

Maybe someone can help me, as I'm having trouble building evolution1.2.0 from 
ports. It seems to be stuck on the glibwww library, and I've had a look 
around and can't find an obvious solution. I've replaced the distfile, but I 
think the problem lies elsewhere. Anyroad, it's beyond my expertise, so if 
anyone can help, I'd really appreciate it.


try a make clean to start with a clean slate. That should remove 
the work directory and any cruft therein.


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

BE ALERT  (The world needs more lerts ...)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: attaching a umass device?

2003-01-08 Thread JacobRhoden

On Thursday 09 January 2003 13:13, David Gerard wrote:
 This is probably really simple, but I couldn't see it in the handbook ...

 I've plugged a umass device (a camera) into a USB port. What do I do now to
 get access to the data?

There is a port called gphoto2 which supports many cameras, doenst have all 
the features I would like, but if anyone knows a better way I would love to 
know (ie to upload photos back onto the flash card)

- jacob

Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread Bill Moran
JacobRhoden wrote:

On Thursday 09 January 2003 12:09, Shaun Dwyer wrote:


is they probably didn't make seperate slices for /, /var and /usr.


What difference does it make as to wether these partions are seperate. I 
realise if you have more than one ide drive then having them on seperate 
drives is alot better. On single drive machines I usually make only one 
partion, what reasons are there to slice it?

It makes a lot of difference.  I don't remember the exact numbers, but
the inside of the drive spindle transfers data noticably faster than the
outside.  Therefore, putting busy partitions (such as /var and /tmp) at
the beginning of the drive can improve performance a good bit.
Additionally (if you really want to crank up the throughput) you can
format and mount partitions with options that better benefit their
purpose (such as mounting noatime on a /tmp partition).
So, proper partitioning CAN make a big difference in performance.
Especially since the hard drive can _easily_ become the performance
bottleneck on a server.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread Mike Meyer
In [EMAIL PROTECTED], JacobRhoden [EMAIL PROTECTED] 
typed:
 On Thursday 09 January 2003 12:09, Shaun Dwyer wrote:
  is they probably didn't make seperate slices for /, /var and /usr.
 
 What difference does it make as to wether these partions are seperate. I 
 realise if you have more than one ide drive then having them on seperate 
 drives is alot better. On single drive machines I usually make only one 
 partion, what reasons are there to slice it?

[SWAG follows]

From a performance standpoint, putting them on separate slices on the
same disk is probably a loss. It forces the blocks in those file
systems to live spread out across the disk, meaning the time
optimizations are constrained to those blocks, whereas if you put them
all in one file system then the disk scheduler can play with the
entire disk.

That said *THIS DOESN'T MAKE ANY PRACTICAL DIFFERENCE*. The scheduler
already slices partitions up into cylinder groups and tries to make
files live on specific cylinder groups. Having different file systems
just means lets it pick from a smaller set of cylinder groups. If
your disk is so heavily loaded that this makes a difference, you
really want multiple spindles.

There are administrative reasons to split them up. For instance, the
backup for /usr is the FreeBSD CDROM set. / and /var I create backups
for, so /usr gets it's own file system, and /var lives on /. On a
second system, / and /usr are mounted read-only - well, they should be
- but /var has the web site on it, which gets updated at regular
intervals. So /var gets it's own file system, and /usr lives on /.

On my test system, which gets config files stored in perforce, I just
make everything one big file system.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: anyone tried KDE 3.1?

2003-01-08 Thread John Martinez

On Wednesday, January 8, 2003, at 01:03  PM, Andrew Y Ng wrote:


I'm highly interested in a few new features in KDE 3.1, like 
tabbed-browsing
support in Konqueror, and the new MS Exchange 2000 plugin for the 
konganizer.
if that stuff works well I don't need Linux at work (now I need it for 
Ximian
Connector).

I'm wondering if anyone here tried to compile KDE 3.1, maybe somebody 
from
the freebsd KDE team can give us some headsup for their progress?



Hopefully they'll get some of the Apple Safari improvements back into 
Konqueror by the time 3.1 gets released.

If you use Mac OS X, it's a fast browser. Much faster than Mozilla.

-john


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: glibwww port - patch does not apply

2003-01-08 Thread Joe Marcus Clarke
On Wed, 8 Jan 2003, paul beard wrote:

 Andrew wrote:
  Hi there,
 
  Maybe someone can help me, as I'm having trouble building evolution1.2.0 from
  ports. It seems to be stuck on the glibwww library, and I've had a look
  around and can't find an obvious solution. I've replaced the distfile, but I
  think the problem lies elsewhere. Anyroad, it's beyond my expertise, so if
  anyone can help, I'd really appreciate it.
 

 try a make clean to start with a clean slate. That should remove
 the work directory and any cruft therein.

And a make distclean in the glibwww directory.  I haven't tried it
recently, but last time I built glibwww, it went just fine.

Joe



 --
 Paul Beard: seeking UNIX/internet engineering work
 http://paulbeard.no-ip.org/paulbeard.html
 8040 27th Ave NE Seattle WA 98115 / 206 529 8400

 BE ALERT  (The world needs more lerts ...)


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



PGP Key : http://www.marcuscom.com/pgp.asc

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Postfix vs. Sendmail

2003-01-08 Thread Kurt Bigler
[quoting cleaned up]

on 1/8/03 12:50 AM, Daniel Goepp [EMAIL PROTECTED] wrote:

 on 1/7/03 11:29 PM, Jonathan Chen [EMAIL PROTECTED] wrote:
 
 On Tue, Jan 07, 2003 at 11:26:53PM -0800, Kurt Bigler wrote:
 on 1/6/03 10:59 PM, Jonathan Chen [EMAIL PROTECTED] wrote:
 
 On Mon, Jan 06, 2003 at 05:29:15PM -0800, Kurt Bigler wrote:
 
 [...]
 The problem came up when my VPS provider did a system upgrade.  This
 process
 left everything I had intact except I lost my sendmail soft link which had
 pointed to the sendmail replacement provided by qmail.  The link was
 replaced by the sendmail binary with the result that I suddently had
 sendmail running again beside qmail.
 
 The correct thing to do is to leave the sendmail binary alone and
 tweak /etc/mail/mailer.conf so that the sendmail replacement is
 invoked instead of the base-system's sendmail.
 
 Yes, I actually corrected mailer.conf when the problem occurred, but I have
 heard that some software will try to use /usr/sbin/sendmail explicitly
 ignoring mailer.conf.
 
 /usr/sbin/sendmail is a symbolic link to /usr/sbin/mailwrapper. ie
 invoking /usr/sbin/sendmail will consult /etc/mail/mailer.conf.

 This is exactly my point, we are running our selves in legacy circles to
 comply with the original application.  And even worse, we are continuing
 to conform for how sendmail wants thing, and still calling it sendmail.
 So, for example, if you install postfix...It replaces the sendmail
 executable also.  So, sendmail (mailwrapper version), points to sendmail
 (postfix replacement), which finally points to the postfix delivery app.
 Seems a bit much...

Now that I understand this I have to say I agree with the way things are.
Using the name sendmail makes one side of the community happy,
effortlessly.  Providing hooks to allow inserting a substitute for the
standard binary makes the other side (or sides) of the community happy,
basically effortlessly.

Making /usr/sbin/sendmail a symlink I am guessing permits one to customize
without using the mailwrapper mechanism, for those who don't like it.  I am
guessing that using mailwrapper probably results in a performance hit
compared to modifying the usr/sbin/sendmail symlink to directly point to the
ultimately-desired sendmail binary.

My confusion resulted from a faulty memory of what happenned, which I
correct here:

In my case I had been altering the sendmail symlink, and this conflicted
with my VPS provider's standard system upgrade procedure, which replaced my
altered symlink.  By using the mailwrapper mechanism instead of replacing
the symlink I perhaps take a performance hit, but I have accepted this to
avoid the problem on future upgrades.  I suspect the performance hit is
minor compared to everything else that goes on in one of these email
transactions, but would appreciate confirmation if anyone else has a better
sense of this.

Thanks,
Kurt Bigler


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



attaching a umass device?

2003-01-08 Thread David Gerard

This is probably really simple, but I couldn't see it in the handbook ...

I've plugged a umass device (a camera) into a USB port. What do I do now to
get access to the data?


- d.





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



???

2003-01-08 Thread Bob Baker
How do I add my own text to my site, The main page will not let me log
in?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ???

2003-01-08 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (01.08.2003 @ 2202 PST): Bob Baker said, in 0.2K: 
 How do I add my own text to my site, The main page will not let me log
 in?
 end of ??? from Bob Baker 

Bob -

Click the button.

# Adam


- --
Adam Weinberger
vectors.cx[EMAIL PROTECTED]
FreeBSD.org   [EMAIL PROTECTED]
Bayer Berkeley[EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+HOjno8KM2ULHQ/0RAlHSAJ9+mEiY9wMEKzq7UZ758opQhs7u+QCfdeCR
5PZbQ2X3GBtn9f3lYYkUeEo=
=fBVJ
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Boot loader failing?

2003-01-08 Thread Mike Meyer
Googling the archives wasn't much help, so

I have a test machine that boots a number of things, FreeBSD -stable
and -current among them. I tried installing the latest 5.0 CDs, and
that failed miserably (the install process insist you have a swap, but
can't find the one I use on ad0s6c). So I rebooted the system to go
back to -stable.

It failed to come up. Since this box runs a variety of OS's, including
two different FreeBSDs, I use grub to boot it. It loaded the grub
stage2 boot and then went to the grub command prompt. Trying to run
the boot by hand - via root (hd0,1,a) - gets the message no such
partition. When I ask grub for a list of partitions, it lists the two
FreeBSD partitions, but says it can't find sub-partitions for them.

I can boot FreeBSD-stable - I haven't tried -current - as if it were
Windows: make the FreeBSD partition the active partition and run the
standard MBR.

I tried installing boot0. It lists the XP partition and the two
FreeBSD partitions (so much for Linux). Asking it to boot the two
FreeBSD partitions results in beeps. It boots XP just fine - which
means that entry is slightly more useful than the FreeBSD entries.

I tried getting the latest version of grub, but that's a no go. I can
boot it off the floppy, but it doesn't see sub-partitions either.

If I boot -stable from grub as described above, everything comes up
and works fine. I can even mount the -current partion and see that
everything is as it should be. But neither boot loader seems to work.

Clues? Hints? Request for more information? Help?

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ISP billing/etc software

2003-01-08 Thread Peter
Hello, 

Got a question for anyone in the know.  I need to install some billing/account 
management/ change radius passwd etc. software for an ISP. So far the good ones [I 
think] that I have found are:freeside ispbs ispman 

Anyone know / can recommend one of those or something else [they are not in ports so I 
assume there should be something better that is in ports]that will do automatic credit 
card billing, user can change radius password, check his bill/account, and other 
various isp stuff. 
[should this be a -isp question?] 



Another questionmy mail server's IP resolves to domain.com, I tried sending an 
e-mail to -questions from there but I keep getting this error: 
Client_host_rejected:_cannot_find_your_hostname so should I fix my reverse DNS 
to map IP to www.domain.com instead of domain.com?, if so why??



---FreeBSD The Power To Serve---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



How to activate the SPDIF output on sblive?

2003-01-08 Thread Bill McMilleon

Subject line says it all.  Is this possible?  I have the 
sblive running under 4.7-RELEASE in my VIA EPIA-5000 
mini-itx mainboard and would love to enable the spdif 
output.

Bill McMilleon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Video config for X on EPIA-5000 board

2003-01-08 Thread Bill McMilleon

Playing around with my nice and completely quiet 
VIA EPIA-5000 board and I'm so far not able to get
X happily configured.  Dmesg describes video hardware
as a Trident 8500, but there is no equivalent listed
under XFree86's card list.  I've tried both VESA and
standard VGA to no avail.  I do know that this board
uses main system RAM as video memory, if that helps.
All I get now is failed attempts to run startx.
I'm hoping someone out there has already figured this
board out.

Bill McMilleon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ISP billing/etc software

2003-01-08 Thread Bill Moran
Peter wrote:

Another questionmy mail server's IP resolves to domain.com, I tried

 sending an e-mail to -questions from there but I keep getting this error:
 Client_host_rejected:_cannot_find_your_hostname so should I fix my
 reverse DNS to map IP to www.domain.com instead of domain.com?, if so why??

If you're getting the error cannot find your hostname domain.com then what you
have to make sure is that domain.com resolves to an IP address.
You're other option is to change what sendmail (or whatever MTA you use) says
on the HELO line to something that resolves to an IP addy.

What happens, is whatever your mail server announces its name to be on the
HELO line during smtp communication is checked to make sure that it resolves
to an IP.  It doesn't matter what IP, just some IP.
Most MTAs default to using the hostname configured for the machine, so if
you set the hostname to something logical (like mail.domain.com) and the DNS
is set up to properly reslove mail.domain.com = 192.168.1.1 (or whatever)
then everything will work.

It's a spam measure, to stop people who haven't taken the time to set up a real
email server from spamming the FreeBSD lists.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ISP billing/etc software

2003-01-08 Thread Peter
On Wed, 08 Jan 2003 22:40:59 -0500
Bill Moran [EMAIL PROTECTED] wrote:

 Peter wrote:
  Another questionmy mail server's IP resolves to domain.com, I tried
   sending an e-mail to -questions from there but I keep getting this error:
   Client_host_rejected:_cannot_find_your_hostname so should I fix my
   reverse DNS to map IP to www.domain.com instead of domain.com?, if so why??
 
 If you're getting the error cannot find your hostname domain.com then what you
 have to make sure is that domain.com resolves to an IP address.
 You're other option is to change what sendmail (or whatever MTA you use) says
 on the HELO line to something that resolves to an IP addy.
 
 What happens, is whatever your mail server announces its name to be on the
 HELO line during smtp communication is checked to make sure that it resolves
 to an IP.  It doesn't matter what IP, just some IP.
 Most MTAs default to using the hostname configured for the machine, so if
 you set the hostname to something logical (like mail.domain.com) and the DNS
 is set up to properly reslove mail.domain.com = 192.168.1.1 (or whatever)
 then everything will work.
 
 It's a spam measure, to stop people who haven't taken the time to set up a real
 email server from spamming the FreeBSD lists.
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 

Well my qmail me file is correct, which does resolve [just pinged it from 
attbi].  I do not have a helohost file...but if that file is not there me is 
used...well if this got thru then I guess I needed the helohost file.. me wasn't 
enough


--
Man is the only animal that can remain on friendly terms with the
victims he intends to eat until he eats them.
-- Samuel Butler (1835-1902)

---FreeBSD The Power To Serve---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: NIS Server with amd.home

2003-01-08 Thread Mike Hogsett

 Hey,

Hi.

 I'm getting ready to setup a NIS server for a LAN, and I'd really like
 to use FreeBSD again.  However, the last time I did this with FreeBSD
 (4.6, so not that long ago), I couldn't get the server to build a map
 for the home dirs.  I tried an awk script in the Makefile that I saw
 online, but that didn't help.  It seemed like it just wouldn't build the
 map.  The only way I could get it to work was to create an amd.home with
 all of the users in it and put it on all of the client machines... This
 was too ugly.

Indeed.

 Can anyone help?

Perhaps.

This may or may not help, but here is the Makefile from /var/yp on our NIS
primary.  You'll likely need to scroll down and extract our amd.home rules
from it and integrate that into yours.

After that is the rc.conf entries for amd 

Good luck.

- Mike

#
# Makefile for the NIS databases
#
# $FreeBSD: src/usr.sbin/ypserv/Makefile.yp,v 1.28.2.3 2001/05/18 18:28:02 gshapiro 
Exp $
#
# This Makefile should only be run on the NIS master server of a domain.
# All updated maps will be pushed to all NIS slave servers listed in the
# /var/yp/ypservers file. Please make sure that the hostnames of all
# NIS servers in your domain are listed in /var/yp/ypservers.
#
# This Makefile can be modified to support more NIS maps if desired.
#

# If this machine is an NIS master, comment out this next line so
# that changes to the NIS maps can be propagated to the slave servers.
# (By default we assume that we are only serving a small domain with
# only one server.)
#
#NOPUSH = False

# If you want to use a FreeBSD NIS server to serve non-FreeBSD clients
# (i.e. clients who expect the password field in the passwd maps to be
# valid) then uncomment this line. This will cause $YPDIR/passwd to
# be generated with valid password fields. This is insecure: FreeBSD
# normally only serves the master.passwd maps (which have real encrypted
# passwords in them) to the superuser on other FreeBSD machines, but
# non-FreeBSD clients (e.g. SunOS, Solaris (without NIS+), IRIX, HP-UX,
# etc...) will only work properly in 'unsecure' mode.
# 
UNSECURE = True

# The following line encodes the YP_INTERDOMAIN key into the hosts.byname
# and hosts.byaddr maps so that ypserv(8) will do DNS lookups to resolve
# hosts not in the current domain. Commenting this line out will disable
# the DNS lookups.
B=-b

# Normally, the master.passwd.* maps are guarded against access from
# non-privileged users. By commenting out the following line, the YP_SECURE
# key will be removed from these maps, allowing anyone to access them.
S=-s

# These are commands which this Makefile needs to properly rebuild the
# NIS databases. Don't change these unless you have a good reason. Also
# be sure not to place an @ in front of /usr/bin/awk: it isn't necessary
# and it'll break everything in sight.
#
AWK = /usr/bin/awk
RM  = @/bin/rm -f
MV  = @/bin/mv -f
RMV  = /bin/mv -f
RCAT = /bin/cat
CAT = @$(RCAT)

UPDATE_DOMAIN = csl.sri.com

MKDB = /usr/sbin/yp_mkdb
DBLOAD = $(MKDB) -m `hostname`
MKNETID = /usr/libexec/mknetid
NEWALIASES = /usr/bin/newaliases
YPPUSH = /usr/sbin/yppush
.if !defined(UPDATE_DOMAIN)
DOMAIN = `/bin/domainname`
.else
DOMAIN = $(UPDATE_DOMAIN)
.endif
REVNETGROUP = /usr/libexec/revnetgroup
TMP = `echo $@.`

# It is advisable to create a separate directory to contain the
# source files used to generate your NIS maps. If you intend to
# support multiple domains, something like /src/dir/$DOMAIN
# would work well.
YPSRCDIR = /usr/local/nis/$(UPDATE_DOMAIN)
.if !defined(YP_DIR)
YPDIR = /var/yp
.else
YPDIR = $(YP_DIR)
.endif
YPMAPDIR = $(YPDIR)/$(DOMAIN)

# These are the files from which the NIS databases are built. You may edit
# these to taste in the event that you wish to keep your NIS source files
# seperate from your NIS server's actual configuration files. Note that the
# NIS passwd and master.passwd files are stored in /var/yp: the server's
# real password database is not used by default. However, you may use
# the real /etc/passwd and /etc/master.passwd files by:
#
#
# - invoking yppasswdd with `-t /etc/master.passwd' (yppasswdd will do a
#   'pwd_mkdb' as needed if /etc/master.passwd is thus specified).
# - Specifying the location of the master.passwd file using the
#   MASTER_PASSWD variable, i.e.:
#
#   # make MASTER_PASSWD=/path/to/some/other/master.passwd
#
# - (optionally): editing this Makefile to change the default location.
#
# To add a user, edit $(YPDIR)/master.passwd and type 'make'. The raw
# passwd file will be generated from the master.passwd file automagically.
#
ETHERS= $(YPSRCDIR)/ethers # ethernet addresses (for rarpd)
BOOTPARAMS= $(YPSRCDIR)/bootparams # for booting Sun boxes (bootparamd)
HOSTS = $(YPSRCDIR)/hosts
NETWORKS  = $(YPSRCDIR)/networks
PROTOCOLS = $(YPSRCDIR)/protocols
RPC   = $(YPSRCDIR)/rpc
SERVICES  = $(YPSRCDIR)/services
GROUP = $(YPSRCDIR)/group
ALIASES   = $(YPSRCDIR)/mail/aliases
NETGROUP  = $(YPSRCDIR)/netgroup
PASSWD= 

port/ftp/mirror-2.9 Out of memory! message

2003-01-08 Thread Tom Parquette
I'm getting an Out of memory! message from the mirror 
(/usr/ports/ftp/mirror-2.9) port trying to update a large archive.  I've 
tried a number of things but I can't resolve this.
Any suggestions?
TIA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: attaching a umass device?

2003-01-08 Thread Robin Damm
On Thu, Jan 09, 2003 at 01:13:24PM +1100, David Gerard wrote:
 
 This is probably really simple, but I couldn't see it in the handbook ...
 
 I've plugged a umass device (a camera) into a USB port. What do I do now to
 get access to the data?

I have no usb toys myself, but I gather it should be as easy as
mount -t msdos /dev/$foo /mnt/$bar. Then access the camera as a
regular filesystem. Grep dmesg or syslog for umass to find out the
device name. 

-- 
Robin Damm [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: web write-up

2003-01-08 Thread Shaun Dwyer
Mike Meyer wrote:

In [EMAIL PROTECTED], JacobRhoden [EMAIL PROTECTED] typed:


On Thursday 09 January 2003 12:09, Shaun Dwyer wrote:


is they probably didn't make seperate slices for /, /var and /usr.


What difference does it make as to wether these partions are seperate. I 
realise if you have more than one ide drive then having them on seperate 
drives is alot better. On single drive machines I usually make only one 
partion, what reasons are there to slice it?


[SWAG follows]


From a performance standpoint, putting them on separate slices on the

same disk is probably a loss. It forces the blocks in those file
systems to live spread out across the disk, meaning the time
optimizations are constrained to those blocks, whereas if you put them
all in one file system then the disk scheduler can play with the
entire disk.

That said *THIS DOESN'T MAKE ANY PRACTICAL DIFFERENCE*. The scheduler
already slices partitions up into cylinder groups and tries to make
files live on specific cylinder groups. Having different file systems
just means lets it pick from a smaller set of cylinder groups. If
your disk is so heavily loaded that this makes a difference, you
really want multiple spindles.

There are administrative reasons to split them up. For instance, the
backup for /usr is the FreeBSD CDROM set. / and /var I create backups
for, so /usr gets it's own file system, and /var lives on /. On a
second system, / and /usr are mounted read-only - well, they should be
- but /var has the web site on it, which gets updated at regular
intervals. So /var gets it's own file system, and /usr lives on /.

On my test system, which gets config files stored in perforce, I just
make everything one big file system.

	mike


I Disagree.. it will make a difference. If you partion /var near the 
beginning of the disk (the fastest part - outer tracks) it will force
all the stuff in /var (being logs and stuff) to live at the faster area 
of the disk. If your server is being hit really hard, im sure you dont 
want it seeking all over the disk to write to logs. This could 
potentially add up to quite a performance hit. While an attempt is made 
to ensure that a file exists in the same cyl group, there is no 
garantee. if your logs grow to be quite large. im sure there are several 
other reasons to make seperate partitions. Off the top of my head: stop 
file systems from filling up if you have a process dumping large 
ammounts of data some where, if one file system is corrupted, you dont 
lose _everything_. Discounting the potential pefformance benefits, these 
two reasons alone should be enough to create seperate file systems.

--Shaun


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: glibwww port - patch does not apply

2003-01-08 Thread Andrew
Thanks for your help guys, I've got it working now. I just took my local 
MASTER SITE OVERRIDE (in make.conf) for my ports off my local (UK) server, 
and let it get it's files from wherever it wanted to. Well, it's 6am, and I'm 
off to bed.

Thanks again,

Andrew

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



FreeBSD and AMD power management

2003-01-08 Thread J. Seth Henry
I have noticed that my Compaq IA-1's (AMD K6-2/266  VIA chipset) run
substantially hotter under FreeBSD than under Linux. I didn't realize just
how much until the machines began spontaneously rebooting under load.

Right now, I have a minimal 4.7R install (with X) running from a
microdrive - but I don't have problems until I start running X for long
periods of time. I am migrating from Midori linux with kernel rev 2.4.18,
and it can go for weeks (even months) running xmms locally. Just
windowing xmms from another machine will cause spontanous reboots under
FreeBSD.

It doesn't appear to be a kernel panic - this machine has a thermal
protection circuit which will hold the system in reset if it gets too
warm, and so far, nothing has shown up in the logs (beyond the usual
startup message regarding / being unmounted improperly). This leads me to
believe that FreeBSD isn't issuing halts when it is idle, or the CPU is
simply idle less. I have noticed that FreeBSD accesses the microdrive a
*lot* (though Linux may be as well, but I can't hear it because it's
running from flash)

Is this a normal limitation in FreeBSD, or did I miss something in the
kernel config?

Thanks,
Seth Henry
jshamletATcomcast(dot)net


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



X Crash with Quake 3

2003-01-08 Thread Bob Bomar
I have Quake 3 installed and I have graphics/linux_glx installed.
But when I try to start Quake 3, it causes X to crash with a Sig 6.
I have an ATI Radeon 7500.

Here is my dmesg, pciconf -lv, and a link to my XF86Config file:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #3: Wed Jan  8 17:11:00 CST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/Warrior
Preloaded elf kernel /boot/kernel/kernel at 0xc0598000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc05980a8.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1800077005 Hz
CPU: AMD Athlon(tm) XP 2200+ (1800.08-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x680  Stepping = 0
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 536805376 (511 MB)
avail memory = 515440640 (491 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AMIINT VIA_K7   on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 10 entries at 0xc00f8060
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA Generic host to PCI bridge mem 0xe000-0xe7ff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
drm0: ATI Radeon QW 7500 (AGP) port 0xb800-0xb8ff mem 
0xdfaf-0xdfaf,0xd000-0xd7ff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe000 128MB
info: [drm] Initialized radeon 1.1.1 20010405 on minor 0
fxp0: Intel Pro/100 Ethernet port 0xd800-0xd83f mem 
0xdfe0-0xdfef,0xdfff7000-0xdfff7fff irq 5 at device 6.0 on pci0
fxp0: Ethernet address 00:d0:b7:90:c3:ac
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: Adaptec 2902/04/10/15/20/30C SCSI adapter port 0xd400-0xd4ff mem 
0xdfff6000-0xdfff6fff irq 5 at device 7.0 on pci0
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
bktr0: BrookTree 878 mem 0xdf9fe000-0xdf9fefff irq 10 at device 8.0 on pci0
bktr0: Hauppauge Model 44801 C310
bktr0: Hauppauge WinCast/TV, Philips NTSC tuner.
pci0: multimedia at device 8.1 (no driver attached)
ohci0: NEC uPD 9210 USB controller mem 0xdfff3000-0xdfff3fff irq 5 at device 11.0 on 
pci0
usb0: OHCI version 1.0
usb0: NEC uPD 9210 USB controller on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: NEC uPD 9210 USB controller mem 0xdfff4000-0xdfff4fff irq 10 at device 11.1 
on pci0
usb1: OHCI version 1.0
usb1: NEC uPD 9210 USB controller on ohci1
usb1: USB revision 1.0
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 11.2 (no driver attached)
atapci0: Promise TX2 ATA133 controller port 
0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 
0xdfffc000-0xdfff ir
q 10 at device 12.0 on pci0
ata2: at 0xec00 on atapci0
ata3: at 0xe400 on atapci0
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
atapci1: VIA 8233 ATA133 controller port 0xfc00-0xfc0f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
uhci0: VIA 83C572 USB controller port 0xc800-0xc81f irq 10 at device 17.2 on pci0
usb2: VIA 83C572 USB controller on uhci0
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xcc00-0xcc1f irq 10 at device 17.3 on pci0
usb3: VIA 83C572 USB controller on uhci1
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2
umass0: Get Max Lun not supported (STALLED)
pcm0: VIA VT8233A port 0xd000-0xd0ff irq 5 at device 17.5 on pci0
acpi_button1: Sleep Button on acpi0
fdc0: cmd 3 failed at out byte 1 of 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP
Probing for PnP devices on ppbus0:
ppbus0: HEWLETT-PACKARD DESKJET 850C PCL,MLC,PML
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: 

XDM daemon error

2003-01-08 Thread Martinez, Joey
Hello,

 I have come to an error in my FreeBSD Box.  I edited the default
/etc/ttys file for running the XDM daemon on a virtual terminal by changing
the off to on.  Therefore, the entry is enabled.  When I shutdown and
restarted, my OS went crazy.  The screen goes from the running script to a
grey and white screen with the big X in the middle, and back.  Is this the
end?  Please help.  

PS
Is there a way to configure the sound on my speakers?  I can only hear the
static when I move the mouse.  Thanks!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Bogofilter (fwd)

2003-01-08 Thread Cazenave Jean-Christophe


-- 
Jean-Christophe CAZENAVE
I.P.N Orsay 91406 Orsay Cedex
Tel (bur): 01.69.15.72.67
Email: [EMAIL PROTECTED]



-- Forwarded message --
Date: Thu, 09 Jan 2003 07:16:45 +0100
From: Jean-Christophe Cazenave [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: cazenave [EMAIL PROTECTED]
Subject: Bogofilter

Hello,

 I have problems to let run bogofilter (I use FreeBSD RELENG_4).
Could someone tell me how to use it ?

By the way, what is the preferred anti-spam package on FBSD
(with sendmail) and how is it possible to install it ?

T.I.A,

Jean-Christophe Cazenave

-- 
If the hardware is the heart of a computer 
then the software is its soul (D.A RUSLING, The Linux Kernel)
Jean-Christophe CAZENAVE
Email: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



HP SCSI?

2003-01-08 Thread Gary D Kline

Has anybody installed FBSD on a HP Kayak XU6/400 SCSI?
I've got a change to get one or two of these boxes and
would appreciate any insights out there.  Can I drop in 
my 40GB IDE drive?

thanks in advance,

gary


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


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: attaching a umass device?

2003-01-08 Thread Stijn Hoop
On Thu, Jan 09, 2003 at 01:13:24PM +1100, David Gerard wrote:
 This is probably really simple, but I couldn't see it in the handbook ...
 
 I've plugged a umass device (a camera) into a USB port. What do I do now to
 get access to the data?

You need to have usbd running (usbd_enable=YES in /etc/rc.conf), and
have some options in the kernel:

device  scbus   # SCSI bus
device  pass# SCSI passthrough device
device  da  # SCSI disk device (for umass)

Maybe doing a '# kldload umass' with a stock GENERIC kernel will also
work, I don't know.

At any rate, when you plug it in, the kernel should discover a new
da device, da0 in my case since I don't have any other SCSI disks:

Jan  1 20:01:26 firsa /kernel: umass0: SanDisk Corporation ImageMate CompactFlash USB, 
rev 1.10/0.09, addr 2
Jan  1 20:01:26 firsa /kernel: umass0: Get Max Lun not supported (STALLED)
Jan  1 20:01:27 firsa /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jan  1 20:01:27 firsa /kernel: da0: SanDisk ImageMate II 1.30 Removable Direct 
Access SCSI-2 device 
Jan  1 20:01:27 firsa /kernel: da0: 650KB/s transfers
Jan  1 20:01:27 firsa /kernel: da0: 122MB (250881 512 byte sectors: 64H 32S/T 122C)

I was then able to do something like

# mount -t msdos /dev/da0s1 /foo

To access the data. Note that my CF has partitions (?!) which took me a while
to figure out. It may be that your camera doesn't need that in which case
you need to do 'mount /dev/da0 /foo' of course.

Note that I have a card reader in which I plug my compact flash card;
some digital cameras don't have umass access but need their own protocol,
for which gphoto is likely to have support (as another poster alread said).

HTH,

--Stijn

-- 
Coca-Cola is solely responsible for ensuring that people - too stupid to know
not to tip half-ton machines on themselves - are safe. Forget parenting - the
blame is entirely on the corporation for designing machines that look so
innocent and yet are so deadly.
-- http://www.kuro5hin.org/?op=displaystory;sid=2001/10/28/212418/42



msg14801/pgp0.pgp
Description: PGP signature