Re: [ OT ] FreeBSD Deamon Transparent Gif

2003-07-14 Thread W. D.
At 00:40 7/14/2003, Rus Foster, wrote:
Don't support anyone has a copy of the Daemon as a transparent gif they
could send me do they?

Cheers

Rus

Dude, why don't you proofread what you send out???!!!

http://images.google.com/images?q=FreeBSD+Daemon+GIF

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/

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


Re: Broken port: sendmail-milter

2003-07-14 Thread Dan Nelson
In the last episode (Jul 14), Martin Schweizer said:
 Why /usr/ports/mail/p5-Sendmail-Milter is broken? I would it
 reinstall because it occurs the following error:
 
 [snip]
 
 Starting final network daemons:
 .
 ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
 Starting standard daemons:
  inetd
  cron
  sshd
  usbd
  sendmail
 
 Why this?
 
 WARNING: Xspamassassin: local socket name /var/run/spamass-milter.sock missing

That message gets printed because sendmail is started before the
milter, which means the milter hasn't created the communication socket
yet.  You can ignore it, since the milter is started later during the
startup process anyway.  Theoretically under 5.x you could arrange it
so that spamass-milter is started before sendmail, but I don't believe
that the new rc scripts check /usr/local/etc/rc.d for dependencies yet.

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


RE: .htpasswd creation

2003-07-14 Thread Derrick Ryalls
 can somebody explain to me how to create a .htpasswd 
 password? I dont want to use online password generators.

http://httpd.apache.org/docs-2.0/howto/auth.html



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


RE: .htpasswd creation

2003-07-14 Thread admin
On Sun, 13 Jul 2003 23:18:36 -0700, Derrick Ryalls wrote
  can somebody explain to me how to create a .htpasswd 
  password? I dont want to use online password generators.
 
 http://httpd.apache.org/docs-2.0/howto/auth.html



okay thanks,

OS: FreeBSD 4.8
Apache:  1.3.27

but I am having the strangest issue with my .htaccess file

--- snip ---

AuthName Protected Area Name
AuthUserFile /usr/local/www/data/phpMyAdmin/.htpasswd
AuthType Basic
Require user noah

--- snip ---

shell# htpasswd -c .htpasswd noah
New password:
Re-type new password:
Adding password for user noah

okay so I have the proper files in place.  

shell# ls -l .ht*
-rw-r--r--  1 root  wheel  121 Jul 13 23:36 .htaccess
-rw-r-  1 root  wheel   19 Jul 13 23:33 .htpasswd
shell# pwd
/usr/local/www/data/phpMyAdmin

my browser asks for a password but I never get allowed past the password popup.



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


RE: .htpasswd creation

2003-07-14 Thread Derrick Ryalls
 
 
 On Sun, 13 Jul 2003 23:18:36 -0700, Derrick Ryalls wrote
   can somebody explain to me how to create a .htpasswd
   password? I dont want to use online password generators.
  
  http://httpd.apache.org/docs-2.0/howto/auth.html
 
 
 
 okay thanks,
 
 OS: FreeBSD 4.8
 Apache:  1.3.27
 
 but I am having the strangest issue with my .htaccess file
 
 --- snip ---
 
 AuthName Protected Area Name
 AuthUserFile /usr/local/www/data/phpMyAdmin/.htpasswd
 AuthType Basic
 Require user noah
 
 --- snip ---
 
 shell# htpasswd -c .htpasswd noah
 New password:
 Re-type new password:
 Adding password for user noah
 
 okay so I have the proper files in place.  
 
 shell# ls -l .ht*
 -rw-r--r--  1 root  wheel  121 Jul 13 23:36 .htaccess
 -rw-r-  1 root  wheel   19 Jul 13 23:33 .htpasswd
 shell# pwd
 /usr/local/www/data/phpMyAdmin
 
 my browser asks for a password but I never get allowed past 
 the password popup.


I assume you have that directory marked in your httpd.conf.  Apache
recommends putting all the config stuff that would go in .htaccess in
httpd.conf if you are the admin.  I believe that htaccess stuff is the
same for 1.3.x and 2.x, so here is what I have on a 2.x system:

Directory /usr/local/www/data/patches
AuthType Basic
AuthName Clan Files
AuthUserFile /usr/local/www/passwords
Require user fishhead
/Directory

Note:  my password file is not in a web publishable area, doesn't need
to be and was created from the link above.

So try using this method and doing a apachectl restart and see if it
fixes it for you.

-Derrick


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


Re: Can't get splash scr working - arg

2003-07-14 Thread Supote Leelasupphakorn
 --- Kevin Berrien [EMAIL PROTECTED] wrote:  4.8 has the following
 
 /boot/loader.conf
 /boot/defaults/loader.conf
 
 I edited both, and configured both individually.. with no success.
 
 :::sample from /boot/loader.conf
 
 userconfig_script_load=YES
 splash_bmp_load=YES
 bitmap_load=YES
 bitmap_name=splash.bmp
 
 :::sample from /boot/defaults/loader.conf
 
 loader_conf_files=/boot/device.hints /boot/loader.conf 
 /boot/loader.conf.local /boot/nextboot.conf
 
 verbose_loading=NO# Set to YES for verbose loader output
 
 
 ##
 ###  Splash screen configuration  
 ##
 
 splash_bmp_load=YES# Set this to YES for bmp splash screen!
 splash_pcx_load=NO# Set this to YES for pcx splash screen!
 vesa_load=NO# Set this to YES to load the vesa module
 bitmap_load=YES# Set this to YES if you want splash
 bitmap_name=/boot/splash.bmp# Set this to the name of the bmp or pcx
 file
 bitmap_type=splash_image_data
 
 Like I said, tried every combination, the stuff off that well know 
 splash website (refers to 3.2) and some of the oddities with 5.0 
 (placement of bitmap file).
 
 Anyone have any suggestion?  Install is stock 4.8-Stable except for a 
 slimmed down kernel I compiled.  I'm not aware of any kernel option 
 related to the slash.  Also, is there a way I can get a verbose logging 
 of the boot process so I can track this down.  Not that it's a big deal, 
 but when I dig into a new OS like this, if I can't do it - I make my 
 self succeed in order to learn the os better, or toss it aside as 
 non-mature.
 

  According to the comment in file /boot/defaults/loader.conf, the file 
/boot/defaults/loader.conf must be untouched but edit whatever you want in
/boot/loader.conf instead.

  I recommend you should restore the original version of
/boot/defaults/loader.conf first, append vesa_load=YES line in 
your /boot/loader.conf and use only 320*200 size of images (according to 'man 
splash') such as

-- /boot/loader.conf

userconfig_script_load=YES
vesa_load=YES
splash_bmp_load=YES
bitmap_load=YES
bitmap_name=your_splash_file_with_full_path

After done, it must be work for you.
Cheer,
  




Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to enable PCI soundcard joystick in 5.1?

2003-07-14 Thread K. Ari Krupnikov
I have a PCI soundcard with a MIDI interface with a joystick
attached. How can I configure the kernel to recognize the MIDI port?
The soundcard is recognized and sound is working.

Searching mailing list archives, I came across a couple of posts that
talk about ISA-only support for MIDIs and patches to enable PCI
versions[1]. The post talks about 4.8, and I'm too new to FreeBSD to
figure out how relevant it is for 5.1.

I have devices `pcm' and `joy' in my kernel config file, and I tried
adding `midi' and `seq' just in case, but the device doesn't seem to
get recognized:

Jul 13 23:51:34 fbsd-machine kernel: pcm0: SigmaTel STAC9721/23 AC97 Codec
Jul 13 23:51:34 fbsd-machine kernel: pci0: simple comms at device 10.0 (no driver 
attached)

On on an off chance that the kernel just doesn't know where to look
for it, I tried setting hint.joy.0.at=pci0 in /boot/device.hints,
but with to effect.

There is no joy in /dev (pun intended).

Ari.


[1] http://lists.freebsd.org/pipermail/freebsd-hardware/2003-May/000176.html

[ObUname] FreeBSD fbsd-machine.lib.aero 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Sun Jul 13 
23:22:39 PDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBSD-MACHINE  i386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysql problem

2003-07-14 Thread RJ45

Hello,
I am using IMP+mysql and after mysql is runningfor a few days I got this
error:

DB Error: connect failed
line 108 /usr/local/www/horde/lib/Prefs/sql.php

restarting mysql fixes hte problem but this happens every 2 days.
IS there anyone who got this problem too?
I have FreeBSD-4.8-STABLE.

I do not know why but same donfiguration with Linux did not gave me this
problem.
thanks

Rick


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


parameters to a kld

2003-07-14 Thread Anurag Chaudhary
hi

How can I pass load time parameters to a kld.
Also my /proc directory is empty.Why is it so?
If I have to see the address of a pci port or say parallel port, how can I 
do so?

Thanx
Chaudhary Anurag
_
Polyphonic ringtones. Latest movie trailors. 
http://server1.msn.co.in/sp03/gprs/index.asp On your mobile!

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


Re: mysql problem

2003-07-14 Thread Martin Blapp

Hi,

Please reinstall your mysql port with WITH_LINUXTHREADS=YES
from the ports collection. This will fix your problems.

To run this without problems, you should upgrade to FreeBSD
4.8 STABLE, Release has a little problem.

Martin

Martin Blapp, [EMAIL PROTECTED] [EMAIL PROTECTED]
--
ImproWare AG, UNIXSP  ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: finger -l [EMAIL PROTECTED]
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhclient filling up my logfile. Help needed. Solved

2003-07-14 Thread Hasse
On Monday 14 July 2003 00.47, Lowell Gilbert wrote:
 Hasse [EMAIL PROTECTED] writes:
  I'm very satisfied with this way to solve it, cause I won't miss any
  important loginfo.

 Keep in mind that you *have* potentially removed some other messages
 from the log.  What I will probably do eventually is create a
 periodic(8) script to check for this (probably with grep -v
 dhclient), but I haven't gotten around to it yet.
 ___
Thx again.
When times come, I'll have a look into that too.
But for now, I'm happy as is.  :-)

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


Re: parameters to a kld

2003-07-14 Thread Andrey Simonenko
On Mon, 14 Jul 2003 09:01:46 + (UTC) in lucky.freebsd.questions, Anurag Chaudhary 
wrote:
 
 How can I pass load time parameters to a kld.

Not sure that it is possible, at least kldload(2) doesn't accept
any arguments, except kld file path.  Probably sysctl variables
can help.

 Also my /proc directory is empty.Why is it so?

Is procfs(5) mounted to /proc directory?  Checkout output of the
mount command and content of the /etc/fstab file.

 If I have to see the address of a pci port or say parallel port, how can I 
 do so?

dmesg(8) usually helps (also see /var/log/messages).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make install fails

2003-07-14 Thread Jamie Jones
On Mon, 14 Jul 2003 10:24:51 +0100 (BST),
 Dave Goode [EMAIL PROTECTED]
 wrote in newsgroup bish.lists.freebsd.questions:

 Is this a wise move? One of the things I've liked about FreeBSD over the years 
 is that it just works (most of the time!), with no compulsion to move to the 
 next version. If this is the case, surely we are now compelled to upgrade or 
 patch whether we want to or not?
 I hope this new development is either backed out, or made backwards-compatible 
 in some way to permit versions  4,8 to continue working.

I agree. I'm in the dark as much as you, but it may be an oversight - whoever
made the code change may not have realised the new pkg_info was so recent..
I don't know.

I run 4.5 on my router, and 5.1 on my desktop, but my server is still on
4.4 (its colocated, so rather tricky to update, and its quite busy)

I expect its reasonable to say 4.4 is too old (I'm planning on updating
it soon) but if I was on 4.6.2 I'd expect a bit more life out of it before
things stop working!

 As a work around, if you define the environment variable
 FORCE_PKG_REGISTER to anything from the command line before running
 the install, it will work (as it will skip the part that checks if the port
 is already installed.)
 
 Thanks, Jamie. I'll give that a try today and see if it works for me.

Since writing that last message, I've updated my pkg_info.
For my machine on 4.4 I needed to download and replace /usr/share/Mk/*
and then /usr/src/usr.sbin/pkg_install/*

Your /usr/share/Mk may be recent enough.. I don't know.

from there, cd to /usr/src/usr.sbin/pkg_install and
make
make install
make clean

Alternatively, download my binaries, made from 4.8-release sources.
De-tar the bzipped archive, and move the
files from usr.sbin into /usr/sbin and the files from usr.share.man.man1
into /usr/share/man/man1 - being careful to preserve file permissions.

http://www.bishopston.com/jamie/pkg_install/pkg_install_binaries_4.8.tar.bz2

(approx 90K)

Cheers, Jamie

-- 
Jamie Jones,   http://www.bishopston.com/jamie/
 164 days to Christmas!Word of the day: otorhinolaryngologist
- I'm not big, and I'm not clever - and I'm definitely not funny.
- They love their Parasite God - Yet they crucify me.
--- The valid reply address on this posting expires in 7 days time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


anyone uses fsck_y_enable=YES ?

2003-07-14 Thread Edy Lie
Do you guys use this option ?
Is it any useful ?

Thanks!
-- 
In the windoze world, I am limited by the tools that I can use, In Unix,
I am limited by my own wisdom.


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


Re: parameters to a kld

2003-07-14 Thread Anurag Chaudhary
hi

thanx for that procfs stuff. I have mounted procfs now.
I dont think you can create your own sysctl variable. If its possible, 
please tell me how.
It allows you to only set or get values of existing variables

thanx
Chaudhary Anurag

From: Andrey Simonenko [EMAIL PROTECTED]
To: Anurag Chaudhary [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: parameters to a kld
Date: Mon, 14 Jul 2003 13:14:56 +0300 (EEST)
On Mon, 14 Jul 2003 09:01:46 + (UTC) in lucky.freebsd.questions, Anurag 
Chaudhary wrote:

 How can I pass load time parameters to a kld.

Not sure that it is possible, at least kldload(2) doesn't accept
any arguments, except kld file path.  Probably sysctl variables
can help.
 Also my /proc directory is empty.Why is it so?

Is procfs(5) mounted to /proc directory?  Checkout output of the
mount command and content of the /etc/fstab file.
 If I have to see the address of a pci port or say parallel port, how can 
I
 do so?

dmesg(8) usually helps (also see /var/log/messages).
_
It's new, it's here! It's full of fun! 
http://server1.msn.co.in/sp03/messengerpromo/index.asp MSN Messenger V6.0

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


Re: parameters to a kld

2003-07-14 Thread Andrey Simonenko
On Mon, 14 Jul 2003 10:49:29 + (UTC) in lucky.freebsd.questions, Anurag Chaudhary 
wrote:
 
 thanx for that procfs stuff. I have mounted procfs now.
 I dont think you can create your own sysctl variable. If its possible, 
 please tell me how.
 It allows you to only set or get values of existing variables
 

I meaned sysctl variables inside a kld module.  As I understand
sysctl variables in kld modules are created as any other sysctl
variables in the kernel.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone uses fsck_y_enable=YES ?

2003-07-14 Thread Michal F. Hanula
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Jul 14, 2003 at 06:28:55PM +0800, Edy Lie wrote:
 Do you guys use this option ?
 Is it any useful ?
I remember a server in a hospital across the town that had no UPS and
went down about once a week due to the backup generator tests (they just
turned off the power, waited ten minutes and turned it on. If the number
of casualties was below a certain treshold, the generator was considered
to be OK). About half the times the proxy cache fs was fscked up and had
to be fscked back down manually. 

Since I've added fsck_y_enable, the server works.

(Order fsck_y_enable now and you will get this hostname= FOR FREE.)
mf

- -- 
What do you care what other people think?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/EpTx4PY2BaN84VwRAmEuAJ0bLgBxxBjMTpiutNt4qGRqU6tgqACfa58h
1A8dQnup0ldVAPNMJa82p68=
=sief
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP stealing mail??

2003-07-14 Thread Scott Mitchell
On Sun, Jul 13, 2003 at 09:19:51PM -0700, Kevin Stevens wrote:
 At a guess I suspect there's confusion between the IMAP and non-IMAP 
 clients as to where the mail spool is and who owns it.  The UW-IMAP 
 server will, by default, take the mail from the spool and put it in the 
 user directory as an mbox file - but it can be doing a lot of different 
 things.
 
 Just a thought.  FYI - I use UW-IMAP, and successfully access my mail 
 from Squirrelmail, pine, OS X's Mail program, and Outlook Express, 
 depending on what computer I'm on.  All works as one would hope WRT new 
 messages showing as new, deleted messages ending up in the right 
 folder, etc.  So it *can* work.
 
 KeS

Absolutely, it can and should just work... I'm not running uw-imap any more,
but I never had any problems with it when I was.

David, you didn't say if any of your clients were using POP rather than IMAP.
It's probably also a good idea to follow up on Kevin's suggestion and make
sure all your clients are looking in the same place for new mail (the INBOX
folder, I guess, wherever uw-imap puts it).

Are you sure you don't have any clients set to automatically move read mail
out of the INBOX and into some other folder?  That would also explain what
you're seeing.

Scott

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


Re: anyone uses fsck_y_enable=YES ?

2003-07-14 Thread Andrea Venturoli
** Reply to note from Michal F. Hanula [EMAIL PROTECTED] Mon, 14 Jul 2003 13:33:05 
+0200


  Do you guys use this option ? 

Yes.



  Is it any useful ?

Spared me 30 km in hurry many times.



 bye
av.



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


Re: .htpasswd creation

2003-07-14 Thread Jerry M. Howell II
On Sun, Jul 13, 2003 at 11:54:55PM -0700, Derrick Ryalls wrote:
  okay so I have the proper files in place.  
  
  shell# ls -l .ht*
  -rw-r--r--  1 root  wheel  121 Jul 13 23:36 .htaccess
  -rw-r-  1 root  wheel   19 Jul 13 23:33 .htpasswd
  shell# pwd
  /usr/local/www/data/phpMyAdmin
  
  my browser asks for a password but I never get allowed past 
  the password popup.
 
 
This might or might not make a difference but try changeing the group to
the same group you have apache running. If apache can't read it, it's
goinna give you an error.
-- 
Jerry M. Howell II
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone uses fsck_y_enable=YES ?

2003-07-14 Thread Steve Coile
On Mon, 14 Jul 2003, Andrea Venturoli wrote:
[...]
 Do you guys use this option ? 

Yes.

Has anyone run into a situation where you'd answer no to an fsck
question?  In what circumstances would you not answer yes?

I can't remember ever answering no to fsck: if you do, you'll still
have an unstable filesystem and won't be able to use it safely.  If you
answer yes, the contents may be wrong, but the filesystem itself will
be stable and usable.

Thoughts?

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


Re: anyone uses fsck_y_enable=YES ?

2003-07-14 Thread Jerry McAllister
 
 On Mon, 14 Jul 2003, Andrea Venturoli wrote:
 [...]
  Do you guys use this option ? 
 
 Yes.
 
 Has anyone run into a situation where you'd answer no to an fsck
 question?  In what circumstances would you not answer yes?
 
 I can't remember ever answering no to fsck: if you do, you'll still
 have an unstable filesystem and won't be able to use it safely.  If you
 answer yes, the contents may be wrong, but the filesystem itself will
 be stable and usable.

I think the main reason to answer know would be if you wanted to 
experiment with the disk as an unmounted devvice to try and figure
out some information - maybe about what went wrong or something - 
before fsck cleaned things up.   But, in usual practice, you may
just want to use the -y switch.

jerry

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


Re: mod_ssl question: using my own CA?

2003-07-14 Thread Peter Elsner
I couldn't find the sign.sh script either...  I had nothing but problems 
with mod_ssl,
then switched to Apache-SSL and all my problems went away.  I had a secure
server running in less than 30 minutes.

Peter

At 05:39 PM 7/12/2003 -0700, you wrote:
On Sat, 12 Jul 2003, admin wrote:

 OS: FreeBSD 4.8
 apache 1.3.27
 modssl 2.8.14

 goals:

 generate a server.crt file for apache
 generate a server.key file for apache
 I will be my own CA

 Hi,

 okay I am trying to find a way to overcome this most elusive and vague
 documentationt that I am finding on the modssl.org website.  I am 
completely
 confused by the documentation at this point.

 from:
 http://www.modssl.org/docs/2.7/ssl_faq.html#ToC29

 So a script named sign.sh is distributed with the mod_ssl distribution
   ^

 --- snip 
 4. Now you can use this CA to sign server CSR's in order to create real SSL
 Certificates for use inside an Apache webserver (assuming you already 
have a
 server.csr at hand):

 $ ./sign.sh server.csr

 This signs the server CSR and results in a server.crt file.

 shell# find / -name sign.sh

 % tar ztf mod_ssl-2.8.14-1.3.27.tar.gz | grep sign.sh
 mod_ssl-2.8.14-1.3.27/pkg.contrib/sign.sh
  $.02,
  /Mikko
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anything below this line, is considered a signature line.
If you do not know what a signature is within an email
STOP here and do not read any further.   Thank you.
_
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.

System Administration - It's a dirty job, but somebody said I had to do it.

If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.
(NOTE: UCE is Unsolicited Commercial Email also known as
SPAM or junk mail).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP or Compaq servers.

2003-07-14 Thread Grzegorz Czaplinski
Hi there!
Does anyone can recommend an HP or Compaq server from the most recent
line? Any experience with those systems? Problems?

I need to get two servers and HP, Comapq seems to be the only option on
the market for me.

Do we have any webpage with hardware configuration for FreeBSD?

Your help will be great!

Cheers,
gregory
--
Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl
The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F


pgp0.pgp
Description: PGP signature


Re: Support for 3ware Escalade 8500 Series

2003-07-14 Thread Peter Elsner
I've not played with the 8000 series yet, but I have had great
success with the 6000/7000 series.  What kind of problem are you
having?
Peter

At 03:06 AM 7/14/2003 +0200, you wrote:
Hi,

Does anyone have any experience running freebsd 4.7/4.8/5.1 with a 3ware
Escalade 8500 S-ATA controller.
--
Mvh,
Eivind Hestnes, Network  IT Engineer. BOFH.
Stabbursmoen Skole
SELECT 2 + 2, pi(), 'PostgreSQL is more than a calculator!';
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anything below this line, is considered a signature line.
If you do not know what a signature is within an email
STOP here and do not read any further.   Thank you.
_
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.

System Administration - It's a dirty job, but somebody said I had to do it.

If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.
(NOTE: UCE is Unsolicited Commercial Email also known as
SPAM or junk mail).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_ssl question: using my own CA?

2003-07-14 Thread Matthew Seaman
On Mon, Jul 14, 2003 at 08:34:04AM -0500, Peter Elsner wrote:
 I couldn't find the sign.sh script either...  I had nothing but problems 
 with mod_ssl,
 then switched to Apache-SSL and all my problems went away.  I had a secure
 server running in less than 30 minutes.

If you need to set yourself up as your own CA then this little page is
a very brief listing of the openssl commands you can use to do just
that.  Note that it's in the context of generating certificates to use
with the STARTTLS functionality of sendmail(8), but the certs. are
identical to what you can load into Apache for a SSL enabled web site.

http://www.sendmail.org/~ca/email/other/cagreg.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


RE: HP or Compaq servers.

2003-07-14 Thread Will Saxon
Gregory,

We have a lot of their machines, and have been happy with them. While we are still 
primarily a Microsoft shop, we do have one DL360G3 running 5.1-RELEASE without 
difficulty. We also have another just like that one running Slackware something.

We are using 2 36GB drives in a 'raid-0' stripeset off the built in Smart Array 5i+ 
controller. The machine has dual Xeon 3.06GHz processors and 2GB of ram. We have not 
had any problems with the integrated Broadcom ethernet controllers (bge driver). 
Everything is detected and works great.

I only have 2 complaints:

One is that the keyboard port doesnt seem to work with our KVM solution (a raritan 
paragon). The dongle we tried gets power from the keyboard port and that works since 
we can get video. However, we did not get any feedback from the keyboard. Plugging a 
keyboard directly into the machine works fine and using the dongle on another machine 
with the same keyboard works. We have seen this on both of the DL360G3's we have.

The other issue is that there is no health monitoring driver for FreeBSD yet. My 
understanding is that one is in development and near completion. This would be a good 
thing - making world typically kicks the fans into high speed, and the only way to 
quiet them back down is to reboot the machine. I added CPU_SUSP_HLT to the kernel on 
that machine and it seems to get noisy less often. When the fans go into high speed 
mode they are pretty loud.

Other than those two things, they are good machines that seem to work just fine with 
FreeBSD. 

-Will

 -Original Message-
 From: Grzegorz Czaplinski [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 14, 2003 9:37 AM
 To: [EMAIL PROTECTED]
 Subject: HP or Compaq servers.
 
 
 Hi there!
 Does anyone can recommend an HP or Compaq server from the most recent
 line? Any experience with those systems? Problems?
 
 I need to get two servers and HP, Comapq seems to be the only 
 option on
 the market for me.
 
 Do we have any webpage with hardware configuration for FreeBSD?
 
 Your help will be great!
 
 Cheers,
   gregory
 --
 Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl
 The Power to Serve, Right for the Power Users! - 
 http://www.FreeBSD.org/
  Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Attn: sed(1) regular expression gurus

2003-07-14 Thread D J Hawkey Jr
Hi all.

I'm getting really frustrated by a seemingly simple problem. I'm doing
this under FreeBSD 4.5.

Given these portions of an e-mail's multi-line Received header as tests:

  by some.host.at.a.com (Postfix) with ESMTP id 3A4E07B03
  by some.host.at.a.com (8.11.6) ESMTP;
  by some.host.at.a.different.com (8.11.6p2/8.11.6) ESMTP;
  by some.host.at.another.com ([123.4.56.789]) id 3A4E07B03
  by some.host.at.yet.another.com (123.4.56.789) id 3A4E07B03

I want to isolate the addresses (one for the 1st through 3rd, two for
the 4th and 5th). Here's the sed(1) command I'm playing with:

  echo by nospam.mc.mpls.visi.com (Postfix) with ESMTP id 3A4E07B03 \
  |sed -E \
-e s/by[[:space:]]+// \
-e s/(\((\[?([0-9]{1,3}\.){3}[0-9]{1,3}\]?){0}\)|id|with|E?SMTP).*//

In all cases, the parenthetical word is returned, when only the last
two should return the parenthetical word. The idea behind the first
branch of the second sed(1) command is to match anything that isn't a
digits.digits.digits.digits pattern. I've tried simpler expressions
like \(\[?[^0-9.]+\]?\), but it fails on the third example.

What the devil am I doing wrong?? Am I exercizing known bugs in GNU's
sed(1)? Can anyone dream up a different solution - please, no Perl, but
awk(1) is fine.

Thanks,
Dave

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

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


mod_ssl and password

2003-07-14 Thread Jim Pazarena
I installed the apache_modssl port last night.
I also installed my key  certificate.

 ... it WORKED without a hitch!

Is there a way to have the apachectl startssl NOT ask for a
password?  Automatic booting is stopped dead in it's tracks
with the apachectl startssl in the rc scripts.

TIA
-- 
Jim Pazarena  Box 550 mailto:[EMAIL PROTECTED]
  Queen Charlotte  BC http://www.qcislands.net/paz
  CANADA   V0T 1S0phone:250 559 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


matrox parhelia and p-series

2003-07-14 Thread Will Saxon
Has anyone tried to use these cards with X in FreeBSD? I suspect the linux driver 
cannot be made to work, but perhaps X would still work using the vesa server until a 
real driver is written?

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


Re: mod_ssl and password

2003-07-14 Thread Jonathan
Jim Pazarena wrote:
I installed the apache_modssl port last night.
I also installed my key  certificate.
 ... it WORKED without a hitch!

Is there a way to have the apachectl startssl NOT ask for a
password?  Automatic booting is stopped dead in it's tracks
with the apachectl startssl in the rc scripts.
Take a look at:

http://www.modssl.org/docs/2.6/ssl_faq.html#remove-passphrase

Regards,

Jonathan



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


Strange kernel log messages.

2003-07-14 Thread Elliot Finley
4.8-Release

I get lot's of these in my kernel log messages.

 arplookup 255.0.0.0 failed: host is not on local network
 arpresolve: can't allocate llinfo for 255.0.0.0rt

Why would it be trying to ARP for something that isn't on it's own subnet?

Elliot

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


Re: mod_ssl question: using my own CA?

2003-07-14 Thread Jonathan
Peter Elsner wrote:
I couldn't find the sign.sh script either...  I had nothing but problems 
with mod_ssl,
then switched to Apache-SSL and all my problems went away.  I had a secure
server running in less than 30 minutes.
Mine lives in:

/mod_ssl-2.8.11-1.3.27/pkg.contrib/sign.sh

HTH,

Jonathan

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


Re: sed(1) regular expression gurus

2003-07-14 Thread Rob
OK, here's a solution using awk - may be possible in sed, but awk has
more control statements for this kind of thing:

awk --posix -F'[^0-9A-Za-z.]+' '
  $1 ~ /by/ { result = $2
for (i=3; i=NF; i++) {
  if ($i ~ /^([0-9]+\.){3}[0-9]+$/) {
result = result   $i
  }
}
  print result
  }'

* Use the field separator to throw away anything that isn't a number,
letter or periodic - don't have to worry about brackets anymore
* Match lines starting with 'by' and save the second word (which should
be a hostname)
* Check the following words - if they match an IP address, they're saved
too
* Then print the result!

There may be 'neater' ways of doing it, but it's the most concise
example I could come up with.

You need to include the --posix option to get the '{3}' notation to work
(peculiar to GNU awk).

- Original Message -
From: D J Hawkey Jr [EMAIL PROTECTED]
Subject: Attn: sed(1) regular expression gurus


 Hi all.

 I'm getting really frustrated by a seemingly simple problem. I'm doing
 this under FreeBSD 4.5.

 Given these portions of an e-mail's multi-line Received header as
tests:

   by some.host.at.a.com (Postfix) with ESMTP id 3A4E07B03
   by some.host.at.a.com (8.11.6) ESMTP;
   by some.host.at.a.different.com (8.11.6p2/8.11.6) ESMTP;
   by some.host.at.another.com ([123.4.56.789]) id 3A4E07B03
   by some.host.at.yet.another.com (123.4.56.789) id 3A4E07B03

 I want to isolate the addresses (one for the 1st through 3rd, two for
 the 4th and 5th). Here's the sed(1) command I'm playing with:

   echo by nospam.mc.mpls.visi.com (Postfix) with ESMTP id 3A4E07B03
\
   |sed -E \
 -e s/by[[:space:]]+// \
 -e
s/(\((\[?([0-9]{1,3}\.){3}[0-9]{1,3}\]?){0}\)|id|with|E?SMTP).*//

 In all cases, the parenthetical word is returned, when only the last
 two should return the parenthetical word. The idea behind the first
 branch of the second sed(1) command is to match anything that isn't a
 digits.digits.digits.digits pattern. I've tried simpler expressions
 like \(\[?[^0-9.]+\]?\), but it fails on the third example.

 What the devil am I doing wrong?? Am I exercizing known bugs in GNU's
 sed(1)? Can anyone dream up a different solution - please, no Perl,
but
 awk(1) is fine.

 Thanks,
 Dave

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

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


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


Tuning FreeBSD for HIGH PERFORMANCE Web Server

2003-07-14 Thread Edy Lie
Is there any cool tips to fine tune FreeBSD so that it performs well for
Web server environment ?

Like enabling Keep Alive (which is by default), shorten the time_wait ?


-- 
In the windoze world, I am limited by the tools that I can use, In Unix,
I am limited by my own wisdom.


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


Re: ATI-Radeon-9000

2003-07-14 Thread cloper
I started with your average XFree86 configuration, you know, start with 
small memory size, screen resolution, low bit color, etc. I compiled in 
the same driver as I did under slackware on the laptop (dual boot), but 
it just gives me ati compile errors, I will have to try a reinstall and 
copy the message over because i wiped the laptop, but I will be doing 
that today.
Thanks,
[EMAIL PROTECTED]

Greg 'groggy' Lehey wrote:

On Wednesday,  9 July 2003 at 17:55:07 -0700, cloper wrote:
 

lewiz wrote:
   

On Wed, Jul 09, 2003 at 12:03:46PM -0700, cloper wrote:
 

I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video
chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to
   

I've had it working with an AIW 7200 before now.  It was just a stock
setup, very straightforward.  I don't know if there's much difference
between the 9000 and the 7200.  Have you tried using an older driver?
 

Yes I have. The odd part is that I dual boot with slackware, and X on
slackware works great. I wonder whats wrong :(
   

Well, how about starting with a description of what you've done and
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
 

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


Re: sed(1) regular expression gurus

2003-07-14 Thread D J Hawkey Jr
On Jul 15, at 12:49 AM, Rob wrote:
 
 awk --posix -F'[^0-9A-Za-z.]+' '
   $1 ~ /by/ { result = $2
 for (i=3; i=NF; i++) {
   if ($i ~ /^([0-9]+\.){3}[0-9]+$/) {
 result = result   $i
   }
 }
   print result
   }'
 
 There may be 'neater' ways of doing it, but it's the most concise
 example I could come up with.

This is better than anything I've dreamed up with sed or awk, and is
really close, but it fails on this:

  by nospam.mc.mpls.visi.com (8.11.6/8.11.6.2) with ESMTP id 3A4E07B03

The parenthetical is a [hacked] sendmail version. I don't see how the
script fails, though, as you do test for a full/complete dotted quad,
and even test for a BOL and EOL on either side it. The 8.11.6 shouldn't
match. I changed the '+'es to {1,3}s for even better precision in the
if (...), but it didn't make any difference (nor should it have).

BTW, why the one or more flag in the FS assignment?

 You need to include the --posix option to get the '{3}' notation to work
 (peculiar to GNU awk).

Kinda throws portability out the window, but I'll settle for it.

Dave

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

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


Re: RAID and NFS exports

2003-07-14 Thread Sumit Shah
FYI the only way I could recover the partitions semi successfully was 
rebuilding the arrays identically and then use gpart to recover the 
partition info.  This would last for anywhere between 1-5 hours before 
the array would get broken.  The only thing that changed on both 
systems when things started acting up was the addition of the line to 
/etc/exports.

What would be the most appropriate list to further get info on to the 
cause of this.  My best guess is there is a glitch in the HPT374 
controller or a bug in the FreeBSD driver.

Thanks,
Sumit
On Friday, July 11, 2003, at 03:34  PM, Sumit Shah wrote:

Dear FreeBSD gurus,

I apologize in advance if this is not the most appropriate list to 
post this to, but this seems the best that I can find.  Here is my 
situation, we have an Abit AT7 motherboard with onboard RAID (HPT374). 
 It has worked beautifully for us with FreeBSD 4.7 and then 4.8 for a 
good 8 months or so serving up NFS and Samba.  This morning my 
/etc/exports looked something like

/data6 machine1 machine2 -mapall=65534
/data8 machine1 machine2 -mapall=65534
I then added a line so it looked something like:

/data6 machine1 machine2 -mapall=65534
/data8 machine1 machine2 -mapall=65534
/data6 -network 10.10.10 -mask 255.255.255.0 -mapall=65534
I sent a HUP to mountd and everything seemed to work fine.  Then I 
started getting errors similar to:

ad4: hard error reading fsbn  242727552

So I rebooted and the HPT374 controller was complaining that the first 
disk in the RAID-0 configuration failed.  I thought this might be a 
bad disk, but we had an identical system with the same EXACT 
configuration and we started mountd on that with the same exports file 
from above.  A minute or two later the same type of errors and same 
complaint by the HPT374 controller about the first disk in the RAID-0 
array being bad.

I was wondering if there is any, no matter how remote, possibility 
that by adding that third line to the exports file that the raid-0 got 
corrupted somehow and if so how to maybe reverse it.  I have left 
everything else intact nothing has changed on the controller side or 
freebsd config.

Just as a note, we are not using vinum, but using the created array 
(ar0) and formatting that as UFS.

Thanks so much for getting thorugh this email!

Sumit

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

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


need more space

2003-07-14 Thread Kenzo
need more disk space
This is a two part question.
I'm running FBSD4.8

1. when I do a  df -hi  I get.
 df -hi
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ad0s2a 126M 119M -2.6M 102% 2676 13578 16% /
/dev/ad0s2f 252M 14K 232M 0% 8 32502 0% /tmp
/dev/ad0s2g 21G 2.6G 17G 13% 196822 2580776 7% /usr
/dev/ad0s2e 252M 20M 212M 8% 1144 31366 4% /var
procfs 4.0K 4.0K 0B 100% 30 1014 3% /proc

telling me that my / slice is pretty much full.
How can I tell what is part of the / slice so that I can find what is taking
the space and delete things that I don't need.

2. would it be better to try and find what is taking all the space or just
grow the slice with growfs?
Can I make the /usr slice smaller and give some to / or can I link the
directory that's taking all the space in / to somewhere in /usr?

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


Cvsup FreeBSD 5.1 builworld failed

2003-07-14 Thread Tokarev
Hi all. I left the message earlier. But the answer was simple. 
Does not cost ¨áᯮ«ì§®¢ âì cvsup 4.x- 5.x. But if there was a necessity? 


building shared library libkse.so.1
thr_libc.So: In function `sigaction':
thr_libc.So(.text+0x54): multiple definition of `_sigaction'
thr_sigaction.So(.text+0x0): first defined here
thr_libc.So: In function `sigprocmask':
thr_libc.So(.text+0x34): multiple definition of `_sigprocmask'
thr_sigprocmask.So(.text+0x0): first defined here
*** Error code 1

In Problem Report bin/53201:
The problem still exists in RELENG_5_1, preventing me from building
 5.1 on a 4.7 machine. Could someone be so kind and provide
 the two required patches for src/Makefile.inc1
 and src/lib/libpthread/support/Makefile.inc _HERE_ in bug report
 53201? I would appreciate.
 Many thanks!

It is impossible to make cvsup 4.8,4.7- 5.1? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


offtopic: NCD Exploras and FreeBSD

2003-07-14 Thread J. Seth Henry
I know this is a bit offtopic, but I'm hoping someone can help out.

I have a couple of NCD Explora 451 X terminals I picked up on the cheap.
They came with NCDware 5.1.140. Presently, I'm connecting to a FreeBSD
server running 4.8-REL with KDE 3.1.

The problem is that I've been getting random kernel panics on the
terminals. I don't have the exact message, but it goes something like
this:

assertion failure rRingPtr - ... in file lance_ordered_input.c line
99

I'm probably toast, but I thought I'd give it a shot and see if anyone
else has run into this.

Thanks,
Seth Henry

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


Use linux_base-debian instead of linux_base?

2003-07-14 Thread Kirk Strauser
I have linux_base-debian installed and working well.  However, some ports
(namely linux-ibm-jdk14 via the USE_LINUX Makefile entry) want to install
linux_base alongside it.  Can I configure my system to use linux_base-debian
for ports that want to install linux_base?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: Can't get splash scr working - arg

2003-07-14 Thread Kevin Berrien
Excellent,

Either the defaults file or adding the vesa_load did the trick.  Trouble 
is, kernel boots so fast I get like 3 seconds on the screen ha!.  Was 
more a desire to get working what I could not, than anything else.  Thanks!

Supote Leelasupphakorn wrote:

 According to the comment in file /boot/defaults/loader.conf, the file 
/boot/defaults/loader.conf must be untouched but edit whatever you want in
/boot/loader.conf instead.

 I recommend you should restore the original version of
/boot/defaults/loader.conf first, append vesa_load=YES line in 
your /boot/loader.conf and use only 320*200 size of images (according to 'man 
splash') such as

-- /boot/loader.conf

userconfig_script_load=YES
vesa_load=YES
splash_bmp_load=YES
bitmap_load=YES
bitmap_name=your_splash_file_with_full_path
After done, it must be work for you.
Cheer,
 

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


Re: IPv4/IPv6 dual-stack, IPv4-only and IPv6-only

2003-07-14 Thread othermark
Comments in-line:

In article [EMAIL PROTECTED], Francesco Casadei wrote:
 
 --UlVJffcvxoiEqYs2
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
I need to setup an IPv4/IPv6 dual-stack host,

This works as default.  Just ifconfig your ipv6 address.

 IPv4/IPv6 dual-stack host connected to the 6bone through freenet6. 

Works with the freenet port.  What this basically does is tunnel the
the ipv6 traffic between two ipv4 hosts.

 act as an IPv6 gateway for the other PC, configured as an IPv6-only host and
 IPv4-only host by installing twice FreeBSD and using dual-boot.
 
Is this possible to achieve? Does anybody know how to do this? Furthermo=

Your setup is reasonable.  You don't even need to dual boot the client
behind the firewall, let it run dual/stack too.  However, your setup 
will work the best if both the firewall and the client have publicly
routeable ipv4 addresses.  In other words NATing ipv4 via your
firewall will probably break things.  Ipv6 traffic from your client to 
your freenet6 enabled ipv6 router should work just fine.

 re,
 how can an application detect system's configuration (IPv4/IPv6, IPv4-only,
 IPv6-only)?

By looking at the configured address.  Most applications that are
enabled for ipv6 are capable of running both ipv4 or ipv6 by
abstracting the ipaddress type and changing to use a few different
function calls (inet_ntop and inet_pton mainly).

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

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


Re: need more space

2003-07-14 Thread Kirk Strauser
At 2003-07-14T16:11:52Z, Kenzo [EMAIL PROTECTED] writes:

 How can I tell what is part of the / slice so that I can find what is
 taking the space and delete things that I don't need.

Do something like:

   # du -x / | sort -rn  /tmp/du.out

and then look at the file.  That'll sort the contents of your root partition
by size so that you can see where you're losing space.

 2. would it be better to try and find what is taking all the space or just
 grow the slice with growfs?

Find the problem first.  If it's something unexpected, fix it.  Otherwise,
write back and we'll go from there.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: FreeBSD 4.8-RELEASE mutt color (color)

2003-07-14 Thread Kevin Berrien
Speaking of color.  Does anyone have a good tutorial/script to add color 
in bash as one finds in the newer linux distributions?

Kyle Jamieson wrote:

I'm running 4.8-RELEASE; relatively new to FreeBSD.  I
get color in vim and ls, but not mutt.  How can I get
color in mutt?
- yes, I've tried setting TERM=xterm-color; no change.
- yes, I've installed ncurses; no change.
- yes, I realize this may be a mutt-specific q, but
I'm asking for help here.
Thanks for any help you can give.

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 



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


RE: dmesg(.boot) has no useful boot messages

2003-07-14 Thread fbsd_user
If you all talking about the scroll lock history to capture all of
the boot messages.
You have to increase the buffer size beyond the default value of the
kernel option SC_HISTORY_SIZE.

adding  'options SC_HISTORY_SIZE=1000'  to the kernel source and
recompile, will capture the first 1000 lines of the boot messages.

Note this option reserves real memory which can not be used for
anything else. The last 1000 lines displayed on the console is all
ways scrollable by hitting the 'scroll lock keyboard key' followed
by the up arrow key to scroll through the buffer.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gary W.
Swearingen
Sent: Monday, July 14, 2003 12:08 AM
To: [EMAIL PROTECTED]
Subject: dmesg(.boot) has no useful boot messages

I've just switched from 4.8 to 5.1-CURRENT and all the dmesg files
are full of stuff that I've never seen before, like this:

6 start_16_io RW *Handler
307 start_32_io RW *Handler
308 debug RW *Handler
  309 pci R  Node
310 enable_io_modes RW *Handler Int
311 allow_unsupported_io_range R  *Handler Int
  327 usb RW Node
  328 wi R  Node
329 txerate RW *Handler Int
330 debug RW *Handler Int

which would be OK, except that all the more useful messages seem to
get scrolled off the end of the dmesg buffer so if you can't read
the
boot messages while they're flashing by on the boot console your out
of luck.  I see nothing about it in UPDATING or the handbook.

How do I turn off the more useless debugging boot messages or make
the
dmesg buffer larger?

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

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


GNOME/CUPS printing.

2003-07-14 Thread lewiz
Hi,

  I know this is slightly off-topic (I've tried asking in #GNOME on
FreeNode) but does anybody here use GNOME and CUPS for printing?  I've
got my printers setup nicely from CUPS (I can print test pages, etc.)
but when I try and print from GNOME they are not listed.  Some searching
on Google Groups shows that this integration was planned, but I've been
unable to determine if it's been done (an early post said it would
probably be around for GNOME2.2) and how to use it.

  Any help on getting GNOME to print to local CUPS printers would be
great.  Thanks very much,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP stealing mail??

2003-07-14 Thread David Loszewski
I had it working once before but the imap as well as squirrelmail was on
the same server.  This time the squirrelmail is on the webserver trying
to grab mail from the mailserver which has the imap service on it.  All
clients are using POP.
I'll try to look into the configuration of squirrelmail to see what it's
doing with the mail once it grabs it.

-- 
David Loszewski
[EMAIL PROTECTED]
BSDAdmins.net - Your #1 source for BSD Collaboration!

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


Re: Use linux_base-debian instead of linux_base?

2003-07-14 Thread David Gerard
Kirk Strauser ([EMAIL PROTECTED]) [030715 02:46]:

 I have linux_base-debian installed and working well.  However, some ports
 (namely linux-ibm-jdk14 via the USE_LINUX Makefile entry) want to install
 linux_base alongside it.  Can I configure my system to use linux_base-debian
 for ports that want to install linux_base?


In a related question: I have linux_base-6 and linux_base-7 installed - is
it possible to also install linux_base-debian?

(I use them for Opera, Realplayer, OpenOffice and Mozilla Firebird
nightlys.)


- d.



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


RE: logging my commands to a file so I can print it out

2003-07-14 Thread fbsd_user
Check out the command line command script.  Man script.  This
command will capture everything displayed on the screen and put it
to a file of your choose until your type in exit. You can the edit
that file to see every thing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Grant
Cooper
Sent: Sunday, July 13, 2003 11:39 PM
To: [EMAIL PROTECTED]
Subject: logging my commands to a file so I can print it out

I'm trying to print out my commands that I input into the terminal
from root
to a file so I can print it out. How can I do this?

I'm not on the list so can you email me back. Thanks..

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

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


Re: Use linux_base-debian instead of linux_base?

2003-07-14 Thread Jonathan
Kirk Strauser wrote:
I have linux_base-debian installed and working well.  However, some ports
(namely linux-ibm-jdk14 via the USE_LINUX Makefile entry) want to install
linux_base alongside it.  Can I configure my system to use linux_base-debian
for ports that want to install linux_base?
Take a look at portupgrade (/usr/ports/sysutils/portupgrade) which has 
portinstall, which you can use instead of cd /usr/ports/blah/blah  make

Then you can configure in /usr/local/etc/pkgtools.conf using ALT_PKGDEP. 
The sample in the config says:

  #   ALT_PKGDEP = {
  # # If you use apache13-modssl instead of apache13
  # 'apache-1.3.*' = 'apache+mod_ssl-1.3.*',
HTH,

Jonathan

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


Re: Tuning FreeBSD for HIGH PERFORMANCE Web Server

2003-07-14 Thread Vulpes Velox
Check out /etc/make.conf choose the closest arc for your proc and go with either
O2 or O3 optimizations.

When using O3 you may end up with a few problems. I have had a bit of problems
compiling some things when I optimized some X stuff using O3. I have not had any
problems with O2 so far.

On 14 Jul 2003 23:25:04 +0800
Edy Lie [EMAIL PROTECTED] wrote:

 Is there any cool tips to fine tune FreeBSD so that it performs well for
 Web server environment ?
 
 Like enabling Keep Alive (which is by default), shorten the time_wait ?
 
 
 -- 
 In the windoze world, I am limited by the tools that I can use, In Unix,
 I am limited by my own wisdom.
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: need more space

2003-07-14 Thread Ryan Thompson
Kenzo wrote to [EMAIL PROTECTED]:

 need more disk space
 This is a two part question.
 I'm running FBSD4.8

 1. when I do a  df -hi  I get.
  df -hi
 Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
 /dev/ad0s2a 126M 119M -2.6M 102% 2676 13578 16% /
 /dev/ad0s2f 252M 14K 232M 0% 8 32502 0% /tmp
 /dev/ad0s2g 21G 2.6G 17G 13% 196822 2580776 7% /usr
 /dev/ad0s2e 252M 20M 212M 8% 1144 31366 4% /var
 procfs 4.0K 4.0K 0B 100% 30 1014 3% /proc

 telling me that my / slice is pretty much full.
 How can I tell what is part of the / slice so that I can find what is taking
 the space and delete things that I don't need.

I do this recursively.

  cd / ; du -xd 1 | sort -n

Look at the last few lines of the output; you should see the directories
consuming the largest amount of space. If it isn't yet obvious where
you can free up space, re-run the above du(1) command on each of the
largest directories.

You've already put /tmp and /var on separate filesystems, but beware the
contents of /root (root's home directory), if you do any work as root.
You might have output logs, core files, or gawk-knows-what in root that
you've forgotten about. When / starts getting full, that's usually where
I look. :-)

 2. would it be better to try and find what is taking all the space or
 just grow the slice with growfs?

That'd be a bad idea. Anyway, 126M root is plenty for even -CURRENT in
the standard config with /var and /tmp elsewhere... more than enough for
4.8. Find out what's consuming the space, and delete it, or (carefully)
consider moving it to another filesystem.

 Can I make the /usr slice smaller and give some to / or can I link the
 directory that's taking all the space in / to somewhere in /usr?

You can certainly do the latter, as long as you're careful of what you
move out of the root filesystem. Under normal circumstances, you don't
want to move any core OS binaries out of the root, and you definitely
don't want to move anything that's used in the bootstrap process before
the other filesystems are mounted. Root's home directory is usually fair
game, because normally even without the other filesystems mounted, you
can live without it. /tmp and /var are already separate filesystems. You
can get rid of old/GENERIC kernels and modules, as long as you keep a
boot disk around in the event that you need to change hardware in a
hurry. (I usually leave GENERIC kicking around for that reason). You can
also get rid of /stand, if you can live without sysinstall(8). You can
selectively get rid of some of the binaries in /bin and /sbin if you're
sure they won't be used either by you or the system. (grep -R command
/etc /boot is an imperfect but reasonable guide). If you're very clever
and know your *own* application well, you can shrink root to a fraction
of what it is now.

Now comes the part where I tell you that most of this is usually
unnecessary. :-) Chances are good that you just need to do a bit of
summer cleaning and adjust your usage habits a bit.

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America

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


RE: Modem replies to commands mostly not seen.

2003-07-14 Thread fbsd_user
Sounds like you have echo turned off in the modems internal prom
setting. Use Hayes AT command to turn on echo function of modem
hardware.   Did these modems you tested work ok in FBSD 4.8?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gary W.
Swearingen
Sent: Monday, July 14, 2003 12:26 AM
To: [EMAIL PROTECTED]
Subject: Modem replies to commands mostly not seen.

I hooked up an external 28.8 modem after continuity-cheking the
cable
but the lights didn't seem right, as I remember them. (I've not use
my
modem for several years.)  Modem doesn't respond to terminal
emulator
commands and seems broken, so I throw in an internal (non-winmodem)
Sportster (that I've just seen working OK under Linux).  Boot
message
looks OK as it flashes by; it identifies the proper UART, IRQs, etc,
(but not an ID string from the modem -- I don't know if that's
expected or not).  I hand-set the COM # and IRQ and made things
match in /boot/device.hints.  And it sort of works.  I'm using
/dev/cuaa3.

When I run a terminal emulator (tip, seyon, and minicom, so far), I
get the same behavior: 1) Each character typed isn't seen until I
type
the next character.  2) Giving it the AT command (or most others),
it never says OK, but a few info commands, like ATI6 will slowly
spit out their reply (even ending with OK) if I bang away on the
keys, one or two characters per key.  Looks like some kind of
flow-control problem, but I've tried lots of fixes (using the
terminal
emulator's config controls) and always get the same behavior.  I've
even messed with some of the stty stuff, though I think that
should
be overruled by the terminal emulators (except maybe tip, which I
barely know).

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

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


Re: GNOME/CUPS printing.

2003-07-14 Thread K Anderson


lewiz wrote:
Hi,

  I know this is slightly off-topic (I've tried asking in #GNOME on
FreeNode) but does anybody here use GNOME and CUPS for printing?  I've
got my printers setup nicely from CUPS (I can print test pages, etc.)
but when I try and print from GNOME they are not listed.  Some searching
on Google Groups shows that this integration was planned, but I've been
unable to determine if it's been done (an early post said it would
probably be around for GNOME2.2) and how to use it.
  Any help on getting GNOME to print to local CUPS printers would be
great.  Thanks very much,
-lewiz.

By chance do you have cups-lpr installed? Be sure you read the Makefile 
and a couple of other files because you will needo to tell 
/etc/make.conf to forever more not make the lp* stuff (that information 
is in man make.conf) because cups has its own version of the lp* items. 
Everytime  you makeworld you'll wipe it out.

If you do have it installed then  you may want to uninstall it then 
reinstall a make world might have wiped it out.

From there you should then be able to print.

In a few words: Works for me. :) (Well sort of, having some sort of 
font/printer driver problem where certain fonts are squished together)

HTH

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


Color shell prompts (was Re: FreeBSD 4.8-RELEASE mutt color(color))

2003-07-14 Thread Joshua Oremzn
On Mon, Jul 14, 2003 at 12:51:43PM -0400 or thereabouts, Kevin Berrien wrote:
 Speaking of color.  Does anyone have a good tutorial/script to add color 
 in bash as one finds in the newer linux distributions?
 

The Bash-Prompt HOWTO @ tldp.org
is a good one. Just to give you an idea about how crazy this all can
get, take a look at this prompt (for zsh). Note that ^[ means the
real ESC character, not caret + left bracket. Sorry about the long lines:

PS1='%{^[[1;34m%}--[ %{^[[1;36m%}$(pwd), $(ls -1 | wc -l | tr -d  ) files / 
${SIZE}%{^[[1;34m%} ]-- --[ %{^[[1;36m%}$(date +%I:%M %p)%{^[[1;34m%} ]-- --[ 
%{^[[1;36m%}%n @ %M[$(jobs | wc -l | tr -d  )] / $(tty | sed 
s:/dev/pts/:ttyp:g;s:/dev/::g)%{^[[1;34m%} ]--
--[ %{^[[1;36m%}$(ps ax | wc -l | tr -d  ) processes%{^[[1;34m%} ]-- --[ 
%{^[[1;36m%}$(who | wc -l | tr -d  ) users%{^[[1;34m%} ]--
--[ %{^[[1;36m%}%# %{^[[1;34m%}]-- %{^[[0m%}'
PS2='%{^[[1;34m%}--[ %{^[[1;36m%}%_  %{^[[1;34m%}]-- %{^[[0m%}'

function precmd () {
let TotalBytes=0

for Bytes in $(command ls -l | grep ^- | awk '{ print $5 }')
do
let TotalBytes=$TotalBytes+$Bytes
done

if [ $TotalBytes -lt 1024 ]; then
TotalSize=$(echo -e scale=0 \n$TotalBytes \nquit | bc | tr -d '\n')
suffix= bytes
elif [ $TotalBytes -lt 1048576 ]; then
TotalSize=$(echo -e scale=0 \n$TotalBytes/1024 \nquit | bc | tr -d '\n')
suffix=K
elif [ $TotalBytes -lt 1073741824 ]; then
TotalSize=$(echo -e scale=0 \n$TotalBytes/1048576 \nquit | bc | tr -d '\n')
suffix=M
else
TotalSize=$(echo -e scale=0 \n$TotalBytes/1073741824 \nquit | bc | tr -d 
'\n')
suffix=G
fi

SIZE=${TotalSize}${suffix}

UPTIME=`uptime | sed -e 's/.* \(.* days,\)\? \(.*:..,\) .*/\1 \2/' \
  -e 's/,//g' -e 's/ up //'`
}

It makes a prompt like this, but in color:
--[ /, 33 files / 10M ]-- --[ 10:23 AM ]-- --[ oremanj @ webserver.get-linux.org[0] / 
ttyv1 ]--
--[ 136 processes ]-- --[ 4 users ]--
--[ % ]-- command-goes-here

-- Josh

P.S. Of course I don't use that prompt!

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


Re: need more space

2003-07-14 Thread Jerry McAllister
 
 need more disk space
 This is a two part question.
 I'm running FBSD4.8
 
 1. when I do a  df -hi  I get.
  df -hi
 Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
 /dev/ad0s2a 126M 119M -2.6M 102% 2676 13578 16% /
 /dev/ad0s2f 252M 14K 232M 0% 8 32502 0% /tmp
 /dev/ad0s2g 21G 2.6G 17G 13% 196822 2580776 7% /usr
 /dev/ad0s2e 252M 20M 212M 8% 1144 31366 4% /var
 procfs 4.0K 4.0K 0B 100% 30 1014 3% /proc
 
 telling me that my / slice is pretty much full.
 How can I tell what is part of the / slice so that I can find what is taking
 the space and delete things that I don't need.

Just a little quibble;your root _slice_ which looks to be ads2, doesn't 
look all that full.  But, your root _partition_ which is ads2a at 102% is 
in trouble.

All of those partitions you show in the above df look to be
in the same slice.(eg you have reversed your terminology - in
FreeBSD slice is the big main chunk named 1-4 and is divided in to 
partitions that are named a-h.

Anyway, someone else has already pointed out the du command to
you.Use that to search for what is taking up more room than
you expect.

Second, 126MB is kind of small for root nowdays, though you might
get by if you don't put anything that grows in it.   To change it,
the best way is to back up each of the partitions and then rebuild
the disk partitions from scratch and then restore the backups in to
the newly made partitions.   Use dump/restore if you have tape
or a conveniently huge other disk available.

jerry

 
 2. would it be better to try and find what is taking all the space or just
 grow the slice with growfs?
 Can I make the /usr slice smaller and give some to / or can I link the
 directory that's taking all the space in / to somewhere in /usr?
 
 Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPSEC with Dynamic IP addresses

2003-07-14 Thread Mike Tancsa
Does anyone know of any documentation on how to do this ?  I have searched 
through google and I find lots of references to people saying, use 
certificates but beyond that I havent found any actual documentation on 
how to do it.

The setup is 30 client sites with dynamic IP addresses connecting to one 
headoffice that has a static IP address. The 30 client sites all have 
unique RFC 1918 based subnets behind them.  The problem is how to do all 
the setkey business.  The client end can find out the ip address its 
dynamically assigned and then do the appropriate setkey.  But the 
headoffice cannot do the same thing as it has not built in way of knowing 
what the client endpoint is. I dont want to implement some additional 
protocol to send the HQ saying, Hi, I am IP address xxx, please contruct 
your setkey accordingly as it would be a security issue if not thought out 
correctly.  These are all very remote sites, so analog dialup is the only 
connection available.

Any pointers would be great.  Currently we are using mpd to dialup and then 
tunnel across the mpd tunnel, but there is a resource leak somewhere in 
doing this. There are other problems with this method as well so we would 
like to avoid it.

---Mike

Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make install, portupgrade, etc broken

2003-07-14 Thread Lowell Gilbert
Tim Kellers [EMAIL PROTECTED] writes:

 su-2.03# pkg_delete /var/db/pkg/nulib-3.25/

Wow.  I have no idea what that would do.  It should have been
pkg_delete nulib-3.25.  Specifying the whole path, um, it looks to
me (based, admittedly, on less than 30 seconds of looking at the
source code) like that should have given you an error message.
Are you sure you presented that transcript correctly?  [The script(1)
command can help a lot here.]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPSEC with Dynamic IP addresses

2003-07-14 Thread Stacey Roberts
Hello,

On Mon, 2003-07-14 at 18:51, Mike Tancsa wrote:
 Does anyone know of any documentation on how to do this ?  I have searched 
 through google and I find lots of references to people saying, use 
 certificates but beyond that I havent found any actual documentation on 
 how to do it.
 
 The setup is 30 client sites with dynamic IP addresses connecting to one 
 headoffice that has a static IP address. The 30 client sites all have 
 unique RFC 1918 based subnets behind them.  The problem is how to do all 
 the setkey business.  The client end can find out the ip address its 
 dynamically assigned and then do the appropriate setkey.  But the 
 headoffice cannot do the same thing as it has not built in way of knowing 
 what the client endpoint is. I dont want to implement some additional 
 protocol to send the HQ saying, Hi, I am IP address xxx, please contruct 
 your setkey accordingly as it would be a security issue if not thought out 
 correctly.  These are all very remote sites, so analog dialup is the only 
 connection available.
 
 Any pointers would be great.  Currently we are using mpd to dialup and then 
 tunnel across the mpd tunnel, but there is a resource leak somewhere in 
 doing this. There are other problems with this method as well so we would 
 like to avoid it.
 

Try this link for a starter:
http://www.wiretapped.net/~fyre/ipsec/

Hope this helps somewhat..,

Regards,

Stacey

   ---Mike
 
 Mike Tancsa,tel +1 519 651 3400
 Sentex Communications,  [EMAIL PROTECTED]
 Providing Internet since 1994www.sentex.net
 Cambridge, Ontario Canada   www.sentex.net/mike
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com


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


Re: sed(1) regular expression gurus

2003-07-14 Thread D J Hawkey Jr
On Jul 14, at 11:04 AM, D J Hawkey Jr wrote:
 
 On Jul 15, at 12:49 AM, Rob wrote:
  
  awk --posix -F'[^0-9A-Za-z.]+' '
$1 ~ /by/ { result = $2
  for (i=3; i=NF; i++) {
if ($i ~ /^([0-9]+\.){3}[0-9]+$/) {
  result = result   $i
}
  }
print result
}'
 
 This is better than anything I've dreamed up with sed or awk, and is
 really close, but it fails on this:
 
   by nospam.mc.mpls.visi.com (8.11.6/8.11.6.2) with ESMTP id 3A4E07B03

Another astute fellow offered this:

  sed -E \
-e s/by[[:space:]]+// \
-e s/\(\[?(([0-9]{1,3}\.){3}[0-9]{1,3})\]?\)/\1/ \
-e s/[[:space:]]*(\(|id|via|with|E?SMTP|;).*//

The idea being to pull anything that looks like an IP address out of
parentheses first (2nd command), then junk any other parenthetical
stuff with the other cruft on the line (3rd command).

I did learn a new syntax from your script, nonetheless. Thanks,

Dave

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

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


Re: need more space

2003-07-14 Thread Kenzo
This is what I get whtn I run  du -x / | sort -rn  /tmp/du.out
I see what I did wrong.  
thanks.
121371  /
70400   /root
29404   /root/.mozilla
29394   /root/.mozilla/default
29392   /root/.mozilla/default/vopejsxa.slt
28000   /root/.mozilla/default/vopejsxa.slt/Cache
12600   /sbin
8286/modules
6426/etc
6192/root/.kde
6186/root/.kde/share
5806/root/.kde/share/cache
5778/root/.kde/share/cache/http
5110/etc/X11
4378/bin
2766/stand
904 /root/.kde/share/cache/http/s
850 /root/.kde/share/cache/http/t
808 /root/.kde/share/cache/http/f
564 /root/.kde/share/cache/http/k
520 /root/.kde/share/cache/http/e
468 /stand/modules
390 /boot
344 /root/Skin
300 /root/.mcop
296 /root/.mcop/trader-cache
290 /etc/mail
248 /root/.kde/share/cache/http/o
244 /root/.kde/share/cache/http/g
240 /root/.kde/share/cache/http/a
214 /root/.kde/share/cache/http/p
188 /root/Skin/Blue-small
186 /root/.kde/share/cache/http/i
182 /root/.kde/share/cache/http/b
174 /root/.kde/share/apps
166 /root/.kde/share/cache/http/c
120 /root/.kde/share/config
118 /etc/periodic
114 /root/.kde/share/cache/http/u
114 /etc/defaults
110 /root/.kde/share/cache/http/r
108 /etc/ssh
94  /stand/help
84  /root/.kde/share/cache/http/l
82  /root/.kde/share/cache/http/m
80  /root/.kde/share/cache/http/0
72  /dev
66  /root/.kde/share/applnk
58  /root/.kde/share/cache/http/z
58  /root/.kde/share/cache/http/n
52  /etc/mtree
52  /etc/isdn
50  /root/.kde/share/apps/kthememgr
50  /etc/periodic/daily
48  /root/.kde/share/apps/kthememgr/Work
46  /root/.kde/share/apps/kthememgr/Work/Default
42  /etc/periodic/security
40  /root/.kde/share/apps/konqsidebartng
38  /root/.kde/share/cache/http/y
38  /root/.kde/share/apps/konqsidebartng/entries
34  /stand/etc
30  /root/.thumbnails
30  /root/.kde/share/apps/konqueror
26  /root/.kde/share/cache/favicons
24  /stand/etc/defaults
24  /root/.kde/share/applnk/Settings
22  /etc/uucp
18  /root/.thumbnails/large
18  /root/.kde/share/cache/http/h
18  /etc/periodic/weekly
16  /root/.kde/share/apps/RecentDocuments
16  /etc/namedb
14  /root/Desktop
14  /boot/defaults
12  /root/.mozilla/default/vopejsxa.slt/chrome
12  /root/.kde/share/applnk/Games
10  /root/.thumbnails/normal
10  /etc/ssl
8   /root/.qt
8   /root/.kde/share/fonts
8   /root/.kde/share/cache/http/x
8   /root/.kde/share/applnk/Multimedia
6   /root/.kde/share/services
6   /root/.kde/share/apps/kcookiejar
6   /etc/periodic/monthly
4   /root/Desktop/Trash
4   /root/.mplayer
4   /root/.kde/share/fonts/override
4   /root/.kde/share/config/session
4   /root/.kde/share/apps/nsplugins
4   /root/.kde/share/apps/khtml
4   /root/.kde/share/apps/kfm
4   /root/.kde/share/apps/kcmcss
4   /root/.kde/share/apps/kabc
4   /root/.kde/share/applnk/Utilities
4   /root/.kde/share/applnk/System
4   /root/.kde/share/applnk/Settings/Network
4   /root/.kde/share/applnk/Internet
4   /root/.kde/Autostart
4   /etc/ppp
4   /etc/gnats
2   /var
2   /usr
2   /tmp
2   /root/.kde/share/servicetypes
2   /root/.kde/share/services/searchproviders
2   /root/.kde/share/mimelnk
2   /root/.kde/share/apps/kmail
2   /root/.kde/share/apps/kfm/bookmarks
2   /root/.kde/share/apps/kfile
2   /root/.kde/share/apps/kdeprint
2   /root/.kde/share/apps/kabc/lock
2   /root/.kde/share/apps/kab
2   /root/.kde/share/apps/drkonqi
2   /root/.kde/share/applnk/Utilities/More
2   /root/.kde/share/applnk/System/More
2   /root/.kde/share/applnk/Settingsmenu
2   /root/.kde/share/applnk/Settings/System
2   /root/.kde/share/applnk/Settings/Sound
2   /root/.kde/share/applnk/Settings/Security
2   /root/.kde/share/applnk/Settings/PowerControl
2   /root/.kde/share/applnk/Settings/Peripherals
2   /root/.kde/share/applnk/Settings/Network/WebBrowsing
2   /root/.kde/share/applnk/Settings/LookNFeel
2   /root/.kde/share/applnk/Settings/Desktop
2   /root/.kde/share/applnk/Settings/Components
2   /root/.kde/share/applnk/Settings/Accessibility
2   /root/.kde/share/applnk/Office
2   /root/.kde/share/applnk/Multimedia/More
2   /root/.kde/share/applnk/Games/TacticStrategy
2   /root/.kde/share/applnk/Games/Kidsgames
2   /root/.kde/share/applnk/Games/Card
2   /root/.kde/share/applnk/Games/Board
2   /root/.kde/share/applnk/Games/Arcade
2   /root/.kde/share/applnk/Editors
2   /root/.kde/share/applnk/.hidden
2   /mnt
2   /etc/skel
2   /etc/kerberosIV
2   /dist
2   /dev/fd
2   /cdrom
1   /proc




- Original Message - 
From: Kirk Strauser [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 11:51 AM
Subject: Re: need 

Re: IPSEC with Dynamic IP addresses

2003-07-14 Thread Mike Tancsa
At 06:57 PM 14/07/2003 +0100, Stacey Roberts wrote:

Try this link for a starter:
http://www.wiretapped.net/~fyre/ipsec/
Hope this helps somewhat..,
Thanks, but there is nothing there about a dynamic IP setup.  The webpage 
is totally on the endpoints having static IPs :-(

This is the crux of my problem I am trying to solve.

---Mike 

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


Re: HP or Compaq servers.

2003-07-14 Thread Grzegorz Czaplinski
On Mon, Jul 14, 2003 at 09:59:13AM -0400, Will Saxon wrote:
 Gregory,
 
 We have a lot of their machines, and have been happy with them. While we are still 
 primarily a Microsoft shop, we do have one DL360G3 running 5.1-RELEASE without 
 difficulty. We also have another just like that one running Slackware something.
 
 We are using 2 36GB drives in a 'raid-0' stripeset off the built in Smart Array 5i+ 
 controller. The machine has dual Xeon 3.06GHz processors and 2GB of ram. We have not 
 had any problems with the integrated Broadcom ethernet controllers (bge driver). 
 Everything is detected and works great.
 
 I only have 2 complaints:
 
 One is that the keyboard port doesnt seem to work with our KVM solution (a raritan 
 paragon). The dongle we tried gets power from the keyboard port and that works since 
 we can get video. However, we did not get any feedback from the keyboard. Plugging a 
 keyboard directly into the machine works fine and using the dongle on another 
 machine with the same keyboard works. We have seen this on both of the DL360G3's we 
 have.
 
 The other issue is that there is no health monitoring driver for FreeBSD yet. My 
 understanding is that one is in development and near completion. This would be a 
 good thing - making world typically kicks the fans into high speed, and the only way 
 to quiet them back down is to reboot the machine. I added CPU_SUSP_HLT to the kernel 
 on that machine and it seems to get noisy less often. When the fans go into high 
 speed mode they are pretty loud.
 
 Other than those two things, they are good machines that seem to work just fine with 
 FreeBSD. 

Hi Will,
Thanks for the grat feedback! Your informations are great!
Anyway DL360G3 is too much for us. I was thinking about ML line, like
ML330G3 or ML350G3. No one in Polish Compaq support is willing to help
me with this as they simply don't have such knowledge.

Do you have any of ML line? Does any one here have? I need this info!

Thank you again!

Cheers,
gregory
--
Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl
The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F


pgp0.pgp
Description: PGP signature


Cvsup FreeBSD 5.1 builworld failed

2003-07-14 Thread Tokarev
Hi all. I left the message earlier. But the answer was simple. 
Does not cost ¨áᯮ«ì§®¢ âì cvsup 4.x- 5.x. But if there was a necessity? 


building shared library libkse.so.1
thr_libc.So: In function `sigaction':
thr_libc.So(.text+0x54): multiple definition of `_sigaction'
thr_sigaction.So(.text+0x0): first defined here
thr_libc.So: In function `sigprocmask':
thr_libc.So(.text+0x34): multiple definition of `_sigprocmask'
thr_sigprocmask.So(.text+0x0): first defined here
*** Error code 1

In Problem Report bin/53201:
The problem still exists in RELENG_5_1, preventing me from building
 5.1 on a 4.7 machine. Could someone be so kind and provide
 the two required patches for src/Makefile.inc1
 and src/lib/libpthread/support/Makefile.inc _HERE_ in bug report
 53201? I would appreciate.
 Many thanks!

It is impossible to make cvsup 4.8,4.7- 5.1? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Modem replies to commands mostly not seen.

2003-07-14 Thread Gary W. Swearingen
fbsd_user [EMAIL PROTECTED] writes:

 Sounds like you have echo turned off in the modems internal prom
 setting. Use Hayes AT command to turn on echo function of modem
 hardware.   Did these modems you tested work ok in FBSD 4.8?

I tried the external Sportster under 4.8 but after it wouldn't work,
I upgraded to 5.1 to lower the chances of having to go through this
again when I did switch.

I have modem manuals and played with dip switches and lots of AT
commands including ATE1 (keyboard commmands), ATF0 (I think
that's only for data that the modem sends out the phone line), ATX4
(result codes), re-init commands ATZ, ATZ1-ATZ5, ATF1, and many
others.  I've been through this several times before (on Linux) and
think I know what I'm doing (except I've never understood the
interactions of stty and serial-port-using programs like terminal
emulators.  It's strange that ATI gives it's results if I press
keys, but AT or $ don't.

I've found a place to do my FAXing, so the pressure's off on getting
this fixed.

BTW, my other question was about the dmesg files, but I should have
thought of the HISTORY_SIZE thing for at least the console.
(/var/run/dmesg.boot has 943 lines of nothing I care about.)
Someone suggested kern.consmsgbuf_size=16384.

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


Cvsup FreeBSD 5.1 builworld failed

2003-07-14 Thread Tokarev
Hi all. I left the message earlier. But the answer was simple. 
Does not cost ¨áᯮ«ì§®¢ âì cvsup 4.x- 5.x. But if there was a necessity? 


building shared library libkse.so.1
thr_libc.So: In function `sigaction':
thr_libc.So(.text+0x54): multiple definition of `_sigaction'
thr_sigaction.So(.text+0x0): first defined here
thr_libc.So: In function `sigprocmask':
thr_libc.So(.text+0x34): multiple definition of `_sigprocmask'
thr_sigprocmask.So(.text+0x0): first defined here
*** Error code 1

In Problem Report bin/53201:
The problem still exists in RELENG_5_1, preventing me from building
 5.1 on a 4.7 machine. Could someone be so kind and provide
 the two required patches for src/Makefile.inc1
 and src/lib/libpthread/support/Makefile.inc _HERE_ in bug report
 53201? I would appreciate.
 Many thanks!

It is impossible to make cvsup 4.8,4.7- 5.1? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Support for 3ware Escalade 8500 Series

2003-07-14 Thread Chad Leigh -- Shire.Net LLC
On Sunday, Jul 13, 2003, at 19:06 US/Mountain, Eivind Hestnes wrote:

Hi,

Does anyone have any experience running freebsd 4.7/4.8/5.1 with a 
3ware
Escalade 8500 S-ATA controller.


It is not listed in the 5.1 compatibility list, only up to the 7500.  
However, the controlling chipset is the same as the 7500 according to 
the Escalade website, from what I remember (I was researching this a 
week or two ago), so I bet it would work.  But I have no experience or 
exact knowledge that it does.

Chad

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


RE: HP or Compaq servers.

2003-07-14 Thread Will Saxon
 -Original Message-
 From: Grzegorz Czaplinski [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 14, 2003 2:23 PM
 To: Will Saxon
 Cc: [EMAIL PROTECTED]
 Subject: Re: HP or Compaq servers.
 
 Hi Will,
 Thanks for the grat feedback! Your informations are great!
 Anyway DL360G3 is too much for us. I was thinking about ML line, like
 ML330G3 or ML350G3. No one in Polish Compaq support is willing to help
 me with this as they simply don't have such knowledge.
 
 Do you have any of ML line? Does any one here have? I need this info!
 

Gregory,

We bought an ML370G2 about a year and a half ago. I was able to install FreeBSD on it 
and compile/boot an SMP kernel. That was about the extent of my playtime with the 
machine, which was quickly whisked off to slave away as an MS SQL 2000 server.

I know the onboard NICs work fine using the fxp driver, the onboard video works OK and 
the onboard RAID controller is also supported via the ciss driver. The fans dont get 
all loud either.

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


Re: need more space

2003-07-14 Thread Ryan Thompson
Kenzo wrote to [EMAIL PROTECTED]:

 This is what I get whtn I run  du -x / | sort -rn  /tmp/du.out
 I see what I did wrong.
 thanks.
 121371  /
 70400   /root

So my first suspicion was warranted. :-)

 29404   /root/.mozilla

For security reasons, and with few exceptions, you probably don't want
to run everyday applications as root. One of UNIX's strengths, in
general, is the ability to do almost everything as an unpriviliged user.

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America

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


Re: make install, portupgrade, etc broken

2003-07-14 Thread Tim Kellers
Just tried it again (cut and paste, not a typescipt output)

mts-128# pkg_delete /var/db/pkg/nulib-3.25/
mts-128# pkg_info /usr/ports/archivers/nulib/
pkg_info: can't find package 'nulib' installed or in a file!
mts-128# cd /var/db/pkg
mts-128# ls -la nulib*
ls: No match.
mts-128#

It seemed to work and didn't return an error

On the broken fileserver:

su-2.03# pkg_delete /var/db/pkg/nmap-2.53/
su-2.03# whereis nmap
nmap: /usr/ports/security/nmap
su-2.03# pkg_info security/nmap
pkg_info: can't find package 'nmap' installed or in a file!
su-2.03#

Tim


On Monday 14 July 2003 01:54 pm, Lowell Gilbert wrote:
 Tim Kellers [EMAIL PROTECTED] writes:
  su-2.03# pkg_delete /var/db/pkg/nulib-3.25/

 Wow.  I have no idea what that would do.  It should have been
 pkg_delete nulib-3.25.  Specifying the whole path, um, it looks to
 me (based, admittedly, on less than 30 seconds of looking at the
 source code) like that should have given you an error message.
 Are you sure you presented that transcript correctly?  [The script(1)
 command can help a lot here.]

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


Re: need more space

2003-07-14 Thread Kirk Strauser
At 2003-07-14T18:09:43Z, Kenzo [EMAIL PROTECTED] writes:

 This is what I get whtn I run  du -x / | sort -rn  /tmp/du.out I see
 what I did wrong.

Indeed.  Don't ever - ever! - log in as root for web browsing, running
applications, etc.  Really.  Don't.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: vt/ansi codes

2003-07-14 Thread abc
Re:Starting with Unix (Score:4, Insightful)
by spitzak (4019) on Sunday April 27, @01:18PM (#5819797)
(http://www.cinenet.net/~spitzak)

Terminal driver design is certainly a stupid part of Unix. Back when this was
written there certainly was a serious mess of terminals which would actually
fail non-gracefully on output designed for other terminals.

But this is not true today. Today EVERY SINGLE TERMINAL IN THE WORLD
understands ANSI escape sequences at full speed and will not choke (and will
likely display) on all ISO-8859-1 characters. It is time to scrap every single
option in the editing portion of the terminal driver. And start accepting
*both* ^H and ^? as backspace.

I would agree that in this area, morbid fear of being incompatable is
completely freezing development. Sometimes advancement is achieved by DELETING
code, not just by adding it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Use linux_base-debian instead of linux_base?

2003-07-14 Thread Kirk Strauser
At 2003-07-14T17:01:50Z, Jonathan [EMAIL PROTECTED] writes:

Jonathan,

 Take a look at portupgrade (/usr/ports/sysutils/portupgrade) which has
 portinstall, which you can use instead of cd /usr/ports/blah/blah  make

I've been using portupgrade for ages, but I hadn't thought about using it to
work around the problem.

 Then you can configure in /usr/local/etc/pkgtools.conf using
 ALT_PKGDEP. The sample in the config says:

#   ALT_PKGDEP = {
# # If you use apache13-modssl instead of apache13
# 'apache-1.3.*' = 'apache+mod_ssl-1.3.*',

I've added this to my pkgtools.conf (and the portupgrade port is the current
version):

  ALT_PKGDEP = {
'linux_base' = 'linux_base-debian'
  }

but it doesn't seem to make a difference.  Do I have to do something to make
portinstall aware of that setting?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: GNOME/CUPS printing.

2003-07-14 Thread Glenn Johnson
On Mon, Jul 14, 2003 at 10:13:22AM -0700, K Anderson wrote:


 lewiz wrote:

 Hi,
 
   I know this is slightly off-topic (I've tried asking in #GNOME on
 FreeNode) but does anybody here use GNOME and CUPS for printing?
 I've got my printers setup nicely from CUPS (I can print test pages,
 etc.) but when I try and print from GNOME they are not listed.  Some
 searching on Google Groups shows that this integration was planned,
 but I've been unable to determine if it's been done (an early post
 said it would probably be around for GNOME2.2) and how to use it.
 
   Any help on getting GNOME to print to local CUPS printers would be
 great.  Thanks very much,
 
 -lewiz.

 By chance do you have cups-lpr installed? Be sure you read the
 Makefile and a couple of other files because you will needo to
 tell /etc/make.conf to forever more not make the lp* stuff (that
 information is in man make.conf) because cups has its own version of
 the lp* items.  Everytime you makeworld you'll wipe it out.

 If you do have it installed then you may want to uninstall it then
 reinstall a make world might have wiped it out.

The cups-lpr port will install its binaries in /usr/local and is
_not_ wiped out by a 'make world'.  You just have to remember to use
/usr/local/bin/lpr rather than /usr/bin/lpr.  Setting the PATH so that
/usr/local/bin comes before /usr/bin is first is an easy way to solve
the problem.

Also, that has nothing to do with the original poster's question.  He
is asking about integration of cups in GNOME.  It is possible to print
using cups without having cups-lpr installed with utilities such as that
provided with KDE (kprinter).

To the original poster: The closest thing that is in the FreeBSD ports
system is gtklp.  This is a gtk-1.2 application though so does not
really integrate into gnome2.

I saw a printer utility in GNOME either on a Red Hat or Mandrake Linux
system that I think does integrate into gnome but I do not know what the
utility was called.  I will have to look around a bit.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make install, portupgrade, etc broken

2003-07-14 Thread Jonathan
Tim Kellers wrote:
Just tried it again (cut and paste, not a typescipt output)

mts-128# pkg_delete /var/db/pkg/nulib-3.25/
mts-128# pkg_info /usr/ports/archivers/nulib/
pkg_info: can't find package 'nulib' installed or in a file!
mts-128# cd /var/db/pkg
mts-128# ls -la nulib*
ls: No match.
mts-128#
It seemed to work and didn't return an error

On the broken fileserver:

su-2.03# pkg_delete /var/db/pkg/nmap-2.53/
su-2.03# whereis nmap
nmap: /usr/ports/security/nmap
su-2.03# pkg_info security/nmap
pkg_info: can't find package 'nmap' installed or in a file!
su-2.03#
What's wrong with your broken fileserver? You deinstall a package, you 
use the whereis command and then you run pkg_info on something that 
doesn't exist. That's perfectly correct.

Here's mine:

-su-2.05b# whereis nmap
nmap: /usr/local/bin/nmap /usr/local/man/man1/nmap.1.gz 
/usr/ports/security/nmap
-su-2.05b# pkg_info security/nmap
pkg_info: can't find package 'nmap' installed or in a file!
-su-2.05b# pkg_info nmap
pkg_info: can't find package 'nmap' installed or in a file!
-su-2.05b# pkg_info nmap-3.30
Information for nmap-3.30:

Comment:
Port scanning utility for large networks
[snip out the rest of the description]
Your broken stuff doesn't tell us anything, really. What does pkg_info 
 show you about everything you have installed?

Have happens in you try portinstall nmap which doesn't require a 
specific version?

- J

P.S. Why are you not just using the package names for your pkg commands?

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


Re: vt/ansi codes

2003-07-14 Thread Erik Trulsson
On Mon, Jul 14, 2003 at 06:41:28PM +, [EMAIL PROTECTED] wrote:
 Re:Starting with Unix (Score:4, Insightful)
 by spitzak (4019) on Sunday April 27, @01:18PM (#5819797)
 (http://www.cinenet.net/~spitzak)
 
 Terminal driver design is certainly a stupid part of Unix. Back when this was
 written there certainly was a serious mess of terminals which would actually
 fail non-gracefully on output designed for other terminals.
 
 But this is not true today. Today EVERY SINGLE TERMINAL IN THE WORLD
 understands ANSI escape sequences at full speed and will not choke (and will
 likely display) on all ISO-8859-1 characters. It is time to scrap every single

Not correct. Most terminals (and terminal emulators) might work as you
describe, but not all. Far from it.
Remember that there are lots of old hardware and software out there
that is actually used every day.  

 option in the editing portion of the terminal driver. And start accepting
 *both* ^H and ^? as backspace.
 
 I would agree that in this area, morbid fear of being incompatable is
 completely freezing development. Sometimes advancement is achieved by DELETING
 code, not just by adding it.

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Use linux_base-debian instead of linux_base?

2003-07-14 Thread Jonathan
Kirk Strauser wrote:
I've added this to my pkgtools.conf (and the portupgrade port is the current
version):
  ALT_PKGDEP = {
'linux_base' = 'linux_base-debian'
  }
but it doesn't seem to make a difference.  Do I have to do something to make
portinstall aware of that setting?
My pkg_info says this:

-su-2.05b# pkg_info | egrep -i linux_base
linux_base-7.1_5The base set of packages needed in Linux mode
So I'm guessing at:

ALT_PKGDEP = {
'linux_base-7.*' = 'linux_base-debian'
}
or something similar?

Regards,

Jonathan

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


Boot question

2003-07-14 Thread Monah Baki
Hi,

I have a remote server running freebsd 4.8  5.1 on 2 partitions. Is 
there a way to ssh to the box and modify a file that tells which 
version to run when I reboot the machine, since I can't physically be 
on it.

Thank you

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


RE: IPSEC with Dynamic IP addresses

2003-07-14 Thread Brent Wiese
 
 Does anyone know of any documentation on how to do this ?  I 
 have searched 
 through google and I find lots of references to people saying, use 
 certificates but beyond that I havent found any actual 
 documentation on 
 how to do it.

You need to use aggressive mode.

Check out this link (hopefully it'll work, if not, go to their knowledge
base/network/vpn):

http://www.snapgear.com/faqomatic/public_html/fom-serve/cache/89.html

This is somewhat specific to snapgear, but since they're running freeswan on
coldfire linux, it should be close enough to help.

Brent

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


mozilla 1.4 spell checker

2003-07-14 Thread sweetleaf
Does anyone have a binary ,XPI,  of the spell checker @ mozdev.org 
.for mozilla 1.4  natively  running on freebsd 5.1?  The only ones 
i can find for freebsd and mozilla 1.4 are linux, solaris etc... but no 
freebsd.

Thanks in advance.

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


RE: IPSEC with Dynamic IP addresses

2003-07-14 Thread Mike Tancsa
At 12:05 PM 14/07/2003 -0700, Brent Wiese wrote:
 Does anyone know of any documentation on how to do this ?  I
 have searched
 through google and I find lots of references to people saying, use
 certificates but beyond that I havent found any actual
 documentation on
 how to do it.
You need to use aggressive mode.

Check out this link (hopefully it'll work, if not, go to their knowledge
base/network/vpn):
http://www.snapgear.com/faqomatic/public_html/fom-serve/cache/89.html

This is somewhat specific to snapgear, but since they're running freeswan on
coldfire linux, it should be close enough to help.
Hi and thanks for the response.
Sorry, I should have been more clear, I want to do IPSEC on FreeBSD, not 
Linux or Linux derivatives. The two implementations are different. FreeSwan 
!= KAME (which FreeBSD is based on).  Also, I am using racoon for the keying.

---Mike

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


Cvsup FreeBSD 5.1 fail

2003-07-14 Thread Tokarev
Hi all. I left the message earlier. But the answer was simple. 
Does not cost use cvsup 4.x- 5.x. But if there was a necessity? 


building shared library libkse.so.1
thr_libc.So: In function `sigaction':
thr_libc.So(.text+0x54): multiple definition of `_sigaction'
thr_sigaction.So(.text+0x0): first defined here
thr_libc.So: In function `sigprocmask':
thr_libc.So(.text+0x34): multiple definition of `_sigprocmask'
thr_sigprocmask.So(.text+0x0): first defined here
*** Error code 1

In Problem Report bin/53201:
The problem still exists in RELENG_5_1, preventing me from building
 5.1 on a 4.7 machine. Could someone be so kind and provide
 the two required patches for src/Makefile.inc1
 and src/lib/libpthread/support/Makefile.inc _HERE_ in bug report
 53201? I would appreciate.
 Many thanks!

It is impossible to make cvsup 4.8,4.7- 5.1? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cvsup FreeBSD 5.1 fail

2003-07-14 Thread Tokarev
Hi all. I left the message earlier. But the answer was simple. 
Does not cost use cvsup 4.x- 5.x. But if there was a necessity? 


building shared library libkse.so.1
thr_libc.So: In function `sigaction':
thr_libc.So(.text+0x54): multiple definition of `_sigaction'
thr_sigaction.So(.text+0x0): first defined here
thr_libc.So: In function `sigprocmask':
thr_libc.So(.text+0x34): multiple definition of `_sigprocmask'
thr_sigprocmask.So(.text+0x0): first defined here
*** Error code 1

In Problem Report bin/53201:
The problem still exists in RELENG_5_1, preventing me from building
 5.1 on a 4.7 machine. Could someone be so kind and provide
 the two required patches for src/Makefile.inc1
 and src/lib/libpthread/support/Makefile.inc _HERE_ in bug report
 53201? I would appreciate.
 Many thanks!

It is impossible to make cvsup 4.8,4.7- 5.1? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vt/ansi codes

2003-07-14 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
[ ... ]
Terminal driver design is certainly a stupid part of Unix. Back when this was
written there certainly was a serious mess of terminals which would actually
fail non-gracefully on output designed for other terminals.
But this is not true today. Today EVERY SINGLE TERMINAL IN THE WORLD
understands ANSI escape sequences at full speed and will not choke (and will
likely display) on all ISO-8859-1 characters.
Shall we count the ways that this is wrong?

1) There exist terminals in the world which do not understand ANSI escape sequences.

2) There exist terminals that do not work at arbitrarily high wire speeds, and 
thus operate at low baud and/or require delays and padding for certain operations.

3) Most terminals display either the high-bit VT100 character graphics, the 
IBM 437 codepage (aka MS-DOS character graphics), or nothing at all.  I can't 
point to any physical device-- not one-- that I have which displays the accented 
characters from ISO-8859 by default.

It is time to scrap every single option in the editing portion of the
terminal driver.  And start accepting *both* ^H and ^? as backspace. 
The first suggestion requires a replacement that one would scrap the editing 
portions of the terminal driver with.  Nobody has come up with a better 
replacement yet.

^H is backspace, ASCII bs.  ^? is ASCII del.  Some people expect them to 
work alike; others seem to want one to delete backwards and one to delete 
forwards.  It would be nice if people agreed on this matter, in the same way 
that it would be nice if people stopped killing each other in the name of fun 
and religion...

I would agree that in this area, morbid fear of being incompatable is
completely freezing development. Sometimes advancement is achieved by DELETING
code, not just by adding it.
...but I don't conflate the relative importance of a dispute about arcane 
aspects of computing and, say, the conflict in the Middle East.  Morbid fear 
is pretty strong language and is perhaps appropriate when discussing the latter 
issue, but likely not appropriate with regard to the former issue.

--
-Chuck
PS: No, I don't want to discuss politics: it's off-topic.

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


getting old mail from root

2003-07-14 Thread RYAN vAN GINNEKEN
anyone know how to send the mail in root's Maildir to another user i 
have forwarded the the root address already but need the mail that is 
already sitting in that account.

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


Re: Setting up small network

2003-07-14 Thread Lowell Gilbert
Marc Ernst Eddy van Woerkom [EMAIL PROTECTED] writes:

 I have a small network of two boxes and experience some
 oddities so that I would be glad for some advice.

[snip]

 Where I seem to have problems is DNS.
 I get nameserver lookups (the name server is at my provider),
 which result in a phone connection, even if a local name
 (I mean something I put in /etc/hosts already)
 is resolved.

Lookups on which machine are triggering the dial out?  If you're not
running your own server, the second machine will need to do lookups
too, and will need its own hosts entries.

If you use ppp(8) to connect, you can set a filter to tell it not to
let DNS requests cause a dial...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting old mail from ro

2003-07-14 Thread Kevin Stevens


On Mon, 14 Jul 2003, RYAN vAN GINNEKEN wrote:

 anyone know how to send the mail in root's Maildir to another user i
 have forwarded the the root address already but need the mail that is
 already sitting in that account.

If you install procmail there's an appropriate incantation to accomplish
this.  If no one else posts it by this evening I can find it.

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


Re: Broken port: sendmail-milter

2003-07-14 Thread Martin Schweizer
Hello Dan

Thank you for your hint.

Am Mon, Jul 14, 2003 at 01:07:33AM -0500 Dan Nelson schrieb:
 In the last episode (Jul 14), Martin Schweizer said:
  Why /usr/ports/mail/p5-Sendmail-Milter is broken? I would it
  reinstall because it occurs the following error:
  
  [snip]
  
  Starting final network daemons:
  .
  ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
  a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
  Starting standard daemons:
   inetd
   cron
   sshd
   usbd
   sendmail
  
  Why this?
  
  WARNING: Xspamassassin: local socket name /var/run/spamass-milter.sock missing
 
 That message gets printed because sendmail is started before the
 milter, which means the milter hasn't created the communication socket
 yet.  You can ignore it, since the milter is started later during the
 startup process anyway.  Theoretically under 5.x you could arrange it
 so that spamass-milter is started before sendmail, but I don't believe
 that the new rc scripts check /usr/local/etc/rc.d for dependencies yet.
 
 -- 
   Dan Nelson
   [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 

Regards
Gruss
Mit freundlichen Grüssen

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp0.pgp
Description: PGP signature


Re: uname(3) return being truncated

2003-07-14 Thread Daniel Bye
On Sat, Jul 12, 2003 at 03:03:34PM -0400, Lowell Gilbert wrote:
 According to /usr/include/sys/utsname.h, there is a 32-byte limit on
 the string that holds the hostname.  It looks like it could be boosted
 without much trouble, but *anything* that used the utsname structure
 would need to be recompiled.  And you'd have to migrate the change
 forward.  Doesn't sound worth it to me...

Thanks for the reply, Lowell.

I agree - it does sound like a huge faff, especially when explicitly setting
$primary_hostname in Exim's config makes the problem disappear.  Nothing
else gets confused, and most server apps I'm ever likely to want to run have
an option to explicitly set the local machine's hostname anyway.

Satisfies my curiosity, though...  ;-)

Cheers,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0.pgp
Description: PGP signature


Re: getting old mail from ro

2003-07-14 Thread Kevin Stevens


On Mon, 14 Jul 2003, Kevin Stevens wrote:

 On Mon, 14 Jul 2003, RYAN vAN GINNEKEN wrote:

  anyone know how to send the mail in root's Maildir to another user i
  have forwarded the the root address already but need the mail that is
  already sitting in that account.

 If you install procmail there's an appropriate incantation to accomplish
 this.  If no one else posts it by this evening I can find it.

 KeS

Here, I found the message.  formail is part of the procmail port.  This
worked for me when I had the same question a few months ago:

  The question is: is there a way to take the messages he has
  accumulated in the local account mbox, and resubmit them to sendmail
  so that my server, recognizing that it is no longer authorized to
  receive mail for that domain, will go out and deliver them to his server?
 

formail -Y -s /usr/sbin/sendmail [EMAIL PROTECTED]  /var/spool/mail/user.

Leif

Hope it helps.

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


make index strangeness after today's cvsup of ports tree

2003-07-14 Thread Stacey Roberts
Hello,
 After today's cvsup'd ports tree (and portupgrade of gnome-2 to
latest in ports), make index returns some weird messages.

Here is the tail of it:
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
Makefile, line 27: warning: Couldn't exec cd /devel/libgnugetopt; 
make -V WRKSRC
/usr/ports/Mk/bsd.port.mk, line 1632: warning: Couldn't exec id -u
/usr/ports/Mk/bsd.port.mk, line 1680: warning: Couldn't exec
/usr/bin/basename /usr/ports/x11/xstroke
/usr/ports/Mk/bsd.port.mk, line 1691: warning: Couldn't exec
/usr/sbin/pkg_info -P 2/dev/null | /usr/bin/sed -e 's/.*: //'
/usr/ports/Mk/bsd.port.mk, line 2379: warning: Couldn't exec /bin/cat
/var/db/port.mkversion
Cannot fork: Resource temporarily unavailable
/usr/ports/Mk/bsd.port.mk, line 1691: warning: /usr/sbin/pkg_info -P
2/dev/null | /usr/bin/sed -e 's/.*: //' returned non-zero status
 Done.
#

Does anyone know what these messages mean?

Regards,

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com


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


Re: FFL License terms

2003-07-14 Thread kdk
On Mon, Jul 14, 2003 at 10:20:31AM -0700, Johnson David wrote:
 On Sunday 13 July 2003 02:29 pm, Otterro Del Agua wrote:
  Good afternoon. I was hoping to find some information here, but have
  been unable to find it so far. I'm in the process of completing media
  for release and am looking at different licensing options. I'm
  familiar with BSD, GPL, and even Poul-Henning Kamp's beer-ware
  license. I've found reference to FFL (and even FFLv2), in honor of
  Bill Fumerola. Where can I find the terms of this license?
 
 Well, where did you find this license? I've looked through my source 
 tree, and there is no reference to it that I can find, but there is a 
 reference to Bill Fumerola in calendar.
 
 David
 ___

David,

You can find a reference at Google, of course,
but the best thing I can say on this subject is
Don't feed the trolls, please.  FFL stands
for F*** Fumerola License, and is likely something
that Matt Dillon or someone else with a burr
up his you-know-where invented as a flame...

Note that the address of this supposed questioner
is hotmail.com, and think of what that means...
although he asked in a straightforward way,
I imagine that it's quite possible that it's 
just somebody trolling to stir up this hornet's
nest of flame wars..

My .02 cents, please no offence...

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


Re: make index strangeness after today's cvsup of ports tree

2003-07-14 Thread Matthew Seaman
On Mon, Jul 14, 2003 at 09:20:38PM +0100, Stacey Roberts wrote:
 Hello,
  After today's cvsup'd ports tree (and portupgrade of gnome-2 to
 latest in ports), make index returns some weird messages.
 
 Here is the tail of it:
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 Makefile, line 27: warning: Couldn't exec cd /devel/libgnugetopt; 
 make -V WRKSRC
 /usr/ports/Mk/bsd.port.mk, line 1632: warning: Couldn't exec id -u
 /usr/ports/Mk/bsd.port.mk, line 1680: warning: Couldn't exec
 /usr/bin/basename /usr/ports/x11/xstroke
 /usr/ports/Mk/bsd.port.mk, line 1691: warning: Couldn't exec
 /usr/sbin/pkg_info -P 2/dev/null | /usr/bin/sed -e 's/.*: //'
 /usr/ports/Mk/bsd.port.mk, line 2379: warning: Couldn't exec /bin/cat
 /var/db/port.mkversion
 Cannot fork: Resource temporarily unavailable
 /usr/ports/Mk/bsd.port.mk, line 1691: warning: /usr/sbin/pkg_info -P
 2/dev/null | /usr/bin/sed -e 's/.*: //' returned non-zero status
  Done.
 #
 
 Does anyone know what these messages mean?

Someone made an error when committing to ports and consequently 'make
index' goes bezerk.  I just noticed that myself.  The offending line
appears to be:

GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; make -V WRKSRC

in the x11/xstroke port.  If you try and run any make command, you'll
get a similar effect:

happy-idiot-talk:...ports/x11/xstroke:% make -V PORTSDIR
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
...

Etc. ad nauseam.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Tuning FreeBSD for HIGH PERFORMANCE Web Server

2003-07-14 Thread Jonathan Chen
On Mon, Jul 14, 2003 at 12:00:22PM -0500, Vulpes Velox wrote:
 Check out /etc/make.conf choose the closest arc for your proc and go with either
 O2 or O3 optimizations.
 
 When using O3 you may end up with a few problems. I have had a bit of problems
 compiling some things when I optimized some X stuff using O3. I have not had any
 problems with O2 so far.
 

Compiler options are not a good alternative as tips from the tuning(7)
man page. Even more importantly, -O3 compile options can generate bad
code.
-- 
Jonathan Chen [EMAIL PROTECTED]

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make index strangeness after today's cvsup of ports tree

2003-07-14 Thread Stacey Roberts
Hello Matthew,

On Mon, 2003-07-14 at 21:36, Matthew Seaman wrote:
 On Mon, Jul 14, 2003 at 09:20:38PM +0100, Stacey Roberts wrote:
  Hello,
   After today's cvsup'd ports tree (and portupgrade of gnome-2 to
  latest in ports), make index returns some weird messages.
  
  Here is the tail of it:
  cd: can't cd to /devel/libgnugetopt
  cd: can't cd to /devel/libgnugetopt
  cd: can't cd to /devel/libgnugetopt
  cd: can't cd to /devel/libgnugetopt
  cd: can't cd to /devel/libgnugetopt
  cd: can't cd to /devel/libgnugetopt
  Makefile, line 27: warning: Couldn't exec cd /devel/libgnugetopt; 
  make -V WRKSRC
  /usr/ports/Mk/bsd.port.mk, line 1632: warning: Couldn't exec id -u
  /usr/ports/Mk/bsd.port.mk, line 1680: warning: Couldn't exec
  /usr/bin/basename /usr/ports/x11/xstroke
  /usr/ports/Mk/bsd.port.mk, line 1691: warning: Couldn't exec
  /usr/sbin/pkg_info -P 2/dev/null | /usr/bin/sed -e 's/.*: //'
  /usr/ports/Mk/bsd.port.mk, line 2379: warning: Couldn't exec /bin/cat
  /var/db/port.mkversion
  Cannot fork: Resource temporarily unavailable
  /usr/ports/Mk/bsd.port.mk, line 1691: warning: /usr/sbin/pkg_info -P
  2/dev/null | /usr/bin/sed -e 's/.*: //' returned non-zero status
   Done.
  #
  
  Does anyone know what these messages mean?
 
 Someone made an error when committing to ports and consequently 'make
 index' goes bezerk.  I just noticed that myself.  The offending line
 appears to be:
 
 GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; make -V WRKSRC
 
 in the x11/xstroke port.  If you try and run any make command, you'll
 get a similar effect:
 
 happy-idiot-talk:...ports/x11/xstroke:% make -V PORTSDIR
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 ...
 

Thanks for that explanation.., I imagine this is another one of those
things that eventually sorts itself out..,

Cheers!

Stacey

 Etc. ad nauseam.
 
   Cheers,
 
   Matthew
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com


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


Do I Make world and make kernel afetr CVSUP

2003-07-14 Thread keith
Hi all,
I am following a Schlacter firewall tute and after changing the kernel
file it says 2 things that conflict
it tells me to simply make world then make kernel
but actually talks about make bulidworld and make kernel and make
installworld
I have cvsupped all srcs and a few ports
Which do I do on mt CVSUPPED to 4.8 (was 4.7) FBSD
Thanks
Keith



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


Re: Do I Make world and make kernel afetr CVSUP

2003-07-14 Thread Kris Kennaway
On Tue, Jul 15, 2003 at 07:02:12AM +1000, [EMAIL PROTECTED] wrote:
 Hi all,
 I am following a Schlacter firewall tute and after changing the kernel
 file it says 2 things that conflict
 it tells me to simply make world then make kernel
 but actually talks about make bulidworld and make kernel and make
 installworld
 I have cvsupped all srcs and a few ports
 Which do I do on mt CVSUPPED to 4.8 (was 4.7) FBSD
 Thanks

The upgrade procedure is documented in the handbook.

Kris


pgp0.pgp
Description: PGP signature


buggy optimization levels...

2003-07-14 Thread Chuck Swiger
Hi, all--

The known bugs section of the GCC info documentation lists 5 issues; man gcc 
lists none.  Can someone provide a test case for a bug involving cc -O versus 
cc -O3 under FreeBSD 4-STABLE for the x86 architecture?

What is the preferred solution?  The Dragon book and other compiler references 
have a definition of safe versus unsafe optimizations; is the problem that -O3 
enables something unsafe?  Who is responsible (FreeBSD, GNU compiler team, 
others?) for changing the compiler defaults so that -Ox will not produce 
known-invalid results, for any x?

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


  1   2   >