Re: Which one is the right FTP?

2002-12-04 Thread David Siebörger
At  8:12 AM on Thursday  5 December 2002, Akifyev Sergey wrote:
>   cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep -v @
> 
> should list all files in package, with path relative to prefix
> 
>   cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep @cwd
> 
> will give you the default prefix for a package.

"pkg_info -Lx proftpd" would be far less painful.


-- 
David Siebörger
[EMAIL PROTECTED]

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



hi there =)

2002-12-04 Thread Miguel haber
Hi
I just have a problem...
I'm behind an http proxy, it's 10.1.1.1 port 8080.. this is the scan of the proxy:

bash-2.05b$ nmap -P0 10.1.1.1
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on  (10.1.1.1):
(The 1585 ports scanned but not shown below are in state: filtered)
Port   State   Service
21/tcp openftp 
110/tcpclosed  pop-3   
389/tcpopenldap
443/tcpclosed  https   
445/tcpclosed  microsoft-ds
1002/tcp   openunknown 
1720/tcp   openH.323/Q.931 
5050/tcp   closed  mmcc
5190/tcp   closed  aol 
/tcp   closed  irc-serv
6667/tcp   closed  irc 
6668/tcp   closed  irc 
6699/tcp   closed  napster 
6969/tcp   closed  acmsoda 
7000/tcp   closed  afs3-fileserver 
8080/tcp   openhttp-proxy  
Nmap run completed -- 1 IP address (1 host up) scanned in 422 seconds
bash-2.05b$ 

As you see the port 8080 is open .. and I put this "export HTTP_PROXY="10.1.1.1:8080" 
in .shrc so when I try to install something from ports it connects to the proxy and 
fetch the file. and that worked ..see this when i was installing epic4:
migz# make
>> epic4-1.0.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/epic4.
>> Attempting to fetch from ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/.
fetch: epic4-1.0.1.tar.bz2: size of remote file is not known
Receiving epic4-1.0.1.tar.bz2: 32768 bytes

You see it connects to the ftp server through proxy cause i found:
bash-2.05b$ sockstat -4
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS  
root fetch  6643 tcp4   192.168.10.102:3686   10.1.1.1:8080   <-- this

The problem is .. when I try to ftp manually i get 421 remove server has closed the 
connection.. cause it doesn't connect to the ftp server through proxy.. check this:
 
$ ftp ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/
Connected to epicsol.org.
421 Service not available, remote server has closed connection.
ftp: Can't connect or login to host `ftp.epicsol.org'
$ 
in the same time i see:
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS  
migz ftp6773 tcp4   192.168.10.102:3687   209.100.173.7:21 <-- it 
doesn't connect through the proxy server..
The question is how to make ftp and ssh connect through the proxy server 10.1.1.1:8080 
?
I hope you reply as soon as possible.
Thanks.




-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

One click access to the Top Search Engines
http://www.exactsearchbar.com/mailcom


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



Re: people communicate in the strangest ways...

2002-12-04 Thread Kent Stewart
On Wednesday 04 December 2002 10:28 pm, Adam Weinberger wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> >> (12.04.2002 @ 1843 PST): rockneybot said, in 0.4K: <<
> >
> > 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.
> >
> >> end of "people communicate in the strangest ways..." from
> >> rockneybot <<
>
> I hear NetBSD has been ported to plastic silverware.
>
> I'm resisting a crack about "rock-solid security".

I was thinking more in to Custom Film Effects :).

Look at the headers.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: people communicate in the strangest ways...

2002-12-04 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>> (12.04.2002 @ 1843 PST): rockneybot said, in 0.4K: <<
> 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.
>> end of "people communicate in the strangest ways..." from rockneybot <<

I hear NetBSD has been ported to plastic silverware.

I'm resisting a crack about "rock-solid security".

# Adam


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

iD8DBQE97vIio8KM2ULHQ/0RAizVAJ4swVDFNXhmu+hm7pWtcPI2+aE5QgCgx3FV
R4YG4vbVo6Jvc6xEBbosxyE=
=i0as
-END PGP SIGNATURE-

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



Re: What happens at shutdown

2002-12-04 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>> (12.04.2002 @ 1049 PST): Stephen Montgomery-Smith said, in 0.5K: <<
> 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.)
>> end of "What happens at shutdown" from Stephen Montgomery-Smith <<

Please see shutdown(8), init(8), and halt(8).

Programs get SIGTERM (and then SIGKILL) before the disks are unmounted. This
would be disastrous otherwise, as processes could still have files open.

For your SIGUSR1 question, the answer is yes, but you should read
init(8) for more details. It's a well-written manpage. Start at line 84.

# Adam


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

iD8DBQE97vE4o8KM2ULHQ/0RArLuAKChKXKvds2q9L9zxwvFduiwZb/lUACgoC9J
J38hGdp67YR6xSP9yVEXNoc=
=Z557
-END PGP SIGNATURE-

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



Setting LOCALE

2002-12-04 Thread Odhiambo Washington
I've set some locales but get an error when running a certain script:


wash@ns2 ('tty') ~ 54 -> ma
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LC_ALL = "en_US.UTF-8",
 LC_CTYPE = "ja_JP.UTF-8",
 LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


Pointers ro the howto install??



-Wash

-- 
Odhiambo Washington   <[EMAIL PROTECTED]>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


In English, every word can be verbed.  Would that it were so in our
programming languages.

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



Re: Mail server howto question

2002-12-04 Thread Wilkinson,Alex
http://www.au.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html

 - aW


>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 Wilkinson,Alex
cat /usr/ports/ftp/proftpd/pkg-plist

 - aW


>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



Re: Enabling root ftp access

2002-12-04 Thread Wilkinson,Alex
Comment out root in the file /etc/ftpusers

 - aW


>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



Re: Which one is the right FTP?

2002-12-04 Thread Akifyev Sergey
On Thu, 2002-12-05 at 06:41, Lord Raiden wrote:
>   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.

cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep -v @

should list all files in package, with path relative to prefix

cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep @cwd

will give you the default prefix for a package.
 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

Regards,
Sergey


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



Re: Mail server howto question

2002-12-04 Thread Kurt Bigler
on 12/4/02 7:48 PM, Lord Raiden <[EMAIL PROTECTED]> wrote:

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

qmail+vpopmail does this.  It is working fine for me.  You can set the life
span of the smtp authorization (how long after a pop smtp accesses are
allowed).  When it expires it requires another pop before smtp is allowed.

Only problem is I find that one send attempt will fail even if I program the
email client to check before sending.  I suppose if there is not enough time
between the pop and the smtp this will happen.  Retrying receive+send at the
client once gets rid of the problem until it expires again.  If you check
email regularly all day it may only expire once a day.

So people using the feature will have to get used to getting the one error
and retrying after each time it is allowed to expire, unless they can
program (or manually arrange) a sufficient delay between popping and sending
in their client.



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

I bought a Dell 600SC last month -- supports 3 ide channels
(supposedly the second one is only cds).

Seems pretty good -- like the construction, easy to work with --
cost about $385US with all the rebates and shipping...
came with 128 Mbyte DDR and 20 gig disk -- bought another 512 Mbyte ECC
ram and another 80 Gig disk...also has embedded gigabit ethernet and 
8 mbyte ATI graphics

marty


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 Akifyev Sergey
On Thu, 2002-12-05 at 01:02, Nathan Kinkade wrote:
> On Wed, Dec 04, 2002 at 10:51:43PM +0100, Thomas von Hassel wrote:
> > 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...!
> 
> How about just setting a cron job to run some reasonable period prior 
> to newsyslog being run?

It's incorrect way to do things, because some entries could be added to
syslog _after_ the command is run, but _before_ newsyslog. Instead you
should call some script via cron with crontab entry like this:

# rotate log files every hour, if necessary
0   *   *   *   *   root/usr/bin/lock_script.sh 

And the script must contain something like:

#!/bin/sh
for $STR in `cat /etc/newsyslog.conf |grep -v '^[:space:]*#.*$'|cut
-f1`; do
lockf "${STR}" newsyslog.sh "${STR}"
done

The newsyslog.sh should contain:

#!/bin/sh
your_command "${1}"
newsyslog "${1}"

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

Regards,
Sergey


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



Two keyboards & mouses with two monitors?

2002-12-04 Thread Martin Guindon
Hi,

I was wondering if it's something I could do?

Using a dualhead (or two different graphics cards), plug in two keyboards
and two mouses... one as the standard "console + X" mode, and the second
monitor and keyboard/mouse set to a X only connection? As if I had two
computers?

Any clues on how doing it, if we -can- do it?

Or the only way woud really to create a very skinny standalone terminal
accessing remotely the X server?

Thanks!




Martin


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



Re: Opera

2002-12-04 Thread joe
On December 3, 2002 06:43 pm, Andrew Prewett wrote:
> On Dec 3 Scott Robbins wrote:
> > On Tue, Dec 03, 2002 at 04:11:29PM -0700, Peter Milne wrote:

> > I can't see one being connected to the other, but who knows?
>
>  If opera uses SysV IPC (I don't now, newer used) maybe not cleaning
> up correctly before exit/crash. List with ipcs, delete with ipcrm if
> apply. I had the same problem with compupic, which sometimes doesn't
> delete the shared memory segment.
>
Delete your installed version and reinstall the package made available 
on www.opera.com cleans up the problem.


Joe Sotham

Christianity got over the difficulty of furious opposites
by keeping them both and keeping them furious.
  - G.K. Chesterton





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 nuk
Alex wrote:


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.

 

Has anyone looked into working w/ the mondo project to bring something 
like that to *BSD systems http://www.microwerks.net/~hugo

nuk


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


Re: Enabling root ftp access

2002-12-04 Thread Mike Hogsett

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


I would recommend FTP by a user, ssh to the host as user, become root and
move the files.

 - Mike


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


Re: vinum documentation

2002-12-04 Thread Marc G. Fournier
On Thu, 5 Dec 2002, Greg 'groggy' Lehey wrote:

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

Don't recall, actually ... I may be mis-remembering though ... all I know
is that when I finally took a chance and ran 'vinum start', I didn't do
the makedev afterwards and all worked as hoped/expected ...


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



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



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


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


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


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 ATA66&100 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



FreeBSD 5.0 possible -z combreloc

2002-12-04 Thread Chad Wilson
After doing some reading here 
http://www.freebsd.org/releases/5.0R/DP2/relnotes-i386.html
I see the new binutils 2.13.1 and gcc 3.2.1 will be used in 5.0 Release. 
Will it be possible to use -z combreloc or prelinking. I couldn't find any 
info on libc to see if it is supported or not.


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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



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



(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



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



Re: maxusers and random system freezes

2002-12-04 Thread Terry Lambert
Marc Recht wrote:
> 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 ?

I have written documentation for FreeBSD 4.3/4.4.  Unfortunately,
everyone keeps substituting activity for action, and hacking away
at the code, so it doesn't sit still long enough to match any
useful documentation; otherwise, I would have published what I
wrote in Pentad Embedded Systems Journal already (example: the
KVA_PAGES stuff came in after FreeBSD 4.3/4.4, and blew out two
paragraphs on what to modify where, and how to calculate the
values to use).

The best documentation is probably Matt Dillon's article in Daemon
News, the FreeBSD Developer's handbook, or the German guy's article
in English (sorry for not remembering your name), depending on what
part of things you are interested in.

If you could get people to leave the damn code alone for a while,
I'd be willing to update my article to FreeBSD RELENG_4 (-STABLE),
and publish it.  One of the major problems with undocumented code
is that weenies are unwilling to sit down and understand it, so
they rewrite it to understand it, instead, and then you are still
without documentation.

Documentation that's "almost right" is unbelievably worse than no
documentation at all.

-- Terry

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



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



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



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



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


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 hd"e")

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



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



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



Re: New install won't boot off A7V133

2002-12-04 Thread Cliff Sarginson
On Tue, Dec 03, 2002 at 06:57:33AM -0800, Scott I. Remick wrote:
> In article , you say...
> > On Mon, Dec 02, 2002 at 08:19:36PM -0800, Scott I. Remick wrote:
> > > I just got in an ATA133 30GB drive that I am going to dedicat to FreeBSD
> on
> > > my main system (an Asus A7V133). I took off the existing 20GB (Win2000),
> put
> > > the 30GB in its place (primary master). I boot from a 4.7-REL CD I made,
> > > install goes fine... it detects the controllers, drive, I partition the
> > > whole thing for FreeBSD, setting the auto defaults, etc etc.  Everything
> > > goes swell.  Then I'm done, I reboot, take out the CD... and it just
> sits
> > > there when it should be booting from the drive.
> > > 
> > I can't tell you the solution, but by pure chance I too have been
> > fiddling with installs on a A7V133 system with a 30GB drive. I am
> > convinced there is a bug in the BIOS because it doesn't honour the boot
> > order you set in the BIOS sometimes. I did a quick experiemental install
> > of 5.0 just to see. It all went fine, and did indeed boot. However it
> > then refused to boot anything other than the HD, Despite the boot order
> > being FD, CD, HD. I got around this by rather drastic means,,,but if it
> > happens again I shall be..mmm..pissed off :)
> > 
> > Although this is not what you are seeing, it is a bit of a co-incidence.
> 
> Cliff,
> 
> Just to confirm: you get beyond the POST, to the hardware info screen, where
> you should normally start seeing the boot process, correct? Mine just sits
> there at that point.

Scott,
Yes..got beyond POST, and started booting. I supect my booting problem
may have been from a creaky CD drive, which has been replaced today.
5DP2 is now loading as we speak.
> 
> A few things I haven't done yet that I intend on are installing MS-DOS to
> the drive, as well as using a different drive, in order to determine whether
> it is FreeBSD or the specific hard drive.
> 
> What brand drive is yours, out of curiosity? Mine is an IBM DeskStar.
> 
It is a Western Digital 40 GB UDMA100 WD400BB.
As I always do I downloaded the disk diagnostic for it and run all the
test etc. It went fine.

> What BIOS version are you using? I know there's a 1010 beta out for this
> board, but I'm hesitant to try it until I've done some other things (as I
> use this computer for Win2K also).
> 
1.0A which I guess is quite old ?
I avoid flashing BIOS unless I am sure it is a problem.

> It is interesting that 5.0 boots for you... if it were truly a problem with
> the A7V133's BIOS I'd expect 5.0 to not boot also.
> 
I have all sorts of IRQ conflicts I need to sort out.
Also it does not like the onboard Ethernet and possibly the South Bridge
chipset, but I am not sure about that yet. 
I have done test installs of Linux as well, and it bitches a bit, but
also installed. But I have hardly done extensive testing on it yet.

> Anyhow, I will be troubleshooting this some more tonight. Maybe others will
> pipe in throughout the course of today with more ideas.
> 
Yup.
Well I will keep you informed. The installations I am doing are really
just in the nature of tests. I will try 4.7-Stable tomorrow, which is
probably what I will end up using on it (no reason I haven't tried it
yet, I have just mislaid the CD, and I am feeling too lazy to burn
another one tonight :). 

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



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: run command on logfile before it's rotated

2002-12-04 Thread Nathan Kinkade
On Wed, Dec 04, 2002 at 10:51:43PM +0100, Thomas von Hassel wrote:
> 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...!

How about just setting a cron job to run some reasonable period prior 
to newsyslog being run?

Nathan

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



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



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 AT&T 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: 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



atapicam

2002-12-04 Thread Brian Henning
greetings,
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


thanks for any suggestions,

brian

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



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 

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



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



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



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


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



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



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 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: 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: 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: 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: Another Jail Question

2002-12-04 Thread Jeff MacDonald
> 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 ...

hrmm yeah, i do run apache 2 currently, so i guess it does need to be opened
up.

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

Sendmail == torture :)

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


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



how to use an etoken? (ignore first post)

2002-12-04 Thread Bsd Neophyte

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?

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



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



Re: sendmail

2002-12-04 Thread Thomas von Hassel

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


002  6:35:35 PM Europe/Copenhagen
To: Peter Jamrisko <[EMAIL PROTECTED]>
Cc: freebsd question <[EMAIL PROTECTED]>
Subject: Re: sendmail
Attachments: There is 1 attachment


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.


or if you like a complete package try out http://www.courier-mta.com

/thomas


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



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



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


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



RE: Another Jail Question

2002-12-04 Thread Marc G. Fournier
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: 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 ATA66&100 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



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: Another Jail Question

2002-12-04 Thread Jeff MacDonald
> 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*

I'm just gonna use my sparc as a firewall and then deligate ip's. It's been
my plan to use it for a while as a dedicated firewall anyway.

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

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

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

cool thanks.

Jeff.


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



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



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:

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


  1   2   >