Re: FreeBSD routing between 2 interfaces

2003-10-01 Thread Harald Schmalzbauer
[EMAIL PROTECTED] wrote:

Dear FreeBSD users,

I urgenly need to connect 192.168.1.* network to the internet. What am I
doing wrong?
I have 2 networks, 192.168.0.* and 192.168.1.*
FreeBSD 5.1 is connected to both networks via 2 network cards, its ip is 
192.168.0.3 and 192.168.1.2.
As of now from the 192.168.1 network I can only ping the 192.168.0.1 and
192.168.0.3 machines. Nothing else. No Internet.

Rc.conf =   gateway_enable=YES, defaultrouter=192.168.0.1,
firewall_script=/etc/ipfw.rules
ipfw.rules =ipfw add pipe 1 ip from any to any in recv dc0
ipfw add pipe 2 ip from any to any out xmit dc0
ipfw pipe 1 config mask src-ip 0x bw 1024kbits/s
ipfw pipe 2 config mask dst-ip 0x bw 1024kbits/s
   Internet
   |
  192.168.0.1
Router/DHCP Server/Switch
   |
|
|
-
|   |
   |   |
|(FreeBSD 5.1 Machine - DNS/Web Server/Samba Server)
192.168.0.* clients 192.168.0.3(xl0)
192.168.1.2(dc0) (Limit Bandwidth to 192.168.1.* on this
network(dc0) card to 1024kbits max)
|
|
   Router/Switch/DHCP server
|
|
192.168.1.* clients
 

Hmm, are you sure your DHCP assigns the correct /24 mask?
Why don't you use 255.255.0.0 as subnet mask?
Haven't played with IPFW for years now so I can't say anything about 
your rules.

-Harry

___
[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]


hw.ata.wc vs soft updates

2003-10-01 Thread Sergei Vyshenski
Is it correct and/or clever to use BOTH

1) soft updates enabled and 2) hw.ata.wc=0

on FreeBSD-4.9 system?

Will it enhance chances to have consistent disk
after power loss?
How much slower it will be compared to the case of
1) soft updates enabled and 2) hw.ata.wc=1

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


kernel.GENERIC question

2003-10-01 Thread denisz
hi,

did it necessary to update the /kernel.GENERIC when doing system update?
(note that the kernel usually being used is the customized one)
and how to do that ?

thanks,

-denisz-

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


Re: kernel.GENERIC question

2003-10-01 Thread Nick Holley
denisz wrote:
hi,

did it necessary to update the /kernel.GENERIC when doing system update?
(note that the kernel usually being used is the customized one)
and how to do that ?
Sometimes, it's always good to check. I don't use a customized kernel so 
I can't speak from experience, but this might be a solution for you. 
Keep a copy of GENERIC somewhere safe where it won't get overwritten 
when you update and diff it with the new kernel whenever you update your 
source tree. From here you should be able to use your judgement to 
determine how to continue.

Nick

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


Re: Passwd command slow

2003-10-01 Thread Sunil Sunder Raj
Hi,
Try
# ktrace passwd username
# kdump -f ktrace.out
You can find out where the process stuck

Regards
SSR

From: Greg Goodman [EMAIL PROTECTED]
Reply-To: Greg Goodman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Passwd command slow
Date: Tue, 30 Sep 2003 17:51:50 -0700
Hello Everyone,

I have a server running freebsd 4.8.
When you type the command passwd it hangs for more than 2 minutes
before it finally responds and prompts to change an existing users
password.
Can anyone shed some light on this issue?

Thanks for the help.

--
Best regards,
 Greg Goodman  mailto:[EMAIL PROTECTED]
 Chief Technical Officer

  Fastserve Network
   http://www.fastserve.net
  (213)673-4440 ext 204
548 S. Spring St. Suite 1100
   Los Angeles Ca. 90013
   The Net Never Sleeps And Neither Do We
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Answer simple questions. Win a free honeymoon. 
http://server1.msn.co.in/sp03/shaadi/index.asp Sail into the sunset!

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


Sound card

2003-10-01 Thread Jarosaw Nozderko
OS:  FreeBSD 5.1-RELEASE

Hi,

 I have cheap, ISA sound card recognized as OPTi931. It works without 
problems on Linux (RH 7.3, upgraded kernel 2.4.21 + XFS) with
the following line in /etc/modules.conf:

options mad16 io=0x530 irq=5 dma=0 dma16=0 mpu_io=0x300 mpu_irq=7

I'd like to make it working under FreeBSD. After reading the 
Handbook, I've tried to use the following entries in 
/boot/device.hints:

hint.sbc.0.at=isa
hint.sbc.0.port=0x530
hint.sbc.0.irq=5
hint.sbc.0.drq=0

or:

hint.pcm.0.at=isa
hint.pcm.0.irq=5
hint.pcm.0.drq=0
hint.pcm.0.flags=0x0

I tried kernel built with both options pcm and options sbc
as well as with options pcm alone.

I still got the same result: 

/var/run/dmesg.boot:

pcm0: OPTi931 at port 0xe8d-0xe8f,0x220-0x22f,0x380-0x38b,0x534-0x537 irq 5 
drq 1,0 on isa0
AD_WAIT_INIT FAILED 1002000 0xff

(Sometimes, depending on options, it may be pcm1 instead of pcm0, but 
error is the same).

When I use pcm options only, I got warning on KDE startup Can't find /dev/dsp
and when I use sbc options, this warning does not appear. 

Shoud I put all options in kernel config file and nothing in device.hints ?

Frankly speaking, I'm not an expert in sound cards, so perhaps this is
some basic mistake.

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


Re: Using hp surestore dat 24 tape drive with Free BSD 4.8

2003-10-01 Thread Andreas Kohn
[please use reply to all to include the list]

On Wed, 2003-10-01 at 12:56, Verghese George wrote:
 Andreas,
 Thanks. The card is still not recognised when booting up. The GENERIC
 kernel does not seem to have an entry
 device trm
 
 Does it mean that I have to recompile the kernel?
 
 Thanks 
 
 Verghese George
 
Hi, 

I do not know exactly if FreeBSD 4.x has a trm module, but you might
first try to do 
kldload trm
If that does work (i.e. print some success messages), you can add
trm_load=yes 
to your /boot/loader.conf file to have the trm module loaded at boot
time.

If the trm.ko module is not available, yes, you need to recompile your
kernel as described in the handbook.

Regards, 
Andreas

  Andreas Kohn [EMAIL PROTECTED] 09/30/03 8:33 PM 
 On Tue, 2003-09-30 at 07:20, Verghese George wrote:
  Could someone help me with this problem?
  I connected the hp surestore dat 24 drive with Free BSD 4.8 . It has a
  Ultra SCSI DC-315U drive (Tekram technology Co. Ltd). This card is not
  recognised by the system. Is there a driver I can use with this card? 
 I
  got  dc395_trm.tar.gz , untarred and unzipped it and  copied
  dc395x_trm.c and dc395x_trm.h to  /usr/src/sys/pci directory (as per
 the
  instructions at the website).   I also edited
  /usr/src/sys/i386/conf/GENERIC and gave a device name tekram_trm0.
 When
  I tried to recompile the kernel, this name was not recognised. 
  
  Am I following the right procedure?  Can somebody advise me?
  Thanks
  
  Verghese George
 
 Hi,
 
 according to the trm(4) man page, the Tekram DC-315U should be supported
 in 4.8:
 http://www.freebsd.org/cgi/man.cgi?query=trmapropos=0sektion=4manpath=FreeBSD+4.8-RELEASEformat=html
 



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


Re: onstream out of business?

2003-10-01 Thread Jason Stewart
Noah wrote:

does anybody know if onstream is out of business?  their website has not
answered for the past month.
- Noah

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

Hi Noah,

Yes, Onstream is out of business. There is no more website, and a google 
search confirmed that the company went bankrupt earlier this year. Too 
bad, since I have a couple of their drives and they were the cheapest in 
town (although a bit sub-par IMHO).

Jason

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


Re: Why do you prefer FreeBSD???? Maybe Windows is more comfortable than FBSD?

2003-10-01 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 24-Sep-2003, Denis wrote message Why do you prefer FreeBSD Maybe
Windows is more comfortable
~
   I think that WinXP more popular and more easy than FreeBSD. People
   all over the world know what is Windows but don't know what is

Sorry, I don't know the origin of this relevent quote:

Claiming that your operating system is the best in the world because more
people use it is like saying McDonalds makes the best food in the world.



~~ 
Andy Harrison
(full headers for details)


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBP3rKTFPEkLgodAWVAQE3MQQAipi64GcZNo/6G2qEFZmKbE18mneD1zNM
CAQCsjg7rVZy3N/iUcxMOI/N75oCV7BAkHBRI4yvYP0XR2REVl/Wsx1Ut/7dnQFk
0Lh1kt7h9Y5J/pyvgXxlyWm15Ev8alCtfph+mMWjM53+so5vXP/b7kpyLq/zPale
U7bJlOSk05o=
=4AA0
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


port install to jail root from host system

2003-10-01 Thread Aragon Gouveia
Hi,

I've compiled a port as normal (apache13 in this case).  I'd like to run
'make install' now and tell it to install the package to the base of the
root filesystem of a jail from the jail's host.  Possibly also to skip
registering it in the host's package database.

Does anyone know an easy way to do this with the ports system?

I realise apache is dependant on various libraries that may not be in the
jail, but these dependancies I will resolve manually.


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


Re: FreeBSD Fax Server?

2003-10-01 Thread C. Ulrich
On Tue, 2003-09-30 at 21:15, Bill Campbell wrote:
 IMHO internal modems are to be avoided at all costs.

Generally, I used to concur with this, but a couple years ago I bought a
USR PCI internal _hardware_ modem and it's worked great with every OS I
threw at it. They're pretty much all I recommend anymore.

Charles Ulrich
-- 
http://bityard.net

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


Newbie question - package versions in FreeBSD 5.1

2003-10-01 Thread Darren Phillips
Sorry for the dumb-sounding question - is having multiple package versions installed 
in 5.1 going to burn me ?

I (think I) understand the install process but not the consequences. How do all the 
versions coexist ?
eg. install another linux base package.

Many thanks

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


Re: FreeBSD download [Known Spam URL in message-Probable Spam]

2003-10-01 Thread C. Ulrich
On Wed, 2003-10-01 at 00:35, Kevin D. Kinsey, DaleCo, S.P. wrote:

 The second two files/ISO's you listed are
 the Mini distribution CD, and the MD5
 (cryptographic) checksum.  You'd use the
 MD5 checksum to determine that the
 files you download are complete and
 legitimate, more or less.  Take a look
 at documentation around the net on
 the subject of checksums.

Is the second ISO just some kind of rescue disk? I spent a couple days
pulling that sucker down through a modem only find out that it doesn't
seem to have any extra software on it.

TIA

Charles Ulrich
-- 
http://bityard.net

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


Re: Install Trouble

2003-10-01 Thread Tim Hawes
Renewing the call for help...

I am trying to get a realtek 8139 nic card working under FreeBSD. I
turned off the serial ports in the bios, but it seems to still find a
serial port (misreading a device as a serial port???) and gives it an
irq of 11 which conflicts with the realtek card. I noticed that the same
card under windows has an irq of 60. 

I am using FreeBSD 5.1 and I tried reassigning the irq for the nic card
using /boot/device.hints as described in the handbook. It does not seem
to effect it at all. What kernel parameters can I pass to reassign this
irq?

I have a complete dmesg log I can email if someone wants to look at this
as well.

I thank you all in advance for your assistance.

Best regards,

Tim Hawes

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


Re: port install to jail root from host system

2003-10-01 Thread Marc G. Fournier

ssh into the jail and run the make install from inside of the jail

On Wed, 1 Oct 2003, Aragon Gouveia wrote:

 Hi,

 I've compiled a port as normal (apache13 in this case).  I'd like to run
 'make install' now and tell it to install the package to the base of the
 root filesystem of a jail from the jail's host.  Possibly also to skip
 registering it in the host's package database.

 Does anyone know an easy way to do this with the ports system?

 I realise apache is dependant on various libraries that may not be in the
 jail, but these dependancies I will resolve manually.


 Thanks,
 Aragon
 ___
 [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: Newbie question - package versions in FreeBSD 5.1

2003-10-01 Thread Matthew Seaman
On Wed, Oct 01, 2003 at 01:53:35PM +0100, Darren Phillips wrote:
 Sorry for the dumb-sounding question - is having multiple package versions installed 
 in 5.1 going to burn me ?
 
 I (think I) understand the install process but not the consequences. How do all the 
 versions coexist ?
 eg. install another linux base package.

Most of the time, this appears to work, but it's not at all desirable.
Generally, if you install a more recent version of a package you've
already installed, then the files from the newer package just
overwrite the files from the older one.

According to pkg_info(1) you'll have both packages installed, but
that's not really the case.  The best way to sort out this sort of
problem is to pkg_delete both versions of the port, and then
re-install the version that you actually want.

In order to avoid getting into this situation in the first place, use
portupgrade(1) and friends to manage your installed ports.

While that's a good way of handling multiple installations of the same
port (even if they are different revisions), it doesn't really help
when you have two different ports that both lay claim to the same
files.  While port maintainers go to great lengths to make their ports
co-exist happily with any other ports, sometimes it just isn't
possible.  There is a (relatively) new 'CONFLICTS' variable in the
port Makefiles which should go a long way towards preventing such
problems.  Unfortunately, use of the CONFLICTS variable is nowhere
near ubiquitous yet.

In the specific case of the various linux_base ports you ask about:

/usr/ports/emulators:% foreach m (linux_base*/Makefile)
foreach? echo $m
foreach? make -f $m -V CONFLICTS
foreach? end
linux_base-6/Makefile
linux_base-*
linux_base-8/Makefile
linux_base-*
linux_base-debian/Makefile
linux_base-*
linux_base/Makefile
linux_base-*

ie. all of the different linux_base ports conflict with each other. So
the short answer to your question is yes.

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

2003-10-01 Thread C. Ulrich
On Tue, 2003-09-30 at 15:58, [EMAIL PROTECTED] wrote:
 Dear Sir or Madam, 
  
 I'm interested in using FreeBSD as part of rearrengement of my professional skills. 
 I'm currently studing Linux but I'd like to feel a bit of a true UNIX system. 

Heh, better have your asbestos underwear on when you utter phrases like
true UNIX system around here. ;)

The differences between FreeBSD and many Linux distros aren't as great
as some people think. I would argue that FreeBSD is more sophisticated
behind the scenes (with ports, cvs, et al) but by and large most of your
Linux experience will carry over into FreeBSD.
 
 What shall be the 5.x release? What is the new technology you will include in it? 
 I might probably buy it (a combo promotion of 4 CD set + Handbook 2nd edition). 
 However I'd like to know a bit more about it first. 

If you're just starting out with FreeBSD, consider using 5.1. Yes, it is
considered -CURRENT (new and possibly unstable) but most people don't
seem to have any showstopping problems with it. If you start learning
5.x now, then you'll be in a slightly better position for when 5.x is
considered stable. However, it's ultimately your choice.

Additionally, be aware that FreeBSD is extremely well documented, from
the man pages all the way up to the handbook and other external docs, so
you shouldn't really _need_ a book in the way that you would for a
calculus class, for example. But again, it's your choice. I'm not sure,
but I think that the FreeBSD Mall donates a certain amount to FreeBSD
development, so ponder that too. (freebsdmall.com was down at the time
of writing, so I couldn't confirm.)

If you have any questions about anything at all regarding FreeBSD, this
list is the place to ask. Consider subscribing if you haven't yet.

Charles Ulrich
-- 
http://bityard.net

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


Re: port install to jail root from host system

2003-10-01 Thread Aragon Gouveia
The jail does not run ssh, nor any other daemons.  All it will run is apache
once it is installed.

It's not a full jail built from /usr/src.  It'll only have what's necessary
to run apache.  And apache will be the only process called from the jail
command.



| By Marc G. Fournier [EMAIL PROTECTED]
|  [ 2003-10-01 15:11 +0200 ]
 
 ssh into the jail and run the make install from inside of the jail
 
 On Wed, 1 Oct 2003, Aragon Gouveia wrote:
 
  Hi,
 
  I've compiled a port as normal (apache13 in this case).  I'd like to run
  'make install' now and tell it to install the package to the base of the
  root filesystem of a jail from the jail's host.  Possibly also to skip
  registering it in the host's package database.
 
  Does anyone know an easy way to do this with the ports system?
 
  I realise apache is dependant on various libraries that may not be in the
  jail, but these dependancies I will resolve manually.
 
 
  Thanks,
  Aragon
  ___
  [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: Newbie question - package versions in FreeBSD 5.1

2003-10-01 Thread Felix 'buebo' Kakrow
Darren Phillips schrieb:

Sorry for the dumb-sounding question - is having multiple package versions installed in 5.1 going to burn me ?

I (think I) understand the install process but not the consequences. How do all the 
versions coexist ?
eg. install another linux base package.
Normally coexistence of new and old versions is not the way to go, and 
pkg_add or 'make install' in the port-directory will refuse to work.
If you want to upgrade 'make deinstall  make reinstall' or pkg_delete 
and pkg_install (with the new version) should be the way to go.
For a more comfortable way you should have a look into portupgrade, wich 
can upgrade all you outdated ports via the ports-system or packages.
I never tried this with FreeBSD, but from my linux-experiments I can 
tell that having multible Versions of the same Programm is usually going 
to give you trouble if you've not been really carefully in terms of 
install and libary Paths. It's even more trouble to do this with libarys.

Many thanks

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


Re: port install to jail root from host system

2003-10-01 Thread Matthew Seaman
On Wed, Oct 01, 2003 at 02:48:29PM +0200, Aragon Gouveia wrote:

 I've compiled a port as normal (apache13 in this case).  I'd like to run
 'make install' now and tell it to install the package to the base of the
 root filesystem of a jail from the jail's host.  Possibly also to skip
 registering it in the host's package database.
 
 Does anyone know an easy way to do this with the ports system?
 
 I realise apache is dependant on various libraries that may not be in the
 jail, but these dependancies I will resolve manually.

It actually works quite well if you use mount_null(8) to re-mount your
/usr/ports tree inside the jail, and set the WRKDIRPREFIX environment
variable to something like /usr/obj so that you don't actually write
into the /usr/ports tree while compiling.

A line something like:

  /usr/ports  /jail/192.168.0.2/usr/ports null rw 0 0

in /etc/fstab in the host system should do the trick nicely.

That way, you can just ssh(1) into your jailed system and manage
ports/packages exactly as you do in the host system.  This will also
avoid, in a trivially simple way, problems caused by corrupting the
/var/db/pkg database in the host system.

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

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

Try doing this in your kernel config file:

device  pcm

it's not an 'option'

Eric Crist
AdTech Integrated Systems, Inc
(952) 403-9000

On Wednesday 01 October 2003 03:35 am, Jarosaw Nozderko wrote:
 OS:  FreeBSD 5.1-RELEASE

 Hi,

  I have cheap, ISA sound card recognized as OPTi931. It works without
 problems on Linux (RH 7.3, upgraded kernel 2.4.21 + XFS) with
 the following line in /etc/modules.conf:

 options mad16 io=0x530 irq=5 dma=0 dma16=0 mpu_io=0x300 mpu_irq=7

 I'd like to make it working under FreeBSD. After reading the
 Handbook, I've tried to use the following entries in
 /boot/device.hints:

 hint.sbc.0.at=isa
 hint.sbc.0.port=0x530
 hint.sbc.0.irq=5
 hint.sbc.0.drq=0

 or:

 hint.pcm.0.at=isa
 hint.pcm.0.irq=5
 hint.pcm.0.drq=0
 hint.pcm.0.flags=0x0

 I tried kernel built with both options pcm and options sbc
 as well as with options pcm alone.

 I still got the same result:

 /var/run/dmesg.boot:

 pcm0: OPTi931 at port 0xe8d-0xe8f,0x220-0x22f,0x380-0x38b,0x534-0x537 irq
 5 drq 1,0 on isa0
 AD_WAIT_INIT FAILED 1002000 0xff

 (Sometimes, depending on options, it may be pcm1 instead of pcm0, but
 error is the same).

 When I use pcm options only, I got warning on KDE startup Can't find
 /dev/dsp and when I use sbc options, this warning does not appear.

 Shoud I put all options in kernel config file and nothing in device.hints ?

 Frankly speaking, I'm not an expert in sound cards, so perhaps this is
 some basic mistake.

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

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP3rerphUClck0MTFAQEQDAf7BZVJYiRx63zCVUVY73gY58YRuSaifPI6
LfvhOgIODmnvx7mp1irAvTKxrLOe7/5EXN0OrYPAd8lzWZyWBzGMITZgAdONfrmX
IHXaEENjjGIoVohNWQi+aDKTOKmVrgZ9KagBbaSUuokawRg7y15TZsQd1MrpvQ74
P/RLMdhkkJ/mi7NV3D6Fk5PIwQQ2AfZqERzlzl54k/q2gm3xYGQzW0g6mIauuBTa
Y+/IOXQC6vV03Vuv52THi/GDOEWTAc/H03Lp5dooTz3GNeau54F0hQmhlziubiWR
GHVxjQdqtlff2XlUv/wZy6GE6aKlqFHFKiujv7V8+JKx38+6UNSBLg==
=4GTz
-END PGP SIGNATURE-

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


Re: Why is PCE not set in CR4?

2003-10-01 Thread Bruce M Simpson
On Wed, Oct 01, 2003 at 11:39:36AM +0200, Grumble wrote:
 However, I am not allowed to use the RDPMC instruction from ring 3
 because the PCE (Performance-monitoring Counters Enable) bit is not set.
 
 You can do it with /dev/perfmon. man 4 perfmon.
 
 I have read the perfmon documentation and source code. For several 
 reasons, I do not think it is totally adequate in my situation.
[snip]

Hi,

Eat this. Diff attached. Test this and I'll commit it to -CURRENT if you're
happy with it. If you can tell me more about what perfmon needs I'll give
it love too.

This is an extension to the i386_vm86() syscall which will let you turn
PCE on and off if you're the superuser.

BMS
Generated by diffcoll on Wed  1 Oct 2003 12:39:07 BST

diff -uN src/lib/libc/i386/sys/i386_vm86.2.orig src/lib/libc/i386/sys/i386_vm86.2
--- /usr/src/lib/libc/i386/sys/i386_vm86.2.orig Wed Oct  1 12:13:50 2003
+++ /usr/src/lib/libc/i386/sys/i386_vm86.2  Wed Oct  1 12:36:44 2003
@@ -112,6 +112,26 @@
 .Fa state
 will contain the state of the VME flag on return.
 .\ .It Dv VM86_SET_VME
+.It Dv VM86_GET_PCE
+This is used to retrieve the current state of the Pentium(r) processor's
+PCE (Performance Counter Enable) flag, which is bit 8 of CR4.
+.Bd -literal
+struct vm86_pce_args {
+   int state;  /* status */
+};
+.Ed
+.Pp
+.Fa state
+will contain the state of the VME flag on return.
+.It Dv VM86_SET_PCE
+This is used to set the current state of the PCE flag.
+Enabling this bit allows any code to execute the
+.Li RDPMC
+instruction.
+Disabling this bit will allow only code running at protection level 0 to
+execute this instruction.
+Because this bit has system-wide granularity, it may only be enabled by
+the superuser.
 .El
 .Pp
 vm86 mode is entered by calling
@@ -133,6 +153,13 @@
 .It Bq Er ENOMEM
 There is not enough memory to initialize the kernel data structures.
 .El
+.Sh BUGS
+The
+.Dv VM86_SETPCE
+and
+.Dv VM86_GETPCE
+functions are only guaranteed to work for uniprocessor kernels; their
+results on SMP systems are undefined.
 .Sh AUTHORS
 .An -nosplit
 This man page was written by

diff -uN src/sys/i386/i386/vm86.c.orig src/sys/i386/i386/vm86.c
--- /usr/src/sys/i386/i386/vm86.c.orig  Wed Oct  1 12:16:23 2003
+++ /usr/src/sys/i386/i386/vm86.c   Wed Oct  1 12:39:01 2003
@@ -734,6 +734,29 @@
}
break;
 
+   case VM86_SET_PCE: {
+   struct vm86_pce_args sa;
+
+   if ((error = suser(td)))
+   return (error);
+   if (!(cpu_feature  CPUID_TSC) || !(cpu_feature  CPUID_MMX))
+   return (ENODEV);
+   if ((error = copyin(ua.sub_args, sa, sizeof(sa
+   return (error);
+   if (sa.state)
+   load_cr4(rcr4() | CR4_PCE);
+   else
+   load_cr4(rcr4()  ~CR4_PCE);
+   }
+   break;
+
+   case VM86_GET_PCE: {
+   struct vm86_pce_args sa;
+
+   sa.state = (rcr4()  CR4_PCE ? 1 : 0);
+   error = copyout(sa, ua.sub_args, sizeof(sa));
+   }
+
default:
error = EINVAL;
}

diff -uN src/sys/i386/include/vm86.h.orig src/sys/i386/include/vm86.h
--- /usr/src/sys/i386/include/vm86.h.orig   Wed Oct  1 12:22:53 2003
+++ /usr/src/sys/i386/include/vm86.hWed Oct  1 12:37:56 2003
@@ -128,6 +128,8 @@
 #define VM86_SET_VME   2
 #define VM86_GET_VME   3
 #define VM86_INTCALL   4
+#define VM86_SET_PCE   5
+#define VM86_GET_PCE   6
 
 struct vm86_init_args {
 int debug;  /* debug flag */
@@ -136,6 +138,10 @@
 };
 
 struct vm86_vme_args {
+   int state;  /* status */
+};
+
+struct vm86_pce_args {
int state;  /* status */
 };
 

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


cannot connect to saslauthd server

2003-10-01 Thread Noah

FreeBSD 4.8 
sendmail 8.12.10  with sasl


okay I am using every once in a while I see the following complaints in my
/var/log/messages:

Sep 30 15:33:04 procmail[30342]: Renamed bogus /var/mail/noah.lock int
o /var/mail/BOGUS.noah.OA8K
Sep 30 22:03:33 sm-mta[38053]: cannot connect to saslauthd server: No su
ch file or directory
Sep 30 22:03:33 sm-mta[38053]: Password verification failed
Sep 30 22:03:33 sm-mta[38053]: cannot connect to saslauthd server: No su
ch file or directory


any clues what is going on here - how can I troubleshoot this?


thanks in advance,

Naoh

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


Re: FreeBSD download

2003-10-01 Thread Jerry McAllister
 
 Dear Sir or Madam, 
  
 I'm interested in using FreeBSD as part of rearrengement of my professional 
 skills. 
 I'm currently studing Linux but I'd like to feel a bit of a true UNIX system. 
  
 I noticed FreeBSD is presented in a 4 CD set case by FreeBSD Mall, for example. 
 However, the download options are different. 
 I supose the minimum I might download is: 
4.8-RELEASE-i386-disk1.iso (610.4MB) 
4.8-RELEASE-i386-disk2.iso (259.1MB) 
  
 What is in fact the other 2 files? I.e.: 
   4.8-RELEASE-i386-mini.iso (199.6MB) and  
   CHECKSUM.MD5 (203 bytes) 
  
 Do I need them too? 

You need either the mini-iso or disk1.iso at the minimum.
I normally just use the mini-iso, but then I have a fast and reliable
network connection.

The disk1 + disk2 set contain a whole system plus some of the most
popular ports.   You can build a whole system from those two without
downloading anything.  Disk1 contains the installation system which
you boot from plus the OS.  Disk2 contains some more utilities and
ports.   I believe the other two disks in the set from FreeBSD Mall 
and some other vendors contain additional ports.  If your network 
connection is slow or unreliable you will want to get these and 
install completely from CD.

But, if  you have a good network connection with reasonable speed - at
least ISDN or DSL or cable modem or better - then just use the mini-iso.
(Or you could do this from disk1 or the set)  It contains the installation 
system.  You boot from the mini-iso CD (or disk1) and the install program
collects all the info for configuration and builds your disk and then
asks about where to load the system.   You pick one of the ftp sites
and it goes out and downloads everything else it needs including the 
ports skeleton (providing you tell it you want the whole ports tree).

So, either way works.   The file named CHECKSUM.MD5 contains the
checksums for the mini.iso, disk1.iso and disk2.iso files.  You can
use it to add some assurance that the downloads are correct.

  
 What shall be the 5.x release? What is the new technology you will 
 include in it? 

You need to go to the FreeBSD web site and study up on what is new
for 5.x.Unless you have some odd hardware or a need to do some
esoteric thing, you would not really need 5.x.   If your purpose is
to play around and learn stuff and you are not worrying about running
a production server right away, you might just choose 5.x anyway - but
be prepared for more things not quite ready for prime time.

If you are a little more nervous, or need something running reliable,
then stick to 4.8 or maybe 4.9 if it gets out soon enough to suit you.
Check Release Engineering on the FreeBSD site and look at the schedules.

 I might probably buy it (a combo promotion of 4 CD set + Handbook 2nd 
 edition). 
 However I'd like to know a bit more about it first. 

Well, you can find almost everything written by starting at the
website, reading there and following links and then going to a search
engine such as Google or Rambler and following links.   That should
get you all the 'more about it first' you can stand.   Then buy a cd 
set and any/all of the books that are out or download the appropriate 
iso and get started.

jerry

  
 Could you send me more information in order to clarify my doubts, please? 
 Thanks in advance for your assistance. 
  
 Kind regards, 
 Bernardo 
 +55 41 9911-2666 
  
 
 ___
 [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]


IDE RAID controllers

2003-10-01 Thread Irvine Short
Hey All

Anyone used any IDE RAID controllers recently under FreeBSD?

I've found the Promise Fastrak stuff works really well for 0  1 but
doesn't support RAID 5.

We need a big filesystem, doesn't need to be all that fast or reliable,
and were ogling the new-ish 250GB Western Digital drives.

We've found a case that will accomodate 6 drives, cooled properly, and
were wondering what chance there was of getting a bit over a terabyte with
a system drive into a FreeBSD box?

ie, something like an 80GB boot drive and 5 x 250GB IDEs in RAID5, or even
just striped.

Our beige box supplier is very good on the hardware front but doesn't know
much about FreeBSD and has had trouble with the more fancy Promise
controllers with RAID 5 under other OS's.

They recommend the LSI MegaRAID i4 - see
http://www.lsilogic.com/products/stor_prod/raid/i4.html

Anyone used this under FreeBSD here?


Irvine Short

Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot connect to saslauthd server

2003-10-01 Thread Jamie
On Wed, 1 Oct 2003, Noah wrote:


 FreeBSD 4.8
 sendmail 8.12.10  with sasl


 okay I am using every once in a while I see the following complaints in my
 /var/log/messages:

 Sep 30 15:33:04 procmail[30342]: Renamed bogus /var/mail/noah.lock int
 o /var/mail/BOGUS.noah.OA8K
 Sep 30 22:03:33 sm-mta[38053]: cannot connect to saslauthd server: No su
 ch file or directory
 Sep 30 22:03:33 sm-mta[38053]: Password verification failed
 Sep 30 22:03:33 sm-mta[38053]: cannot connect to saslauthd server: No su
 ch file or directory


 any clues what is going on here - how can I troubleshoot this?

   Have you checked /var/log/auth.log? You may be set up to check off of a
sasl passwd database and you may not have that built. auth.log may have
some valuable info.




 thanks in advance,

 Naoh

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


A friend is someone who lets you have total freedom to be yourself.

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


Re: port install to jail root from host system

2003-10-01 Thread Marc Ramirez
On Wed, Oct 01, 2003 at 02:48:29PM +0200, Aragon Gouveia wrote:
 Hi,
 
 I've compiled a port as normal (apache13 in this case).  I'd like to run
 'make install' now and tell it to install the package to the base of the
 root filesystem of a jail from the jail's host.  Possibly also to skip
 registering it in the host's package database.
 
 Does anyone know an easy way to do this with the ports system?
 
 I realise apache is dependant on various libraries that may not be in the
 jail, but these dependancies I will resolve manually.

Just off the top of my head, certainly not guaranteed to be the
optimal solution, never tested, etc...

# assuming /jailfs is the root of your jail:
# install in /jailfs/bin, /jailfs/data, etc...

cd /usr/ports/www/apache13
make PREFIX=/jailfs install 

# now in your jail, you'll have /bin/apachectl, but it'll be looking
# for /jailfs/sbin/httpd, so create a symlink

ln -s / /jailfs/jailfs

-- 
Marc Ramirez
Blue Circle Software Corporation
513-688-1070 (main)
513-382-1270 (direct)
http://www.bluecirclesoft.com
http://www.mrami.com (personal)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why do you prefer FreeBSD???? Maybe Windows is more comfortable than FBSD?

2003-10-01 Thread Louis LeBlanc
On 10/01/03 08:36 AM, Andy Harrison sat at the `puter and typed:
 
 ~
 On 24-Sep-2003, Denis wrote message Why do you prefer FreeBSD Maybe
 Windows is more comfortable
 ~
I think that WinXP more popular and more easy than FreeBSD. People
all over the world know what is Windows but don't know what is
 
 Sorry, I don't know the origin of this relevent quote:
 
 Claiming that your operating system is the best in the world because more
 people use it is like saying McDonalds makes the best food in the world.

I see the trolls have been back while I was on vacation.  I'm actually
sorry I missed this thread (no, thank you, that's not an invitation to
send it to me :).

All I'm gonna say is I've got my desktop tweaked out to a point that I
am so comfortable with it that I don't have to think about how to do
something, I just think about it and it happens.  And MY desktop will
work exactly the same on any Linux, FreeBSD, and with a little work,
Solaris - probably any other *nix I care to try too.

And these days, I feel like a fish on pluto when I have to screw with
someone's M$ can - totally un-intuitive if you ask me.  Funny how the
keyboards are the best thing on the market with the M$ name, but you
can hardly do anything in their UI with it.  I hate the mouse.  If it
weren't for the browsers, I'd probably never touch the stupid thing (I
know all about lynx, but when you're a web developer, you need to see
what everyone else is seeing - screw IE).

That's enough of my garbage for the troll.

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

Every living thing wants to survive.
-- Spock, The Ultimate Computer, stardate 4731.3
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SIS 7018

2003-10-01 Thread Matthew Danielson
I am trying to get my SIS 7018 Soundcard working with freebsd 5.1.  I
added device pcm to my kernel, and recompiled.

My dmesg is as follows:

pcm0: SiS 7018 port 0xdc00-0xdcff mem 0xffdf-0xffdf0fff irq 10
at device 1.4 on pci0
pcm0: AC97 reset timed out.
pcm0: Cirrus Logic CS4299 AC97 Codec
pcm0: ac97 codec reports dac not ready

I have posted to comp.unix.bsd.freebsd and haven't had much success.

Thank you in advance.

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


Re: Problems with audio recording

2003-10-01 Thread Daniela
On Monday 29 September 2003 23:35, Paul Hamilton wrote:
 Hi Daniela,

 Here are a few notes I have made on playing with audio in/out.  I mainly
 use this to record radio programs, for play back at a later time.  The
 radio is plugged into 'LineIn', and I use Ecasound to handle the recording
 and converting to a MP3 file.  Works a treat.  Read the indepth 'man' files
 for more info on each package/program.

 Cheers,

 Paul Hamilton


 NOTES

 http://eca.cx/; ECASOUND Web site

 Add to kernel:device pcm
 cd /dev
 ./MAKEDEV snd0
 cat /dev/sndstat  ;to see if it's configured properly

 pkg_add ecasound-1.8.5d15
 pkg_add nmixer-2.0b17
 pkg_add mpg123-x.x.x
 pkg_add festival-x.x.x: text to voice sythasizer

 Sound Recording:-

 Set nmixer
   Set Mic to 3
   Set rec to 3
   Run:ecasound -I:/dev/dsp0 -o test.wav


Thanks, works all well until here. It still doesn't record anything. I guess 
it's either the soundcard or I'm too stupid for it  :-(

Is it really /dev/dsp0?
Below is the output from ecasound, maybe it helps (I installed from source 
with debug symbols). The file test.wav is there after running ecasound, but 
there's only silence in it.

Regards,
Daniela




*   ecasound v2.2.4 (C) 1997-2003 Kai Vehmanen

- [ Session created ] --
- [ Chainsetup created (cmdline) ] -
(libkvutils) kvu_rtcaps: warning! POSIX_MEMLOCK not supported
- [ Connecting chainsetup ] 
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object /dev/dsp, mode read.
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
(eca-chainsetup) Audio object test.wav, mode read/write.
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ] -
(eca-controller) Connected chainsetup:  command-line-setup.
- [ Controller/Starting batch processing ] -
- [ Engine init - Driver start ] ---
(eca-engine) Prefilling i/o buffers.
^C- [ Controller/Processing stopped (cond) ] -
- [ Engine exiting ] ---
(eca-controller) Disconnecting chainsetup:  command-line-setup.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - sizeof(long int) == sizeof(off_t), 
eca-fileio-stream.cpp, 159.
- [ Chainsetup disconnected ] --



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


SSL security problem

2003-10-01 Thread Marc Wiz
Anyone have any info on when a patch is going to be available for
the latest openssl security problem?

I have not seen a security advisory listed on the FreeBSD web site
nor have I had any notifications on the announce and security mailing
lists.

Thanks,
Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Perl cgi redirect not working

2003-10-01 Thread Charles Howse
Hi,
I'm *copying an example* perl cgi script from FreeBSD Unleashed pp.
699.
I have 2 issues.

1. The redirect on the last line isn't working.  It opens a blank page
and prints the text Location: http://howse.no-ip.org/thanks.shtml;.
That's not what I want.  I want to open the page thanks.shtml.

2. I can't see the text in the book clear enough to know whether the
characters I've marked with ^ should be dashes or tildies.

I've Googled for the redirect, and tried a few examples, no joy.
Would someone be kind enough to help?


#!/usr/bin/perl

read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
@pairs = split(//, $buffer);
foreach $pair (@pairs)
{
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
^
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(C, hex($1))/eg;
^
$value =~ s/~!/ ~!/g;
^   ^   ^ 
$FORM{$name} = $value;
}

print Content-type: text/html\n\n;

open (MAIL,| /usr/sbin/sendmail -oi -t);
print MAIL From: $FORM{'name'} $FORM{'email'}\n;
print MAIL To: charles\n;
print MAIL Subject: Contact form output\n\n;
print MAIL $FORM{'name'}, from $ENV{'REMOTE_HOST'}
($ENV{'REMOTE_ADDR'}), has sent you the following comment:\n\n;
print MAIL $FORM{'comment'}\n;
close (MAIL);

print Location: http://howse.no-ip.org/thanks.shtml\n\n;;



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


Seagate/Conner CTT8000S problem on FreeBSD

2003-10-01 Thread Sorin Chiorean

Hi,

I'm running FreeBSD  5.1-RELEASE-p8 on a Pentium II with SCSI adapter  

..kernel: ahc0: Adaptec 2940 Ultra SCSI adapter port 0xb800-0xb8ff mem
0xe280-0xe2800fff irq 10 at device 11.0 on pci0
..kernel: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

and with the following tape:
..kernel: sa0 at ahc0 bus 0 target 6 lun 0
..kernel: sa0: CONNER CTT8000-S 1.17 Removable Sequential Access
SCSI-2 device
..kernel: sa0: 5.000MB/s transfers (5.000MHz, offset 15)

I tried to backup up on a 8Gb(compress)TRAVAN TR-4 tape, 4.4Gb of data
and didn't work.
I used tar and dump and I ended up with the same problem: I can not
backup up more then 4Gba on /dev/sa0 or /dev/nsa0.
It's seems that hardware compression doesn't work on FreeBSD. Was
working fine on a Windows 2000 server before.

I tried to change Compression with #mt -f /dev/sa0 comp enable but
didn't work (I tried with comp on too)
This is what I get after a #mt status:
 
Mode  Density  Blocksize  bpi  Compression
Current:  0x45 variable   0disabled
-available modes-
0:0x45 variable   0none
1:0x45 variable   0none
2:0x45 variable   0none
3:0x45 variable   0none
-
Current Driver State: at rest.
-
File Number: 0  Record Number: 0Residual Count 28

Can anybody tell me how can I turn on hardware compression for this tape
unit or what can I do to be able to buck up more then 4Gb ??


Sorin Chiorean
Network Specialist
Computer Partners
 


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


tar vs cp

2003-10-01 Thread Jamie


I've been told in the past that if you have a series of directories
with subdirectories that you need to copy to another location on a disk,
it is better to tar the directory, move the tarred file to the
destination, and then untar it, rather than using cp to copy the directory
and all of its contents.

I don't know what the actual rationale is for this. Can anyone explain
why it is oftentimes better to tar something rather than using cp when
copying directories and their contents?




Thanks,

   - Jamie



A friend is someone who lets you have total freedom to be yourself.

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


Re: FreeBSD Fax Server?

2003-10-01 Thread rtjohan
Which model of US Robotics did you get?
I take it that it should work with FreeBSD Rel 5.1?
C. Ulrich wrote:

On Tue, 2003-09-30 at 21:15, Bill Campbell wrote:
 

IMHO internal modems are to be avoided at all costs.
   

Generally, I used to concur with this, but a couple years ago I bought a
USR PCI internal _hardware_ modem and it's worked great with every OS I
threw at it. They're pretty much all I recommend anymore.
Charles Ulrich
 



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


Re: tar vs cp

2003-10-01 Thread Chuck Swiger
Jamie wrote:
[ ... ]
I don't know what the actual rationale is for this. Can anyone explain
why it is oftentimes better to tar something rather than using cp when
copying directories and their contents?
tar handles symbolic links properly, whereas cp will copy through the contents 
of the link.

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


Re: Seagate/Conner CTT8000S problem on FreeBSD

2003-10-01 Thread Felix Deichmann
Sorin Chiorean wrote:

Can anybody tell me how can I turn on hardware compression for this tape
unit or what can I do to be able to buck up more then 4Gb ??
See
http://groups.google.com/groups?q=%22conner+CTT8000-S%22+compressionhl=enlr=ie=UTF-8oe=utf-8selm=Pine.LNX.3.96.980609195953.1366E-10%40rwc1rnum=4
(Sorry for the long link)

This drive doesn't seem to support hardware compression. You have to use 
a software solution, e.g. gzip or bzip2 (in connection with tar).

Regards

Felix

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


Re: Changing from POP3 server to IMAP server

2003-10-01 Thread Naveen Glore
Hello,
 
Gary, thankyou for all the information. I will start working on setting up the mail 
server.
 
Thanks,
Naveen

Gary [EMAIL PROTECTED] wrote:
Hi Naveen,

--On Tuesday, September 30, 2003 12:42:00 PM -0700 Naveen Glore 
wrote:

 In mailserver I think the messages will be stored in var/mail/accountname
 (correct me if i am wrong). I have very less disk space for /var. This
 was not a concern with POP3 because messages get deleted from server. Now
 with IMAP i think i need to do something for it. Is there a way to direct
 mails to /usr. Does this message redirection create any problem in
 configuring MUA?.

If you set up qmail to use /Maildir/ format, mail is stored in each users 
home dir under his/hers Maildir, so it would be under /usr/home/whomever... 
even root, for security reasons is assigned or aliased to a user. A Maildir 
is made with the command maildirmake as that user, in his $HOME. You can 
put in a Maildir in skel and it will automatically make a Maildir for each 
new user. Inside each Maildir there are 3 dirs, new, cur, tmp.. This is 
automatically created with the maildirmake command. Don't worry, if you 
will use IMAP, any MUA that can use IMAP will read the dirs properly... 
Providing you use a IMAP client that supports Maildir, as mentioned, 
Bincimap or Courier.

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

-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I think I messed up with gettext.

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

Hey all,

I've seen some results and possible solutions about upgrading the gettext 
port, but none of them thus far have helped me out.  I upgraded gettext the 
other night, and ever since, get the error that libintl.so.4 doesn't exist.

Anyone help?

Thanks,

Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP3sSIZhUClck0MTFAQEiIgf7BpdNpsTudycFI6rdHoCgpp0l+XJWtg5d
lHGrhamoTW/rAZMMPsdppJ7Xq88hLfiz4SspueiJEYIETgWKKPw1oU0Kccm+MrMN
GAhZ0TA3c/Z+81/FGVrLa74+bqJtjyLgOU21cmgD2W2yhjiGnv3W3UI9WDWg56of
oHPPsLQhqbusS3jkPN4qZNe4ZCAhrXGUxyVpJrx2xluCPwXTYlP6Fo4zPAOsu/zm
9FV6l1cGGKGkDsvLgy0vv5wSNstSJ3suX7opw9lck8wmi0ORW6ipnQGtls/l2TKe
ejJHIoZmNvY7i1d1iYiY5Dx8jNBNK6HhCutNeCsDEhMm0LU0HJ+RXg==
=g1Ca
-END PGP SIGNATURE-

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


RE: I think I messed up with gettext.

2003-10-01 Thread Vince Hoffman
I think the only options are upgrading all ports that use libintl.so.4
(recomended)

or (for now) ln -s /usr/local/lib/libintl.so /usr/local/lib/libintl.so.4
(not recomended but works for me(tm)
 

 -Original Message-
 From: Eric F Crist [mailto:[EMAIL PROTECTED]
 Sent: 01 October 2003 18:43
 To: [EMAIL PROTECTED]
 Subject: I think I messed up with gettext.
 
 
 
 *** PGP Signature Status: unknown
 *** Signer: Unknown, Key ID = 0x24D0C4C5
 *** Signed: 01/10/2003 18:42:57
 *** Verified: 01/10/2003 18:45:18
 *** BEGIN PGP VERIFIED MESSAGE ***
 
 Hey all,
 
 I've seen some results and possible solutions about upgrading 
 the gettext 
 port, but none of them thus far have helped me out.  I 
 upgraded gettext the 
 other night, and ever since, get the error that libintl.so.4 
 doesn't exist.
 
 Anyone help?
 
 Thanks,
 
 Eric F Crist
 AdTech Integrated Systems, Inc
 (952) 403-9000
 
 
 *** END PGP VERIFIED MESSAGE ***
 
 ___
 [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: I think I messed up with gettext.

2003-10-01 Thread srenna
You know,

I've also been running into problems.  Ever since upgrading
gettext to 0.12.1 from 0.11.5 I'm getting all sorts of
issues when it comes to installing certain things(such as
gnome and kde and the like).  Do you happen to know of a
way to downgrade?  seems like it will be hard since so
many other programs depend upon gettext.  Any way to trick
the system into using the older gettext?



On Wed, 1 Oct 2003 12:42:47 -0500
 Eric F Crist [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 
 Hey all,
 
 I've seen some results and possible solutions about
 upgrading the gettext 
 port, but none of them thus far have helped me out.  I
 upgraded gettext the 
 other night, and ever since, get the error that
 libintl.so.4 doesn't exist.
 
 Anyone help?
 
 Thanks,
 
 Eric F Crist
 AdTech Integrated Systems, Inc
 (952) 403-9000
 
 -BEGIN PGP SIGNATURE-
 Version: 2.6.3ia
 Charset: noconv
 

iQEVAwUBP3sSIZhUClck0MTFAQEiIgf7BpdNpsTudycFI6rdHoCgpp0l+XJWtg5d

lHGrhamoTW/rAZMMPsdppJ7Xq88hLfiz4SspueiJEYIETgWKKPw1oU0Kccm+MrMN

GAhZ0TA3c/Z+81/FGVrLa74+bqJtjyLgOU21cmgD2W2yhjiGnv3W3UI9WDWg56of

oHPPsLQhqbusS3jkPN4qZNe4ZCAhrXGUxyVpJrx2xluCPwXTYlP6Fo4zPAOsu/zm

9FV6l1cGGKGkDsvLgy0vv5wSNstSJ3suX7opw9lck8wmi0ORW6ipnQGtls/l2TKe
 ejJHIoZmNvY7i1d1iYiY5Dx8jNBNK6HhCutNeCsDEhMm0LU0HJ+RXg==
 =g1Ca
 -END PGP SIGNATURE-
 
 ___
 [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: Changing from POP3 server to IMAP server

2003-10-01 Thread Gary
On Wed, Oct 01, 2003 at 10:40:23AM -0700 or thereabouts, Naveen Glore wrote:
  
 Gary, thankyou for all the information. I will start working on setting up the mail 
 server.

You are welcome. Once you get the hang of it, you will appreciate its
simplicity. It's the concept that has to sink in g  Later, if you wish,
you can add RBL's, SMTP auth or POP before SMTP for roadwarriors who
travel and want to send mail off your server, etc.. Lots of fun things.

When you set it up for Maildir format, make sure you use ./Maildir/ with
the trailing / as ./Maildir alone will make it something else.. 

I refer you to http://www.lifewithqmail.org/lwq.html#start-qmail

Any questions, feel free to joint the qmail list.  

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


Re: I think I messed up with gettext.

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

Thanks, that worked... I've done that before, but I was trying to avoid it.  
That was the solution I was getting from a google search, but was wondering 
if there was a 'correct' way to do it.  FI for now.  I'll just update 
everything else as I go along.

Thanks,

Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

On Wednesday 01 October 2003 12:48 pm, Vince Hoffman wrote:
 I think the only options are upgrading all ports that use libintl.so.4
 (recomended)

 or (for now) ln -s /usr/local/lib/libintl.so /usr/local/lib/libintl.so.4
 (not recomended but works for me(tm)

  -Original Message-
  From: Eric F Crist [mailto:[EMAIL PROTECTED]
  Sent: 01 October 2003 18:43
  To: [EMAIL PROTECTED]
  Subject: I think I messed up with gettext.
 
 
 
  *** PGP Signature Status: unknown
  *** Signer: Unknown, Key ID = 0x24D0C4C5
  *** Signed: 01/10/2003 18:42:57
  *** Verified: 01/10/2003 18:45:18
  *** BEGIN PGP VERIFIED MESSAGE ***
 
  Hey all,
 
  I've seen some results and possible solutions about upgrading
  the gettext
  port, but none of them thus far have helped me out.  I
  upgraded gettext the
  other night, and ever since, get the error that libintl.so.4
  doesn't exist.
 
  Anyone help?
 
  Thanks,
 
  Eric F Crist
  AdTech Integrated Systems, Inc
  (952) 403-9000
 
 
  *** END PGP VERIFIED MESSAGE ***
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP3sVLphUClck0MTFAQHQ9Af9HVz0XejYgj3R8I0dxJbFATi3y4nNK70R
ZeTIp5N8r2rROyS/s83YdWtZpms5pKzgTSOOXaUENX82WgS2mzaiYWfOry+Z8DEu
vcXmDBHHF/wjuJfKFEy+DsMV36uvj9qCsKqIJbKl6cFB7IiV0K4zyUMdBRulMAsP
Jre7zSCHLbjz9AIgCYYgishxITOvGtxgNrGXy4Uvz8HxIgTpXVX4BofYd14sAI3m
Rs1j1aka9Dn2kmD3rVI6LqPaon4A7vzHHBzaQoHA8e0dPGYmYc1wP5NOfgoxga04
e5uE0OHFWIhuOef1sev6lASbxrBOk3HWJZXVI45+pZbHnOZVQli+0w==
=jRyU
-END PGP SIGNATURE-

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


Re: I think I messed up with gettext.

2003-10-01 Thread Kris Kennaway
On Wed, Oct 01, 2003 at 01:49:44PM -0400, [EMAIL PROTECTED] wrote:
 You know,
 
 I've also been running into problems.  Ever since upgrading
 gettext to 0.12.1 from 0.11.5 I'm getting all sorts of
 issues when it comes to installing certain things(such as
 gnome and kde and the like).  Do you happen to know of a
 way to downgrade?  seems like it will be hard since so
 many other programs depend upon gettext.  Any way to trick
 the system into using the older gettext?

Why try and implement hacks that might cause further problems, instead
of just fixing the problem by rebuilding those ports that depend on
gettext but were not rebuilt when you upgraded it to the new version
with the library major bump?

Kris


pgp0.pgp
Description: PGP signature


RE: Perl cgi redirect not working - Partially solved

2003-10-01 Thread Charles Howse
 Hi,
 I'm *copying an example* perl cgi script from FreeBSD Unleashed pp.
 699.
 I have 2 issues.
 
 1. The redirect on the last line isn't working.  It opens a blank page
 and prints the text Location: http://howse.no-ip.org/thanks.shtml;.
 That's not what I want.  I want to open the page thanks.shtml.
 
 2. I can't see the text in the book clear enough to know whether the
 characters I've marked with ^ should be dashes or tildies.
 
 I've Googled for the redirect, and tried a few examples, no joy.
 Would someone be kind enough to help?
 
 
 #!/usr/bin/perl
 
 read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
 @pairs = split(//, $buffer);
 foreach $pair (@pairs)
 {
 ($name, $value) = split(/=/, $pair);
 $value =~ tr/+/ /;
 ^
 $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(C, hex($1))/eg;
 ^
 $value =~ s/~!/ ~!/g;
 ^   ^   ^ 
 $FORM{$name} = $value;
 }
 
 print Content-type: text/html\n\n;
 
 open (MAIL,| /usr/sbin/sendmail -oi -t);
 print MAIL From: $FORM{'name'} $FORM{'email'}\n;
 print MAIL To: charles\n;
 print MAIL Subject: Contact form output\n\n;
 print MAIL $FORM{'name'}, from $ENV{'REMOTE_HOST'}
 ($ENV{'REMOTE_ADDR'}), has sent you the following comment:\n\n;
 print MAIL $FORM{'comment'}\n;
 close (MAIL);
 
 print Location: http://howse.no-ip.org/thanks.shtml\n\n;;

I removed the print Content-type: text/html\n\n; line, and now the
redirect works.
Still awaiting some input on the 2nd issue.


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


Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

Hey all,

I, as well as many of you, utilize a pgp signature.  I would love to be able 
to verify them, rather than get a message that the signature is unkown.  With 
that, what's the point, right?  Is there a place we can all go, or  something 
we can all do to verify the pgp signatures of people on this list?

Just a little pet peeve.

- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP3sWgZhUClck0MTFAQE2pgf9H7m6pmL2SmZcEk0hY8tm3cA0O1EBh+X+
M9h4Ao5ufqIaDbs2+3np5TddpjmCTmg84LZdLdlZmYKs8oahSAzQcbyyjPGjGgB3
8zzL4rHxGbazbWCuW4dPrkSeptAPiBkBKs1Fvuh0idKV0YVyc51NCngaQAd6lt9g
hSu2fJwrkJRLdAGg09s51HSgjliAn6ZAH5HeCCGyUjPYOs8pVSJAi9QkYUdEBVk/
Jtq8Inedb4ECBpLP6DuYegzgnZEKkSMmzD7cbeKYdW4sKvJNbnlu4d+/KL5fqPTE
GYrqB+dHVsX8SPxUtOoh2qIxDNVwUTNnaK9+WC09lyHbDVANzA7clw==
=gQ+Z
-END PGP SIGNATURE-

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


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

On Wednesday 01 October 2003 01:09 pm, Andy Harrison wrote:
 ~
 On 01-Oct-2003, Eric F Crist wrote message Mail-list PGP Keys
 ~

  I, as well as many of you, utilize a pgp signature.  I would love to be
  able to verify them, rather than get a message that the signature is
  unkown.  With that, what's the point, right?  Is there a place we can all
  go, or  something we can all do to verify the pgp signatures of people on
  this list?
 

How do I submit my keys?

TIA

  Just a little pet peeve.

 AFAIK, most people use http://pgp.mit.edu to submit their keys.

 ~~
 Andy Harrison
 (full headers for details)

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

- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP3sZp5hUClck0MTFAQFkTQf9EeHeKwjVTHtRKBk0+TjXWKSHHd654F8D
EaIMJuiLn8rqxD+9JJGO+R3Jk5yGjpw/zfSt5Xk2vq2o9tLlpIE+d7N6KZLIB5CP
K5SvR+6giFGUJhbwbb25sf5bcDRNJX8uDoTngBwnN/ETaT//FFzDo5n6tnj1LBjc
zMx/euE6jauToR+EXeh6Vy2tGO0emVwXcxFegRsHM1FJbVDhZBkFF2j1A5f63h0j
cJMHH3436tvPVoon+zvKZvioH0U4AWWIMSrYVB6QokUbAkomPyGD0nBrWlwrGlv/
b2E5f08usuhGIoOeupDQYpB4kg+4d7qU/1K8rYTTKXDbuA2T9EHSEw==
=soTJ
-END PGP SIGNATURE-

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


Firewall problem

2003-10-01 Thread Gary
I have set my firewall to

firewall_type=open
firewall_enable=YES

and when I want to drop a specific IP, I enter it manually, it accepts it,
but it does not drop the packets.. 

I am getting a lot of virus activity on my SMTP port 25. So I wanted to
drop a few IP ranges/addresses..

00100  62054   5483792 allow ip from any to any via lo0
00200  0 0 deny ip from any to 127.0.0.0/8
00300  0 0 deny ip from 127.0.0.0/8 to any
65000 873327 293931424 allow ip from any to any
65100  0 0 deny tcp from 24.92.226.153 to any
65110  0 0 deny ip from 213.191.102.86 to any   
65535  0 0 deny ip from any to any

Yet, checking later in my SMTP logs, I am still getting pounded by the
listed addresses. Can anyone explain why this isn't working?

Thanks,

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


Re: Firewall problem

2003-10-01 Thread Rob Ellis
On Wed, Oct 01, 2003 at 01:18:17PM -0500, Gary wrote:
 I have set my firewall to
 
 firewall_type=open
 firewall_enable=YES
 
 and when I want to drop a specific IP, I enter it manually, it accepts it,
 but it does not drop the packets.. 
 
 I am getting a lot of virus activity on my SMTP port 25. So I wanted to
 drop a few IP ranges/addresses..
 
 00100  62054   5483792 allow ip from any to any via lo0
 00200  0 0 deny ip from any to 127.0.0.0/8
 00300  0 0 deny ip from 127.0.0.0/8 to any
 65000 873327 293931424 allow ip from any to any
 65100  0 0 deny tcp from 24.92.226.153 to any
 65110  0 0 deny ip from 213.191.102.86 to any   
 65535  0 0 deny ip from any to any
 
 Yet, checking later in my SMTP logs, I am still getting pounded by the
 listed addresses. Can anyone explain why this isn't working?
 

Your deny rules have to be added before the 'allow ip from any to any'.

  ipfw add 100 deny tcp from 24.92.226.153 to any

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


RE: Firewall problem

2003-10-01 Thread Vince Hoffman
you have allow ip from any to any before your deny rules, unless my memory
is seriously faulty (always possible) a packet will match that rule and
never get to your deny rules. 

 -Original Message-
 From: Gary [mailto:[EMAIL PROTECTED]
 Sent: 01 October 2003 19:18
 To: FreeBSD
 Subject: Firewall problem
 
 
 I have set my firewall to
 
 firewall_type=open
 firewall_enable=YES
 
 and when I want to drop a specific IP, I enter it manually, 
 it accepts it,
 but it does not drop the packets.. 
 
 I am getting a lot of virus activity on my SMTP port 25. So I 
 wanted to
 drop a few IP ranges/addresses..
 
 00100  62054   5483792 allow ip from any to any via lo0
 00200  0 0 deny ip from any to 127.0.0.0/8
 00300  0 0 deny ip from 127.0.0.0/8 to any
 65000 873327 293931424 allow ip from any to any
 65100  0 0 deny tcp from 24.92.226.153 to any
 65110  0 0 deny ip from 213.191.102.86 to any   
 65535  0 0 deny ip from any to any
 
 Yet, checking later in my SMTP logs, I am still getting pounded by the
 listed addresses. Can anyone explain why this isn't working?
 
 Thanks,
 
 -- 
 Gary
 ___
 [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: Mail-list PGP Keys

2003-10-01 Thread Kris Kennaway
On Wed, Oct 01, 2003 at 01:15:03PM -0500, Eric F Crist wrote:

 How do I submit my keys?
 
 TIA

1) Don't middle-post

2) Read the URL provided.

   Just a little pet peeve.
 
  AFAIK, most people use http://pgp.mit.edu to submit their keys.

Kris

pgp0.pgp
Description: PGP signature


Is My DVD Drive Failing, or Have I Mangled Something?

2003-10-01 Thread Fish
I'm running -CURRENT on a Dell Inspiron 8200, and have been for over a
year now.  Relatively recently (in the last few months) I've started
having problems with the DVD drive in that I will sometimes have to
remove/reinsert a disk, data, video, or audio, before it will read. 
Until very recently (the last few weeks) it would eventually read the
disk though, and all was golden.  Now, I will very rarely get it to read
the TOC on an audio CD, but it will never rip, and I can't mount a data
disk.  When I try to pitch in an audio CD and access it, this is what I
get...

bash-2.05b$ cdcontrol -f /dev/acd0 info
cdcontrol: getting toc header: Input/output error
bash-2.05b$ cdcontrol -f /dev/acd0 status
No current status info available
No media catalog info available
Left volume = 255, right volume = 255
bash-2.05b$ ls -al /dev/acd0
crw-r--r--  1 root  operator  117,   0 Oct  1 08:49 /dev/acd0
su-2.05b# mount /cdrom/
cd9660: /dev/acd0: Input/output error

Dmesg information might be of some help here...

bash-2.05b$ dmesg -a | grep acd
acd0: DVDROM TOSHIBA DVD-ROM SD-C2502 at ata0-slave UDMA33
acd0: FAILURE - TEST_UNIT_READY status=51READY,DSC,ERROR
sensekey=MEDIUM ERROR error=0

The last line repeats many, many times.

Does anyone know of any tests I can run, or any way I can work around
this to determine if the drive has started failing, or if I've run into
a legitimate bug in -CURRENT?  I'm mailing here first because I'm not
necessarily convinced this isn't a hardware issue yet.  I can't install
any other OS onto the system for testing either, unfortunately, as I'm a
bit shy on hard disk space without any available spare drives.

Please CC me on any responses, as I'm not subscribed to this particular
list.

Thanks very much,

Fish

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


Re: Firewall problem

2003-10-01 Thread Andrew L. Gould
On Wednesday 01 October 2003 01:18 pm, Gary wrote:
 I have set my firewall to

 firewall_type=open
 firewall_enable=YES

 and when I want to drop a specific IP, I enter it manually, it accepts it,
 but it does not drop the packets..

 I am getting a lot of virus activity on my SMTP port 25. So I wanted to
 drop a few IP ranges/addresses..

 00100  62054   5483792 allow ip from any to any via lo0
 00200  0 0 deny ip from any to 127.0.0.0/8
 00300  0 0 deny ip from 127.0.0.0/8 to any
 65000 873327 293931424 allow ip from any to any
 65100  0 0 deny tcp from 24.92.226.153 to any
 65110  0 0 deny ip from 213.191.102.86 to any
 65535  0 0 deny ip from any to any

 Yet, checking later in my SMTP logs, I am still getting pounded by the
 listed addresses. Can anyone explain why this isn't working?

 Thanks,

I'm a newbie at firewalls; but I'll take a guess:  Doesn't rule 65000 let all 
ip packets in before rules 65100 and 65110 are considered?

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


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

On Wednesday 01 October 2003 01:27 pm, Kris Kennaway wrote:
 Message was signed with unknown key.
 The validity of the signature cannot be verified.
 Problem: OpenPGP plug-in was not specified.
 Use the 'Settings-Configure KMail-Security' dialog to specify the plug-in
 or ask your system administrator to do that for you.
WTF does this mean?

Message was signed with unknown key.
The validity of the signature cannot be verified.
Problem: OpenPGP plug-in was not specified.
Use the 'Settings-Configure KMail-Security' dialog to specify the plug-in or 
ask your system administrator to do that for you.

When I add a key from the MIT server, it usually fixes it.  This is asking for 
some other plugin I think...

We're almost there!

- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP3sdSZhUClck0MTFAQHmlwf+JS1FsefSYsDjT4ZSsU8ZdgEdtvpUnGsQ
hmNezuSrTC4bnecrMwtNf563N4tNr73MK4nrua/69F7aF4nSvCG4OMlFREfEZOqd
KzCWz73j8M8HY5Su6+wfl0QVhoXAkYDXAFeTjX031mmFCB5mzeIl7EaUmq+/0WT8
ebHwkJgbrZIPXUSSRbxWtOuUt45S1OSFuxN0yUhUjnrxSJFESojWMA16zN5mbOt4
u197O23meIlpP46bqD47X6RRl5sYT1paTcycXow5xqhmGYAU8Fp4TQHh65eHlt6Z
p6CmuUDVQyJtEpMEIK/bAgCgPRB3LGyk4CUVP8A/pHgrv0afCArwjQ==
=6UKd
-END PGP SIGNATURE-

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


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

On Wednesday 01 October 2003 01:27 pm, Kris Kennaway wrote:
 On Wed, Oct 01, 2003 at 01:15:03PM -0500, Eric F Crist wrote:
  How do I submit my keys?
 
  TIA

 1) Don't middle-post

 2) Read the URL provided.

Just a little pet peeve.
  
   AFAIK, most people use http://pgp.mit.edu to submit their keys.

 Kris

Kris,

I downloaded your key from http://pgp.mit.edu and tried to add it.  I have pgp
5.x installed and added your key with pgpk -a k_kennaway (the file I saved)
and I still get the plugin error for kmail.

I added Andy Harrison's key, and it works fine.  Before I added his key,
however, I got a different message that read something similar to:

Message was signed with unknown key fingerprint.
The validity of the signature cannot be verified.

TIA for all your help!
- --
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
MessageID: w4bD6eUU3n8GuZg4dOvWQK3ZqtAmZljj

iQEVAwUBP3sR6ZhUClck0MTFAQHYwgf8C6d/dZaezpnBVKtErU7TEB4qGuvaMku5
jqzHZ193Pdmhr4TmAg9XF3qTel8HXrqJF6B+w5JczmetT0zRWrkYmc/UjTwLf16W
xN877rYIBFsBFDfp9gnDy2Y4/FO5ipX7dZcJsOVDNPG5J+k2vTO84W2aK3RGdBbd
5O9j8OyYEnQIatv4sRytWgegQG0N4C4RQDYoZI2B8uBRMskmiQPimwvknTPDPep5
dlh2E3lvf6FidjWvTJoVu+phQOGdGvOTlB6JfWaGyyEUQpt558650V5oFlecFEBj
Fytiq1FvFVfIJwtX/i/yFc6Is+PLhvSYfMR92lPmn2GnWcziqE/5eA==
=O0jh
-END PGP SIGNATURE-

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


Re: I think I messed up with gettext.

2003-10-01 Thread Matthew Seaman
On Wed, Oct 01, 2003 at 01:49:44PM -0400, [EMAIL PROTECTED] wrote:

 I've also been running into problems.  Ever since upgrading
 gettext to 0.12.1 from 0.11.5 I'm getting all sorts of
 issues when it comes to installing certain things(such as
 gnome and kde and the like).  Do you happen to know of a
 way to downgrade?  seems like it will be hard since so
 many other programs depend upon gettext.  Any way to trick
 the system into using the older gettext?

 On Wed, 1 Oct 2003 12:42:47 -0500
  Eric F Crist [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-

  I've seen some results and possible solutions about
  upgrading the gettext 
  port, but none of them thus far have helped me out.  I
  upgraded gettext the 
  other night, and ever since, get the error that
  libintl.so.4 doesn't exist.

The cannical answer to this problem is to recompile and reinstall all
ports that depend on gettext.  This ensures that they will link
against the latest version of the libintl.so shlib.  The simplest way
to do that job is:

# portupgrade -fr devel/gettext

It also seems to be the case that the developers of the gettext
package are far too enthusiastic about updating the shlib version
number.  Ideally that should occur only when there is an incompatible
change to the ABI (application binary interface) provided by the
library, and not as some sort of parallel to the package version
number.

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: Mail-list PGP Keys

2003-10-01 Thread Matthew Seaman
On Wed, Oct 01, 2003 at 01:42:01PM -0500, Eric F Crist wrote:
 
 I downloaded your key from http://pgp.mit.edu and tried to add it.  I have pgp
 5.x installed and added your key with pgpk -a k_kennaway (the file I saved)
 and I still get the plugin error for kmail.

gpg (which is what I use) has a couple of very useful options, such as:

keyserver x-hkp://pgp.mit.edu
keyserver-options auto-key-retrieve

which will attempt to retreive any unknown keys from the mit.edu
keyserver.  I've a feeling that this is a gpg specific feature, but
check your PGP documentation.

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: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

On Wednesday 01 October 2003 01:50 pm, Matthew Seaman wrote:
 On Wed, Oct 01, 2003 at 01:42:01PM -0500, Eric F Crist wrote:
  I downloaded your key from http://pgp.mit.edu and tried to add it.  I
  have pgp 5.x installed and added your key with pgpk -a k_kennaway (the
  file I saved) and I still get the plugin error for kmail.

 gpg (which is what I use) has a couple of very useful options, such as:

 keyserver x-hkp://pgp.mit.edu
 keyserver-options auto-key-retrieve

 which will attempt to retreive any unknown keys from the mit.edu
 keyserver.  I've a feeling that this is a gpg specific feature, but
 check your PGP documentation.

   Cheers,

   Matthew

I don't see a port in /usr/ports/security for gpg.  I see gpgme, but that just 
sounds like an interface.  Do I need to install from source at www.gpg.org or 
something similar?

- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP3skpJhUClck0MTFAQH16Af9FCcIc6fk6GOINXQFdKVMtlFy7aAkTRat
8zTCxhrYKTB9RTd9t+WpwB7+3M+5+/JEB6izmjpEe0gczRuRLdAGO7D/VXbQalVf
Upam7PL7xE5Zh8+dKx/arWbJGXXPzhvdCCCV+0RvzcwwjIoJs5Q11gqYK6g7A3Ps
sl//GrDHVUi5aEw4DG7o9yGjb9wcU7t7AtNV3qSCzY83CVpK4+qSOjetK0enp2ff
6GupYdpSSLwR22l5AsObz5u8jfwAack6VyC4DswU7gniQ0GtZCzD/djRMgVY1Mzc
x1HGh40fiSMSBJBKy/V9mty0iV4AsVFed3Yg8IzdaGq58rMoz6vX5Q==
=NdD5
-END PGP SIGNATURE-

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


WARNING unreserved major device number...

2003-10-01 Thread Redmond Militante
hi all

i have a couple of errors when i run dmesg

...
IP Filter: already initialized
WARNING: driver rtc used unreserved major device number 202
WARNING: driver vmmon used unreserved major device number 200
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570
+ $
/dev/vmmon: Module vmmon: initialized

i just noticed these and don't know when it started.  anything to worry about?

my setup info is in my sig.

thanks
redmond

-- 
FreeBSD 5.1-RELEASE-p5 FreeBSD 5.1-RELEASE-p5 #0: Wed Sep 24 09:12:23 CDT 2003
 1:45PM  up 9 mins, 1 user, load averages: 0.72, 0.42, 0.21
 
Spelling is a lossed art.
 


pgp0.pgp
Description: PGP signature


Re: Mail-list PGP Keys

2003-10-01 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 01-Oct-2003, Eric F Crist wrote message Re: Mail-list PGP Keys
~
 How do I submit my keys?


Here's something I whipped up to do it for me.  You'll have to change the pgp
command line to suit your version.



#!/usr/local/bin/perl -w
#
# pgpkeysubmit.pl
#
# by Andy Harrison xx
#
# Automatically submit my public key
#
# Usage: pgpkeysubmit.pl [ascii-armored public key file]
#
# $Id$
#

use strict;
use LWP::UserAgent;
use HTTP::Request::Common;

my $pubkeyfile = defined($ARGV[0])  -f $ARGV[0] ? 
$ARGV[0] : $ENV{'HOME'}/.pgp/andy.pgp ;

unlink $pubkeyfile;
print qx( pgp -kx ajharrison $pubkeyfile );
open PUB,$pubkeyfile || die  $! \n;

my $pubkey;
foreach ( PUB ) {
$pubkey .= $_;
}
my $ua = LWP::UserAgent-new;
my $response = $ua-request( POST http://pgp.mit.edu:11371/pks/add;, 
[
# Enter ASCII-armored PGP key here: 
keytext = $pubkey, 
],
Referer = http://pgp.mit.edu;
);
print $response-{'_content'};


~~ 
Andy Harrison
(full headers for details)


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBP3slTVPEkLgodAWVAQG9eQP/ahXJ/79oATaFMUMlENvC4ntfye+mXKDr
52xdeH/8hb3KAWBgyC15Ely9nKtb5vsQKdb0kdSvdn0taUPMF7rCNhvpkiQKVpsL
Ovtl9F/uZMKoZ0V3FJZ4Qj5AD+HkS4FAKAi0XjLyRpT6WqNrp5KE388Iuiq5+Ym4
H8/bvrmuxcM=
=aGcv
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firewall problem

2003-10-01 Thread Micheas Herman
On Wed, 2003-10-01 at 11:18, Gary wrote:
 I have set my firewall to
 
 firewall_type=open
 firewall_enable=YES
 
 and when I want to drop a specific IP, I enter it manually, it accepts it,
 but it does not drop the packets.. 
 
 I am getting a lot of virus activity on my SMTP port 25. So I wanted to
 drop a few IP ranges/addresses..
 
 00100  62054   5483792 allow ip from any to any via lo0
 00200  0 0 deny ip from any to 127.0.0.0/8
 00300  0 0 deny ip from 127.0.0.0/8 to any
 65000 873327 293931424 allow ip from any to any

No rule with a number greater than 65000 will have any effect. 
The packet has already passed.

 65100  0 0 deny tcp from 24.92.226.153 to any
 65110  0 0 deny ip from 213.191.102.86 to any   
 65535  0 0 deny ip from any to any

Try renumbering the rules in th 64K range.

 
 Yet, checking later in my SMTP logs, I am still getting pounded by the
 listed addresses. Can anyone explain why this isn't working?
 
 Thanks,
-- 
Micheas Herman [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail-list PGP Keys

2003-10-01 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 01-Oct-2003, Eric F Crist wrote message Re: Mail-list PGP Keys
~
 I don't see a port in /usr/ports/security for gpg.  I see gpgme, but that
 just 
 sounds like an interface.  Do I need to install from source at www.gpg.org or
 something similar?


Port:   gnupg-1.2.3_1
Path:   /usr/ports/security/gnupg
Info:   The GNU Privacy Guard
Maint:  [EMAIL PROTECTED]
Index:  security
B-deps: expat-1.95.6_1 gettext-0.12.1 gmake-3.80_1 libiconv-1.9.1_1
R-deps: expat-1.95.6_1 gettext-0.12.1 libiconv-1.9.1_1


~~ 
Andy Harrison
(full headers for details)


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBP3sliFPEkLgodAWVAQFvigQAq3pH6fxT+/YgazA4IWuzW3CG115rGdCu
opztWpleBVrWtZtQpSe0S/EsbbSqX541hxog9IVQdjiMtXY8XN1VlxLU8Df6VR75
UdndCp0+X1iyMlkFsBeNkfwepQfEqh/3qyFXRMQD507Zjd8X4fCRWVxZEkfBE9Sm
uH7zwAHHAtY=
=Fmez
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-

On Wednesday 01 October 2003 02:05 pm, Andy Harrison wrote:
 ~
 On 01-Oct-2003, Eric F Crist wrote message Re: Mail-list PGP Keys
 ~

  I don't see a port in /usr/ports/security for gpg.  I see gpgme, but that
  just
  sounds like an interface.  Do I need to install from source at
  www.gpg.org or something similar?

 Port:   gnupg-1.2.3_1
 Path:   /usr/ports/security/gnupg
 Info:   The GNU Privacy Guard
 Maint:  [EMAIL PROTECTED]
 Index:  security
 B-deps: expat-1.95.6_1 gettext-0.12.1 gmake-3.80_1 libiconv-1.9.1_1
 R-deps: expat-1.95.6_1 gettext-0.12.1 libiconv-1.9.1_1


 ~~
 Andy Harrison
 (full headers for details)

Does this fix the mime/plugin error in Kmail?  That's what Im really looking
to do now.

TIA
- --
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
MessageID: W1EPSYSk7J2MOA+4pV9tZSAK+LGgjSD+

iQEVAwUBP3sYMJhUClck0MTFAQHoLgf+JaeE6e8TTBV3VjVbZq33Ojq4q7TVYqIO
63b8S7nAmQIV/SqQJ2PAYx+YvNqP51VIC7OuYsYGGUdsW3xDRlvOd8QDvZqVrXwK
9B47lyRpSN82nsTF7eeR5rR5iXKxkoWkqVlNmyWaxTXnfrSHA/ZQ5pQFLkEz//MP
WJjz9H9p6kFK0gezscf4AW6L/gP9GudalX0dSmboO4eIGOxxWVRIQnRWKgvJA5C5
uJGgDax6n4Eg8C8mS50cKlMTUvT+92Wa9ujGItg+O4eS9FzqGH6llxJ+tNHDH156
VXZ71j75QPQbE6FhklE7ASymGeaNR1lBoTiN76AXLBt+h2gFWsb7Yg==
=OBYQ
-END PGP SIGNATURE-

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


Re: Firewall problem

2003-10-01 Thread Gary
On Wed, Oct 01, 2003 at 02:24:51PM -0400 or thereabouts, Rob Ellis wrote:
 On Wed, Oct 01, 2003 at 01:18:17PM -0500, Gary wrote:
  I am getting a lot of virus activity on my SMTP port 25. So I wanted to
  drop a few IP ranges/addresses..
  
  00100  62054   5483792 allow ip from any to any via lo0
  00200  0 0 deny ip from any to 127.0.0.0/8
  00300  0 0 deny ip from 127.0.0.0/8 to any
  65000 873327 293931424 allow ip from any to any
  65100  0 0 deny tcp from 24.92.226.153 to any
  65110  0 0 deny ip from 213.191.102.86 to any   
  65535  0 0 deny ip from any to any
  
  Yet, checking later in my SMTP logs, I am still getting pounded by the
  listed addresses. Can anyone explain why this isn't working?
  
 
 Your deny rules have to be added before the 'allow ip from any to any'.
 
   ipfw add 100 deny tcp from 24.92.226.153 to any

Ah, yes, I can see that.  Thanks very much guys for your input.  

Appreciate the input... works well now.. 
 

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


Re: Firewall problem

2003-10-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Andrew L. Gould wrote:

On Wednesday 01 October 2003 01:18 pm, Gary wrote:
 

I have set my firewall to

firewall_type=open
firewall_enable=YES
and when I want to drop a specific IP, I enter it manually, it accepts it,
but it does not drop the packets..
I am getting a lot of virus activity on my SMTP port 25. So I wanted to
drop a few IP ranges/addresses..
00100  62054   5483792 allow ip from any to any via lo0
00200  0 0 deny ip from any to 127.0.0.0/8
00300  0 0 deny ip from 127.0.0.0/8 to any
65000 873327 293931424 allow ip from any to any
65100  0 0 deny tcp from 24.92.226.153 to any
65110  0 0 deny ip from 213.191.102.86 to any
65535  0 0 deny ip from any to any
Yet, checking later in my SMTP logs, I am still getting pounded by the
listed addresses. Can anyone explain why this isn't working?
Thanks,
   

I'm a newbie at firewalls; but I'll take a guess:  Doesn't rule 65000 let all 
ip packets in before rules 65100 and 65110 are considered?

Andrew
 

Yes, in this case, since this is ipfw, and first match wins.

Using ipf, it's the opposite; gotta love 'Nix! ;-)

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


Re: Mail-list PGP Keys

2003-10-01 Thread Matthew Seaman
On Wed, Oct 01, 2003 at 02:01:56PM -0500, Eric F Crist wrote:
 On Wednesday 01 October 2003 01:50 pm, Matthew Seaman wrote:
  On Wed, Oct 01, 2003 at 01:42:01PM -0500, Eric F Crist wrote:
   I downloaded your key from http://pgp.mit.edu and tried to add it.  I
   have pgp 5.x installed and added your key with pgpk -a k_kennaway (the
   file I saved) and I still get the plugin error for kmail.
 
  gpg (which is what I use) has a couple of very useful options, such as:
 
  keyserver x-hkp://pgp.mit.edu
  keyserver-options auto-key-retrieve
 
  which will attempt to retreive any unknown keys from the mit.edu
  keyserver.  I've a feeling that this is a gpg specific feature, but
  check your PGP documentation.
 
 I don't see a port in /usr/ports/security for gpg.  I see gpgme, but that just 
 sounds like an interface.  Do I need to install from source at www.gpg.org or 
 something similar?

security/gnupg

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

2003-10-01 Thread Gary
Hello Kevin,

Wednesday, October 1, 2003, 2:14:16 PM, you wrote:

SP Yes, in this case, since this is ipfw, and first match wins.

SP Using ipf, it's the opposite; gotta love 'Nix! ;-)

Yah, really g  How does one get started on IPF... IIRC, they have more
ftures / context ...

-- 
Best regards,
 Gary 

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


Re: Mail-list PGP Keys

2003-10-01 Thread Kirk Strauser
At 2003-10-01T19:04:46Z, Andy Harrison [EMAIL PROTECTED] writes:

 Here's something I whipped up to do it for me.  You'll have to change the
 pgp command line to suit your version.

Erm, wouldn't:

   gpg --send-key mykeyid

be easier?
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: I think I messed up with gettext.

2003-10-01 Thread Kirk Strauser
At 2003-10-01T18:43:39Z, Matthew Seaman [EMAIL PROTECTED] writes:

 Ideally that should occur only when there is an incompatible change to the
 ABI (application binary interface) provided by the library, and not as
 some sort of parallel to the package version number.

It was my understanding that they bumped the version number to reflect an
incompatible change to the ABI.
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 01 October 2003 02:18 pm, Matthew Seaman wrote:
 On Wed, Oct 01, 2003 at 02:01:56PM -0500, Eric F Crist wrote:
  On Wednesday 01 October 2003 01:50 pm, Matthew Seaman wrote:
   On Wed, Oct 01, 2003 at 01:42:01PM -0500, Eric F Crist wrote:
I downloaded your key from http://pgp.mit.edu and tried to add it.  I
have pgp 5.x installed and added your key with pgpk -a k_kennaway
(the file I saved) and I still get the plugin error for kmail.
  
   gpg (which is what I use) has a couple of very useful options, such as:
  
   keyserver x-hkp://pgp.mit.edu
   keyserver-options auto-key-retrieve
  
   which will attempt to retreive any unknown keys from the mit.edu
   keyserver.  I've a feeling that this is a gpg specific feature, but
   check your PGP documentation.
 
  I don't see a port in /usr/ports/security for gpg.  I see gpgme, but that
  just sounds like an interface.  Do I need to install from source at
  www.gpg.org or something similar?

 security/gnupg

   Cheers,

   Matthew

Ok, great,

Where do I enter the keyserver options so they happen everytime?

TIA.
- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/ey2dWxy3JtXvWloRApjcAJ4jXTju7MCeaY+QzcJ3JxSD+b8O9gCff8Ef
KlL5mO7vOCDqdQHJOdTKM9E=
=fgrz
-END PGP SIGNATURE-

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


Re: Mail-list PGP Keys

2003-10-01 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 01-Oct-2003, Kirk Strauser wrote message Re: Mail-list PGP Keys
~
 Erm, wouldn't:
 
gpg --send-key mykeyid
 
 be easier?

Were I a gpg user, I'm sure it would.



~~ 
Andy Harrison
(full headers for details)


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBP3suZ1PEkLgodAWVAQHGnQQAnIFG88kVh/ZrpsHD4tq+8I4y86y2qsgG
j3K6uKThtCYsJ9JspTHMd5FybVe/a8RT9imb5MQRPNfg8VtTTRpBVd8Ep26AVp27
XtjbN8U6B8dZcmh1cwCUmqVOMZNX/YK3C3rkYkVHflxnXh1U+8v8ICdMkNJgmxP0
Zx0Fl2+pbg4=
=TJG9
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tar vs cp

2003-10-01 Thread Felix Deichmann
Chuck Swiger wrote:

tar handles symbolic links properly, whereas cp will copy through the 
contents of the link.
Also true for cp -R? :-)

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


Re: upgrading to 4 stable

2003-10-01 Thread Mike Maltese
 What I got was 4.9 prerelease. With this version I can't use
 /stand/sysinstall to install software. It keeps telling me that the FTP
 server doesn't have the ports for 4.9. The ports in /usr/ports work fine
 but it would be nice to use /stand/sysinstall.

Why use sysinstall for this? Why not pkg_add? Also, see my answer on
sysinstall below.

 QUESTIONS
 1. Is 4.9 stable?

4.9-PRERELEASE is 4-STABLE

 2. Is there a way I can use /stand/sysinstall to install software?

You may need to build sysinstall. cd /usr/src/release/sysinstall  make all
install

 3. This system is being used at the moment. Is there any danger in using
 4.9 prerelease?

I wouldn't think so. Is everything working ok? I'm using it on two machines
with no problems, but of course, YMMV.

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


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 01 October 2003 02:43 pm, Andy Harrison wrote:
 ~
 On 01-Oct-2003, Kirk Strauser wrote message Re: Mail-list PGP Keys
 ~

  Erm, wouldn't:
 
 gpg --send-key mykeyid
 
  be easier?

 Were I a gpg user, I'm sure it would.



 ~~
 Andy Harrison
 (full headers for details)


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

Thanks Andy and Ken for all your help.   I did some research and found a 
solution to all you folks that use Winblows and pgp, which is the funny 
Mime/plugin error I've been talking about.  Here is where I found the 
solution, for anyone who's been here and is having my problems:

http://kmail.kde.org/kmail-pgpmime-howto.html

HTH and Thanks a bunch!
- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/ezSkWxy3JtXvWloRAoMlAJ4zFk19r84wMeCq3F9d0kdEcDKyFACeK28N
V3SO8Y+myHXWeUIw1yhia3M=
=Y3Bn
-END PGP SIGNATURE-

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


Re: I think I messed up with gettext.

2003-10-01 Thread Matthew Seaman
On Wed, Oct 01, 2003 at 02:38:48PM -0500, Kirk Strauser wrote:
 At 2003-10-01T18:43:39Z, Matthew Seaman [EMAIL PROTECTED] writes:
 
  Ideally that should occur only when there is an incompatible change to the
  ABI (application binary interface) provided by the library, and not as
  some sort of parallel to the package version number.
 
 It was my understanding that they bumped the version number to reflect an
 incompatible change to the ABI.

That is probably the case, for some value of incompatible.  I must
admit that I have no direct knowledge of exactly why the shlib version
number was bumped.  However it was decided, the ABI for libintl.so
seems to be remarkably mutable: strange therefore that all of the
software that depends on that library seems to recompile against the
new shlib version completely smoothly and that it seems to be possible
to futz the shlib version issue by creating appropriate symlinks...

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: tar vs cp

2003-10-01 Thread Charles Swiger
On Wednesday, October 1, 2003, at 04:03 PM, Felix Deichmann wrote:
Chuck Swiger wrote:
tar handles symbolic links properly, whereas cp will copy through 
the contents of the link.
Also true for cp -R? :-)
No, but not all systems have cp -R, although FreeBSD does.  Likewise 
for the -p or --preserve-permissions option...

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


newbie question - how to pass textfile as an argument

2003-10-01 Thread Martin Vana
Hi,
I was just wondering if there is a way how to pass a text file with list of path/files 
to 
programs like cp/mv.
Thanx
Martin


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


Headless question

2003-10-01 Thread Darryl Hoar
Greetings,
I installed 4.7 on a machine last weekend.  This machines main purpose is
just
to be a mysql database server.  Do you have to do anything special to run it
without a monitor (space considerations) ?

thanks
-D

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


Re: newbie question - how to pass textfile as an argument

2003-10-01 Thread Dan Nelson
In the last episode (Oct 01), Martin Vana said:
 I was just wondering if there is a way how to pass a text file with
 list of path/files to programs like cp/mv.

If the list is small (less than 65000 characters total):

  cp $(cat myfile) /otherdir/

If the list is large:

  xargs  myfile -J% cp % /otherdir/

-- 
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: newbie question - how to pass textfile as an argument

2003-10-01 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 01-Oct-2003, Martin Vana wrote message newbie question - how to pass
textfile as an argument
~
 I was just wondering if there is a way how to pass a text file with list of
 path/files to 
 programs like cp/mv.

AFAIK, you can't.  You can, however, use something like the find command.  

find /somedir -type f -name '*pattern*' -maxdepth 1 -exec mv {} newdir \;
(maxdepth 1 limits it to the current directory, otherwise it is recursive.)

~~ 
Andy Harrison
(full headers for details)


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBP3s6GVPEkLgodAWVAQHWhAQAij/sg4mNSJzdHn0ISnHF3tgdd7FVgbe0
lIHbNBZn6jFrhrd8QXSv22cHKftN/1kDsoAywB7bLVeXHgzKKek/NuWt98qE3/Rp
osVwgGOj8S2c/sBm8tPjHlkcxAdQxM7MlNcMc29sDlQ+smdKYCIjKn0Nv1jPqzeP
W3PmyqXefOE=
=wuMG
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tar vs cp

2003-10-01 Thread Viktor Lazlo


On Wed, 1 Oct 2003, Charles Swiger wrote:

 On Wednesday, October 1, 2003, at 04:03 PM, Felix Deichmann wrote:
  Chuck Swiger wrote:
  tar handles symbolic links properly, whereas cp will copy through
  the contents of the link.
 
  Also true for cp -R? :-)

 No, but not all systems have cp -R, although FreeBSD does.  Likewise
 for the -p or --preserve-permissions option...

From the manpage:

   Note that cp copies hard linked files as separate files.  If you
   need to preserve hard links, consider using tar(1), cpio(1), or
   pax(1) instead.

Cheers,

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


Re: Mail-list PGP Keys

2003-10-01 Thread Mark Woodson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 01 October 2003 12:08 pm, Eric F Crist wrote:
 Does this fix the mime/plugin error in Kmail?  That's what Im
 really looking to do now.

You need to configure KDE and Kmail to recognize the gpg plugin.

http://freebsd.kde.org/howtos/aegypten-kmail.php

This has the info you need.

- -Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/ez1VF/yyV91po54RAme5AJ9lETesli+NcJL6T9zN4CTp4k69jQCfZIo5
GLEpbz72QQ7SIV34lsgauYc=
=Rz4O
-END PGP SIGNATURE-

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


Re: Headless question

2003-10-01 Thread Kirk Strauser
At 2003-10-01T20:29:06Z, Darryl Hoar [EMAIL PROTECTED] writes:

 Do you have to do anything special to run it without a monitor (space
 considerations) ?

I've been using a headless Alpha tracking 4-STABLE for about a year without
taking any special measures.
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: newbie question - how to pass textfile as an argument

2003-10-01 Thread Viktor Lazlo


On Wed, 1 Oct 2003, Dan Nelson wrote:

 In the last episode (Oct 01), Martin Vana said:
  I was just wondering if there is a way how to pass a text file with
  list of path/files to programs like cp/mv.

 If the list is small (less than 65000 characters total):

   cp $(cat myfile) /otherdir/

 If the list is large:

   xargs  myfile -J% cp % /otherdir/


You could also run it through a for loop:

for i in $(cat myfile); do mv $i ~/mydir; done

Or if the files can be grouped by a pattern:

for i in *.mp3; do mv $i ~/mymp3s; done

Or if the files are scattered all over your hard drive and you haven't
created a list yet:

find / -type f -name *.mp3 -exec mv {} ~/mymp3s \;

Cheers,

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


Re: Headless question

2003-10-01 Thread Dan Nelson
In the last episode (Oct 01), Kirk Strauser said:
 At 2003-10-01T20:29:06Z, Darryl Hoar [EMAIL PROTECTED] writes:
 
  Do you have to do anything special to run it without a monitor (space
  considerations) ?
 
 I've been using a headless Alpha tracking 4-STABLE for about a year without
 taking any special measures.

You may also want to enable the serial console, so you can remotely
reboot the machine if it hangs on you.  I believe all that you need is
to add console=comconsole to /boot/loader.conf, and possibly also
enable logins on /dev/ttyd0 in /etc/ttys.

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


creating a package

2003-10-01 Thread [EMAIL PROTECTED]
Hi all,
 I want to distribute my software as a FreeBSD package. I have been through
the porters handbook, but it soes not give comprehensive info about how to
build packages. 

Is there a good doc on how to do that. Also what is the difference between
.tbz and .tgz packages. Are they compatible ? 

Thanks for any pointers,
-ansh


mail2web - Check your email from the web at
http://mail2web.com/ .


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


Re: IDE RAID controllers

2003-10-01 Thread Dan Strick
On Wed, 1 Oct 2003, [EMAIL PROTECTED] wrote:
 Anyone used any IDE RAID controllers recently under FreeBSD?
 
 I've found the Promise Fastrak stuff works really well for 0  1 but
 doesn't support RAID 5.
 
 We need a big filesystem, doesn't need to be all that fast or reliable,
 and were ogling the new-ish 250GB Western Digital drives.
 
 We've found a case that will accomodate 6 drives, cooled properly, and
 were wondering what chance there was of getting a bit over a terabyte with
 a system drive into a FreeBSD box?
 
 ie, something like an 80GB boot drive and 5 x 250GB IDEs in RAID5, or even
 just striped.
 
 Our beige box supplier is very good on the hardware front but doesn't know
 much about FreeBSD and has had trouble with the more fancy Promise
 controllers with RAID 5 under other OS's.

What are your priorities?  You wrote that the file system doesn't have to
be all that ... reliable.  If that is the case, you don't need RAID 5.
(But are you prepared to frequently dump and restore a huge file system?
Somehow the pain seems to increase with file system size faster than O(N).)

You wrote that you have had good experiences with Promise RAID controllers.
Why not continue using a brand you feel comfortable with?  Is the issue
really RAID 5 even though you think you don't need the extra reliability?

Have you considered using vinum?  It comes standard on FreeBSD and supports
various RAID flavors, including RAID 5.  All you need is a disk controller
that supports a whole bunch of disk drives.

I can't actually recommend vinum because I have never used it.  I just
know it exists.  I wonder about vinum RAID 5 performance because RAID 5
works best with NVRAM and as far as I know the vinum man pages don't say
anything about NVRAM.  I also wonder about the cheap RAID controllers.
I don't think they have NVRAM and I think most of them don't claim to
suppport RAID 5 either.

The most capable RAID cards seem to be SCSI and cost a lot more than
the cheap ATA cards.

I recently went looking for PCI ATA cards in the FreeBSD HARDWARE.TXT
file.  The only brands I found were HighPoint, Promise and 3Ware.
(Most of the ATA controllers listed were actually cpu support chipsets.)
The ATA cards with more than 2 ports all seem to be RAID cards.
I have not yet used any of these cards.  I don't know anything about
their RAID drivers.

Something else to watch out for: really huge file systems require a lot
of main memory for support.  For example, fsck memory requirements
increase with file system size.  I don't think you will have a problem
at only 1000 GB, but I am not certain.  This issue was discussed recently
on one of the FreeBSD mailing lists.

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


Re: Headless question

2003-10-01 Thread Mike Tancsa
At 04:29 PM 01/10/2003, Darryl Hoar wrote:
Greetings,
I installed 4.7 on a machine last weekend.  This machines main purpose is
just
to be a mysql database server.  Do you have to do anything special to run it
without a monitor (space considerations) ?
Its handy to enable serial console access.  Add -Dh to /boot.config

and in /etc/ttys

ttyd0   /usr/libexec/getty std.9600   vt100 on secure

---Mike 

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


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
On Wednesday 01 October 2003 03:47 pm, Mark Woodson wrote:
 On Wednesday 01 October 2003 12:08 pm, Eric F Crist wrote:
  Does this fix the mime/plugin error in Kmail?  That's what Im
  really looking to do now.

 You need to configure KDE and Kmail to recognize the gpg plugin.

 http://freebsd.kde.org/howtos/aegypten-kmail.php

 This has the info you need.

 -Mark

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

Wow, going through a lot to get this MIME stuff working.  Maybe someone can 
help me with this.

I had 'Keep passphrase in memory' enabled when I went through the instructions 
on http://freebsd.kde.org/howtos/aegypten-kmail.php and everything seemed to 
work fine as far as reading emails you people send with a  MIME pgp key.  
However, I am not able to sign or encrypt anymore becase it's not giving me a 
way to input my passphrase.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

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


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
On Wednesday 01 October 2003 04:33 pm, Eric F Crist wrote:
 On Wednesday 01 October 2003 03:47 pm, Mark Woodson wrote:
  On Wednesday 01 October 2003 12:08 pm, Eric F Crist wrote:
   Does this fix the mime/plugin error in Kmail?  That's what Im
   really looking to do now.
 
  You need to configure KDE and Kmail to recognize the gpg plugin.
 
  http://freebsd.kde.org/howtos/aegypten-kmail.php
 
  This has the info you need.
 
  -Mark
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 Wow, going through a lot to get this MIME stuff working.  Maybe someone can
 help me with this.

 I had 'Keep passphrase in memory' enabled when I went through the
 instructions on http://freebsd.kde.org/howtos/aegypten-kmail.php and
 everything seemed to work fine as far as reading emails you people send
 with a  MIME pgp key. However, I am not able to sign or encrypt anymore
 becase it's not giving me a way to input my passphrase.

 TIA

Sorry, more info.

I figured out that the use-agent option is a passphrase agent.  I'm just not 
sure how to pass the passphrase to the agent.  GRR.

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

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


Re: Mail-list PGP Keys

2003-10-01 Thread Mark Woodson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 01 October 2003 02:33 pm, Eric F Crist wrote:
 On Wednesday 01 October 2003 03:47 pm, Mark Woodson wrote:
  On Wednesday 01 October 2003 12:08 pm, Eric F Crist wrote:
   Does this fix the mime/plugin error in Kmail?  That's what Im
   really looking to do now.
 
  You need to configure KDE and Kmail to recognize the gpg plugin.
 
  http://freebsd.kde.org/howtos/aegypten-kmail.php
 
  This has the info you need.

 Wow, going through a lot to get this MIME stuff working.  Maybe
 someone can help me with this.

Yes, unfortunately it's not all that user friendly a process.  Though 
it's still relatively easy.

 I had 'Keep passphrase in memory' enabled when I went through the
 instructions on http://freebsd.kde.org/howtos/aegypten-kmail.php
 and everything seemed to work fine as far as reading emails you
 people send with a  MIME pgp key. However, I am not able to sign or
 encrypt anymore becase it's not giving me a way to input my
 passphrase.

I've found that signing requires changing it from OpenPGP (plugin) 
to inline OPenPGP (built-in). 

- -Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/e0orF/yyV91po54RAnmXAKCWB4etNDX2tmvXEFV+thm2l0OsfwCg5Zt7
WzHnY82zgfPRVs/w3/nRAxE=
=lOIL
-END PGP SIGNATURE-

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


Re: Mail-list PGP Keys

2003-10-01 Thread Eric F Crist
On Wednesday 01 October 2003 04:42 pm, Mark Woodson wrote:
::snip::

 
  Wow, going through a lot to get this MIME stuff working.  Maybe
  someone can help me with this.

 Yes, unfortunately it's not all that user friendly a process.  Though
 it's still relatively easy.

  I had 'Keep passphrase in memory' enabled when I went through the
  instructions on http://freebsd.kde.org/howtos/aegypten-kmail.php
  and everything seemed to work fine as far as reading emails you
  people send with a  MIME pgp key. However, I am not able to sign or
  encrypt anymore becase it's not giving me a way to input my
  passphrase.

 I've found that signing requires changing it from OpenPGP (plugin)
 to inline OPenPGP (built-in).

 -Mark

I can't even do that, Mark.  I get the same error each time:

The Message Could Not Be Signed
The Crypto-Plugin /usr/local/lib/cryptplug/gpgme-openpgp.so
reported the following details:

#19: No Passphrase

Your configuration could be invalid or the Plug-in damaged.

Please contact your systems administrator.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000

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


Re: Headless question

2003-10-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Mike Tancsa wrote:

At 04:29 PM 01/10/2003, Darryl Hoar wrote:

Greetings,
I installed 4.7 on a machine last weekend.  This machines main 
purpose is
just to be a mysql database server.  Do you have to do anything special
to run it  without a monitor (space considerations) ?


Its handy to enable serial console access.  Add -Dh to /boot.config

and in /etc/ttys

ttyd0   /usr/libexec/getty std.9600   vt100 on secure

---Mike
And one more minor point, albeit potentially important.

If the machine won't have a keyboard attached and
will be administered remotely, turn off keyboard
warnings in the BIOS.
Can you tell I once wondered why a server never
came back after buildworld and 'shutdown -r now' ?
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: Mail-list PGP Keys SOLVED!!!!!!

2003-10-01 Thread Eric F Crist
Hey all,

Thanks for putting in your time.  I finally got everything working the way 
it's supposed to.  I forgot to add the ./.gnupg/gpg-agent.conf file with a 
pinentry program.  DOH!

I can now sign and encrypt, as well as verify and decrypt all MIME and 
standard pgp messages.

My only, final question to the group is related to signature trust.  Should I, 
upon recieving a new signature change its trust level to unconditional?  I 
would like messages that are verified to appear green in Kmail and anything 
below a level 5 is listed as untrusted, so shows yellow.

Thanks again to all the help this group provides.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


pgp0.pgp
Description: signature


Re: FreeBSD Fax Server?

2003-10-01 Thread Ekrem
On Thu, 2003-10-02 at 03:18, [EMAIL PROTECTED] wrote:
 Which model of US Robotics did you get?
 I take it that it should work with FreeBSD Rel 5.1?
 
 C. Ulrich wrote:
 
 On Tue, 2003-09-30 at 21:15, Bill Campbell wrote:
   
 
 IMHO internal modems are to be avoided at all costs.
 
 
 
 Generally, I used to concur with this, but a couple years ago I bought a
 USR PCI internal _hardware_ modem and it's worked great with every OS I
 threw at it. They're pretty much all I recommend anymore.
 
 Charles Ulrich
   
 
 

I might join and say that I'm also using a 3com/US Robotics modem.
Mine is an external, 56K Voice Faxmodem.

I've never had any problems with it in Windows or FreeBSD. It always
connects at 52K, which is higher than what most people report about
their modems. It's also what I always recommend to friends and
customers.

It worked successfully in the past with FreeBSD 4.x and now I'm
using it with 5.1-Release.


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


IM server

2003-10-01 Thread Kenzo
I was wondering what ports there are for an IM server.  I looked and only
found jabber.
I was wondering if anyone installed it and what other IM server can I use in
FreeBSD.
I want to install a simple IM server only for LAN use.

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


Need a Makefile expert.

2003-10-01 Thread Julian Elischer

I'm trying to compile npasswd (from utexas).
I know that it doesn't work on freeBSD, but I have
some work to make it do so, if only I could get the damned thing to
compile automatically.. (I can do lots of it by hand but it's a pain)

After running Configure, I type make
and I get:
[lots-o-stuff]
Making all in src...
cd Methods; make   libmethod.a
make: don't know how to make .o. Stop
*** Error code 2

Stop in /usr/tmp/npasswd/npasswd-2.05/src.
*** Error code 1

Stop in /usr/tmp/npasswd/npasswd-2.05.
*** Error code 1

Stop in /usr/tmp/npasswd/npasswd-2.05.

The Makefile from src/Methods is attached..
I've stared at it but I'm not seeing the problem.

the directory contains:
 ls -latr src/Methods/
total 149
-r--r--r--  1 julian  staff  10165 May  7  1998 pwm_nisplus.c
-r--r--r--  1 julian  staff   1786 Jul 14  1998 passwdtab.h.SH
-r--r--r--  1 julian  staff   1615 Jul 14  1998 shadowtab.h.SH
-r--r--r--  1 julian  staff   3845 Jul 17  1998 shm_aix.c
-r--r--r--  1 julian  staff   1015 Jul 20  1998 shm_null.c
-r--r--r--  1 julian  staff   3142 Jul 20  1998 shm_ultrix.c
-r--r--r--  1 julian  staff   8402 Jul 20  1998 shm_osf1.c
-r--r--r--  1 julian  staff   1954 Aug 17  1998 pwm_defs.h
-r--r--r--  1 julian  staff   8536 Oct 13  1998 shm_adjunct.c
-r--r--r--  1 julian  staff  13312 Oct 13  1998 pwm_local.c
-r--r--r--  1 julian  staff   8412 Oct 13  1998 shm_shadow.c
-r--r--r--  1 julian  staff   5642 Feb  1  1999 pwm_main.c
-r--r--r--  1 julian  staff   6712 Feb  1  1999 shm_hpux.c
drwxr-xr-x  3 julian  staff512 Jul 11 13:40 TestSuite
-r--r--r--  1 julian  staff  20343 Jul 11 13:53 pwm_nis.c
-rw-r--r--  1 julian  staff571 Oct  1 14:31 shadowtab.h
-rw-r--r--  1 julian  staff579 Oct  1 14:31 passwdtab.h
-rw-r--r--  1 julian  staff  0 Oct  1 14:31 Makefile.local
-rw-r--r--  1 julian  staff   9214 Oct  1 14:31 Makefile.bak
-rw-r--r--  1 julian  staff   2900 Oct  1 14:34 pwm_main.o
drwxr-xr-x  6 julian  staff   1024 Oct  1 14:34 ..
drwxr-xr-x  3 julian  staff   1024 Oct  1 14:34 .
-rw-r--r--  1 julian  staff   4512 Oct  1 14:34 pwm_local.o
-rw-r--r--  1 julian  staff785 Oct  1 14:34 pwm_nis.o
-rw-r--r--  1 julian  staff  10032 Oct  1 14:39 Makefile.SH
-rw-r--r--  1 julian  staff   9214 Oct  1 15:07 Makefile

(I'm hopin gthat, having posted this, the problem becomes immediatly
obvious to me :-) (but I wouldn't count on it)


# Makefile generated from Makefile.SH on Wed Oct  1 14:39:29 PDT 2003

SHELL = /bin/sh
JMAKE = jmake
TOP = ../../
CURRENT = src/Methods
DIR = src/Methods/


# Parameters set by Configure -- edit config.sh if changes are needed

AR = ar rc
CC = cc
CTAGS = ctags
JCFLAGS = $(CFLAGS) -O  
LINT = lint
MAKE = make
MKDEP = /usr/tmp/npasswd/npasswd-2.05/mkdep $(DPFLAGS) --
MV = mv
RANLIB = :
RM = rm -f
SED = sed


# Automatically generated parameters -- do not edit

X_CCDEBUG =  -g
X_COPT =  -O
X_CFLAGS =   -DOS_NAME=freebsd -DOS_MAJOR_VERSION=4 -DOS_MINOR_VERSION=8- 
$(INCLUDE_PATH)
X_LDFLAGS =  
X_LOCAL_CFLAGS =
LOCAL_FLAGS =  Makefile.local
JCFLAGS =  $(X_CFLAGS) $(X_COPT) $(X_LOCAL_CFLAGS)
JLDFLAGS =  $(X_LDFLAGS) $(X_LOCAL_CFLAGS)
LNS =  /bin/ln -s
DPFLAGS =  $(INCLUDE_PATH)
LINTFLAGS =  $(X_CFLAGS) 
INCLUDE_PATH =  -I.. -I../.. -I../Common
SHADOW_M =  
OBJECTS =   $(METHOD_OBJ) $(SHADOW_M).o
SOURCES =  $(SHADOWM_SRC)  $(PASSWDM_SRC)


# New suffixes and associated building rules -- edit with care

.c.o:
$(RM) $@
$(CC) -c $(JCFLAGS) $


# Jmake rules for building libraries, programs, scripts, and data files
# $X-Id: Jmake.rules,v 3.0.1.5 1995/09/25 09:07:19 ram Exp $


# Force 'make depend' to be performed first -- do not edit

.FORCE_DEPEND::

all:: .FORCE_DEPEND


# Start of Jmakefile
#
# Copyright 1998, The University of Texas at Austin (U. T. Austin).
# All rights reserved.
#
# By using this software the USER indicates that he or she has read,
# understood and will comply with the following:
#
# U. T. Austin hereby grants USER permission to use, copy, modify, and
# distribute this software and its documentation for any purpose and
# without fee, provided that:
#
# 1. the above copyright notice appears in all copies of the software
#and its documentation, or portions thereof, and
# 2. a full copy of this notice is included with the software and its
#documentation, or portions thereof, and
# 3. neither the software nor its documentation, nor portions thereof,
#is sold for profit. Any commercial sale or license of this software,
#copies of the 

Re: tar vs cp

2003-10-01 Thread Pat Lashley
--On Wednesday, October 01, 2003 13:22:36 -0400 Chuck Swiger 
[EMAIL PROTECTED] wrote:

Jamie wrote:
[ ... ]
I don't know what the actual rationale is for this. Can anyone
explain why it is oftentimes better to tar something rather than
using cp when copying directories and their contents?
tar handles symbolic links properly, whereas cp will copy through the
contents of the link.
Another technique is 'cd /source ; find . -print | cpio -pdmv /dest'.

But none of the built in tools seem to preserve links, flags, and
sparseness.  If you want as close to a true copy as possible, check
out the cpdup port.


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


Re: Need a Makefile expert.

2003-10-01 Thread Dan Nelson
In the last episode (Oct 01), Julian Elischer said:
 
 I'm trying to compile npasswd (from utexas).
 I know that it doesn't work on freeBSD, but I have
 some work to make it do so, if only I could get the damned thing to
 compile automatically.. (I can do lots of it by hand but it's a pain)
 
 After running Configure, I type make
 and I get:
 [lots-o-stuff]
 Making all in src...
 cd Methods; make   libmethod.a
 make: don't know how to make .o. Stop
 *** Error code 2
 
... (much clipping ahead)
 
 # Makefile generated from Makefile.SH on Wed Oct  1 14:39:29 PDT 2003
...
 SHADOW_M =  
... 
 libmethod.a:  $(METHOD_OBJ) $(SHADOW_M).o
   $(RM) $@
   $(AR) $@  $(METHOD_OBJ) $(SHADOW_M).o
   $(RANLIB) $@

SHADOW_M expands to the empty string, so the dependency list for
libmethod.a is whatever METHOD_OBJ expands to, plus .o.  Try removing
$(SHADOW_M).o from both lines above?

-- 
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: Mail-list PGP Keys SOLVED!!!!!!

2003-10-01 Thread Mark Woodson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 01 October 2003 03:11 pm, Eric F Crist wrote:
 Hey all,

 Thanks for putting in your time.  I finally got everything working
 the way it's supposed to.  I forgot to add the
 ./.gnupg/gpg-agent.conf file with a pinentry program.  DOH!

 I can now sign and encrypt, as well as verify and decrypt all MIME
 and standard pgp messages.

 My only, final question to the group is related to signature trust.
  Should I, upon recieving a new signature change its trust level to
 unconditional?  I would like messages that are verified to appear
 green in Kmail and anything below a level 5 is listed as untrusted,
 so shows yellow.

The idea with trust is that you do so as minimally as possible.  The 
only person you should trust unconditionally is yourself.  There's a 
great deal of literature on the subject out there I'd suggest doing a 
bit of reading.

- -Mark

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/e1auF/yyV91po54RAgp1AJ9ZfkT/qM+YE7Eer3fIh1uBBjYn2ACfT735
EPmjRdCaXw4q+Uf/Lgysw1E=
=+lDX
-END PGP SIGNATURE-

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


  1   2   >