[no subject]

2002-12-04 Thread Partha Debnath
sir,
please send me all category's some free
megazine's,catalogs,
Brochures, CD'c, book's and ect., also send some free
products.  
For Men's
my Jeans - 32
my shirt size haff- 40
my shirt size full- XXL

my mailimg address is
Partha Debnath,
C/O.Sankar Dey,
Northbanamali pur, Near Citty Office.
Agartala,Tripura,INDIA.
PIN - 799001.

thank you
partha



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: PROBLEM FOUND WAS : Re: /usr/bin/top seg faulting

2002-12-04 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-03 14:02:58 -0800:
   flagg# top
   Segmentation fault
   flagg# 
 
 I got a core file and ran gdb... I know almost nothing about gdb, but what
 the heck.
 
 (gdb) where
 #0  0x2810cbd8 in endpwent () from /usr/lib/libc.so.4
 #1  0x2810d421 in endpwent () from /usr/lib/libc.so.4
 #2  0x2810c1da in getpwent () from /usr/lib/libc.so.4
 #3  0x804b28e in free ()
 #4  0x804cb94 in clear ()
 #5  0x8049389 in free ()
 
 Ok.  So this led me to a password file entry.
 This host is a NIS client with 
 
 +@vpnusers/tmp:/usr/bin/false
 
 at the end of master.passwd (for the radiusd).
 Some missing commas in the netgroup file...

could you file a PR? it shouldn't segfault.

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



PPP-FILTER

2002-12-04 Thread Oleg Golovanov
Dear Sirs:

I have FreeBSD-3.0 with modem's pool where I must enable constraint as following
user apppuser may have access to IP set x1.x2.x3.0/27 only.

I found in pppd (which I am using) feature pass-filter and wrote to user's
.ppprc :
pass-filter 'net x1.x2.x3.0/27'
but its constraint doesn't work (user can go to any IP)
Then I tried following line in his home file .ppprc :
pass-filter 'net x1.x2.x3 mask 255.255.255.224'
It doesn't work also.

Does anybody know the way to solve this problem?

Please, write me directly.

Thanks,
Oleg Golovanov
Krasnoyarsk city

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



make fails

2002-12-04 Thread Julian Sassenscheidt
hello! 
 
i have some problems with compiling a kernel for my freebsd-4.7 system. 
make fails with the following error-message: 
 
if.o: In function `if_setlladdr': 
if.o(.text+0x1c48): undefined reference to `arp_ifinit' 
usb_ethersubr.o: In function `usbintr': 
usb_ethersubr.o(.text+0x31): undefined reference to `ether_input' 
*** Error code 1 
 
Stop in /usr/src/sys/compile/AMNESIA. 
  
i can't solve the problem, unfortunateley i don't know too much about
c-programming. 
so i'd be very happy if you could help me. the config file is sent as an
attachement 
with this e-mail. 
 
thank you very much! 
julian 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   AMNESIA
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
#optionsNFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device, NFS required
#optionsMSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
#optionsAHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
#optionsAHD_REG_PRETTY_PRINT# Print register bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

device  isa
#device eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
#device ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
#optionsATA_STATIC_ID   #Static device numbering

# SCSI 

Re: More then 4 IDE devices in one FreeBSD server.

2002-12-04 Thread Ceri Davies
On Tue, Dec 03, 2002 at 10:56:37PM -0500, mike wrote:
 Problem is as you can guess from the subject is i got 4 120
 gig hard drives in there, and i would like to have a CDROM and maybe even
 more disks as needed.
 
 A: What is the hardware name of the device i am looking for that will
 allow more then 4 ide devices to one box.

Get a Promise TX2 controller.
They are about 20 pounds.

 B: do you know of a brand name i should be looking for that you recommend,
 or even a retailer.

http://www.promise.com/product/product_list_eng.asp?familyId=3

I know the ATA100 Promise controllers are supported, since I've got one.
I think the ATA133 ones are as well.

Ceri

PS. Make sure you have options ATA_STATIC_ID in your kernel before you install
it, unless you want lots of fun.

-- 
By the rock of a 250 pound woman!

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



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-04 Thread Ceri Davies
On Tue, Dec 03, 2002 at 08:12:47PM -0800, Mike Hogsett wrote:
 
 Can't you just go down into /dev and do :
 
 ./MAKEDEV ad4 ad5 ad6 ad7
 
 and gain access to the 4 drives on a second (supported) IDE controller?

Umm, two devices per controller ?

Ceri
-- 
Your weakness shall be your defeat!

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



Re: How do I use uvisor?

2002-12-04 Thread Dan Pelleg

Pat Lashley writes:
  --On Tuesday, December 03, 2002 06:36:45 -0500 Dan Pelleg 
  [EMAIL PROTECTED] wrote:
  
   Pat Lashley [EMAIL PROTECTED] writes:
  
   I've been syncing my Handspring Visor over the USB cable using
   coldsync and ugen0 for a couple of years now.  One of the recent
   system updates introduced ucom and uvisor; and now I can't get
   the Visor to sync.  (I'm currently running FreeBSD 4.7-STABLE
   as of about 29 October.)
  
  
   You'll need to hit the hotsync button *first*. See my post to
   freebsd-stable regarding this.
  
  Hmm.  I missed that message, what was the Subject ?
  

It's this one:

http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=842881+845155+/usr/local/www/db/text/2002/freebsd-stable/20021013.freebsd-stable

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



Re: tool/method to convert DOS line endings to UNIX line endings

2002-12-04 Thread Warren Block
On Tue, 3 Dec 2002, D J Hawkey Jr wrote:

 In article [EMAIL PROTECTED],
   [EMAIL PROTECTED] writes:
  It's a bit easier if you let Perl do the heavy lifting:
  
  perl -pi -e 's/\r//g' file-to-convert
 
 Even easier (and lighter) if you ditch the perl:
sed -e 's/\r//g' input output

Unfortunately, that doesn't work because BSD sed doesn't understand \r
(it should, IMO, but it doesn't).  It can work if you put an actual CR
in there, and there's the sed-inplace stuff to eliminate the extra file
and redirection, but... see below.
 
 I like the tr(1) conversion too, but I always seem to think in terms of
 sed(1) and awk(1).

I've been making an effort to use Perl for this type of thing, because
it usually saves me time.  When a shell script turns out later to need
strong string processing or any of the other stuff that Perl is good at
but is non-trivial in a shell script, I don't need to rewrite it if it's
already in Perl.  And many scripts that are trivial in Perl (like the
one above) can be non-trivial for csh or sh.

-Warren Block * Rapid City, South Dakota USA


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



Jail question

2002-12-04 Thread Didier Wiroth
Hey,
I'm a freebsd newbie. I was experimenting with jails. I've build an
entire jail under /usr/local/jail/test which I'm accessing through the
network using ssh.

I thought that you can't grep any path or any information outside the
jail but when I use the command df, I can clearly see the disk slice,
partition and path to the jail.

Is this normal?

Thanks
Didier



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



Re: Jail question

2002-12-04 Thread Paul Everlund
On Wed, 4 Dec 2002, Didier Wiroth wrote:

 Hey,
 I'm a freebsd newbie. I was experimenting with jails. I've build an
 entire jail under /usr/local/jail/test which I'm accessing through the
 network using ssh.

 I thought that you can't grep any path or any information outside the
 jail but when I use the command df, I can clearly see the disk slice,
 partition and path to the jail.

 Is this normal?

 Thanks
 Didier

This have been discussed earlier, and I even think some one did file a
PR with a patch to correct it. Try to search the mailarchives.

Best regards,
Paul


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



Re: Jail question

2002-12-04 Thread Ruben de Groot
On Wed, Dec 04, 2002 at 02:35:11PM +0100, Paul Everlund typed:
 On Wed, 4 Dec 2002, Didier Wiroth wrote:
 
  Hey,
  I'm a freebsd newbie. I was experimenting with jails. I've build an
  entire jail under /usr/local/jail/test which I'm accessing through the
  network using ssh.
 
  I thought that you can't grep any path or any information outside the
  jail but when I use the command df, I can clearly see the disk slice,
  partition and path to the jail.
 
  Is this normal?
 
  Thanks
  Didier
 
 This have been discussed earlier, and I even think some one did file a
 PR with a patch to correct it. Try to search the mailarchives.

Not a patch, a kernel module. I just tried it today and it looks good.
It's downloadable from http://garage.freebsd.pl

cheers,
Ruben

 
 Best regards,
 Paul
 
 
 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



Another Jail Question

2002-12-04 Thread Jeff MacDonald
Hi,

I have been thinking about running 2 jails on my home server
one for work sensitive data, the other for personal fun stuff.

However i only have 1 ip at my house [static].

Could i take the server taht will have jails on it, put it behind
a natd box so it has 2 ip's [192.168.0.1 and .2] and just make
the nat box, forward packets to teh appropriate jail based upon
what port they come in on ?

also, if i have host machine with 2 jails in it, i know i can't
run PostgreSQL in the jails, can i run it on the host environment
and make the jails access it via TCP ?

server is a dual PII 300 with 512 megs of ram, this should be fine
to handle 2 jails, right ?

thanks.

jeff.

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



Re: Another Jail Question

2002-12-04 Thread Ruben de Groot
On Wed, Dec 04, 2002 at 09:27:33AM -0500, Jeff MacDonald typed:
 Hi,
 
 I have been thinking about running 2 jails on my home server
 one for work sensitive data, the other for personal fun stuff.
 
 However i only have 1 ip at my house [static].
 
 Could i take the server taht will have jails on it, put it behind
 a natd box so it has 2 ip's [192.168.0.1 and .2] and just make
 the nat box, forward packets to teh appropriate jail based upon
 what port they come in on ?

Alternatively, you can run both jails on the same IP address. As long
each jail uses different portnumbers there will be no conflicts.

 
 also, if i have host machine with 2 jails in it, i know i can't
 run PostgreSQL in the jails, can i run it on the host environment
 and make the jails access it via TCP ?
 
 server is a dual PII 300 with 512 megs of ram, this should be fine
 to handle 2 jails, right ?
 
 thanks.
 
 jeff.
 
 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: Another Jail Question

2002-12-04 Thread Kirk Strauser

At 2002-12-04T14:27:33Z, Jeff MacDonald [EMAIL PROTECTED] writes:

 Could i take the server taht will have jails on it, put it behind a natd
 box so it has 2 ip's [192.168.0.1 and .2] and just make the nat box,
 forward packets to teh appropriate jail based upon what port they come in
 on ?

Yep.

 also, if i have host machine with 2 jails in it, i know i can't run
 PostgreSQL in the jails, can i run it on the host environment and make the
 jails access it via TCP ?

Yep.

 server is a dual PII 300 with 512 megs of ram, this should be fine to
 handle 2 jails, right ?

Yep.

You should be able to do what you're asking without any trouble.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



Re: Help !!!

2002-12-04 Thread John Bleichert
On Wed, 4 Dec 2002, David Kerr wrote:

 Date: Wed, 04 Dec 2002 08:41:58 +0800
 From: David Kerr [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Help !!!
 
 I have a problem .. hope someone can help ! 
 
 I am running FreeBSD 4.7 and it seems that if I log in as root I can 
 compile most anything, the problem is that if a normal user logs in 
 they dont seem to be able to compile anything, 
 I fear that the permissions in the / directory were changed ... is 
 there any way to reverse this ? 
 
 
 Regards
 David Kerr
 

Could you provide a little more info? Such as the output from a non-root 
user trying to 'compile' something?

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: Opera

2002-12-04 Thread John Bleichert
On Tue, 3 Dec 2002, Peter Milne wrote:

 Date: Tue, 3 Dec 2002 16:11:29 -0700
 From: Peter Milne [EMAIL PROTECTED]
 To: Free BSD Questions [EMAIL PROTECTED]
 Subject: Opera
 
 Opera was working fine.  I now try to load a page and it crashes and closes.  Every 
page, every site.  I installed it from ports.
 
 How do I get rid of it all or how do I fix it?
 
 -- 
 
   
 Pete
 

Did you try removing your local opera settings? I had something similar 
happen in Linux a while back and was able to clear it with:

$ rm -rf ~/.opera

The error was somewhere in how it saved its state locally. Never figured 
it out, and Phoenix is better anyways :)

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: tool/method to convert DOS line endings to UNIX line endings

2002-12-04 Thread Jerry McAllister

 ... Much deleted ...

 Ack. Looks like you're right, and I agree with you. If [2addr]l can output
 '\r', [2addr]s/regex/repl/flags ought to understand \r. I have to wonder
 how many times I may have been bitten by this mis-feature.  ;-,
 
 This'll work though:
 sed -e 's/[[:cntrl:]]$//g'
 
   I like the tr(1) conversion too, but I always seem to think in terms of
   sed(1) and awk(1).
 
 And if that sed(1) solution is still too loose, the tr(1) solution reduces
 [[:cntrl:]] to just the CR character.
 

Just to be clear on this issue;  you want to be left with the LF characters
and get rid of the CR characters not the other way around.  I am not a sed
person, but your statement is backwards even if your sed works.

jerry

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



Re: Another Jail Question

2002-12-04 Thread Alex Hayward
On Wed, 4 Dec 2002, Jeff MacDonald wrote:

 Hi,

 I have been thinking about running 2 jails on my home server
 one for work sensitive data, the other for personal fun stuff.

 However i only have 1 ip at my house [static].

 Could i take the server taht will have jails on it, put it behind
 a natd box so it has 2 ip's [192.168.0.1 and .2] and just make
 the nat box, forward packets to teh appropriate jail based upon
 what port they come in on ?

Yes. Or you could just run both jails on the same IP address.

 also, if i have host machine with 2 jails in it, i know i can't
 run PostgreSQL in the jails, can i run it on the host environment
 and make the jails access it via TCP ?

You can run PostgreSQL in a jail - though you do need to turn the
jail.sysvipc_allowed sysctl on first. You can also run it in the host
environment and talk via TCP if you wish.

 server is a dual PII 300 with 512 megs of ram, this should be fine
 to handle 2 jails, right ?

That depends what you run in them :-)

I don't think there's any remotely significant overhead in having a
process run in a jail compared to having one run outside a jail.


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



Re: Drive Space?

2002-12-04 Thread Jerry McAllister
 
 Newbie here,
   How can you tell how much free drive space you have with v4.5-stable
 FreeBSD?

   use  df(1) 

   generally you wantdf -k   to make it display in kilobytes 
   ordf -m   to make it display in megabytes
   You might also want to use -l if you only want local disk (not NFS)

jerry

 
 His Faithful Servant,
 Mark-Nathaniel Weisman
 President / CEO
 Infinite Visions Educational Systems Inc.
 Anchorage, Alaska
 http://www.ivedsys.com
 [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



patching a file

2002-12-04 Thread Kirk R. Wythers
I have a patch that should fix a build problem with one of freebsd's
ports, pybliographer. The patch needs to be applied to recode-3.6_1 to
make it compatable with pybliographer (which requires recode 3.5
exactly). I want to test this patch out on my system, to see if it does
all it claims to do...

Problem is, I confused over how to apply a patch to something in the
ports system. My ports tree is up to date, but I dont't see the source
in /usr/ports/converters/recode that the patch should be applied to.
Also, running file on /usr/ports/distfiles/recode-3.6.tar.gz returns
file is empty. I thought that I could unpack the tarball manually
apply the patch, then tar it back up and build the port. I seem to be
all wet on this. 

Can anyone get me started on this noble errand?

Thanks,


-- 
Kirk R. Wythers email: [EMAIL PROTECTED]
University of Minnesota tel: 612.625.2261
Department of Forest Resources  fax: 612.625.5212
Saint Paul, MN 55108



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



Re: Another Jail Question

2002-12-04 Thread Marc G. Fournier
On Wed, 4 Dec 2002, Jeff MacDonald wrote:

 Hi,

 I have been thinking about running 2 jails on my home server
 one for work sensitive data, the other for personal fun stuff.

 However i only have 1 ip at my house [static].

 Could i take the server taht will have jails on it, put it behind
 a natd box so it has 2 ip's [192.168.0.1 and .2] and just make
 the nat box, forward packets to teh appropriate jail based upon
 what port they come in on ?

Jeff, check with Chris on this, as I believe he's actually running a game
server inside of one of his jails, with his machine running off of the one
IP ... in fact, and I may be wrong about this, but you *should* be able to
avoid the other machine altogether and use IPFW for this, as I *believe*
(haven't played with it yet) IPFW has a redirect facility that might do it
for you ... so you'd have use dummynet to create a 'fake ethernet' for the
192.168.0.* address(es) for the jail's to bind on ...

 also, if i have host machine with 2 jails in it, i know i can't run
 PostgreSQL in the jails, can i run it on the host environment and make
 the jails access it via TCP ?

Actually, you *can* run PgSQL inside of the jail ... the issue is that
there are security implications of doing that ... the shared memory isn't
per jail, so someone in another jail could attach to the shared memory
in another jail ... by default, shared memory access is disabled inside a
jail, but there is a sysctl value you can set to enable it ...

but, yes, you can access the server via tcp at the host level as well ...

 server is a dual PII 300 with 512 megs of ram, this should be fine
 to handle 2 jails, right ?

unless you start gettinjg into high memory circumstances (ie.
jakarta-tomcat is a major dog for memory), 2 wouldn't be a problem ...



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



Re: Another Jail Question

2002-12-04 Thread Dan Pelleg
Jeff MacDonald [EMAIL PROTECTED] writes:

 Hi,
 
 I have been thinking about running 2 jails on my home server
 one for work sensitive data, the other for personal fun stuff.
 
 However i only have 1 ip at my house [static].
 
 Could i take the server taht will have jails on it, put it behind
 a natd box so it has 2 ip's [192.168.0.1 and .2] and just make
 the nat box, forward packets to teh appropriate jail based upon
 what port they come in on ?
 

Yes, and you don't even need a separate box to do NAT - the jail host can
do it by itself. Here's a how-to for a jailed FTP process configured like
this:

http://ezine.daemonnews.org/200212/ftpjail.html

-- 

  Dan Pelleg

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



Re: patching a file

2002-12-04 Thread Matthew Seaman
On Wed, Dec 04, 2002 at 09:46:40AM -0600, Kirk R. Wythers wrote:
 I have a patch that should fix a build problem with one of freebsd's
 ports, pybliographer. The patch needs to be applied to recode-3.6_1 to
 make it compatable with pybliographer (which requires recode 3.5
 exactly). I want to test this patch out on my system, to see if it does
 all it claims to do...

Just put your patches into the 'files' directory of the port --- call
them patch-aa, patch-ab, patch-ac ... if you want them to be applied
in any particular order, and make sure the filenames in the patches
are given relative to the 'work' directory the port uses to compile
in.
 
 Problem is, I confused over how to apply a patch to something in the
 ports system. My ports tree is up to date, but I dont't see the source
 in /usr/ports/converters/recode that the patch should be applied to.
 Also, running file on /usr/ports/distfiles/recode-3.6.tar.gz returns
 file is empty. I thought that I could unpack the tarball manually
 apply the patch, then tar it back up and build the port. I seem to be
 all wet on this. 

No --- the source tarball will be downloaded to /usr/ports/distfile
(make fetch) from whence it will be compared to the pre-recorded
checksum (make checksum), and then untarred into the work directory
and the patches applied (make unpack).  If you modify the recode
tarball, it will fail the checksum test and all sorts of ugly warning
messages will be produced.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



RE: Another Jail Question

2002-12-04 Thread Jeff MacDonald
Hi,

I run proftpd which aready allows jailed processes in a matter of speaking
that is, it chroots particular users.

but i have a spare sparc laying here, that is gonna do nat just fine, so i 
might as well use it as a dedicated firewall as well.

jeff.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Dan Pelleg
 Sent: Wednesday, December 04, 2002 11:08 AM
 To: Jeff MacDonald
 Cc: [EMAIL PROTECTED]
 Subject: Re: Another Jail Question
 
 
 Jeff MacDonald [EMAIL PROTECTED] writes:
 
  Hi,
  
  I have been thinking about running 2 jails on my home server
  one for work sensitive data, the other for personal fun stuff.
  
  However i only have 1 ip at my house [static].
  
  Could i take the server taht will have jails on it, put it behind
  a natd box so it has 2 ip's [192.168.0.1 and .2] and just make
  the nat box, forward packets to teh appropriate jail based upon
  what port they come in on ?
  
 
 Yes, and you don't even need a separate box to do NAT - the jail host can
 do it by itself. Here's a how-to for a jailed FTP process configured like
 this:
 
 http://ezine.daemonnews.org/200212/ftpjail.html
 
 -- 
 
   Dan Pelleg
 

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



Re: Power Management

2002-12-04 Thread Mark
- Original Message -
From: R. Zoontjens [EMAIL PROTECTED]
To: Joseph Maxwell [EMAIL PROTECTED]; freebsd-questions@FreeBSD.
ORG [EMAIL PROTECTED]
Sent: Monday, December 02, 2002 8:49 PM
Subject: RE: Power Management


 APC Powerchute software does not work for FreeBSD, but apcupsd is a
 good alternative:

Is it? I just tried to install it; Linux-ware. It installed everything in
the wrong directories, to start with. And it will not compile with
usb-support. What a disappointment!

- Mark


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



Re: tool/method to convert DOS line endings to UNIX line endings

2002-12-04 Thread D J Hawkey Jr
On Dec 04, at 10:20 AM, Jerry McAllister wrote:
 
  This'll work though:
  sed -e 's/[[:cntrl:]]$//g'
  
I like the tr(1) conversion too, but I always seem to think in terms of
sed(1) and awk(1).
  
  And if that sed(1) solution is still too loose, the tr(1) solution reduces
  [[:cntrl:]] to just the CR character.
 
 Just to be clear on this issue;  you want to be left with the LF characters
 and get rid of the CR characters not the other way around.  I am not a sed
 person, but your statement is backwards even if your sed works.

No, I meant what I wrote, though you gave me pause to double-check. The
[[:cntrl:]] and reference to the CR character (\r = carriage-return)
are what's being stripped. I pro'lly should have finished the sentence
with ... for stripping. or somesuch.

 jerry

Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-04 Thread Doug Reynolds
On Tue, 03 Dec 2002 20:12:47 -0800, Mike Hogsett wrote:


Can't you just go down into /dev and do :


./MAKEDEV ad4 ad5 ad6 ad7

and gain access to the 4 drives on a second (supported) IDE controller?

I know i did that when i installed a promise ATA66100 addon card..  I
had to make ad4 5 6 7

although i only had 1 drive and two cdroms on the mobo controller

---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



maxusers and random system freezes

2002-12-04 Thread Varshavchick Alexander
Hi people,

Can it be so that kernel maxusers=768 value being more than 512 leads to
spontaneous system freezes which can take up to several hours when the
system is just sleeping (only replying to ping) and doing nothing else,
not allowing to telnet or anything. The system is 4.5-STABLE with much RAM
(4 Gb) and the box has a heavy enough traffic so a bunch of other kernel
options have been increased:

options SHMMAXPGS=262144#max amount of shared mem. pages
options SHMMNI=256  #max number of shared memory ident if.
options SHMSEG=256  #max shared mem.segs per process
options MSGSEG=32767#max num. of mes.segments in system
options MSGSSZ=32   #size of msg-seg. MUST be power of 2
options MSGMNB=65535#max char. per message queue
options MSGTQL=2046 #max amount of msgs in system
options SEMMNU=256  #number of semaphore UNDO structures
options SEMMNS=1024 #number of semaphores in system
options SEMMNI=520  #number of semaphore indentifiers
options SEMUME=100  #number of UNDO keys
options SEMMSL=256  # max number of semaphores per id
options SEMOPM=256  # max number of operations per semop call

Or what else can be causing such system crashes? Any help is greatly
appreciated!

Regards


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)





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



Re: Dual Processor

2002-12-04 Thread Kris Kennaway
On Wed, Dec 04, 2002 at 10:45:55AM +0530, Abhay Kumar Srivastava wrote:
 
  Hi,
  I want to run freeBSD 3.2 on a dual processor intell xenon 
  machine. I tried using the SMP option in the config file. Is there a 
  utility by which i can accertain if freeBSD has detected both the 
  processors and can use them. 

Anything that displays process status, e.g. top.  Status messages are
also displayed at boot time.

3.2 is positively ancient, though - you really should use something
released this century.

Kris



msg11019/pgp0.pgp
Description: PGP signature


RE:

2002-12-04 Thread Jeff MacDonald
Step by step in all honesty

remove sendmail

install

postfix or qmail enjoy

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Jamrisko
 Sent: Wednesday, December 04, 2002 11:58 AM
 To: freebsd question
 Subject: 
 
 
 Hello,
 
 I already install FreeBSD 4.6.
 How to I change sendmail configuration, when I changed hostname
 and domain name? Default sendmail's installation working, but
 when I change hostname, all sending mails terminated in
 CLIENTMQUEUE folder. Please step-by-step help.
 
 Thanks.
 
 Peter
 
 -- 
 
 Vyhraj 2listky na Breakbeat Conference
 7.12.2002 v Roxy. zacatek od 22:00
 Soutez na http://web.volny.cz
 Vice informaci o akci na www.lighthouse.cz
 
 
 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:

2002-12-04 Thread Yann Golanski
Quoth Jeff MacDonald on Wed, Dec 04, 2002 at 11:59:46 -0500
 Step by step in all honesty
 
 remove sendmail

Agreed.
 
 install
 
 postfix or qmail enjoy

Or exim.
 
-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus
NNGS:  nick kierun, server nngs.cosmic.org, port 9696.



msg11021/pgp0.pgp
Description: PGP signature


Re[6]: XML to PDF parser, preferably FOP, for FreeBSD?

2002-12-04 Thread Gabriel Ambuehl
-BEGIN PGP SIGNED MESSAGE-

Hello Simon,

Wednesday, December 4, 2002, 4:46:54 PM, you wrote:

 On Tue, 2002-12-03 at 18:26, Gabriel Ambuehl wrote:
 -BEGIN PGP SIGNED MESSAGE-

 Hello Simon,

 Tuesday, December 3, 2002, 5:27:41 PM, you wrote:

  So the next question would probably be: has anyone successfully
ran
  Apache's FOP under either sablevm oder kaffe?

  I've not tried, but is there any reason you couldn't run it under
 the
  FreeBSD native jdk/jre rather than the linux one?


 The native JDK is based on the Linux one for all I can tell.

 No, it just needs the linux one to bootstrap it as sun doesn't allow
 freebsd to distribute a binary version of the jdk yet :|

 After compilation the linux one can be got rid of


Ok, I decided to give it a shot but I couldn't really get it to
compile:

fi
gmake[3]: Leaving directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/jpda/make/gui'
gmake[2]: Leaving directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/jpda/make/gui'
Finished Recursively making gui all @ Wed Dec  4 18:00:10 CET 2002.
gmake[1]: Leaving directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/jpda/make'
Finished Recursively making ./../ext/jpda/make all @ Wed Dec  4
18:00:10 CET 2002 ...
i386 Build finished:   1.3.1-p7-root-021204-17:59
i386 Build finished:   1.3.1-p7-root-021204-17:59
Recursively making ./../ext/plugin/build/solaris all @ Wed Dec  4
18:00:10 CET 2002 ...
gmake[1]: Entering directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris'
g++ -Wall -Wno-unused -Wconversion  -c -I/usr/local/include -O
- -D_GNU_SOURCE -DXP_UNIX  -DVERSION=\1.3.1-p7-root-021204-17:59\
- -DDATE=\Dec-04-2002\ -DARCH=\i386\ -DRAPTOR_API
- -DNEW_STREAMING_API -I../../oji-plugin/include/solaris/navig4/nspr
- -I../../oji-plugin/include/solaris/navig4/xpcom
- -I../../oji-plugin/include/solaris/navig4/caps
- -I../../oji-plugin/include/solaris/navig4/js
- -I../../oji-plugin/include/solaris/navig4/raptor
- -I../../tmp/bsd/i386/CClassHeaders
- -I../../oji-plugin/include/solaris/navig4/oji
- -I../../oji-plugin/include/solaris/navig4/plugin
- -I../../oji-plugin/src/motif/common
- -I../../oji-plugin/src/motif/navig4 -I/usr/X11R6/include
- -I../../oji-plugin/src/motif/badapter
- -I../../../../src/share/javavm/export
- -I../../../../src/solaris/javavm/export -I/usr/X11R6/include  -o
../../tmp/bsd/i386/GetFactory.o
../../oji-plugin/src/motif/common/GetFactory.cpp
In file included from
../../oji-plugin/include/solaris/navig4/oji/nsIJVMPlugin.h:34,
 from
../../oji-plugin/src/motif/common/JavaPluginFactory.h:34,
 from
../../oji-plugin/src/motif/common/GetFactory.cpp:55:
/usr/local/include/jni.h:18: jtypes.h: No such file or directory
/usr/local/include/jni.h:19: jmalloc.h: No such file or directory
/usr/local/include/jni.h:570: jni_cpp.h: No such file or directory
gmake[1]: *** [../../tmp/bsd/i386/GetFactory.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris'
gmake: *** [plugin-all] Error 1
*** Error code 2

So is there something wrong with the JDK13 port?


Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2i

iQEVAwUBPe4mzcZa2WpymlDxAQHrMwgAgwuNPBqB4YazxUcmaCrAiA9GbU/FGYmS
FsA4Dk1qwEMG48RFZSwIueo7/g6/sA8RBX+KiDxmeWKQjHmAKgb0XCumg8y5vdPM
q/qqGU0VW6Jhj0fzpm0GY8NH3/8iXIUOHiFtIVgQmpWQ4HePEExJfSzc8tg+Tl2+
ZTh/ExaS4s94aBVtJJJaEukhJAxYJ1CxDydA0UCVvOyfMHAZ1WRJLQ6hsZ6tECvO
WRGh5JazSBIwTYmDDSsnJMbBWbIa0DEssoyXX/yBqAPSlAPYhs3Q4YFhP2mRt3Y0
bTL/HXVYiJ+whl+kgYdWF/k1b2L8WLjDVjVXggBgOkkmLtuT8jEhNQ==
=IrkK
-END PGP SIGNATURE-


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



linksys WUSB11 USB WIRELESS LAN SUPPORT?

2002-12-04 Thread Tomoki Taniguchi
I have a Linksys WUSB11 v2.5.  It is a USB wireless lan device using a prism 
chip. (I think prism2.5).  Is there any support under freebsd?

-tomoki

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



RE: Another Jail Question

2002-12-04 Thread Marc G. Fournier
On Wed, 4 Dec 2002, Jeff MacDonald wrote:

  You can run PostgreSQL in a jail - though you do need to turn the
  jail.sysvipc_allowed sysctl on first. You can also run it in the host
  environment and talk via TCP if you wish.

 some folks have said this is a security risk, as the shared mem is not
 per jail

Note that the 'security risk' is more based on the trust level you have
for your users ... if its just you, or you and a few friends, you
shouldn't have an issue with it ... the one issue you will have with
shared memory and jails is that I *believe* that Apache2 requires shared
memory to work, so if you decide to start working with that, you have to
open it up anyway ...

 The machine hardly has any load on it now, but i'd effectivly be going from
 running 1 instance of fbsd to 3.

figure on ~20 or so processes extra per instance ... about the only major
difference between runnig a process in a jail vs outside ... if you look
at /proc/*/status, you will see that the processes are 'tag'd so that ps
knows whether which processes to list ... beyond that, from what I've been
able to determine, the changes are in how a socket is bound ... for
instance, normally when you run inetd, it binds to ADDR_IANY(?), whereas
when yousetu pa server for ajail'd env, you bind inetd to a specific IP so
that the other ones are more or less 'dangling' until you bind somethingto
them...

processes inside of the jail only *see* the one IP, so binding to
ADDR_IANY will only see the one IP to bind to ...

One thing to note when  you are setting things up ... if you are using
sendmail, make sure you sent DontProbeInterfaces to True (Default is
false), else you get some weird results when not all jails are up and
running ...


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



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-04 Thread Jack L. Stone
At 11:49 AM 12.4.2002 -0500, Doug Reynolds wrote:
On Tue, 03 Dec 2002 20:12:47 -0800, Mike Hogsett wrote:


Can't you just go down into /dev and do :


./MAKEDEV ad4 ad5 ad6 ad7

and gain access to the 4 drives on a second (supported) IDE controller?

I know i did that when i installed a promise ATA66100 addon card..  I
had to make ad4 5 6 7

although i only had 1 drive and two cdroms on the mobo controller

---
doug reynolds | the maverick | [EMAIL PROTECTED]


Yes, with RAID enabled on the MB, then it wants ad4 as first device and up
as far as FBSD is concerned. Using the ATA enable only (and not the RAID)
then it is not activated... at least on my MB with a Promise ATA100/RAID.
The MB uses jumpers for each of these.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



count the number of ports

2002-12-04 Thread Zhihui Zhang

Is there a way to count the number of ports in a FreeBSD release? I guess
this boils down to how to parse the file /usr/ports/INDEX easily.  
Thanks.

-Zhihui


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



top dumps core if specific errors in password file

2002-12-04 Thread Mike Hogsett

Submitter-Id:  current-users
Originator:Mike Hogsett
Organization:  SRI International Computer Science Laboratory
Confidential:  no 
Synopsis:  top dumps core if specific errors in password file
Severity:  serious
Priority:  medium
Category:  bin
Class: sw-bug
Release:   FreeBSD 4.7-RELEASE-p2 i386
Environment:
System: FreeBSD beast.csl.sri.com 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #2: Tue Nov 26 
16:48:30 PST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEAST i386

Description:

If there is an incorrect entry in a NIS netgroup file  this netgroup file
is used to append specific NIS password database entries to the local
password database top will dump core at startup.

In gdb it shows top failed inside endpwent(3)

(gdb) where
#0  0x2810cbd8 in endpwent () from /usr/lib/libc.so.4
#1  0x2810d421 in endpwent () from /usr/lib/libc.so.4
#2  0x2810c1da in getpwent () from /usr/lib/libc.so.4
#3  0x804b28e in free ()
#4  0x804cb94 in clear ()
#5  0x8049389 in free ()

Since this error is appears to be within endpwent(3) I presume that
programs using this function may also be unstable.

How-To-Repeat:

NIS netgroup file [NOTE: user3 entry incorrect] :

somegroup (,user2,),(,user2,),(user3)

master.password contains :

+@somegroup/tmp:/usr/bin/false

Fix:

Well obviously fix the netgroup file error, but endpwent(3) should not
fail so severely.


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



RE: count the number of ports

2002-12-04 Thread Barry Byrne
How about:

wc /usr/ports/INDEX

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Zhihui Zhang
 Sent: 04 December 2002 17:21
 To: [EMAIL PROTECTED]
 Subject: count the number of ports
 
 
 
 Is there a way to count the number of ports in a FreeBSD release? I guess
 this boils down to how to parse the file /usr/ports/INDEX easily.  
 Thanks.
 
 -Zhihui
 
 
 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: count the number of ports

2002-12-04 Thread Marc Perisa
Zhihui Zhang wrote:

Is there a way to count the number of ports in a FreeBSD release? I guess
this boils down to how to parse the file /usr/ports/INDEX easily.  
Thanks.


 wc -l /usr/ports/INDEX



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



how to use an etoken

2002-12-04 Thread Bsd Neophyte
 
 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



RE: Another Jail Question

2002-12-04 Thread Jeff MacDonald
ha ! ;)

it's a sparc classic, 50mhz proc, 64 ram, 2 gig scsi drive.

it's got 2 nics, so it's perfect for a house natd box, and that's
about it.

 -Original Message-
 From: Marc G. Fournier [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 04, 2002 12:15 PM
 To: Jeff MacDonald
 Cc: [EMAIL PROTECTED]
 Subject: RE: Another Jail Question


 On Wed, 4 Dec 2002, Jeff MacDonald wrote:

  Yeah, i think i'll go the safe route and keep away from shared memory as
  such will likly run it on the host.

 not sure what your sparc is, but you might look at putting postgresql over
 there, which might allow you to create a larger cache buffer ... at the
 University, our firewall logs to PostgreSQL, and has a 1gig cache buffer
 to handle it, but it all depends on what you are doing with the database
 ...





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



Re: how to use an etoken? (ignore first post)

2002-12-04 Thread Marc Perisa
Bsd Neophyte wrote:

i accidently hit the enter key which sent that message forward.  i
appologize for that.

i wanted to know if it was possible to purchase one of those usb memory
devices and use it as an etoken by copying the public key onto it...

there is one thing though... i don't want passwordless access.  i want the
etoken to allow for a system to access my FreeBSD box, but still have the
user enter their password to login.

another thing, i want this only for ssh access.  i want to allow for the
FreeBSD box to still function as my PDC and possibly a webserver at
another date.

has anyone done this?  can anyone recommend how to do it or point me to
some reading material?



Hi,

if you mean the eToken from www.eladdin.com - no, there is no device 
drivers for them yet build.

I mailed to them and asked them if they had plans to port the software 
to FreeBSD/*NIX or let some help them with it.

They answered, that they are already on their way to port the framework 
and an SDK to Linux.

After this is done we can perhaps make a FreeBSD version out of it. Then 
what you propose will be possible.

Until then - wait and bug them once in a while that you want FreeBSD 
support.

Marc





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


Re: how to use an etoken? (ignore first post)

2002-12-04 Thread Marc Perisa
Marc Perisa wrote:

Bsd Neophyte wrote:


i accidently hit the enter key which sent that message forward.  i
appologize for that.

i wanted to know if it was possible to purchase one of those usb memory
devices and use it as an etoken by copying the public key onto it...

there is one thing though... i don't want passwordless access.  i want 
the
etoken to allow for a system to access my FreeBSD box, but still have the
user enter their password to login.

another thing, i want this only for ssh access.  i want to allow for the
FreeBSD box to still function as my PDC and possibly a webserver at
another date.

has anyone done this?  can anyone recommend how to do it or point me to
some reading material?


Hi,

if you mean the eToken from www.eladdin.com - no, there is no device 
drivers for them yet build.

I mailed to them and asked them if they had plans to port the software 
to FreeBSD/*NIX or let some help them with it.

They answered, that they are already on their way to port the framework 
and an SDK to Linux.

After this is done we can perhaps make a FreeBSD version out of it. Then 
what you propose will be possible.

Until then - wait and bug them once in a while that you want FreeBSD 
support.

Marc


Update: The new HASP package is out since 18.11.2002.
(Press release: http://www.eladdin.com/news/2002/hasp/hasp-cd12.asp )

I will take a look at it during the X-mas holidays.

Marc





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



RE: Another Jail Question

2002-12-04 Thread Marc G. Fournier
On Wed, 4 Dec 2002, Jeff MacDonald wrote:

 I run qmail, cause combined with vpopmail, it kicks ass for virtual
 domains.

Postfix with CyrusIMAPd v2.2, cause, well, Cyrus IMAPd is just in a class
all its own :)

Note that CyrusIMAPd was extended several months back to do full virtual
domain under a single IP hosting ... eachdomain has its own admin, own
sieve filtering, own name space, etc ... and configuration is as simple as
create new directory structure for new domain, so no configfiles to
modify ...



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



RE: Power Management

2002-12-04 Thread R. Zoontjens
  APC Powerchute software does not work for FreeBSD, but apcupsd is a
  good alternative:

 Is it? I just tried to install it; Linux-ware. It installed everything in
 the wrong directories, to start with. And it will not compile with
 usb-support. What a disappointment!

try to install it from the ports:

# cd /usr/ports/sysutils/apcupsd
# make
# make install

then read the docs

---
Met vriendelijke groet / with kind regards,

R.J. Zoontjens
Radécom B.V.
[EMAIL PROTECTED]

Dit bericht kan vertrouwelijke informatie bevatten. Indien u niet de
geadresseerde van dit bericht bent, verzoeken wij u dit bericht te
vernietigen zonder van de inhoud kennis te nemen en de inhoud ervan niet te
gebruiken, niet te kopiëren en niet onder derden te verspreiden.

This message may contain information which is privileged or confidential. If
you are not the named addressee of this message please destroy it without
reading, using, copying or disclosing its contents to any other person.




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



RE: Another Jail Question

2002-12-04 Thread Jeff MacDonald
wow, the sieve filtering really turns me on [yuck i know].

currently with qmail/vpopmail i've not found a really great
way to do filtering of things like mailing lists. TMDA does
anti spam, but i want more.

does teh cyrus admin have a series of commands for making
new virtual domains, or is it a matter of know what direcotires
to make.. etc ?

jeff.

 -Original Message-
 From: Marc G. Fournier [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 04, 2002 1:33 PM
 To: Jeff MacDonald
 Cc: Alex Hayward; [EMAIL PROTECTED]
 Subject: RE: Another Jail Question


 On Wed, 4 Dec 2002, Jeff MacDonald wrote:

  I run qmail, cause combined with vpopmail, it kicks ass for virtual
  domains.

 Postfix with CyrusIMAPd v2.2, cause, well, Cyrus IMAPd is just in a class
 all its own :)

 Note that CyrusIMAPd was extended several months back to do full virtual
 domain under a single IP hosting ... eachdomain has its own admin, own
 sieve filtering, own name space, etc ... and configuration is as simple as
 create new directory structure for new domain, so no configfiles to
 modify ...





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



disklabel device busy

2002-12-04 Thread Jason Morgan
I am attempting to set up a new system with vinum. I've never used 
vinum before, but I found a good guide for what I want to do here
(Case 2): 

http://org.netbase.org/vinum-mirrored.html

Anyway, I have come to the point where I have to label my disks and I
am getting the following:

First try:

# disklabel -e /dev/ad0s1e
disklabel: Device busy

Second try (completely empty disk):

# disklabel -e /dev/ad2s1f
disklabel: Device busy

Then I tried 'disklabel -e -r' for each of these and still: Device busy.

Could someone point me in the right direction?


Thanks,
-Jason


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



What happens at shutdown

2002-12-04 Thread Stephen Montgomery-Smith
When the system shuts down (like for example if I press CTRL-ALT-DEL), 
do the running processes receive SIGTERM before or after all the 
filesystems have been umounted?  Would this be done even if I do 
something like
kill -USR1 1

(Please copy the answer to me as I am not subscribed to this mailing list.)


--

Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen


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


RE: Another Jail Question

2002-12-04 Thread Philip Hallstrom
   server is a dual PII 300 with 512 megs of ram, this should be fine
   to handle 2 jails, right ?
 
  unless you start gettinjg into high memory circumstances (ie.
  jakarta-tomcat is a major dog for memory), 2 wouldn't be a problem ...

Just for comparison...

I'm running four jails - apache/php on all, mysql on one, and postgres
on the host on a 700Mhz, 512mb ram, 2x9gb scsi drives.

Top says:

last pid: 86606;  load averages:  0.00,  0.02,  0.00up 53+20:08:57  
10:48:36
93 processes:  1 running, 92 sleeping
CPU states:  1.9% user,  0.0% nice,  2.6% system,  0.0% interrupt, 95.5% idle
Mem: 203M Active, 173M Inact, 90M Wired, 27M Cache, 61M Buf, 7856K Free
Swap: 512M Total, 756K Used, 511M Free

Hardly any traffic... it's an internal dev machine hit by about 10
people...

-philip


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



Re: disklabel device busy

2002-12-04 Thread Jason Morgan

I'll answer my own question. The devices were mounted. They shouldn't be.

-Jason


On Wed, Dec 04, 2002 at 01:48:16PM -0500, Jason Morgan wrote:
 I am attempting to set up a new system with vinum. I've never used 
 vinum before, but I found a good guide for what I want to do here
 (Case 2): 
 
 http://org.netbase.org/vinum-mirrored.html
 
 Anyway, I have come to the point where I have to label my disks and I
 am getting the following:
 
 First try:
 
 # disklabel -e /dev/ad0s1e
 disklabel: Device busy
 
 Second try (completely empty disk):
 
 # disklabel -e /dev/ad2s1f
 disklabel: Device busy
 
 Then I tried 'disklabel -e -r' for each of these and still: Device busy.
 
 Could someone point me in the right direction?
 
 
 Thanks,
 -Jason
 
 
 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: File Counts

2002-12-04 Thread Cliff Sarginson
On Tue, Dec 03, 2002 at 05:14:44PM +0200, Giorgos Keramidas wrote:
 On 2002-12-02 21:26, Peter Leftwich [EMAIL PROTECTED] wrote:
  On Mon, 2 Dec 2002, Doug Hardie wrote:
   Thanks to all who responded.  The approach below does just what I needed.
 
  Here's another way I don't see listed:
 
  $ find . -type f | wc -l
 
  This means find, starting right here, all files here and in subdirectories
  - then pipe the output through word count just the lines.
 
  You'd think FreeBSD would have a command similar to ls, df, du or a flag to
  the find command such as -countitems or something.
 
 Nah.  The Unix way of doing things is to avoid implementing
 everything in one, huge, monolithic tool and relying instead on the
 user to find creative ways to make many small tools work together.
 
Absolutely.
Of course the most creative ignoring of this rule is Perl :)

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Please update your webpage

2002-12-04 Thread Salem State College: Web Development Office
Salem State College has changed its domain name to salemstate.edu.
The old domain salem.mass.edu is being eliminated.
We have determined that the following pages on your site contain
links to salem.mass.edu;

http://btcips73x1.cip.uni-bayreuth.de/ru/ports/ruby.html


Please update those pages to reflect this change.

If you have any questions please feel free to contact us directly at
[EMAIL PROTECTED]

Thank You!

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



RE: Another Jail Question

2002-12-04 Thread Marc G. Fournier
On Wed, 4 Dec 2002, Jeff MacDonald wrote:

 wow, the sieve filtering really turns me on [yuck i know].

 currently with qmail/vpopmail i've not found a really great
 way to do filtering of things like mailing lists. TMDA does
 anti spam, but i want more.

 does teh cyrus admin have a series of commands for making
 new virtual domains, or is it a matter of know what direcotires
 to make.. etc ?

mkimap domainname

you have to get a special branch of cyrus, since the code hasn't been
merged into the main tree yet:

sun# cvs status README
===
File: READMEStatus: Up-to-date

   Working revision:1.10
   Repository revision: 1.10/cvs/src/cyrus/README,v
   Sticky Tag:  cyrus-imapd-2_2 (branch: 1.10.4)
   Sticky Date: (none)
   Sticky Options:  (none)



 jeff.

  -Original Message-
  From: Marc G. Fournier [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, December 04, 2002 1:33 PM
  To: Jeff MacDonald
  Cc: Alex Hayward; [EMAIL PROTECTED]
  Subject: RE: Another Jail Question
 
 
  On Wed, 4 Dec 2002, Jeff MacDonald wrote:
 
   I run qmail, cause combined with vpopmail, it kicks ass for virtual
   domains.
 
  Postfix with CyrusIMAPd v2.2, cause, well, Cyrus IMAPd is just in a class
  all its own :)
 
  Note that CyrusIMAPd was extended several months back to do full virtual
  domain under a single IP hosting ... eachdomain has its own admin, own
  sieve filtering, own name space, etc ... and configuration is as simple as
  create new directory structure for new domain, so no configfiles to
  modify ...
 
 
 




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



RE: Another Jail Question

2002-12-04 Thread Marc G. Fournier
On Wed, 4 Dec 2002, Philip Hallstrom wrote:

server is a dual PII 300 with 512 megs of ram, this should be fine
to handle 2 jails, right ?
  
   unless you start gettinjg into high memory circumstances (ie.
   jakarta-tomcat is a major dog for memory), 2 wouldn't be a problem ...

 Just for comparison...

 I'm running four jails - apache/php on all, mysql on one, and postgres
 on the host on a 700Mhz, 512mb ram, 2x9gb scsi drives.

 Top says:

 last pid: 86606;  load averages:  0.00,  0.02,  0.00up 53+20:08:57  
10:48:36
 93 processes:  1 running, 92 sleeping
 CPU states:  1.9% user,  0.0% nice,  2.6% system,  0.0% interrupt, 95.5% idle
 Mem: 203M Active, 173M Inact, 90M Wired, 27M Cache, 61M Buf, 7856K Free
 Swap: 512M Total, 756K Used, 511M Free

 Hardly any traffic... it's an internal dev machine hit by about 10
 people...

101 Jails:

last pid: 13467;  load averages: 21.09, 13.50, 19.54up 17+12:23:50  13:43:55
1576 processes:4 running, 1572 sleeping
CPU states: 59.0% user,  0.0% nice,  9.0% system,  0.0% interrupt, 32.1% idle
Mem: 2553M Active, 649M Inact, 474M Wired, 157M Cache, 199M Buf, 9120K Free
Swap: 3072M Total, 184M Used, 2888M Free, 5% Inuse

I think I peaked that machine around 196 jails at one point, before we picked
up a second server as well as before we were able to do multiple domains
per VM cleaner then one jail each ...

the load average is mis-leading, as I've seen it hit as high as 1000 and still
allow me to type on the machine, in order to rectify the problem process(es) ...

God, I love FreeBSD :)



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



sendmail

2002-12-04 Thread Peter Jamrisko
OK Boys,

But I assume it must working with sendmail and then can I install
another MTA.

-- 

Vyhraj 2listky na Breakbeat Conference
7.12.2002 v Roxy. zacatek od 22:00
Soutez na http://web.volny.cz
Vice informaci o akci na www.lighthouse.cz


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



chroot from -STABLE into -CURRENT

2002-12-04 Thread Colin Percival
  When I try to chroot into a -CURRENT world on a system running -STABLE, 
I get Bad system call errors.  I'm guessing that this is a kernel/world 
sync problem, since I am (naturally) running a -STABLE kernel.
  Is there any way to get around this problem?  It arises inevitably if 
one attempts to `make release` on -CURRENT from a -STABLE system.

Colin Percival
PS. Please CC, I'm not subscribed to questions@


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


Re: sendmail

2002-12-04 Thread Yann Golanski
Quoth Peter Jamrisko on Wed, Dec 04, 2002 at 18:08:28 +0100
 OK Boys,
 
 But I assume it must working with sendmail and then can I install
 another MTA.

Sendmail has a horrendouse configuration file that takes years to
understand much less change.  Other MTAs such as Exim, Postfix and Qmail
are better designed and have clearer configuratin files.  Have a look at
all three (www.exim.org, www.postfix.org, www.qmail.org) and get the one
that you like best. 

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus
NNGS:  nick kierun, server nngs.cosmic.org, port 9696.



msg11052/pgp0.pgp
Description: PGP signature


Re: vinum documentation

2002-12-04 Thread Adam Laurie
Adam Laurie wrote:

Greg 'groggy' Lehey wrote:



describe the procedure for unplugging the external chassis from
machine A, and plugging it into machine B, and bringing up the vinum
RAID without re-initialising it (i.e. preserving the data already on
it).




1.  On machine A, stop Vinum.  Depending on the hardware, you may need
to shut down.
2.  Remove the chassis from machine A.
3.  Connect the chassis to machine B. Depending on the hardware, you
may need to shut down.
4.  If you haven't rebooted machine B, run camcontrol rescan on the
SCSI bus to discover the new disks.
5.  Run 'vinum start'.



are you saying that at this point vinum will scan all disk busses and 
decide for itself that the raid exists, and reconstruct /dev/vinum?

i know you've said in a previous post that /dev/vinum isn't important, 
but since it contains mount points etc, i assume it's reasonably 
vital... anyway, our experience when we complete the steps above was 
that /dev/vinum/raid1 etc. didn't exist, so we couldn't mount the 
volume, which is why we went on to perform the other steps i described.

.. having now digested what youve said so far, and re-read the docco 
several times, i'm guessing the final step would be:

  6. Run 'vinum makedev'

in which case our mistake was doing this and 'vinum start' the wrong way 
around (and then going on to compund the problem in various other ways... :)

does this make sense?

cheers,
Adam
--
Adam Laurie   Tel: +44 (20) 8742 0755
A.L. Digital Ltd. Fax: +44 (20) 8742 5995
The Storeshttp://www.thebunker.net
2 Bath Road   http://www.aldigital.co.uk
London W4 1LT mailto:[EMAIL PROTECTED]
UNITED KINGDOMPGP key on keyservers


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


Re: vinum documentation

2002-12-04 Thread Adam Laurie
Greg 'groggy' Lehey wrote:



describe the procedure for unplugging the external chassis from
machine A, and plugging it into machine B, and bringing up the vinum
RAID without re-initialising it (i.e. preserving the data already on
it).



1.  On machine A, stop Vinum.  Depending on the hardware, you may need
to shut down.
2.  Remove the chassis from machine A.
3.  Connect the chassis to machine B. Depending on the hardware, you
may need to shut down.
4.  If you haven't rebooted machine B, run camcontrol rescan on the
SCSI bus to discover the new disks.
5.  Run 'vinum start'.


are you saying that at this point vinum will scan all disk busses and 
decide for itself that the raid exists, and reconstruct /dev/vinum?

i know you've said in a previous post that /dev/vinum isn't important, 
but since it contains mount points etc, i assume it's reasonably 
vital... anyway, our experience when we complete the steps above was 
that /dev/vinum/raid1 etc. didn't exist, so we couldn't mount the 
volume, which is why we went on to perform the other steps i described.

cheers,
Adam
--
Adam Laurie   Tel: +44 (20) 8742 0755
A.L. Digital Ltd. Fax: +44 (20) 8742 5995
The Storeshttp://www.thebunker.net
2 Bath Road   http://www.aldigital.co.uk
London W4 1LT mailto:[EMAIL PROTECTED]
UNITED KINGDOMPGP key on keyservers


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


Re: vinum documentation

2002-12-04 Thread Marc G. Fournier
On Wed, 4 Dec 2002, Adam Laurie wrote:

 .. having now digested what youve said so far, and re-read the docco
 several times, i'm guessing the final step would be:

6. Run 'vinum makedev'

 in which case our mistake was doing this and 'vinum start' the wrong way
 around (and then going on to compund the problem in various other ways... :)

 does this make sense?

When I ended up doing/'fixing ours, I just did the vinum start ... tried
the vinum makedev before doing the start, and it gave an error,
andneverthought about it *after* doing the start ...

maybe depends on your OS version?


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



Re: vinum documentation

2002-12-04 Thread Vallo Kallaste
On Wed, Dec 04, 2002 at 02:30:10PM -0400, Marc G. Fournier
[EMAIL PROTECTED] wrote:

 On Wed, 4 Dec 2002, Adam Laurie wrote:
 
  .. having now digested what youve said so far, and re-read the docco
  several times, i'm guessing the final step would be:
 
 6. Run 'vinum makedev'
 
  in which case our mistake was doing this and 'vinum start' the wrong way
  around (and then going on to compund the problem in various other ways... :)
 
  does this make sense?
 
 When I ended up doing/'fixing ours, I just did the vinum start ... tried
 the vinum makedev before doing the start, and it gave an error,
 andneverthought about it *after* doing the start ...

Should work with simple 'vinum start'. Configuration is held on
disks and swapped around disks shouldn't cause problems. This is by
design as I understand. If it weren't.. what a mess, ugh :-)
--

Vallo Kallaste
[EMAIL PROTECTED]

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



RE: Another Jail Question

2002-12-04 Thread Jeff MacDonald
Any idea when it will be merged into the main code base ?
i tend to stay away from development branches..

that being said, why the hell am i running apache2.. who knows.

Jeff.

 -Original Message-
 From: Marc G. Fournier [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 04, 2002 2:43 PM
 To: Jeff MacDonald
 Cc: Alex Hayward; [EMAIL PROTECTED]
 Subject: RE: Another Jail Question


 On Wed, 4 Dec 2002, Jeff MacDonald wrote:

  wow, the sieve filtering really turns me on [yuck i know].
 
  currently with qmail/vpopmail i've not found a really great
  way to do filtering of things like mailing lists. TMDA does
  anti spam, but i want more.
 
  does teh cyrus admin have a series of commands for making
  new virtual domains, or is it a matter of know what direcotires
  to make.. etc ?

 mkimap domainname

 you have to get a special branch of cyrus, since the code hasn't been
 merged into the main tree yet:

 sun# cvs status README
 ===
 File: READMEStatus: Up-to-date

Working revision:1.10
Repository revision: 1.10/cvs/src/cyrus/README,v
Sticky Tag:  cyrus-imapd-2_2 (branch: 1.10.4)
Sticky Date: (none)
Sticky Options:  (none)


 
  jeff.
 
   -Original Message-
   From: Marc G. Fournier [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, December 04, 2002 1:33 PM
   To: Jeff MacDonald
   Cc: Alex Hayward; [EMAIL PROTECTED]
   Subject: RE: Another Jail Question
  
  
   On Wed, 4 Dec 2002, Jeff MacDonald wrote:
  
I run qmail, cause combined with vpopmail, it kicks ass for virtual
domains.
  
   Postfix with CyrusIMAPd v2.2, cause, well, Cyrus IMAPd is
 just in a class
   all its own :)
  
   Note that CyrusIMAPd was extended several months back to do
 full virtual
   domain under a single IP hosting ... eachdomain has its own admin, own
   sieve filtering, own name space, etc ... and configuration is
 as simple as
   create new directory structure for new domain, so no configfiles to
   modify ...
  
  
  
 
 




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



Re: Power Management

2002-12-04 Thread Mark
- Original Message -
From: R. Zoontjens [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, December 04, 2002 7:42 PM
Subject: RE: Power Management


   APC Powerchute software does not work for FreeBSD, but apcupsd is a
   good alternative:
 
  Is it? I just tried to install it; Linux-ware. It installed everything
  in the wrong directories, to start with. And it will not compile
  with usb-support. What a disappointment!

 try to install it from the ports:

 # cd /usr/ports/sysutils/apcupsd
 # make
 # make install

 then read the docs


O, I read the docs alright; did you? Had you done so, you would have seen
that apcupsd 3.8.5 (the ported version) does NOT support usb yet on FreeBSD.
Furthermore, you would have read that usb support is only in experimental
phase since version 3.9.4 (not ported yet), and then only for Linux.

- Mark


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



RE: Another Jail Question

2002-12-04 Thread Marc G. Fournier
On Wed, 4 Dec 2002, Jeff MacDonald wrote:

 Any idea when it will be merged into the main code base ?
 i tend to stay away from development branches..

not sure, I believe not until 2.2 is fully released ... since I'm one of
the ones that pushed for it to happen, I kinda had to be one of those
willing to pound it too :)

 that being said, why the hell am i running apache2.. who knows.

Actually, Apache2 has some nice features, but the PHP4 guys are having too
much of a time keeping themselves in sync, we haven't fully deployed it
... she stable, but don't expect to upgrade when they release new
versions, since chances are your PHP4 will be broken for awhile :(



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



RE: Power Management

2002-12-04 Thread R. Zoontjens
 O, I read the docs alright; did you? Had you done so, you would have seen
 that apcupsd 3.8.5 (the ported version) does NOT support usb yet
 on FreeBSD.
 Furthermore, you would have read that usb support is only in experimental
 phase since version 3.9.4 (not ported yet), and then only for Linux.

I'm not using any usb stuff, nor did I say that it would work with usb. I
just tried to give an answer to the original questions:

Joseph Maxwell wrote:
 Could someone advise on UPS systems and Power Management  related
 software for FREE BSD systems.
 i.What systems are dependable and reasonable priced, esp. at the low
 end for use with workstations
 ii. Is it possible to power down several work stations
 simultaneously from one UPS.
 I am not concerned with any extended working after a power failure, just
 an orderly shutdown of the whole system. I've seen some 1KVA units that
 are capable of supporting several machines buy with only 1 serial port
 connection on the back, thus connecting only one machine. Is there a way
 to replicate the signals to several machines?

Because of your previous post I thought that maybe you tried to install the
linux version, and didn't install it from the ports dir.

I use the serial signalling cables that came with the APC ups's myself.
Running apcupsd on all my servers and clients, and it works just fine for
me... YMMV

---
Met vriendelijke groet / with kind regards,

R.J. Zoontjens
Radécom B.V.

Dit bericht kan vertrouwelijke informatie bevatten. Indien u niet de
geadresseerde van dit bericht bent, verzoeken wij u dit bericht te
vernietigen zonder van de inhoud kennis te nemen en de inhoud ervan niet te
gebruiken, niet te kopiëren en niet onder derden te verspreiden.

This message may contain information which is privileged or confidential. If
you are not the named addressee of this message please destroy it without
reading, using, copying or disclosing its contents to any other person.




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



Re: Another Jail Question

2002-12-04 Thread Vallo Kallaste
On Wed, Dec 04, 2002 at 03:47:10PM -0400, Marc G. Fournier
[EMAIL PROTECTED] wrote:

  Hardly any traffic... it's an internal dev machine hit by about 10
  people...
 
 101 Jails:
 
 last pid: 13467;  load averages: 21.09, 13.50, 19.54up 17+12:23:50  13:43:55
 1576 processes:4 running, 1572 sleeping
 CPU states: 59.0% user,  0.0% nice,  9.0% system,  0.0% interrupt, 32.1% idle
 Mem: 2553M Active, 649M Inact, 474M Wired, 157M Cache, 199M Buf, 9120K Free
 Swap: 3072M Total, 184M Used, 2888M Free, 5% Inuse
 
 I think I peaked that machine around 196 jails at one point, before we picked
 up a second server as well as before we were able to do multiple domains
 per VM cleaner then one jail each ...
 
 the load average is mis-leading, as I've seen it hit as high as 1000 and still
 allow me to type on the machine, in order to rectify the problem process(es) ...
 
 God, I love FreeBSD :)

Sounds like really good -advocacy material :-) The guys over there
will happily morph it into big marketing buzz, I'm sure :)
-- 

Vallo Kallaste
[EMAIL PROTECTED]

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



Re: Cracker attack...is my system compromised?

2002-12-04 Thread Andrew Boothman
Matthew Emmerton wrote:

arp: 192.168.1.1 moved
from 00:04:5a:20:6e:b7 to 00:06:25:92:58:f5 on ep0 Nov 23 16:27:53
fat_man /kernel: arp: 192.168.1.1 moved from 00:04:5a:20:6e:b7 to
00:06:25:92:58:f5 on ep0 arp: 192.168.1.2 moved from
00:01:03:20:2f:75  to 00:06:25:10:e0:03 on ep0 Nov 23 16:57:41
fat_man /kernel: arp:  192.168.1.2 moved from 00:01:03:20:2f:75 to
00:06:25:10:e0:03 on ep0  arp: 192.168.1.2 moved from
00:06:25:10:e0:03 to 00:01:03:20:2f:75 on  ep0 Nov 23 17:00:17
fat_man /kernel: arp: 192.168.1.2 moved from
00:06:25:10:e0:03 to 00:01:03:20:2f:75 on ep0 arp: 192.168.1.4
moved  from 00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 Nov 23
18:24:50 fat_man /kernel: arp: 192.168.1.4 moved from
00:06:25:10:e0:03 to
00:80:c6:fa:9f:21 on ep0 arp: 192.168.1.4 moved from
00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 Nov 23 18:25:05
fat_man /kernel: arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21 to
00:06:25:10:e0:03 on ep0 arp: 192.168.1.4 moved from
00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 Nov 23 18:27:51
fat_man /kernel: arp: 192.168.1.4 moved from 00:06:25:10:e0:03 to
00:80:c6:fa:9f:21 on ep0 arp: 192.168.1.4 moved from
00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 Nov 23 18:31:39
fat_man /kernel: arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21 to
00:06:25:10:e0:03 on ep0




This means that you've got one machine (192.168.1.4) with two network cards
plugged into the same hub.  These messages are FreeBSD saying hey, traffic
for this IP came from one NIC (00:06:25:10:e0:03) and now it's coming from
another (00:80:c6:fa:9f:21)..  This is a problem with your network setup.


You don't mention if this machine is the box connected via ATT on 
dynamic IP or not, but if ep0 is the outside interface on that box then 
I wouldn't worry about the Ethernet addresses of your first hop 
changing. I have a cable modem from Blueyonder in the UK and the first 
hop's ethernet address shifts several times a day which results in the 
sort of error messages that you are seeing. Rumour has it that this 
shifting ethernet address is due to some funkyness in the setup of the 
Cisco hardware that Blueyonder's network runs on, but there's never been 
any decisive answer from anyone in Blueyonder.

Hope that helps.

Andrew.



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


Re: howto convert a avi file to an mpg file

2002-12-04 Thread Scott A. Moberly

 using console (shell) tools.

 FreeBSD 4.7-r

 all the programs I could find in ports were Xwindows
 programs. I'm trying the make VCDs of avi's via

 avi2mpg
 vcdimager
 cdrdao (with IDE/SCSI emulation)

 the last two steps work fine with MPGs I just
 need a shell tool to convert file format.

 thanks

 Fuz

Try transcode, i.e. /usr/ports/graphics/transcode (might've been moved to
multimedia).



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



run command on logfile before it's rotated

2002-12-04 Thread Thomas von Hassel
I've got my system set up to rotate the maillog every day at midnight. 
What do i do if i want to run a command on the logfile just before it's 
rotated ?

/thomas
--
Thomas von Hassel
DarX @ irc
darxmac @ AIM/iChat
Powered by inkwell...!


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


Re: how to use an etoken? (ignore first post)

2002-12-04 Thread Bsd Neophyte

--- Marc Perisa [EMAIL PROTECTED] wrote:
 Hi,
 
 if you mean the eToken from www.eladdin.com - no, there is no device 
 drivers for them yet build.
 
 I mailed to them and asked them if they had plans to port the software 
 to FreeBSD/*NIX or let some help them with it.
 
 They answered, that they are already on their way to port the framework 
 and an SDK to Linux.
 
 After this is done we can perhaps make a FreeBSD version out of it. Then
 
 what you propose will be possible.
 
 Until then - wait and bug them once in a while that you want FreeBSD 
 support.
 
 Marc
 
 
 
 

can't you do something with putty?

isn't a quick and dirty way to do this to have putty look for the public
key in the drive created when you plug the usb memory device into the usb
port?

for example if the ram drive is H:\ then have putty look there for the
authentication key?

maybe i'm looking at it too fundamentally and there are many things beyond
my scope.


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: atapicam

2002-12-04 Thread Vallo Kallaste
On Wed, Dec 04, 2002 at 02:26:52PM -0600, Brian Henning
[EMAIL PROTECTED] wrote:

 i am trying to get cdrtools to work. when i run 'cdrecord -scanbus' i get
 the following errors.
 
 Cdrecord 1.11a39 (i386-unknown-freebsd4.7) Copyright (C) 1995-2002 Jörg
 Schilling
 cdrecord: No such file or directory. Cannot open SCSI driver.
 cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are
 root.
 cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
 
 i understand i need to patch my src and rebuild my kernel. i have been
 reading on the mailing list archives that the atapicam is included in
 freebsd 4.7 ( the current system that i am running). I don't know what to do
 from here. Do i need to add some lines to my kernel config file? do i still
 need to manually apply the patch?
 
 do i just add this line to the kernel config file?
 device  atapicam

You are probably missing CAM framework in your kernel. RTFM the
atapicam(4) manpage, should exist on recent -stable. In case you
cannot find the local manpage, look it up on www.freebsd.org.
-- 

Vallo Kallaste
[EMAIL PROTECTED]

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



Re: sendmail stuff

2002-12-04 Thread Jens Rehsack
Yann Golanski wrote:

Quoth Jeff MacDonald on Wed, Dec 04, 2002 at 11:59:46 -0500


Step by step in all honesty

remove sendmail



Agreed.
 

install

postfix or qmail enjoy



Or exim.
 

Hm, how about using subject lines next time?


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



Re: run command on logfile before it's rotated

2002-12-04 Thread Dan Nelson
In the last episode (Dec 04), Thomas von Hassel said:
 I've got my system set up to rotate the maillog every day at
 midnight.  What do i do if i want to run a command on the logfile
 just before it's rotated ?

Run it via cron at 11:59?  newsyslog can notify a process (via a
signal) after it has rotated the log, but not before.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: sendmail

2002-12-04 Thread John Von Essen
Sendmail's configuration file is horrendous to humans because it is not 
intended to be messed around with by humans - only the beginning of 
sendmail.cf should be touched (i.e. modifying path to sendmail.cw).

REASON: You use a .mc file and m4 to build a respective sendmail.cf config 
file. In the .mc file you declare the features you want to use - within 
the .mc file you do your personal configs. The .mc file is very readable
 and is easy to work with.

-John Von Essen

On Wednesday, December 4, 2002, at 12:35 PM, Yann Golanski wrote:

Quoth Peter Jamrisko on Wed, Dec 04, 2002 at 18:08:28 +0100

OK Boys,

But I assume it must working with sendmail and then can I install
another MTA.


Sendmail has a horrendouse configuration file that takes years to
understand much less change.  Other MTAs such as Exim, Postfix and Qmail
are better designed and have clearer configuratin files.  Have a look at
all three (www.exim.org, www.postfix.org, www.qmail.org) and get the one
that you like best.

--
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus
NNGS:  nick kierun, server nngs.cosmic.org, port 9696.




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



FreeBSD, HylaFAX, and a Zoom USB modem...

2002-12-04 Thread Richard Morse
Hi!  Does anyone have any experience setting up HylaFAX to work with a Zoom
2986L USB modem in FreeBSD?

I'm running STABLE (as of last night), with device umodem (and ucom,
although that doesn't seem to do anything) enabled in the kernel.  I can
properly see the modem -- cu will connect to /dev/umodem0 and dial out,
although I don't have any modems to try connecting to.  HylaFAX seems to be
correctly installed -- I think.  Hfaxd, faxq, and faxgetty are all running,
and faxgetty was trying to do stuff with the modem (I'm only interested in
receiving faxes), but the logs that it created kept on talking about
training failed.  Does anyone have any ideas?

Another question is -- in the setup, it talked about using the cuaa devices
over the ttydx devices -- does this affect me, given that I'm using umodem0?
I tried to get ucom to attach itself, but I'm a bit out-of-my-league --
/dev/MAKEDEV ucom0 creates the device, but it doesn't seem to do anything
for actually making a device that is attached to umodem0 -- and I don't know
how to tell it to.

Thanks muchly for any help, suggestions, links, etc.,
Ricky Morse


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



need help mounting ext3 partitions from new freebsd 4.7 install

2002-12-04 Thread adsf adsf
I recently put an old hard drive in my system to install freebsd 4.7 onto, never 
having installed a bsd before

my previous setup was this -

/dev/hda 80 gig maxtor on primary on-board ide controller
/dev/hde 120 gig maxtor on promise tx1332 controller card (dont know why it got stuck 
with hde)

redhat 8 boots from /dev/hda. I added an 8 gig drive to the promise controller. linux 
saw it as /dev/hdf/

I unplugged the power to the 80 and 120 gig drives, which are ext3, and only left the 
8 gig (didnt want to accidentaly hose my linux install with fbsd) I installed bsd onto 
the 8 gig successfully.

now freebsd is identifying this 8 gig drive which is all freebsd as:

/dev/ad5s1 (partitions are /dev/ad5s1a, f, g, and e - which fbsd auto-partitioned)

I plugged my linux drives back in and booted into freebsd (I added freebsd's info into 
grub.conf since the system boots to the bootloader on the 80 gig redhat 8 drive)

it boots into freebsd, still on /ad5s1. I want to mount my ext3 partitions but I dont 
know what their device address is

fdisk defaults to /dev/ad0 which appears to be the 80 gig attatched to the mobo ide 
controller, I will try to see if i can mount that, but I cant find the 120 gig on the 
promise card, I would think it would be at /dev/ad5s0 since it is the 1st drive on the 
promise card and bsd sees the 2nd drive on the promise card (8 gig freebsd install) as 
/dev/ad5s1, but fdisk /dev/ad5s0 gives No such file or directory.

fdisk /dev/ad5s2 gives something -

*** Working on device /dev/ad5s2 ***
parameters extracted from in-core disklabel are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

fdisk: invalid fdisk partition table found
fdisk: /boot/mbr: length must be a multiple of sector size




so it cant seem to read the ext3 partitions on the 120 gig, but it can see the 
partitions on the 80 gig /dev/ad0 ok:

*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131,(Linux filesystem)
start 63, size 5124672 (2502 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 318/ head 254/ sector 63
The data for partition 2 is:
sysid 131,(Linux filesystem)
start 5124735, size 1012095 (494 Meg), flag 0
beg: cyl 319/ head 0/ sector 1;
end: cyl 381/ head 254/ sector 63
The data for partition 3 is:
sysid 130,(Linux swap or Solaris x86)
start 6136830, size 1012095 (494 Meg), flag 0
beg: cyl 382/ head 0/ sector 1;
end: cyl 444/ head 254/ sector 63
The data for partition 4 is:
sysid 15,(Extended DOS, LBA)
start 7148925, size 152922735 (74669 Meg), flag 0
beg: cyl 445/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63

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



Re: Power Management

2002-12-04 Thread Mark
- Original Message -
From: Fuzzy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 05, 2002 1:14 AM
Subject: RE: Power Management


 we have one of the new dumb APC UPSes, it uses a special
 cable that comes with the unit, (usb comes with, serial can be
 gotten with a request), looks like rj45 on 1 end and either
 usb or serial on the other end.

Hey Fuzzy, :)

I just got the APC 350AV; it also came with a RJ45 to USB cable. I wish they
would have given me a serial cable, though. :( Would have saved me a lot of
headache. So, you got the serial cable? What part-number is it? :) Then I
can happily forget about getting it to work with usb.

Thanks!

- Mark


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



Re: test

2002-12-04 Thread Alex

Dear/Beste 불량,

Tuesday, December 3, 2002, 10:15:10 AM, you wrote:

 test

 _
 MSN Messenger¸¦ ÅëÇØ ¿Â¶óÀÎ»ó¿¡ Àִ ģ±¸¿Í ´ëÈ­¸¦ ³ª´©¼¼¿ä.  
 http://messenger.msn.co.kr 


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

Please help keep the mailling list free and use the test mailing list.

-- 
Best regards/Met vriendelijke groet,
Alex


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



Re: Power Management

2002-12-04 Thread Mark
- Original Message - 
From: Fuzzy [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 05, 2002 1:48 AM
Subject: Re: Power Management


  I just got the APC 350AV; it also came with a RJ45 to USB cable. I wish
  they would have given me a serial cable, though. :( Would have saved
  me a lot of headache. So, you got the serial cable? What part-number is
  it? :) Then I can happily forget about getting it to work with usb.
 
 
 we got a good buy on the thing, $39 at Office Max.

Wow, that is dirt-cheap! :)

 the numbers on the serial end are 940-0128A. Hope this helps.

It sure did; I will order one first thing tomorrow. :)

Thanks!

- Mark


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



dc0: TX underrun

2002-12-04 Thread bowen
question 1:) I keep getting this message??

dc0: TX underrun -- increasing TX threshold

Is this normal or do I need to buy a better nic? It's currently a Linksys
10/100 pci nic ?

question 2:) Also any newer links to using freebsd as a router/firewall
using 4.7-RELEASE ?

question 3:) is tripwire obsolete now?

question 4:) Is Anyone running 4.7-RELEASE as there router/firewall with
Squid/DansGuardian installed and working and using the transparent cache
method on 4.7 release??


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



Re: best way to back up entire disk?

2002-12-04 Thread Alex

Dear/Beste Ray,

Tuesday, December 3, 2002, 12:25:48 AM, you wrote:

 [please CC me, I'm not subscribed]

 I'm looking for a way to back up my entire system in such a manner that
 if it fails and I need to restore it, I would be able to do it to any
 arbitrary disk without having to first install the base OS before
 restoring. I'm running -CURRENT.

 What I have at my disposal is a CD-RW drive (ATAPI, but that really
 doesn't matter so much with ATAPI-CAM in the tree), one disk (ad0) with
 only FreeBSD on it, and no other machines to do network backup to.

 Ideally, I want something that can automatically span multiple CD-RW's
 when writing and can be restored using only the tools on the CD-2 live
 fs. Just boot from CD-2, swap CD's, restore to a totally blank disk,
 reboot, and it's all as good as new.

 Dump/restore and tar (both using cdrecord to write) are the only things
 I can think of, but neither of these seems ideal to me.

http://www.feyrer.de/g4u/

Ghost for Unix might be the solution for you. It is released under the
BSD licence but not in the port system of FreeBSD. Check the site for
more info.

-- 
Best regards/Met vriendelijke groet,
Alex


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



Re: vinum documentation

2002-12-04 Thread Greg 'groggy' Lehey
On Saturday, 30 November 2002 at  8:39:44 +, Adam Laurie wrote:
 Greg 'groggy' Lehey wrote:


 describe the procedure for unplugging the external chassis from
 machine A, and plugging it into machine B, and bringing up the vinum
 RAID without re-initialising it (i.e. preserving the data already on
 it).


 1.  On machine A, stop Vinum.  Depending on the hardware, you may need
to shut down.
 2.  Remove the chassis from machine A.
 3.  Connect the chassis to machine B. Depending on the hardware, you
may need to shut down.
 4.  If you haven't rebooted machine B, run camcontrol rescan on the
SCSI bus to discover the new disks.
 5.  Run 'vinum start'.

 are you saying that at this point vinum will scan all disk busses and
 decide for itself that the raid exists, and reconstruct /dev/vinum?

Yes.

 i know you've said in a previous post that /dev/vinum isn't
 important, but since it contains mount points etc, i assume it's
 reasonably vital... anyway, our experience when we complete the
 steps above was that /dev/vinum/raid1 etc. didn't exist, so we
 couldn't mount the volume, which is why we went on to perform the
 other steps i described.

It looks like you got confused at some point.  It's unlikely that you
can still reconstruct what happened.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



Re: vinum documentation

2002-12-04 Thread Greg 'groggy' Lehey
On Wednesday,  4 December 2002 at  9:36:29 +, Adam Laurie wrote:
 Adam Laurie wrote:
 Greg 'groggy' Lehey wrote:


 describe the procedure for unplugging the external chassis from
 machine A, and plugging it into machine B, and bringing up the vinum
 RAID without re-initialising it (i.e. preserving the data already on
 it).



 1.  On machine A, stop Vinum.  Depending on the hardware, you may need
to shut down.
 2.  Remove the chassis from machine A.
 3.  Connect the chassis to machine B. Depending on the hardware, you
may need to shut down.
 4.  If you haven't rebooted machine B, run camcontrol rescan on the
SCSI bus to discover the new disks.
 5.  Run 'vinum start'.


 are you saying that at this point vinum will scan all disk busses and
 decide for itself that the raid exists, and reconstruct /dev/vinum?

 i know you've said in a previous post that /dev/vinum isn't important,
 but since it contains mount points etc, i assume it's reasonably
 vital... anyway, our experience when we complete the steps above was
 that /dev/vinum/raid1 etc. didn't exist, so we couldn't mount the
 volume, which is why we went on to perform the other steps i described.

 .. having now digested what youve said so far, and re-read the docco
 several times, i'm guessing the final step would be:

   6. Run 'vinum makedev'

No.  'vinum start' also creates the devices.

 in which case our mistake was doing this and 'vinum start' the wrong
 way around (and then going on to compund the problem in various
 other ways... :)

 does this make sense?

Well, it's not correct.  When you start vinum, it automatically
creates the directory if it's not already there:

  # ls -l /dev/vinum
  ls: /dev/vinum: No such file or directory
  # vinum
  vinum - ^D
  # ls -l /dev/vinum
  total 1
  crw---  1 root  wheel   91, 0x4001 Dec  5 10:11 Control
  crw---  1 root  wheel   91, 0x4002 Dec  5 10:11 control
  crw---  1 root  wheel   91, 0x4000 Dec  5 10:11 controld
  drwxrwxrwx  2 root  wheel   512 Dec  5 10:11 drive
  drwxrwxrwx  2 root  wheel   512 Dec  5 10:11 plex
  drwxrwxrwx  2 root  wheel   512 Dec  5 10:11 sd
  drwxrwxrwx  2 root  wheel   512 Dec  5 10:11 vol

Running makedev at this point won't do anything else.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



Re: vinum documentation

2002-12-04 Thread Greg 'groggy' Lehey
On Wednesday,  4 December 2002 at 14:30:10 -0400, Marc G. Fournier wrote:
 On Wed, 4 Dec 2002, Adam Laurie wrote:

 .. having now digested what youve said so far, and re-read the docco
 several times, i'm guessing the final step would be:

6. Run 'vinum makedev'

 in which case our mistake was doing this and 'vinum start' the wrong way
 around (and then going on to compund the problem in various other ways... :)

 does this make sense?

 When I ended up doing/'fixing ours, I just did the vinum start ... tried
 the vinum makedev before doing the start, and it gave an error,

Really?  What error?

 andneverthought about it *after* doing the start ...

 maybe depends on your OS version?

No, you almost never need makedev.  I can't think of any use for it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



FreeBSD 4.7 on HP Pavilion ZT1130

2002-12-04 Thread Eduardo Maestri Righes

Hi,

I tried to install the FreeBSD 4.7 on my HP Pavilion ZT1130 notebook, 
but the CD boot can't find the kernel or kernel.old, neither run 'ls' 
works at this time.
I need some information about what I can do about this situation. I 
looked for about my problem in the FreeBSD documentation and Google. I 
don't find anything.

Thanks in advance,

--
[]'s Eduardo

Eduardo Maestri Righes [EMAIL PROTECTED]



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


Re: best way to back up entire disk?

2002-12-04 Thread bastill
Quoting Alex [EMAIL PROTECTED] and others:

May I put in a word for HD caddies?
HDs are pretty cheap nowadays and purchasing two for your system instead of one
is a perfectly reasonable option.
OK, so now you can backup your in-the-case system and data complete onto your
removable HD, and put it somewhere safe. (Take it home  with you if you like)
Updating the backup is also VERY simple this way.
A big advantage is that if your working in-the-case HD falls over, your backup
which is little used, is there to install and work immediately.

YMMV of course :-)

Regards,
Brian




---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



(no subject)

2002-12-04 Thread Reference Dept at City College of San Francisco
Hello my name is Dwight Young live 660 Broadway Apt2 San Francisco CA
94133.Would like information and thank you for contact.


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



PPP-FILTER

2002-12-04 Thread Oleg Golovanov
Dear Sirs:

I have FreeBSD-3.0 with modem's pool where I must enable constraint as following
user apppuser may have access to IP set x1.x2.x3.0/27 only.

I found in pppd (which I am using) feature pass-filter and wrote to user's
.ppprc :
pass-filter 'net x1.x2.x3.0/27'
but its constraint doesn't work (user can go to any IP)
Then I tried following line in his home file .ppprc :
pass-filter 'net x1.x2.x3 mask 255.255.255.224'
It doesn't work also.

(Option PPP-FILTER in kernel and in pppd enabled.)

Does anybody know the way to solve this problem?

Please, write me directly.

Thanks,
Oleg Golovanov
Krasnoyarsk city

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



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-04 Thread Doug Reynolds
On Wed, 04 Dec 2002 11:11:32 -0600, Jack L. Stone wrote:

At 11:49 AM 12.4.2002 -0500, Doug Reynolds wrote:
On Tue, 03 Dec 2002 20:12:47 -0800, Mike Hogsett wrote:


Can't you just go down into /dev and do :


./MAKEDEV ad4 ad5 ad6 ad7

and gain access to the 4 drives on a second (supported) IDE controller?

I know i did that when i installed a promise ATA66100 addon card..  I
had to make ad4 5 6 7

although i only had 1 drive and two cdroms on the mobo controller

---
doug reynolds | the maverick | [EMAIL PROTECTED]


Yes, with RAID enabled on the MB, then it wants ad4 as first device and up
as far as FBSD is concerned. Using the ATA enable only (and not the RAID)
then it is not activated... at least on my MB with a Promise ATA100/RAID.
The MB uses jumpers for each of these.

mine wasn't RAID.  it jumps to ad4 because the mb has ad0 - ad3
---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



Enabling root ftp access

2002-12-04 Thread Lord Raiden
	Silly question.  Using ProFTPD, how do I enable access by root via FTP?  I 
need it only for short periods to be able to move and upload/update certain 
files.  I understand the security risks and the server will only need to be 
up for brief periods of time.  Anyone know how to do this?  Thanks.


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


Which one is the right FTP?

2002-12-04 Thread Lord Raiden
	Ok, got a slight dilemma.  Installed ProFTPD just a few days back and was 
trying to fire up my FTP server using /usr/libexec/ftpd.  Well low and 
behold, that's still the default FTP server for Freebsd.  I thought that 
when you installed ProFTPD it overwrote that.  If no, then where did it put 
it?  Thanks for the help.


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


Mail server howto question

2002-12-04 Thread Lord Raiden
	Ok, this is kind of a two part question. So here goes.

	1st, I need to build a mail server that does both pop and smtp.  2nd, I 
need that server to be able to do pop before smtp authentication for relaying.

	Anyone got a good tutorial on how to do that and how to setup the server 
to authenticate smtp users via pop before smtp?  What mail server 
software would I need to pull this off?  Thanks for the info!


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


Re: Which one is the right FTP?

2002-12-04 Thread Lowell Gilbert
Lord Raiden [EMAIL PROTECTED] writes:

   Ok, got a slight dilemma.  Installed ProFTPD just a few days
 back and was trying to fire up my FTP server using /usr/libexec/ftpd.
 Well low and behold, that's still the default FTP server for Freebsd.
 I thought that when you installed ProFTPD it overwrote that.  If no,
 then where did it put it?  Thanks for the help.

Ports should *not* overwrite the base system.
To find out how a port installed itself, use the pkg_info(1) command.
In this case, I think you'll find ${PREFIX}/libexec/proftpd
is what you're looking for, assuming you haven't redefined your ports
prefix.  

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



Please Confirm Your $10,000 Entries!

2002-12-04 Thread contest
Please confirm the following contest entries by 
clicking the link below:

Recommend-It Spread the Word and Win $10,000 
Sweepstakes (5 Entries) Sony DVD Player Giveaway (5 Entries)

Your confirmation link is:

http://ric1.com/irec.e?22B7F0815DE

Your confirmation page will also show you how 
you can earn additional contest entries by visiting 
great Recommend-It websites!

Don't want to hear about other contests and 
promotions? Visit the link above and uncheck the 
notification box.

---
Recommend-It, iRecommend-It and Spread the Word 
and Win are trademarks of Digital Demographics, Inc. 
All contest entries are subject to applicable 
contest rules. Visit http://iRecommend-it.com/ for more details.



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



Anyone seen a fire server?

2002-12-04 Thread Lord Raiden
	Hi all.  Got a really interesting question.  Someone mentioned this to me 
and I have yet to find evidence of it so far.  Apparently some company out 
there makes a network file server of sorts that's not your typical network 
file server.  What it is, is the box itself is a multi-port network hub of 
sorts.  Basically each network branch could plug into it (up to 25 
branches) and each would have individual access to the files on the 
box.  Now here's the trick.  The drives are stored externally and access 
via firewire.  Yup, you heard me right.  Externally, and via fire 
wire.  Apparently from what I picked up, the drives themselves are 250gig 
high speed SCSI drives enclosed in a typical external drive housing that 
sits on top of the box and connects via firewire.  The advantage being that 
you can both hot swap the drives, and you can take them over to your 
neighborhood workstation or any server on the lan, plug them in, do what 
you need, unplug them and take them back over to this network drive hub and 
plug them back in all without rebooting.  I like the idea and I'm trying to 
find who has one so I can check it out.  Anyone seen anything like this yet?


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


people communicate in the strangest ways...

2002-12-04 Thread rockneybot
Hello.  My name is he-who-cannot-be-named.  I'm being held hostage in a
small cave in Nicaragua.  I've constructed a rudimentary computing device
out of forks, rocks, and some copper wire.  Please send help.  I'll be
corresponding through this mailing list.



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



Re: maxusers and random system freezes

2002-12-04 Thread Terry Lambert
Varshavchick Alexander wrote:
 Can it be so that kernel maxusers=768 value being more than 512 leads to
 spontaneous system freezes which can take up to several hours when the
 system is just sleeping (only replying to ping) and doing nothing else,
 not allowing to telnet or anything. The system is 4.5-STABLE with much RAM
 (4 Gb) and the box has a heavy enough traffic so a bunch of other kernel
 options have been increased:

[ ...  settings ... ]

With these settings, and that much physical RAM, you should set
your KVA space to 3G (the default is 2G); have you?

Most likely, you are running out of KVA space for mappings.

-- Terry

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



Re: maxusers and random system freezes

2002-12-04 Thread Varshavchick Alexander
On Wed, 4 Dec 2002, Terry Lambert wrote:

 Varshavchick Alexander wrote:
  Can it be so that kernel maxusers=768 value being more than 512 leads to
  spontaneous system freezes which can take up to several hours when the
  system is just sleeping (only replying to ping) and doing nothing else,
  not allowing to telnet or anything. The system is 4.5-STABLE with much RAM
  (4 Gb) and the box has a heavy enough traffic so a bunch of other kernel
  options have been increased:

 [ ...  settings ... ]

 With these settings, and that much physical RAM, you should set
 your KVA space to 3G (the default is 2G); have you?

 Most likely, you are running out of KVA space for mappings.

No, I didn't do it, and I'm not sure how to perform it, can you please
advise? Thanks a lot!


 -- Terry




Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)




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



Re: maxusers and random system freezes

2002-12-04 Thread Terry Lambert
Varshavchick Alexander wrote:
  With these settings, and that much physical RAM, you should set
  your KVA space to 3G (the default is 2G); have you?
 
  Most likely, you are running out of KVA space for mappings.
 
 No, I didn't do it, and I'm not sure how to perform it, can you please
 advise? Thanks a lot!

grep -B 7 KVA_ /sys/i386/conf/LINT

-- Terry

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



Re: maxusers and random system freezes

2002-12-04 Thread Marc Recht
With these settings, and that much physical RAM, you should set
your KVA space to 3G (the default is 2G); have you?

Most likely, you are running out of KVA space for mappings.

Every now and this I hear people saying (mostly you :)) that some problems 
are KVA related or that the KVA must be increased. This makes me a bit 
curious, since I've never seen problems like that on Linux. It sounds for 
me, the not kernel hacker, a bit like something which should be set at boot 
time (or via sysctl). Have you got some pointers which explain FreeBSD's 
KVA ?

Regards,
Marc

Premature optimization is the root of all evil. -- Donald E. Knuth

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


  1   2   >