console pim? - what to use to track appointments

2004-02-04 Thread Andrew L. Gould
I've been thinking about the combination of tools/applications needed to have 
PIM functionality at the console.  This would allow me to use the same 
software on my desktop (FreeBSD) and NEC Mobilepro (NetBSD).

Syncing - rsync should provide efficient syncing of email if I use the maildir 
email format.  Since the address book is in one file, I'll have to be careful 
about where/when I make entries.  I can script the rsync activities for ease 
of use.

Email - mutt, fetchmail, msmtp and procmail can handle the email functions.

Address book - abook can provide the address book and works with mutt.

Schedule/Calendar - ???  Here's where I'm stumped.  cal will show me calendars 
when I need then; but I don't know what to use to keep track of meetings and 
other appointments.  calendar has lists of dates; but doesn't facilitate data 
entry and the format doesn't facilitate various fields of information (date, 
time, place, subject, contact, etc).  Does anyone have any suggestions?

Thanks,

Andrew Gould

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


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 Sorry, you were recovering an 80G disk, and now you say the 80G has 4.9
 on it. Did you erase anything? Is this a remote machine?

No, it was not the drive that had the OS on it. It was originally mounted as
/data on a system that had FreeBSD 5.1 installed on a separate drive. We
determined the 80GB was UFS1. You wanted to try troubleshooting using
FreeBSD 4.9, so I obtained a spare system which I installed FreeBSD
4.9-RELEASE on. I then moved the 80GB from the 5.1 system (which is actually
5.2 now) and installed it into the 4.9 system on the 2nd controller. So now
4.9 is installed on a 20GB on /dev/ad0, and our problem 80GB is /dev/ad2.

 You can boot 4.9, right? Examine the output of disklabel ...s1 and
 ...s1c to make heart feel better.

bash-2.05b# disklabel /dev/ad2s1
# /dev/ad2s1:
type: ESDI
disk: ad6s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9731
sectors/unit: 156344517
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0
 
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 1563445170unused0 0# (Cyl.0 -
9731*)
  e: 15634451704.2BSD 2048 1638489  # (Cyl.0 -
9731*)

bash-2.05b# disklabel /dev/ad2s1c
# /dev/ad2s1c:
type: ESDI
disk: ad6s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9731
sectors/unit: 156344517
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0
 
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 1563445170unused0 0# (Cyl.0 -
9731*)
  e: 15634451704.2BSD 2048 1638489  # (Cyl.0 -
9731*)



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


Re: nss_ldap

2004-02-04 Thread Konrad Heuer
On Tue, 3 Feb 2004, Andrea Venturoli wrote:

 Hello. I've installed the above on FreeBSD 5.1 and it's more or less
 working; however when i do ls -l I don't see user names, but uid
 numbers. Any fix?

You need to run 5.2-RELEASE. In 5.1 the binaries in /bin and /sbin are
still statically linked and thus don't make use of LDAP user information.

Regards
Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot Add User

2004-02-04 Thread Vince Sabio
I just installed a v5.1 single-boot system from CD. So far, the only 
changes I've made from the initial installation were to configure 
sshd, set the system security level to moderate (from high), and 
set the system clock; other than that, it's a clean installation.

I'm now trying to install Postfix, and the problem I'm running into 
is that I cannot create new user accounts. I created several user 
accounts during installation, and they seem to be fine. But when I 
[manually] create entries in /etc/passwd, master.passwd, and group, 
the entries are 'ignored' -- e.g., a chown [newuser] [filename] 
command fails, attempts to su from root into the user account fail, 
etc. When I try to create the user via adduser (using the standard 
defaults), the account creation step fails with the following error:

pw: user '[newuser]' disappeared during update

Again, attempts to 'access' the user (i.e., chmod, etc.) will fail. 
Interestingly, though, if I try to re-create the user, adduser tells 
me that the user already exists -- and a check of the relevant files 
confirms that the entries are there.

I've looked around for a solution to this problem, but haven't found 
one, so here I am.

FYI, the system security level was set to high during installation, 
and was then reset to moderate after installation, as this system 
is intended to be used as a server (and high was too restrictive; I 
couldn't even [find a way to] set the system time correctly).

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


Automated web page builder

2004-02-04 Thread JJB
I have an need to build an web page environment which could look
just like the FBSD online handbook. An document index page with
links into the big document, and each displayed page having
previous, home, and next links at both the top and bottom of the
page. Was some kind of tool used to build the FBSD handbook that
automatically builds all the links for you, or was all that done by
hand?

Any suggestions would be greatly appreciated.

Thanks


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


RE: FreeBsd Home Network Utilizing Verizon Online DSL

2004-02-04 Thread JJB

See http://en.tldp.org/HOWTO/Cable-Modem/isps.html  for setup
details unique to different USA cable providers nation wide.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of alfred chin
Sent: Tuesday, February 03, 2004 1:29 AM
To: [EMAIL PROTECTED]
Subject: FreeBsd Home Network Utilizing Verizon Online DSL

Hi,

I have just finished installing FreeBSD v 4.9.  I have searched
numerous
archives but still have not found the answers on how to configure my
server to work with Verizon DSL. Could somebody please help or push
me
in the right direction.  Your help is greatly appreciated.

Sincerely,

Alfred J Chin

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


/usr/share ?

2004-02-04 Thread JJB
I want to remove un-needed stuff from HD so my bkups run faster.

Looking for explanation of what all the stuff is used for in the
 /usr/share directory tree so I can figure out what stuff I can 
delete without harming system.

An pointer to some web docs would be great.

Thanks

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


HEADS UP: MAJOR changes to the ports system

2004-02-04 Thread Joe Marcus Clarke
Sorry for the wide distribution, but it is critical that -CURRENT users
hear this.  Two _MAJOR_ changes just went in to the ports tree that are
bound to cause some pain to -CURRENT users.  

The first is the change in default threading libraries.  The ports
system now uses -lpthread when linking ports instead of -lc_r.  Binaries
that wind up with both libc_r and libpthread in them will cause
problems.  In that case, it is imperative that you report this to the
port's maintainer ASAP.  You can use pkg_info -W /path/to/binary to
determine which port installed it.

Second, Perl 5.8.2 is now the default version of Perl in -CURRENT since
the 5.2 split.  This replaces Perl 5.6.1 as the default.  Note: Perl
5.00503 is still the default version of Perl in the 4.X base OS.

If you experience problems with any of these changes (or with the other
recent changes listed in /usr/ports/CHANGES), please report them on the
ports@ list and to the appropriate maintainers as soon as possible. 
Thanks.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


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


Re: /usr/share ?

2004-02-04 Thread Kris Kennaway
On Tue, Feb 03, 2004 at 10:04:55AM -0500, JJB wrote:
 I want to remove un-needed stuff from HD so my bkups run faster.

If you're doing incremental backups this shouldn't make much
difference, since those files change rarely.

 Looking for explanation of what all the stuff is used for in the
  /usr/share directory tree so I can figure out what stuff I can 
 delete without harming system.
 
 An pointer to some web docs would be great.

man hier is a starting point.

Kris


pgp0.pgp
Description: PGP signature


Re: HEADS UP: MAJOR changes to the ports system

2004-02-04 Thread Julian Elischer


On Wed, 4 Feb 2004, Joe Marcus Clarke wrote:

 Sorry for the wide distribution, but it is critical that -CURRENT users
 hear this.  Two _MAJOR_ changes just went in to the ports tree that are
 bound to cause some pain to -CURRENT users.  
 

I'm glad to hear about this and I wouldn't mind hearing regularly about
major events over in the ports tree.


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


Re: HEADS UP: MAJOR changes to the ports system

2004-02-04 Thread Joe Marcus Clarke
On Wed, 2004-02-04 at 03:22, Julian Elischer wrote:
 On Wed, 4 Feb 2004, Joe Marcus Clarke wrote:
 
  Sorry for the wide distribution, but it is critical that -CURRENT users
  hear this.  Two _MAJOR_ changes just went in to the ports tree that are
  bound to cause some pain to -CURRENT users.  
  
 
 I'm glad to hear about this and I wouldn't mind hearing regularly about
 major events over in the ports tree.

I've started doing this.  The full summary was sent to ports@ and
ports-developers@, plus I added a copy to /usr/ports/CHANGES.  This is
now the second major ports update I've summarized.  Once the archives
get back up to speed, you should be able to see my previous summary.

Joe

 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


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


Vulnerability check disabled

2004-02-04 Thread Gautam Gopalakrishnan
Hello,

Hope I'm not missing something obvious, but since today morning, I've
been getting wierd warnings when running make in the ports:

[madras!/usr/ports/www/apache13]# make fetch-recursive
=== Fetching all distfiles for apache-1.3.29_1 and dependencies
===  Vulnerability check disabled
===  Vulnerability check disabled
===  Vulnerability check disabled
===  Vulnerability check disabled
[madras!/usr/ports/www/apache13]# cd ../mod_php4
[madras!/usr/ports/www/mod_php4]# make fetch
===  Vulnerability check disabled
[madras!/usr/ports/www/mod_php4]# 

Happened in www/zope as well.

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


Re: Vulnerability check disabled

2004-02-04 Thread Kris Kennaway
On Wed, Feb 04, 2004 at 07:31:27PM +1100, Gautam Gopalakrishnan wrote:
 Hello,
 
 Hope I'm not missing something obvious, but since today morning, I've
 been getting wierd warnings when running make in the ports:

Ports questions should be asked on ports@

Kris


pgp0.pgp
Description: PGP signature


PPC ver of freeBSD ? isent that the main body of os X

2004-02-04 Thread James
I know you must have better things to do to day then what your time on 
dumb email.
But would like to know Is or is not the basic system of OS x 10 .2.2 
FreeBSD ?
Why dos it seem to to take for ever to find an MAC os X port of some thing.
And Yes befor I sent my cheap PC the the PC graveyard I looked at 
FreeBSD ver 4.0 But cound not  whay it would not in stall.  I at the 
time thought it was eather FREEBSD to much work or that the PC's wher junk.
You would think with mainly one maker of PPC systems Apple you all know 
the mother bords like the back of your hand.  Sorey thouw I can't help 
in code this do to the last system I did programing on was OS/2.  I 
would be of no help in unix. I do  try to read up on FREEBSD  In the 
hope of one day  I may get   to see more of it On my MAC  G3. Sorey you 
can keep the PC's it takes to much time keeping the newer ones running. 
My friends sounds lke an jet on takeoff  and He spends more time 
thinking about heat then using it.
MY MAC on the outher hand  is lke this heat what is that I at time have 
to look to see if I left it on .
Thanks for your time.
P.S I will be whaitting for FREEBSD for the MAC

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


Re: UDMA ICRC Error FreeBSD 4.9, falling back to PIO mode

2004-02-04 Thread Gilad Rom
treeml wrote:
I get a following error on boot

ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
falling back to PIO mode
Sounds like your drive was physically damaged.
This recently happend to a mail server of ours,
and I had to reinstall the whole thing.
(After long fsck sessions, only a small part
of the file systems was accessible, and there
was nothing of value that could be salvaged)
Sorry for the Bad News (tm) :(

Gilad.

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


Re: Automated web page builder

2004-02-04 Thread Paul A. Hoadley
On Tue, Feb 03, 2004 at 09:38:53PM -0500, JJB wrote:

 I have an need to build an web page environment which could look
 just like the FBSD online handbook. An document index page with
 links into the big document, and each displayed page having
 previous, home, and next links at both the top and bottom of the
 page. Was some kind of tool used to build the FBSD handbook that
 automatically builds all the links for you, or was all that done by
 hand?

The Handbook (and the rest of the documentation) is authored in
DocBook SGML.  If you want something just like the online Handbook,
you might try DocBook SGML or XML, or for a more web-centric output,
even the DocBook Website system.  You can get information on all of
them from here:

http://www.docbook.org/


-- 
Paul.

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


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 3 Feb 2004 23:05:05 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
  Sorry, you were recovering an 80G disk, and now you say the 80G has 4.9
  on it. Did you erase anything? Is this a remote machine?

 No, it was not the drive that had the OS on it. It was originally mounted as
 /data on a system that had FreeBSD 5.1 installed on a separate drive. We
 determined the 80GB was UFS1. You wanted to try troubleshooting using
 FreeBSD 4.9, so I obtained a spare system which I installed FreeBSD
 4.9-RELEASE on. I then moved the 80GB from the 5.1 system (which is actually
 5.2 now) and installed it into the 4.9 system on the 2nd controller. So now
 4.9 is installed on a 20GB on /dev/ad0, and our problem 80GB is /dev/ad2.

Thank you for the explanation.

  You can boot 4.9, right? Examine the output of disklabel ...s1 and
  ...s1c to make heart feel better.

 bash-2.05b# disklabel /dev/ad2s1
[snip]
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 1563445170unused0 0# (Cyl.0 - 9731*)
   e: 15634451704.2BSD 2048 1638489  # (Cyl.0 - 9731*)

 bash-2.05b# disklabel /dev/ad2s1c
[snip]
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 1563445170unused0 0# (Cyl.0 - 9731*)
   e: 15634451704.2BSD 2048 1638489  # (Cyl.0 - 9731*)

Good:)

Well, as it's UFS1 as we've figured out, the next logical thing would be to
try mounting /dev/ad2s1c r/o, and if that fails, try fscking it.

--
DoubleF
The faster we go, the rounder we get.
-- The Grateful Dead


pgp0.pgp
Description: PGP signature


freeBSD 4.9 stable hang on start_init: trying /sbin/init

2004-02-04 Thread treeml
After a power failure, my freebsd 4.9 stable is giving out the UDMA ICRC
error. (see my first email below), but after a few boot, and change of a IDE
cable, it is no longer giving out that error.

However, it still hangs at boot at

Mounting root from ufs:/dev/ads1a

If I boot with boot -v option.  It will stop at

Start_init: trying /sbin/init


This happens with my custom kernel and the default kernel.  I also can't
boot into single user mode using boot -s

It is worth mentioning that I was able to boot the box from a FreeBSD 5.1
rescue CD, and remount all the partitions. I even used fsck and check all
the partitions to make sure they are clean.  But still can't boot from it.


I have search the Internet, and it looks like quite a few people had the
same problem during installation, but I didn't find any suitable solutions.



Tree
-Original Message-
From: treeml [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 12:28 AM
To: [EMAIL PROTECTED]
Subject: UDMA ICRC Error FreeBSD 4.9, falling back to PIO mode

I get a following error on boot

ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
falling back to PIO mode


BTW, this all happened after a power failure.  At first I was prompted to go
into the single user mode, but then after second reboot that doesn't even
happen anymore.  Just the error message. I switch a IDE cable to the hard
drive, and now,  I don't even get the error message anymore.  The system
stuck at

Mounting root from ufs:/dev/ad1s1a

And it stuck there.  I can reboot by ctr+alt+del


I boot the system using the FreeBSD Fixit disk.  However, I can't seem to
see all the hard drive partitions in /dev.

Following is my partition setup.

FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad1s1a   252M46M   186M20%/
/dev/ad1s2e20G   9.0M18G 0%/backup
/dev/ad1s2f20G   130M18G 1%/data
/dev/ad1s2g32G   8.9G21G30%/hd2
/dev/ad1s1f   252M18K   232M 0%/tmp
/dev/ad1s1g   9.8G   1.6G   7.5G17%/usr
/dev/ad1s1d47G10G33G24%/usr/home
/dev/ad1s1h20G   190M18G 1%/usr/local
/dev/ad1s1e  1008M49M   878M 5%/var

/dev/ad0s1e /space



I only see

/dev/ad0s1
/dev/ad1s1

What happened to
/dev/ad1s1a
/dev/ad1s2f
/dev/ad0s1e


I  ran fsck

Fixit# fsck /dev/ad1s1

and it seems to be fine

Fixit# mount /dev/ad1s1  /mnt

That seems to be the root, but I still can't find /dev/ad1s2f or any other
/dev/ad1s2* partitions.

Any idea?


Tree

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


Re: PPC ver of freeBSD ? isent that the main body of os X

2004-02-04 Thread Kris Kennaway
On Wed, Feb 04, 2004 at 01:07:51AM -0800, James wrote:
 I know you must have better things to do to day then what your time on 
 dumb email.
 But would like to know Is or is not the basic system of OS x 10 .2.2 
 FreeBSD ?

It incorporates some parts of FreeBSD, but it is not FreeBSD.

Kris


pgp0.pgp
Description: PGP signature


How to? Submit a new or ammended man page

2004-02-04 Thread Dave
Re-posted due to no replies 


Having spent some time trying to get the onboard sound working on an Intel
845G M/B I eventually worked my way to the ich sound driver.  If there had
been a man page for it, I'd probably have discovered this more quickly.

Anyway, although still very much a newbie when it come to FreeBSD I've
created what I think may be the basics of a man page for this driver.

The question is, how and who do i submit it to?  The doc project page says
they don't do man pages.

If anyone on this list would like to comment on the content and or handle
it, then here it is:

---

NAME
 ich -- Intel/NVidia PCI bridge device driver

SYNOPSIS
 device ich

DESCRIPTION
 The ich bridge driver allows the generic audio drivers including
pcm(4)
 to attach to the following PCI sound devices:

 o   Intel 443MX
 o   Intel ICH (82801AA)
 o   Intel ICH (82801AB)
 o   Intel ICH2 (82801BA)
 o   Intel ICH3 (82801CA)
 o   Intel ICH4 (82801DB) (Volume controls not working?)
 o   Intel ICH5 (82801EB)
 o   SiS 7012
 o   Nvidia nForce
 o   Nvidia nForce2
 o   Nvidia nForce3
 o   AMD-768
 o   AMD-8111



HISTORY
 unkown

SEE ALSO
 pcm(4)

AUTHORS
 Katsurajima Naoto [EMAIL PROTECTED]
 Cameron Grant [EMAIL PROTECTED]
 [EMAIL PROTECTED] (man page)

---

Hope it's of some use and is vaguely correct.

Dave
-- 
Any speling misteaks are the reult of a bad insallation of mod_spelink.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acu Cobol 6.0 for Linux

2004-02-04 Thread Walter C. Pelissero
Dan Nelson writes:
  In the last episode (Feb 04), Walter C. Pelissero said:
   A side note.  What is the impact of this IPC_64 flag on the FreeBSD
   code?  Can we ignore it, or does it mean that the Linux emulator is
   outdated regarding this new flag?
  
  Linux IPC_64 support was added to the 5.x tree over a year ago but
  never got merged back to 4.x.

Oops.  Don't tell me Iv'e beeing trying to fix a bug that wasn't
there.

I'll try in the next days to install 5.2 at least on my laptop and see
if it helps.  (It's anyhow something that was already on my agenda.)

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


verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread treeml
My machine hangs at /sbin/init on boot, I just want to check if /sbin/init
is corrupted or not.  I have FreeBSD 4.9 stable on PIII 866.

Here is the md5
MD5 (/mnt/sbin/init) = a7dc0528ae8a102c96f51dc516aa7f62

ident /mnt/sbin/init

Gave out a long list of results, but at the end of the list, which is also
the most recent is the following.  $FreeBSD:
src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 ache Exp $

If anyone out there can verifies the md5 sum of /sbin/init of the version
listed above, that would be very helpful.




Tree

-Original Message-
From: Sergey 'DoubleF' Zaharchenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 6:44 AM
To: treeml
Subject: Re: freeBSD 4.9 stable hang on start_init: trying /sbin/init

On Wed, 4 Feb 2004 05:41:14 -0500
treeml [EMAIL PROTECTED] probably wrote:

 After a power failure, my freebsd 4.9 stable is giving out the UDMA ICRC
 error. (see my first email below), but after a few boot, and change of a
IDE
 cable, it is no longer giving out that error.

 However, it still hangs at boot at

 Mounting root from ufs:/dev/ads1a

 If I boot with boot -v option.  It will stop at

 Start_init: trying /sbin/init

My bet is that the data in /sbin/init is broken. Do an md5 /sbin/init
and send it to the list. Be sure to supply the date of your sources
(as you're using STABLE, not 4.9-RELEASE) (or the output of ident
/sbin/init). If nobody confirms the same checksum, then perhaps I'm
right.

 This happens with my custom kernel and the default kernel.  I also can't
 boot into single user mode using boot -s

 It is worth mentioning that I was able to boot the box from a FreeBSD 5.1
 rescue CD, and remount all the partitions. I even used fsck and check all
 the partitions to make sure they are clean.  But still can't boot from it.

fsck will not necessarily notify you if there are hardware read errors
somewhere on the drive. It just makes sure the filesystem areas are
consistent and readable, not the data.

If you use dd to read the whole disk, say

# dd if=/dev/ad1s1a of=/dev/null bs=128k

and it completes successfully, then it might be not a hardware fault,
but something else.

I'm sorry to say, but recently I had a power failure and it damaged my
80G Seagate (and FreeBSD gives pretty much the same errors when
attempting to access the damages sectors).

 I have search the Internet, and it looks like quite a few people had the
 same problem during installation, but I didn't find any suitable
solutions.

--
DoubleF
People will accept your ideas much more readily if you tell them that
Benjamin Franklin said it first.

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


RE: freeBSD 4.9 stable hang on start_init: trying /sbin/init

2004-02-04 Thread treeml
Sergey, thanks for the answers.  I did a

# dd if=/dev/ad1s1a of=/dev/null bs=128k
2048+0 records in
2048+0 records out
268435456 bytes transferred in 7.044954 secs (38103223 bytes/sec)

So it looks like my / partition in intact.  I can mount and see all the file
in that root partition as well as other ones.  Just can get it to boot.  I
have tried resting my BIOs, no luck.
I have tried to perform an upgrade from the 4.9 CD, but every time I get the
point where it is looking for files on CD, it fails.   I may try again from
an FTP site. But I got the feeling reinstalling it will not fix the problem.

Tree


-Original Message-
From: Sergey 'DoubleF' Zaharchenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 6:44 AM
To: treeml
Subject: Re: freeBSD 4.9 stable hang on start_init: trying /sbin/init

On Wed, 4 Feb 2004 05:41:14 -0500
treeml [EMAIL PROTECTED] probably wrote:

 After a power failure, my freebsd 4.9 stable is giving out the UDMA ICRC
 error. (see my first email below), but after a few boot, and change of a
IDE
 cable, it is no longer giving out that error.

 However, it still hangs at boot at

 Mounting root from ufs:/dev/ads1a

 If I boot with boot -v option.  It will stop at

 Start_init: trying /sbin/init

My bet is that the data in /sbin/init is broken. Do an md5 /sbin/init
and send it to the list. Be sure to supply the date of your sources
(as you're using STABLE, not 4.9-RELEASE) (or the output of ident
/sbin/init). If nobody confirms the same checksum, then perhaps I'm
right.

 This happens with my custom kernel and the default kernel.  I also can't
 boot into single user mode using boot -s

 It is worth mentioning that I was able to boot the box from a FreeBSD 5.1
 rescue CD, and remount all the partitions. I even used fsck and check all
 the partitions to make sure they are clean.  But still can't boot from it.

fsck will not necessarily notify you if there are hardware read errors
somewhere on the drive. It just makes sure the filesystem areas are
consistent and readable, not the data.

If you use dd to read the whole disk, say

# dd if=/dev/ad1s1a of=/dev/null bs=128k

and it completes successfully, then it might be not a hardware fault,
but something else.

I'm sorry to say, but recently I had a power failure and it damaged my
80G Seagate (and FreeBSD gives pretty much the same errors when
attempting to access the damages sectors).

 I have search the Internet, and it looks like quite a few people had the
 same problem during installation, but I didn't find any suitable
solutions.

--
DoubleF
People will accept your ideas much more readily if you tell them that
Benjamin Franklin said it first.

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


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Gilad Rom
treeml wrote:
My machine hangs at /sbin/init on boot, I just want to check if /sbin/init
is corrupted or not.  I have FreeBSD 4.9 stable on PIII 866.
Here is the md5
MD5 (/mnt/sbin/init) = a7dc0528ae8a102c96f51dc516aa7f62
ident /mnt/sbin/init

Gave out a long list of results, but at the end of the list, which is also
the most recent is the following.  $FreeBSD:
src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 ache Exp $
If anyone out there can verifies the md5 sum of /sbin/init of the version
listed above, that would be very helpful.
Here is mine:
MD5 (/sbin/init) = bdcf745dd758b38727ba97f24be471e5
and ident /sbin/init shows:
$FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 11:17:37 
ache Exp $

This is from FreeBSD 4.9-RC1.

However, from a 4.9-STABLE box, I get
MD5 (/sbin/init) = 3ce17ad04b21e20b91204dd9867e8f80
and ident /sbin/init shows:
$FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.4 2003/12/22 20:45:16 jkh 
Exp $

Gilad.

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


ipfw rules help.

2004-02-04 Thread Marwan Sultan
Hello everyone.

Im on FreeBSD 4.8R, NATd, ipfw enabled, everything working fine.
my box is behind a DSL modem router and clients behind the FreeBSD.
My LAN is C class IPs.

I compiled ipfw to accept by default.
This is my ipfw list:

00050 divert 8668 ip from any to any via rl0
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 allow ip from any to any

My Questions:

a)   lets say I want to deny everything except a range of IPs
 starting from 192.168.1.1 to 192.168.1.50.
 what rule set should be? how to set range of IPs? to pass
 and deny rest of the C class. FreeBSD Doc's doesnot cover this?
 or i didnot see.!

b)   If i want to deny everything except ip 192.168.1.5 as follow
 00400 allow all from 192.168.1.5 to any
 01000 deny all from any to any.

 when ipfw reads the rules and pass by 00400 then comes to 01000
 then it denies even the 192.168.1.5, althou i put this rule before the 
 deny ? what im missing? how should i pass 1 ip and deny all?

c)   If I want rule 00400 to expire in 9PM and be active in 8AM.(EXAMPLE)
 how do we do that? is it by set a cron job to delete and add
 the ipfw rule? or there is something to do from the ipfw it self?

D)   Last Q: IF I restart the box all the rules will be reset,
 and comes to default. which is reasonable.
 How to keep it everytime I restart?
 do i create a file somewhere, and i tell my rc.conf for it?
 what the rc.conf line should be? and file format?


Question out of subject, 
How i can do something thro cronjob to make the box Email me the
log of firewall everyday on certain time, lets say 9PM ?

I hope this questions will help many others, as it will help me.
  
And Thank you very much for this list and help.


--
Marwan Sultan

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


Re: 4 CD ISOs for 5.2 ?

2004-02-04 Thread Gautham Ganapathy
On Tuesday, February 03, 2004 6:11 PM, Kris Kennaway wrote:

 On Tue, Feb 03, 2004 at 02:22:14PM +0530, Gautham Ganapathy wrote:
  Hi,
 
  Are there any plans to release the 4-CD packs for 5.2 that used to be
there
  for 4.7-RELEASE and before? Or will this only be available for sale via
  freebsdmall?

 Only the first 2 CDs are made available on the FTP site.  The other
 two contain a subset of packages; the full set of packages is
 available on the FTP site, just not in ISO format.

 Kris

Ok. The problem is that I have a very slow link at my house where I use
FBSD. I generally download the ISOs from my office, where I have Windows. Is
there any easy way of downloading the required packages and dependencies,
and replicating them on my hdd from Windows?

Thanx and Regards
Gautham


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


RE: usb umass flash drive mount/umount questions

2004-02-04 Thread Brian Black
Fred,
   have u tried to give the sync option when mounting.  Tho i have not 
used usb.conf  to auto mount(which is cool), my /etc/fstab line reads
/dev/da0s1   /mnt/thumb   ufs2   rw,noauto,sync   0   0

IMO, even if u use the sync option u are not guaranteed to have all the 
data written out to the thumb drive if u wish to just pull the device 
from the box.  the box cannot determine when u are going to pull the 
device.  by doing the umount the computer knows to flush all the I/O 
because the thumb drive might be pulled.

hope that helps any.

--
-
-Brian Black (Software Engineer)-
-[EMAIL PROTECTED]  -
-ProActiveTechllc.com   -
-  Wintersville OH  -
-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to replace corrupted /sbin/init

2004-02-04 Thread treeml
Thanks Gilad, it looks like my /sbin/init is corrupted.  The md5 of my init
didn't match that of another user.  And my system hangs at /sbin/init during
boot.  Does anyone have any suggestions on how to safely replace /sbin/init
without erasing data on the drive?

I have FBSD 4.9 stable, I try running upgrade from my the 4.9 RELEASE CD.
Everything seems to be fine till the point after I select the installation
media (I chose CD-ROM), it say it that it can't read data from /dev/acd0.

I can try FTP option, but does anyone have a better sugguestions on how to
replace a working copy of /sbin/init on to the root dir?

Tree

-Original Message-
From: Gilad Rom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 7:24 AM
To: treeml
Cc: [EMAIL PROTECTED]
Subject: Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on
FreeBSD Stable 4.9

treeml wrote:
 My machine hangs at /sbin/init on boot, I just want to check if /sbin/init
 is corrupted or not.  I have FreeBSD 4.9 stable on PIII 866.

 Here is the md5
 MD5 (/mnt/sbin/init) = a7dc0528ae8a102c96f51dc516aa7f62

 ident /mnt/sbin/init

 Gave out a long list of results, but at the end of the list, which is also
 the most recent is the following.  $FreeBSD:
 src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 ache Exp $

 If anyone out there can verifies the md5 sum of /sbin/init of the
version
 listed above, that would be very helpful.

Here is mine:
MD5 (/sbin/init) = bdcf745dd758b38727ba97f24be471e5
and ident /sbin/init shows:
$FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 11:17:37
ache Exp $

This is from FreeBSD 4.9-RC1.

However, from a 4.9-STABLE box, I get
MD5 (/sbin/init) = 3ce17ad04b21e20b91204dd9867e8f80
and ident /sbin/init shows:
$FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.4 2003/12/22 20:45:16 jkh
Exp $

Gilad.

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


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 4 Feb 2004 07:21:39 -0500
treeml [EMAIL PROTECTED] probably wrote:

 ident /mnt/sbin/init
 
 Gave out a long list of results, but at the end of the list, which is also
 the most recent is the following.  $FreeBSD:
 src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 ache Exp $
 

I can't believe it's the most recent entry! I'm on 4.8-REL and my most
recent entry is

$FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 2003/01/17 13:39:32 mike Exp $

(I mean, more recent than yours). Try running

# ident /mnt/sbin/init | sort -k 4

and look at the bottommost entry instead of vgrepping through the
whole list. Then maybe that string will serve some purpose.

HTH,

-- 
DoubleF
I didn't know it was impossible when I did it.


pgp0.pgp
Description: PGP signature


password syncronization SAMBA/FreeBSD

2004-02-04 Thread Peter Ulrich Kruppa
Hi!

As far as I understand the fine manuals, these options in Samba's

[global]
update encrypted = Yes
pam password change = Yes
passwd program = /usr/bin/passwd/ %u
unix password sync = Yes

allow Windows users to change their passwords and their
UNIX passwords should be syncronized automatically.

Indeed - they can use [ctrl]+[alt]+[del] to change their
Samba/Windows passwords, but their UNIX passwords remain the
same.
What am I missing?

Thanks,

Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Edmund Craske
1.2 is not greater than 1.7. Check your logic.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Sergey 'DoubleF' Zaharchenko
 Sent: 04 February 2004 13:17
 To: treeml
 Cc: [EMAIL PROTECTED]
 Subject: Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 
 11:17:37 ) on FreeBSD Stable 4.9
 
 
 On Wed, 4 Feb 2004 07:21:39 -0500
 treeml [EMAIL PROTECTED] probably wrote:
 
  ident /mnt/sbin/init
  
  Gave out a long list of results, but at the end of the 
 list, which is 
  also the most recent is the following.  $FreeBSD: 
  src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 
 ache Exp $
  
 
 I can't believe it's the most recent entry! I'm on 4.8-REL 
 and my most recent entry is
 
 $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 
 2003/01/17 13:39:32 mike Exp $
 
 (I mean, more recent than yours). Try running
 
 # ident /mnt/sbin/init | sort -k 4
 
 and look at the bottommost entry instead of vgrepping through 
 the whole list. Then maybe that string will serve some purpose.
 
 HTH,
 
 -- 
 DoubleF
 I didn't know it was impossible when I did it.
 

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


ImageGallery and PHP

2004-02-04 Thread Peter Rosa
Please, does anybody know the PHP interface to graphics/imagegallery port ?

Or some other port for creating galleries, but it must support all graphic
formats (bmp, tif, jpg, gif, png, wmf, eps, ai, ps).
I'm trying to setup my searchable archive of images (not only bitmaps), and
want to attach some keywords, etc. But I need the interface to imagegallery
binary (if it exists).

Peter Rosa


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


FW: [5.2.1-RC, IPFW] Traffic Shaping

2004-02-04 Thread Lee Dilkie
oops,

sent to wrong list

-Original Message-
From: Lee Dilkie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 8:00 AM
To: 'Bjorn Eikeland'; 'Jaco van Tonder';
'[EMAIL PROTECTED]'
Subject: RE: [5.2.1-RC, IPFW] Traffic Shaping



 There isnt much you can really do as to shape incomming
 traffic, however
 you can limit how fast you accept the incomming data. (At
 least this is
 what im used to from my little experience with linux.)

 I tried* the following rule, and in theroy it sounds up to the job:
 ipfw add pipe 1 tcp from not me to me smtp

 *)when I say tried I really mean ipfw didnt complain, but no traffic
 actually saw it.

 Obviously you can replace 'me' with your actual ip and 'smtp'
 with 25, but
 I find its easier to read english.

 Feel free to try that though :)

I'm running IPFW on 4.9 and inbound traffic shaping does work, I've verified
that.

my rule section...

ipfw -f pipe flush
# do pipes first or later rules will tigger and pipes won't be used
# newfiechick in/out
ipfw pipe 1 config bw 100Kbit/s
ipfw pipe 2 config bw 60Kbit/s
# sendmail limits in/out
ipfw pipe 3 config bw 80Kbit/s
ipfw pipe 4 config bw 80Kbit/s
# testing
#ipfw pipe 5 config bw 80Kbit/s
#ipfw pipe 6 config bw 80Kbit/s
# bandwidth throttling
#ipfw add pipe 1 ip from any to newfiechick in
#ipfw add pipe 2 ip from newfiechick to any out
ipfw add pipe 3 tcp from any to spock smtp in
ipfw add pipe 3 tcp from any to spock pop3 in
ipfw add pipe 4 tcp from spock to any smtp out
ipfw add pipe 4 tcp from spock pop3 to any out
#ipfw add pipe 5 udp from any to 206.51.1.220 in
#ipfw add pipe 6 udp from 206.51.1.220 to any out

These come before any deny/allow rules.

The commented out testing rule was to an internet phone and i was able to
turn down the b/w and affect the voice quality in either direction so I'm
confident that this works.

-lee


  Hi all,
 
  I am using FreeBSD 5.2.1-RC + IPFW2 + DUMMYNET to do
 traffic shaping.
  This works well for my setup.
  I have the following configuration:
  The machine has 2 NIC's, xl0, dc0. The kernel is configured to do
  bridging. The bridged
  packets is passed to IPFW (net.link.ether.bridge.ipfw=1).
 
  I shape traffic this way:
  The bridge is setup between a router and an internal mail server.
  I am limiting bandwith using the following rules:
  pipe 1 config bw 16KBytes/s
  pipe 2 config bw 12KBytes/s
 
  and then:
 
  add pipe 1 tcp from any to any 25  (limit incoming traffic
 towards smtp)
  add pipe 2 tcp from any 110 to any (limit outgoing traffic
 from pop3)
 
  Yesterday, while browsing through Absolute BSD by Michael
 Lucas I read
  an interesting part:
  You cannot shape incoming traffic the way that I do at the moment.
 
  Now, my question:
  How can I limit the incoming traffic towards my smtp server
 properly?
 
  Any advice would be apreciated.
 
  Thank you,
  Regards
  Jaco van Tonder
 ___
 [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: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 4 Feb 2004 13:51:16 -
Edmund Craske [EMAIL PROTECTED] probably wrote:

 1.2 is not greater than 1.7. Check your logic.


I mean the dates. Revision numbers have no correspondence between them.
If you have two *different* files, and one of them has a revision number
greated than the other, it doesn't necessarily mean it's older.

You can commit a file ten times, and after that commit another file one
time. If they were both at 1.1, then the first one, in your opinion,
will be `older' than the second, when it's indeed vice versa.

HTH,

--
DoubleF
Equal bytes for women.


pgp0.pgp
Description: PGP signature


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 Well, as it's UFS1 as we've figured out, the next logical thing would be
 to try mounting /dev/ad2s1c r/o, and if that fails, try fscking it.

bash-2.05b# mount -r /dev/ad2s1c /data
mount: /dev/ad2s1c on /data: incorrect super block

bash-2.05b# fsck /dev/ad2s1c
** /dev/ad2s1c
BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/ad2s1c: NOT LABELED AS A BSD FILE SYSTEM (unused)

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


userdbpw/5.2 producing inconsistent result

2004-02-04 Thread W. Sierke
# uname -mrsv
FreeBSD 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Wed Feb  4 05:44:41 CST 2004
root@:/usr/src/sys/i386/compile/LILLITH-IV  i386

# pkg_which /usr/local/sbin/userdbpw
courier-imap-2.2.1,1

Every time I run userdbpw it's generating a different result (for the same
supplied password). eg:

# foreach p ( password password password )
foreach? echo $p | userdbpw
foreach? end
fA8HQ5zWzV.fM
Vkedbdeq0kk7s
Lay1EhcWhup/s
#

Fear not if there's anything wrong with the above because I've tried it
manually with a variety of passwords and the result is the same (ie. the
results are not! the same).

# userdbpw
Password:
Reenter password:
wRkPrfxswnUGo
# userdbpw
Password:
Reenter password:
yTBnb7ab/N072

I was using this without issue on 4.8. Can anyone suggest anything I should
try/check or is it bug-hunting time?


Thanks,

Wayne

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


Help - problem in contacting moderators

2004-02-04 Thread Stephen Liu
Hi all folks,

I have been trying, by emails under the subject-'Request for assistance', to 
contact the moderators of this list at

[EMAIL PROTECTED]
and
[EMAIL PROTECTED]
about problem in posting to this list   But all mails were rejected saying 
being held.  The reason it is being held:

Post by non-member to a members-only list

Kindly advise how to contact moderators

TIA

B.R.
Stephen Liu
_
No masks required! Use MSN Messenger to chat with friends and family. 
http://go.msnserver.com/HK/25382.asp

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


Re: Freebsd 4.9, 5.1 5.2

2004-02-04 Thread Lowell Gilbert
William Segars [EMAIL PROTECTED] writes:

 I am having trouble with freebsd 4.9, 5.1, and 5.2. 
 Neither of them recognizes my printer or floppy drive.
  I am a BSD novice and use KDE as a graphical
 interphase.

I'm guessing that your problems have more to do with KDE than with
FreeBSD per se; this is worth checking into so you can focus on the
most knowledgeable help available.  [which is to say I don't know 
much about KDE...]

 1) I have a Canon BJC-210.  I have downloaded and
 installed Cups, Aspfilter, asfilter, ghostscript etc
 and none of these recognizes my printer.
 
 I get this message on bootup
 ppc0: (parallel port) at port 0x378-0x37F irq 7 on ISA
 ppbus0: (parallel portbus) on ppc0
 1pt0: (printer) on pp bus 0
 pp0: (parallel I/O) on ppbus 0
 
 However it doesn't seem to know my printer is there
 when I try to print.

Printing from the command line?
If you can print from the command line (e.g., lpr /etc/rc.conf),
then the printer is set up fine and your problem is getting your
applications to understand it.  I don't have any problems with that,
but you may be trying something KDE specific.

 2) I get this message at bootup
 fd0: (1440-kb 3.5 drive) on fdc drive 0
 
 However, I can't access the floppy drive.  When I
 create an Icon and put the path /dev/fd/fd0. I can't
 access the floppy.

Again, if you can do it from the command line 
(mount -t msdos /dev/fd0c /mnt/floppy on 4.x), the OS is working
fine.   

 3) I use efax and have kdefax and tkfax as my
 frontend.
 My modem is configured in kde as cuaa0.  Efax uses
 modem as a default.  How can I change it to cuaa0. 
 In the execution file at /usr/local/bin/fax - it has a
 line that says 
 DEV=modem
 #DEV=cuaa1
 when I change it to #Dev=cuaa0 - it makes no
 difference.  
 The only way I have found around this is to go to
 /dev/cuaa0 (using graphical interphase) - pull it out
 to my desktop and using link application.  I change
 the name to modem and put it back (there is now both
 a cuaa0and modem in /dev.  Then I'm able to send
 faxes.  However, there is no way to save this
 configuration and when I turn off my computer it
 resets to the original settings 

Sounds like a devfs issue on 5.x.  I'm not using 5.x yet, but I think
there's a devfs.conf  that can configure this for you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Scott W
Edmund Craske wrote:

1.2 is not greater than 1.7. Check your logic.

 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Sergey 'DoubleF' Zaharchenko
Sent: 04 February 2004 13:17
To: treeml
Cc: [EMAIL PROTECTED]
Subject: Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 
11:17:37 ) on FreeBSD Stable 4.9

On Wed, 4 Feb 2004 07:21:39 -0500
treeml [EMAIL PROTECTED] probably wrote:
   

ident /mnt/sbin/init

Gave out a long list of results, but at the end of the 
 

list, which is 
   

also the most recent is the following.  $FreeBSD: 
src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 
 

ache Exp $
   

I can't believe it's the most recent entry! I'm on 4.8-REL 
and my most recent entry is

$FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 
2003/01/17 13:39:32 mike Exp $

(I mean, more recent than yours). Try running

# ident /mnt/sbin/init | sort -k 4

and look at the bottommost entry instead of vgrepping through 
the whole list. Then maybe that string will serve some purpose.

HTH,

--
DoubleF
I didn't know it was impossible when I did it.
   

Note the file names, which make the file revisions  completely 
irrelevant in comparison to each other, even if they come from the same 
source (opposed to BSD specific/built from scratch).  Assuming they DO 
come from the same source, you'd have to check each file listed by ident

Scott

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


Re: Cannot Add User

2004-02-04 Thread Lowell Gilbert
Vince Sabio [EMAIL PROTECTED] writes:

 I just installed a v5.1 single-boot system from CD. So far, the only
 changes I've made from the initial installation were to configure
 sshd, set the system security level to moderate (from high), and
 set the system clock; other than that, it's a clean installation.
 
 I'm now trying to install Postfix, and the problem I'm running into is
 that I cannot create new user accounts. I created several user
 accounts during installation, and they seem to be fine. But when I
 [manually] create entries in /etc/passwd, master.passwd, and group,
 the entries are 'ignored' -- e.g., a chown [newuser] [filename]
 command fails, attempts to su from root into the user account fail,
 etc. When I try to create the user via adduser (using the standard
 defaults), the account creation step fails with the following error:
 
 pw: user '[newuser]' disappeared during update
 
 Again, attempts to 'access' the user (i.e., chmod, etc.) will
 fail. Interestingly, though, if I try to re-create the user, adduser
 tells me that the user already exists -- and a check of the relevant
 files confirms that the entries are there.

It sounds like you've messed up your user database.  Try running
pwd_mkdb(8) by hand to get it straightened out.  In future, remember
not to edit passwd and so forth by hand; stick with adduser(8) and/or
vipw(8) to avoid shooting yourself in the foot like this.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.8)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 4 Feb 2004 17:05:12 +0300
Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] probably wrote:

 On Wed, 4 Feb 2004 13:51:16 -
 Edmund Craske [EMAIL PROTECTED] probably wrote:
 
  1.2 is not greater than 1.7. Check your logic.
 
 
 I mean the dates. Revision numbers have no correspondence between them.
 If you have two *different* files, and one of them has a revision number
 greated than the other, it doesn't necessarily mean it's older.
  ^^
I meant *either* of the files:) (read if you have two different files,
and one of them has a revision number greated than the other, it doesn't
necessarily mean anything).

-- 
DoubleF
Time flies like an arrow, but fruit flies like a banana.




pgp0.pgp
Description: PGP signature


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 4 Feb 2004 06:06:06 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

 
 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
  Well, as it's UFS1 as we've figured out, the next logical thing would be
  to try mounting /dev/ad2s1c r/o, and if that fails, try fscking it.
 
 bash-2.05b# mount -r /dev/ad2s1c /data
 mount: /dev/ad2s1c on /data: incorrect super block
 
 bash-2.05b# fsck /dev/ad2s1c
 ** /dev/ad2s1c
 BAD SUPER BLOCK: MAGIC NUMBER WRONG
 /dev/ad2s1c: NOT LABELED AS A BSD FILE SYSTEM (unused)
 
 

And /dev/ad2s1e?

-- 
DoubleF
Excellent day for drinking heavily.  Spike office water cooler.


pgp0.pgp
Description: PGP signature


Re: ImageGallery and PHP

2004-02-04 Thread Khairil Yusof
On Wed, 2004-02-04 at 14:54 +0100, Peter Rosa wrote:
 Please, does anybody know the PHP interface to graphics/imagegallery port ?

There is no imagegallery port

 Or some other port for creating galleries, but it must support all graphic
 formats (bmp, tif, jpg, gif, png, wmf, eps, ai, ps).

Not php and not all formats (probably not vector formats), but it has
keywords, and can store any kind of file.

www/zope-cmfphotoalbum

-- 
You keep using that word. I do not think it means what you think it
means. 

FreeBSD 5.2-CURRENT i386 
10:00pm up 11:08, 2 users, load averages: 1.43, 1.40, 1.10


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


Re: ImageGallery and PHP

2004-02-04 Thread Khairil Yusof
On Wed, 2004-02-04 at 22:29 +0800, Khairil Yusof wrote:

 www/zope-cmfphotoalbum

Whoops in addition:

www/plone
www/zope-cmfquickinstaller (to install it in your plone site)

For more about plone see: http://plone.org.
For freebsd specific questions on plone/zope: [EMAIL PROTECTED]

-- 
You keep using that word. I do not think it means what you think it
means. 

FreeBSD 5.2-CURRENT i386 
10:31pm up 11:39, 2 users, load averages: 1.85, 1.89, 1.96


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


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 And /dev/ad2s1e?

bash-2.05b# mount -r /dev/ad2s1e /data
mount: /dev/ad2s1e on /data: incorrect super block
bash-2.05b# fsck /dev/ad2s1e
** /dev/ad2s1e
BAD SUPER BLOCK: MAGIC NUMBER WRONG

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

USING ALTERNATE SUPERBLOCK AT 32
** Last Mounted on
** Phase 1 - Check Blocks and Sizes
416 BAD I=2
412 BAD I=3
424 BAD I=4
414 BAD I=4
417 BAD I=5
INCORRECT BLOCK COUNT I=4257794 (8928 should be 9952)
CORRECT? [yn]

Hmmm that looks more promising, although I'm not sure exactly what it's
trying to warn me about, or how bad things are from that, so I'm going to
leave it there for now. :)

And if I remember correctly, even though fsck has used an alternate
superblock to perform the repair process, it hasn't actually replaced the
master superblock with the alternate one, so I'd still need to fix that
manually somehow... correct? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: console pim? - what to use to track appointments

2004-02-04 Thread Aaron
Andrew L. Gould [EMAIL PROTECTED] wrote:
I've been thinking about the combination of tools/applications needed to have 
PIM functionality at the console.  This would allow me to use the same 
software on my desktop (FreeBSD) and NEC Mobilepro (NetBSD).

Syncing - rsync should provide efficient syncing of email if I use the maildir 
email format.  Since the address book is in one file, I'll have to be careful 
about where/when I make entries.  I can script the rsync activities for ease 
of use.

Email - mutt, fetchmail, msmtp and procmail can handle the email functions.

Address book - abook can provide the address book and works with mutt.

Schedule/Calendar - ???  Here's where I'm stumped.  cal will show me calendars 
when I need then; but I don't know what to use to keep track of meetings and 
other appointments.  calendar has lists of dates; but doesn't facilitate data 
entry and the format doesn't facilitate various fields of information (date, 
time, place, subject, contact, etc).  Does anyone have any suggestions?
You could probably cobble something together built on cron, and 
something like gdbm.  Since you're doing this in the console, you're 
obviously willing to do the work.  :)

/usr/ports # make search key=dbm |grep Path: |grep -i dbm
Path:   /usr/ports/databases/dbmetrix
Path:   /usr/ports/databases/gauche-gdbm
Path:   /usr/ports/databases/gdbm
Path:   /usr/ports/databases/p5-GDBM
Path:   /usr/ports/databases/p5-MLDBM
Path:   /usr/ports/databases/p5-MLDBM-Sync
Path:   /usr/ports/databases/py-gdbm
Path:   /usr/ports/databases/qdbm
Path:   /usr/ports/databases/ruby-gdbm
Path:   /usr/ports/databases/ruby-o_dbm
Path:   /usr/ports/devel/gdbmods
Path:   /usr/ports/mail/bogofilter-qdbm
Path:   /usr/ports/mail/dbmail
Path:   /usr/ports/security/p5-Crypt-xDBM_File
Path:   /usr/ports/textproc/p5-XML-DBMS
--
Aaron
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wine under 5.2

2004-02-04 Thread Jonathon McKitrick

Has anyone had any success with Wine under 5.2?

I can't figure out why mine crashes while running a simple installshield
script.

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wine under 5.2

2004-02-04 Thread Alex Dupre
Jonathon McKitrick wrote:

Has anyone had any success with Wine under 5.2?

I can't figure out why mine crashes while running a simple installshield
script.
The new snapshot release crashes on my machine, too. Well, not simply 
crashed, FreeBSD rebooted!

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


Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread stan
I want to omit some of the ports from my cvsup run. I've always used the
ports-all tag, but these days there a a good many non English language ports
that only use space on my disks.

I would like to limit the collections. Probably by excluding certain ports
subtags, rather than explicitly including the ones I want, as I think this
would be more robust relative to future additions.

Where can I find a list? And what's the syntax of the exclude statement?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Roop Nanuwa
stan wrote:

I want to omit some of the ports from my cvsup run. I've always used the
ports-all tag, but these days there a a good many non English language ports
that only use space on my disks.
I would like to limit the collections. Probably by excluding certain ports
subtags, rather than explicitly including the ones I want, as I think this
would be more robust relative to future additions.
 

Where can I find a list? And what's the syntax of the exclude statement?

 

RTFM @ http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
and
RTFM @ 
http://www.freebsd.org/cgi/man.cgi?query=cvsupapropos=0sektion=0manpath=FreeBSD+5.2-RELEASE+and+Portsformat=html
(the part about the 'refuse' file)

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


Re: PPC ver of freeBSD ? isent that the main body of os X

2004-02-04 Thread Lucas Holt
The userland is freebsd.. i.e. the executables in /usr/bin, /bin, etc.  
I'm sure apple alters a few things.  The part of OSX that differs is in 
the kernel.  Roughly half the kernel is FreeBSD 5.0 and the other half 
is based on the Mach 3.0 kernel design.  Basically apple hacked two 
kernel designs together to get a fast, modular kernel.  (well if you 
believe everything their documentation says at developer.apple.com)  
This information is based on some articles I read on apple's developer 
site about OS X.3.

Apple also doesn't use the ports collection which is a shame!

If you want to run a BSD besides OSX/darwin on a Mac, check out NetBSD 
or OpenBSD.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

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


Looking for Software on your site...

2004-02-04 Thread Donald Corn
Hi.  My account rep at Verio suggested I look at your site for software.  I 
am not a technical person, more in the marketing area; but once I find what 
I am looking for I can pass onto our programmer.

Specifically, we are looking for a mail server solution that will do 
personalization/html transmissions, plus the required subscribe/unsubscribe 
functions.

We are also using @Mail and I saw it referenced as a Webmail solution on 
your site.

Can you help point me where to find the overview of your software programs 
in general and specifically a mail server and info on Webmail.  Thx.



DRC
Donald R. Corn
_
What are the 5 hot job markets for 2004? Click here to find out. 
http://msn.careerbuilder.com/Custom/MSN/CareerAdvice/WPI_WhereWillWeFindJobsIn2004.htm?siteid=CBMSN3006sc_extcmp=JS_wi08_dec03_hotmail1

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


RE: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Randy Grafton
You can use the refuse file to omit branches. I've attached my cvsupfile and
my refuse file to give you an idea as to how this works. I placed my
cvsupfile in /usr/local/etc and the refuse file goes in /user/local/etc/sup.
I then call cvsup -g -L 2 /usr/local/etc/cvsupfile. The directory locations
are based on the settings within the cvsupfile.

-Randy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of stan
Sent: Wednesday, February 04, 2004 8:21 AM
To: Free BSD Questions list
Subject: Where can I find a list of the cvsup tags for ports?


I want to omit some of the ports from my cvsup run. I've always used the
ports-all tag, but these days there a a good many non English language ports
that only use space on my disks.

I would like to limit the collections. Probably by excluding certain ports
subtags, rather than explicitly including the ones I want, as I think this
would be more robust relative to future additions.

Where can I find a list? And what's the syntax of the exclude statement?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


refuse
Description: Binary data


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


Re: ipfw rules help.

2004-02-04 Thread Saint Aardvark the Carpeted
Marwan Sultan disturbed my sleep to write:
 I compiled ipfw to accept by default.
 This is my ipfw list:
 
 00050 divert 8668 ip from any to any via rl0
 00100 allow ip from any to any via lo0
 00200 deny ip from any to 127.0.0.0/8
 00300 deny ip from 127.0.0.0/8 to any
 65000 allow ip from any to any
 65535 allow ip from any to any

Hm...this may not be a big deal, but is there any reason you're putting
the divert rule before the rules dealing with lo0/127.0.0.0/8?  The
default FreeBSD open firewall ruleset usually puts the divert rule after
-- this would be rule 400 in your example.  

 a)   lets say I want to deny everything except a range of IPs
  starting from 192.168.1.1 to 192.168.1.50.
  what rule set should be? how to set range of IPs? to pass
  and deny rest of the C class. FreeBSD Doc's doesnot cover this?
  or i didnot see.!

man ipfw(8) will help you.  Depending on the version of ipfw (I forget
when this syntax was added), you may be able to do this:

ipfw allow all from 192.168.1.{1,50} to any 
ipfw deny all from any to any

As for which rule it should be...typically what I do is write down
my firewall rules in a separate file, try to make sure that they make
sense (allow rules before deny rules, for example), then try them
out...always making sure that I have some way into the machine if I'm
working remotely!  Usually you can let ipfw take care of assigning rule
numbers, unless you've got something fairly special going on.

 b)   If i want to deny everything except ip 192.168.1.5 as follow
  00400 allow all from 192.168.1.5 to any
  01000 deny all from any to any.
 
  when ipfw reads the rules and pass by 00400 then comes to 01000
  then it denies even the 192.168.1.5, althou i put this rule before the 
  deny ? what im missing? how should i pass 1 ip and deny all?

I'm not sure why that would happen, but you can find out.  If you change
that deny rule to a deny-and-log rule, like this:

ipfw deny log all from any to any

you can then run tail -f /var/log/security and see what packets are
being caught by the deny rule.  You can also run ipfw show, which
will show you how many packets/bytes are being caught by which rules.
Again, read the man page for ipfw.

Off the top of my head, I suspect you're allowing traffic out, but not
back in -- you haven't listed a rule that would allow replies to TCP
traffic back in, or DNS queries.  Denying either of these would make it
look like nothing is working.  Try this:

allow tcp from 192.168.1.5 to any
allow udp from 192.168.1.5 to any keep-state
check-state
allow tcp from any to any established
deny all from any to any

 c)   If I want rule 00400 to expire in 9PM and be active in 8AM.(EXAMPLE)
  how do we do that? is it by set a cron job to delete and add
  the ipfw rule? or there is something to do from the ipfw it self?

As far as I know, you can only do this with a cron job.  Test carefully,
though -- it's frighteningly easy to lock yourself out while doing this
sort of thing.  I speak from bitter experience. :-)

 D)   Last Q: IF I restart the box all the rules will be reset,
  and comes to default. which is reasonable.
  How to keep it everytime I restart?
  do i create a file somewhere, and i tell my rc.conf for it?
  what the rc.conf line should be? and file format?

man rc.conf(5) will show you firewall options.  What I usually do is
write my own and keep it in a separate file -- I find rc.firewall too
confusing when trying to customize it.  But have a look at
/etc/rc.firewall and the simple option -- it probably does a lot of
what you want.

 Question out of subject, 
 How i can do something thro cronjob to make the box Email me the
 log of firewall everyday on certain time, lets say 9PM ?

Well, you could just have a script that would, say, grep for today's
date in your firewall logs and email that.  Another thing you could
consider doing, though, is signing up at dshield.org and using one of
their clients to parse your logs.  Dshield collects firewall information
from volunteers around the world, and uses it to alert people to new
or fast-moving threats.  It's an excellent idea, and a lot of help to
security people.  I use ipfw2dshield to parse and mail my logs, and as a
bonus I get a copy of the email myself to see if there's anything
interesting.

Hope that helps!

Hugh
-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Edmund Craske
Yeah, I must have been asleep. Should have reread the message
before replying! I'm so stupid sometimes :-P

 -Original Message-
 From: Scott W [mailto:[EMAIL PROTECTED] 
 Sent: 04 February 2004 14:17
 To: Edmund Craske
 Cc: 'Sergey 'DoubleF' Zaharchenko'; [EMAIL PROTECTED]
 Subject: Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 
 11:17:37 ) on FreeBSD Stable 4.9
 
 
 Edmund Craske wrote:
 
 1.2 is not greater than 1.7. Check your logic.
 
   
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Sergey 'DoubleF' Zaharchenko
 Sent: 04 February 2004 13:17
 To: treeml
 Cc: [EMAIL PROTECTED]
 Subject: Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 
 11:17:37 ) on FreeBSD Stable 4.9
 
 
 On Wed, 4 Feb 2004 07:21:39 -0500
 treeml [EMAIL PROTECTED] probably wrote:
 
 
 
 ident /mnt/sbin/init
 
 Gave out a long list of results, but at the end of the
   
 
 list, which is
 
 
 also the most recent is the following.  $FreeBSD:
 src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 
   
 
 ache Exp $
 
 
 I can't believe it's the most recent entry! I'm on 4.8-REL
 and my most recent entry is
 
 $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3
 2003/01/17 13:39:32 mike Exp $
 
 (I mean, more recent than yours). Try running
 
 # ident /mnt/sbin/init | sort -k 4
 
 and look at the bottommost entry instead of vgrepping through
 the whole list. Then maybe that string will serve some purpose.
 
 HTH,
 
 --
 DoubleF
 I didn't know it was impossible when I did it.
 
 
 
 Note the file names, which make the file revisions  completely 
 irrelevant in comparison to each other, even if they come 
 from the same 
 source (opposed to BSD specific/built from scratch).  
 Assuming they DO 
 come from the same source, you'd have to check each file 
 listed by ident
 
 Scott
 
 
 

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


Re: How to? Submit a new or ammended man page

2004-02-04 Thread Ruben de Groot
On Wed, Feb 04, 2004 at 10:51:19AM +, Dave typed:
 Re-posted due to no replies 
 
 
 Having spent some time trying to get the onboard sound working on an Intel
 845G M/B I eventually worked my way to the ich sound driver.  If there had
 been a man page for it, I'd probably have discovered this more quickly.

 Anyway, although still very much a newbie when it come to FreeBSD I've
 created what I think may be the basics of a man page for this driver.

Look at the groff_man(7) manual page for a description of the format of
manpages. Or look in the source, e.g.

/usr/src/share/man/man4/ichsmb.4

(Which, btw, looks a lot like what you created below)

 The question is, how and who do i submit it to?  The doc project page says
 they don't do man pages.

The usual way to supply patches is through the send-pr(1) mechanism.

cheers,
Ruben

 If anyone on this list would like to comment on the content and or handle
 it, then here it is:
 
 ---
 
 NAME
  ich -- Intel/NVidia PCI bridge device driver
 
 SYNOPSIS
  device ich
 
 DESCRIPTION
  The ich bridge driver allows the generic audio drivers including
 pcm(4)
  to attach to the following PCI sound devices:
 
  o   Intel 443MX
  o   Intel ICH (82801AA)
  o   Intel ICH (82801AB)
  o   Intel ICH2 (82801BA)
  o   Intel ICH3 (82801CA)
  o   Intel ICH4 (82801DB) (Volume controls not working?)
  o   Intel ICH5 (82801EB)
  o   SiS 7012
  o   Nvidia nForce
  o   Nvidia nForce2
  o   Nvidia nForce3
  o   AMD-768
  o   AMD-8111
 
 
 
 HISTORY
  unkown
 
 SEE ALSO
  pcm(4)
 
 AUTHORS
  Katsurajima Naoto [EMAIL PROTECTED]
  Cameron Grant [EMAIL PROTECTED]
  [EMAIL PROTECTED] (man page)
 
 ---
 
 Hope it's of some use and is vaguely correct.
 
 Dave
 -- 
 Any speling misteaks are the reult of a bad insallation of mod_spelink.
 ___
 [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]


ssh error PRNG is not seeded

2004-02-04 Thread Didier WIROTH
Hi,
I've chosen do want to login via ssh=NO (can't exactly remember but it was
a similar question) during setup of freebsd5.2, now, when I try to use scp
or ssh client I get the following error message:
PRNG is not seeded

How can I solve the problem?!

Many thanks

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


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 4 Feb 2004 06:37:11 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
  And /dev/ad2s1e?
 
 bash-2.05b# mount -r /dev/ad2s1e /data
 mount: /dev/ad2s1e on /data: incorrect super block
 bash-2.05b# fsck /dev/ad2s1e
 ** /dev/ad2s1e
 BAD SUPER BLOCK: MAGIC NUMBER WRONG
 
 LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y
 
 USING ALTERNATE SUPERBLOCK AT 32
 ** Last Mounted on
 ** Phase 1 - Check Blocks and Sizes
 416 BAD I=2
 412 BAD I=3
 424 BAD I=4
 414 BAD I=4
 417 BAD I=5
 INCORRECT BLOCK COUNT I=4257794 (8928 should be 9952)
 CORRECT? [yn]
 
 Hmmm that looks more promising, although I'm not sure exactly what it's
 trying to warn me about, or how bad things are from that, so I'm going to
 leave it there for now. :)

This really looks weird. The incorrect block counts seem somewhat
suspicious.

Try using fsck -n (answer `no'), and recording what else comes up.

If you know what fsdb(8) is, it might be helpful (still with the -r
(read-only) option, and the -d option as well). I don't, but I'm
learning it intensively at the moment:).

 And if I remember correctly, even though fsck has used an alternate
 superblock to perform the repair process, it hasn't actually replaced the
 master superblock with the alternate one, so I'd still need to fix that
 manually somehow... correct?

Yes, by means of dd.

--
DoubleF
The only possible interpretation of any research whatever in the
`social sciences' is: some do, some don't.
-- Ernest Rutherford


pgp0.pgp
Description: PGP signature


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 Try using fsck -n (answer `no'), and recording what else comes up.

That won't work, because it answers no to the first question of looking for
alternate superblocks, then aborts immediately. So I'm just going to
manually say no to all questions after yes to the first:

bash-2.05b# fsck /dev/ad2s1e
** /dev/ad2s1e
BAD SUPER BLOCK: MAGIC NUMBER WRONG

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

USING ALTERNATE SUPERBLOCK AT 32
** Last Mounted on
** Phase 1 - Check Blocks and Sizes
416 BAD I=2
412 BAD I=3
424 BAD I=4
414 BAD I=4
417 BAD I=5
INCORRECT BLOCK COUNT I=4257794 (8928 should be 9952)
CORRECT? [yn] n

17227776 DUP I=4257795
1722 DUP I=4257795
17227778 DUP I=4257795
17227779 DUP I=4257795
17227780 DUP I=4257795
17227781 DUP I=4257795
17227782 DUP I=4257795
17227783 DUP I=4257795
17227784 DUP I=4257795
17227785 DUP I=4257795
17227786 DUP I=4257795
EXCESSIVE DUP BLKS I=4257795
CONTINUE? [yn] n


UPDATE STANDARD SUPERBLOCK? [yn] n


* FILE SYSTEM MARKED DIRTY *

 If you know what fsdb(8) is, it might be helpful (still with the -r
 (read-only) option, and the -d option as well). I don't, but I'm
 learning it intensively at the moment:).

I don't, and the man page sufficiently put the fear of the almighty in me as
far as it goes Use this tool with extreme caution--you can damage an FFS
file system beyond what fsck(8) can repair.  It's also a bit out of my
league as far as understanding how to make use of it. 

  so I'd still need to fix that manually somehow... correct?
 
 Yes, by means of dd.

Hmm although that last fsck question UPDATE STANDARD SUPERBLOCK? [yn]
seemed interesting.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot find file system superblock error - how to recover?

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 4 Feb 2004 08:26:47 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

 
 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
  Try using fsck -n (answer `no'), and recording what else comes up.
 
 That won't work, because it answers no to the first question of looking for
 alternate superblocks, then aborts immediately. So I'm just going to
 manually say no to all questions after yes to the first:
 
 bash-2.05b# fsck /dev/ad2s1e
 ** /dev/ad2s1e
 BAD SUPER BLOCK: MAGIC NUMBER WRONG
 
 LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y
 
 USING ALTERNATE SUPERBLOCK AT 32
 ** Last Mounted on
 ** Phase 1 - Check Blocks and Sizes
 416 BAD I=2
 412 BAD I=3
 424 BAD I=4
 414 BAD I=4
 417 BAD I=5
 INCORRECT BLOCK COUNT I=4257794 (8928 should be 9952)
 CORRECT? [yn] n
 
 17227776 DUP I=4257795
 1722 DUP I=4257795
 17227778 DUP I=4257795
 17227779 DUP I=4257795
 17227780 DUP I=4257795
 17227781 DUP I=4257795
 17227782 DUP I=4257795
 17227783 DUP I=4257795
 17227784 DUP I=4257795
 17227785 DUP I=4257795
 17227786 DUP I=4257795
 EXCESSIVE DUP BLKS I=4257795
 CONTINUE? [yn] n

Here you should have answered `y' (it doesn't ask you to change
anything yet). Let's try that again, shall we?

 UPDATE STANDARD SUPERBLOCK? [yn] n
 
 
 * FILE SYSTEM MARKED DIRTY *

Well, after all fsck doesn't seem mad (`erase everything and mark fs
clean'). But if you are really are paranoid, as you should be, you
should copy the whole contents of the harddrive, maybe to a remote
machine, by dd (over NFS, perhaps). Perhaps the `sparse' dd option
would help save a bit of space (by creating `holes' in the file where
there were NUL's on the harddrive).

  If you know what fsdb(8) is, it might be helpful (still with the -r
  (read-only) option, and the -d option as well). I don't, but I'm
  learning it intensively at the moment:).
 
 I don't, and the man page sufficiently put the fear of the almighty in me as
 far as it goes Use this tool with extreme caution--you can damage an FFS
 file system beyond what fsck(8) can repair.  It's also a bit out of my
 league as far as understanding how to make use of it. 

It's not harmful in `-r'-mode, but I'm afraid it won't help because it
wouldn't even use an alternate superblock, as I've found out.

   so I'd still need to fix that manually somehow... correct?
  
  Yes, by means of dd.
 
 Hmm although that last fsck question UPDATE STANDARD SUPERBLOCK? [yn]
 seemed interesting.
 

That's another option.

-- 
DoubleF
An elephant is a mouse with an operating system.


pgp0.pgp
Description: PGP signature


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Kent Stewart
On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
 You can use the refuse file to omit branches. I've attached my
 cvsupfile and my refuse file to give you an idea as to how this
 works. I placed my cvsupfile in /usr/local/etc and the refuse file
 goes in /user/local/etc/sup. I then call cvsup -g -L 2
 /usr/local/etc/cvsupfile. The directory locations are based on the
 settings within the cvsupfile.

The problem is that when you add this refuses, you can no longer use 
portupgrade because building INDEX will most likely fail and the 
resulting INDEX.db will be close to useless.

Kent


 -Randy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of stan
 Sent: Wednesday, February 04, 2004 8:21 AM
 To: Free BSD Questions list
 Subject: Where can I find a list of the cvsup tags for ports?


 I want to omit some of the ports from my cvsup run. I've always used
 the ports-all tag, but these days there a a good many non English
 language ports that only use space on my disks.

 I would like to limit the collections. Probably by excluding certain
 ports subtags, rather than explicitly including the ones I want, as I
 think this would be more robust relative to future additions.

 Where can I find a list? And what's the syntax of the exclude
 statement?

-- 
Kent Stewart
Richland, WA

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

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


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread stan
On Wed, Feb 04, 2004 at 08:48:06AM -0800, Kent Stewart wrote:
 On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
  You can use the refuse file to omit branches. I've attached my
  cvsupfile and my refuse file to give you an idea as to how this
  works. I placed my cvsupfile in /usr/local/etc and the refuse file
  goes in /user/local/etc/sup. I then call cvsup -g -L 2
  /usr/local/etc/cvsupfile. The directory locations are based on the
  settings within the cvsupfile.
 
 The problem is that when you add this refuses, you can no longer use 
 portupgrade because building INDEX will most likely fail and the 
 resulting INDEX.db will be close to useless.

ARGH! So I have to use up (albiet not a huge amount) of disk space holding
these unwanted ports, just to allow portupgrade (which I can't live
wihtout) to work? I do a portdb -Uu after every cvsup run if that maters.



-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPC ver of freeBSD ? isent that the main body of os X

2004-02-04 Thread Chad Leigh -- Shire.Net LLC
On Feb 4, 2004, at 8:31 AM, Lucas Holt wrote:

 This information is based on some articles I read on apple's 
developer site about OS X.3.

Not to be pedantic, but there is no such thing as OS X.3 .  There is OS 
X 10.3 .

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


Re[2]: ARP poisonong. LIVE_MAC

2004-02-04 Thread Derek Marcotte
In-Reply-To: [EMAIL PROTECTED]

You want to deny physical connectivity to the LAN, from a
particular host, period.

You might try setting up a quasi-switch with bridge (kernel
option see LINT), plug a whole bunch of network cards in, and
downing the interfaces when they don't pay... It would be a full
duplex, dual speed-hub, which is probably fine, anyways... You'd
also need cross-over cables for all of the PCs becuase it's a
HOST to HOST connection.  I'd recommend the DLink DFE-570TX, but
I don't know that they make it anymore... Intel makes some good
multi-port adapters.  Also a PCI bus is limited to pushing 1056
Mbps (32-bits * 33Mhz), so you can really max out your system
(potentially 200Mbps/adapter) quickly...

The best option would be to go with something that is designed
for this sort of thing.  A Cisco catalyst (1900s and 2900s are
pretty cheap these days) is.  You can write a script that logs
into the switch, and ups and downs the port when they don't pay,
or their account is up to date.

Just a thought...  A dedicated switch would probably be the best
way to deal with this, since you are switching the traffic
anyways.

Alternatively, you can mess with ports/net/nemesis to craft ARP
packets, and so can the connected device, because they still have
physical access to the LAN.  Not to mention that they are still
capable of denying service to other customers via the exact same
method that you use, even though they are disabled.

Cheers,
Derek

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


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Kent Stewart
On Wednesday 04 February 2004 09:26 am, stan wrote:
 On Wed, Feb 04, 2004 at 08:48:06AM -0800, Kent Stewart wrote:
  On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
   You can use the refuse file to omit branches. I've attached my
   cvsupfile and my refuse file to give you an idea as to how this
   works. I placed my cvsupfile in /usr/local/etc and the refuse
   file goes in /user/local/etc/sup. I then call cvsup -g -L 2
   /usr/local/etc/cvsupfile. The directory locations are based on
   the settings within the cvsupfile.
 
  The problem is that when you add this refuses, you can no longer
  use portupgrade because building INDEX will most likely fail and
  the resulting INDEX.db will be close to useless.

 ARGH! So I have to use up (albiet not a huge amount) of disk space
 holding these unwanted ports, just to allow portupgrade (which I
 can't live wihtout) to work? I do a portdb -Uu after every cvsup run
 if that maters.

I would probably think of something like If you want to fly with 
Eagles, you have to understand the price.  Of cousre, flying with 
Eagles is following ports-all on a frequent basis. If you are content 
with it being updated every month or 2, you don't have any problems. 
When you refuse, you may leave behind an out of date link. If you 
delete the ports tree, you may produce 100's of messages from broken 
describes. 

You don't have to include everything on all machines, but you really do 
on the one that builds INDEX and INDEX.db. 

How many MBs are you going to save versus how much trouble you are going 
to create. The time and money to get around the problem is your choice. 
I think refusing a large number of ports is comparable to not building 
sendmail and then finding out that you aren't getting output from your 
cron jobs. 

I also think that adding a huge number of refuses and then bitching when 
INDEX doesn't build is a sufficient reason to add you to a twit list. I 
don't do that but I do think it is a sufficient reason.

Kent
-- 
Kent Stewart
Richland, WA

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

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


Re: PPC ver of freeBSD ? isent that the main body of os X

2004-02-04 Thread Charles Swiger
On Feb 4, 2004, at 10:31 AM, Lucas Holt wrote:
The userland is freebsd.. i.e. the executables in /usr/bin, /bin, etc. 
 I'm sure apple alters a few things.  The part of OSX that differs is 
in the kernel.  Roughly half the kernel is FreeBSD 5.0 and the other 
half is based on the Mach 3.0 kernel design.
The MacOS X userland originally and primarily derives from NEXTSTEP.  
The original PPC port of NEXTSTEP, called Rhapsody, included a bunch of 
changes from NetBSD and FreeBSD (in that order), and OS X has since 
followed changes made to FreeBSD more closely.

MacOS X is using a monolithic kernel which derives from between the CMU 
Mach project v2.0 and v2.5 circa 1990, which was Avie Tenavian's grad 
project at CMU.  Apple is not using the Mach 3.0 microkernel, nor is it 
using half of the FreeBSD 5 kernel.

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


Re: Updating the OS after an install

2004-02-04 Thread Teodor Iliescu
On Wed, 4 Feb 2004, Krikket wrote:

 So I cd'd to the approperiate directory, and did make  make install.

Try:
cd /usr/ports/multimedia/xine
make fetch  make xine

I've attempted to install a package just now with the method you
suggested. Although it does work, it doesn't seem to properly install.

Unix is simple, but it takes a genius to understand the simplicity.
- Dennis Ritchie

Teodor I.
http://penguincomputing.iwarp.com
GPG key fingerprint : 9AC8 A05C 78AD AD73 91DB  CBE4 B644 F402 FBFD 5927
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: console pim? - what to use to track appointments

2004-02-04 Thread David Brinegar
Andrew L. Gould wrote:
 Schedule/Calendar - ???  Here's where I'm stumped.  cal will show
 me calendars when I need then; but I don't know what to use to
 keep track of meetings and other appointments.  calendar has lists
 of dates; but doesn't facilitate data entry and the format doesn't
 facilitate various fields of information (date, time, place,
 subject, contact, etc).  Does anyone have any suggestions?

at(1) works okay for me, along with a mailnote script which sends
a one-liner to my inbox or cell phone.

For example:

at 2:30pm
   mailnote meeting at 3pm


You might want wrappers to organize things the way you like.  I have
one to reorganize atq and at -c output so I can read my upcoming
notes or make sure the date is right on a job.  A few times I've
seen at 9am tomorrow turned into 9am two days from now, so it is
definitely funky.

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


Re: Cannot Add User

2004-02-04 Thread Vince Sabio
** Sometime around 09:21 -0500 02/04/2004, Lowell Gilbert sent everyone:
Vince Sabio [EMAIL PROTECTED] writes:

[...]
  I'm now trying to install Postfix, and the problem I'm running into is
 that I cannot create new user accounts. I created several user
 accounts during installation, and they seem to be fine. But when I
 [manually] create entries in /etc/passwd, master.passwd, and group,
 the entries are 'ignored' -- e.g., a chown [newuser] [filename]
 command fails, attempts to su from root into the user account fail,
 etc. When I try to create the user via adduser (using the standard
 defaults), the account creation step fails with the following error:
  pw: user '[newuser]' disappeared during update

It sounds like you've messed up your user database.  Try running
pwd_mkdb(8) by hand to get it straightened out.  In future, remember
not to edit passwd and so forth by hand; stick with adduser(8) and/or
vipw(8) to avoid shooting yourself in the foot like this.
I have to wonder if this is unique to the BSDs; I've been using 
Solaris for nearly a decade now, and the _only_ way I've ever created 
user accounts is manually -- by editing /etc/passwd, shadow, and 
group files, creating user directories, etc. I've never had a problem 
with it before. (I'm pretty sure I've done the same under Linux, 
too.) Running adduser is fine for simple user accounts -- but there 
are few user accounts on a typical server. The problem with adduser 
is that it isn't well suited to things like accounts with no home 
directories or login shells, disabled passwords (not the same as a 
locked account), etc.

Either way, I tried running pwd_mkdb -C /etc/passwd, and it reported 
a format error on line 3 -- which happens to be the root account, and 
is the first real data line in the file. Moreover, it's a line that I 
didn't modify. It reported no errors on /etc/master.passwd, so I 
copied and modified it into a passwd file -- and pwd_mkdb then 
reported no errors on the new passwd file. However, that action also 
prevented any new logins, and running passwd didn't fix the problem.

So, after mucking around with pwd_mkdb for a while, I opted to simply 
reinstall the OS -- it was still a rather new installation, and I 
wanted to increase the /usr partition, anyway. After completing the 
new FreeBSD installation, the first thing I did upon logging in was 
run pwd_mkdb on /etc/passwd, and it still reported a format error on 
line 3. I then manually added the necessary users, and this time the 
postfix installation ran to completion.

While it's possible that I messed up the format on the original try, 
it's unlikely -- I checked it over a dozen times before going in 
search of a FreeBSD list on which to ask the question. I'm thinking 
that there might have been something else in the mix. But either way, 
the clean install fixed it (though admittedly it was a rather 
Draconian fix).
--

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


Re: Vulnerability check disabled

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 4 Feb 2004 19:31:27 +1100
Gautam Gopalakrishnan [EMAIL PROTECTED] wrote:

 Hello,
 
 Hope I'm not missing something obvious, but since today morning, I've
 been getting wierd warnings when running make in the ports:
 
 [madras!/usr/ports/www/apache13]# make fetch-recursive
 === Fetching all distfiles for apache-1.3.29_1 and dependencies
 ===  Vulnerability check disabled
 ===  Vulnerability check disabled
 ===  Vulnerability check disabled
 ===  Vulnerability check disabled
 [madras!/usr/ports/www/apache13]# cd ../mod_php4
 [madras!/usr/ports/www/mod_php4]# make fetch
 ===  Vulnerability check disabled
 [madras!/usr/ports/www/mod_php4]# 
 
 Happened in www/zope as well.

What about reading 
/usr/ports/CHANGES ?
and

From: Joe Marcus Clarke [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: HEADS UP: MAJOR changes to the ports system
thread on ports ?



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


xinerama setup on kde 3.1.4

2004-02-04 Thread Louis Munro
Hello everyone,
I'm posting this here after trying the freebsd-x11mailing list as it didn't 
produce the expected results. Hopefully someone among you will know more 
about this than I...
I'm trying to setup KDE to display in full xinerama on my new computer. I
 have an nvidia GFX5600 which is capable of displaying on two monitors (I've
 got it working with windows Xp) but I can't seems to get it right on
 FreeBSD: X only displays on one monitor and just blanks out the other. So I
 have a few questions:
--Do I have to compile Xfree86 with some special arguments to enable
 xinerama? I installed it from the cd (4.9 stable, world remade about a week
 ago). --Does KDE 3.1.4 support xinerama? Do I have to do anything special to
 enable it?
--I haven't found all that much information about configuring xinerama. Have
 I missed anything?

I'm appending my XFree86config so you guys can tell me if it's something in
there that's incorrect.

Thanks for your help.

Louis

# XFree86config-XINERAMA

# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#

Section Module
Loaddbe   # Double buffer extension


SubSection  extmod
  Optionomit xfree86-dga   # don't initialise the DGA extension
EndSubSection


Loadtype1
Loadspeedo
#Loadfreetype
#Loadxtt
Load   glx
#Load   dri

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section Files


RgbPath /usr/X11R6/lib/X11/rgb


FontPath   /usr/X11R6/lib/X11/fonts/local/
FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
#FontPath   /usr/X11R6/lib/X11/fonts/TrueType/
#FontPath   /usr/X11R6/lib/X11/fonts/freefont/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/

# The module search path.  The default path is shown here.

#ModulePath /usr/X11R6/lib/modules

EndSection

# **
# Server flags section.
# **

#Section ServerFlags

#EndSection

# **
# Input devices
# **

# **
# Core keyboard's InputDevice section
# **

Section InputDevice

Identifier  Keyboard1
Driver  Keyboard
Option AutoRepeat 500 30
Option XkbRules   xfree86
Option XkbModel   microsoftinet
Option XkbLayout  ca_enhanced

EndSection


# **
# Core Pointer's InputDevice section
# **

Section InputDevice

# Identifier and driver

Identifier  Mouse1
Driver  mouse
Option ProtocolAuto
Option Device  /dev/sysmouse
Option ZAxisMapping4 5

EndSection


# **
# Monitor section
# **

# Any number of monitor sections may be present

Section Monitor

Identifier  IBM G78
HorizSync   30-85
VertRefresh 50-160

EndSection

Section Monitor

Identifier  KTX topscan 15
HorizSync   31.5-60
VertRefresh 40-110

EndSection

# **
# Graphics device section
# **

# Any number of graphics device sections may be present

Section Device
Identifier  GFX5600-0
Driver  nv
BusID   PCI:1:0:0
#VideoRam131072
# Insert Clocks lines here if appropriate
EndSection

Section Device
Identifier  GFX5600-1
Driver  nv
BusID   PCI:1:0:0
#VideoRam131072
# Insert Clocks lines here if appropriate
EndSection



# **
# Screen sections
# **

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the -screen
# option.
Section Screen
Identifier  Screen 1
 

[FAQ} Re: Fix boot block after win install

2004-02-04 Thread Ion-Mihai Tetcu
On Tue, 3 Feb 2004 16:13:47 -0700
hal [EMAIL PROTECTED] wrote:

 A week ago my FreeBSD 4.7 system would dual boot
 either win 3.1 or FreeBSD 4.7.  Well Win 3.1
 wasn't good enough so I installed Win 95.  Of
 course the install piddled on the boot block. :^(
 
 How do I make it dual bootable again?!

3.9. Windows 95/98 killed my boot manager! How do I get it back?
www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER

Was it that hard ?


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


Re: Vulnerability check disabled

2004-02-04 Thread Joe Marcus Clarke
On Wed, 2004-02-04 at 13:17, Ion-Mihai Tetcu wrote:
 On Wed, 4 Feb 2004 19:31:27 +1100
 Gautam Gopalakrishnan [EMAIL PROTECTED] wrote:
 
  Hello,
  
  Hope I'm not missing something obvious, but since today morning, I've
  been getting wierd warnings when running make in the ports:
  
  [madras!/usr/ports/www/apache13]# make fetch-recursive
  === Fetching all distfiles for apache-1.3.29_1 and dependencies
  ===  Vulnerability check disabled
  ===  Vulnerability check disabled
  ===  Vulnerability check disabled
  ===  Vulnerability check disabled
  [madras!/usr/ports/www/apache13]# cd ../mod_php4
  [madras!/usr/ports/www/mod_php4]# make fetch
  ===  Vulnerability check disabled
  [madras!/usr/ports/www/mod_php4]# 
  
  Happened in www/zope as well.
 
 What about reading 
 /usr/ports/CHANGES ?

Yep, that will talk about it.

 and
 
 From: Joe Marcus Clarke [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: HEADS UP: MAJOR changes to the ports system
 thread on ports ?

This thread doesn't cover the vulnerability change.  Basically, we now
have the ability to keep a dynamic database of ports vulnerabilities
which the ports system can check.  If you do not have the database
installed, you'll get the benign Vulnerability check disabled message.

Joe

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




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


Re: ssh error PRNG is not seeded

2004-02-04 Thread Kris Kennaway
On Wed, Feb 04, 2004 at 05:04:24PM +0100, Didier WIROTH wrote:
 Hi,
 I've chosen do want to login via ssh=NO (can't exactly remember but it was
 a similar question) during setup of freebsd5.2, now, when I try to use scp
 or ssh client I get the following error message:
 PRNG is not seeded
 
 How can I solve the problem?!

Have you built a custom kernel?  You may have removed support for the
(effectively mandatory) 'random' device; add it back or kldload the
module.

Kris


pgp0.pgp
Description: PGP signature


Fixing vinum after removing a HDD

2004-02-04 Thread dontspamhenk
Dear all,

I'm running FreeBSD 4.8 on a system with 5 HDD's. ad0 is to be removed
from the system. ad1, ad2 and ad3 contain my vinum drives. FreeBSD resides
on the last disk (da0).

Can anyone tell me if the following procedure is the right way to do it?
1. physically remove ad0
2. vinum resetconfig
3. change drivenumbers in vinum.conf
4. run vinum with the new configfile

Thanks, Marc


Disks currently in the system:
 ad0 (unused disk, to be removed from the system)
 ad1 Maxtor 6Y080L0   (contains 1st vinum subdisk)
 ad2 Maxtor 6Y080L0   (contains 2nd vinum subdisk)
 ad3 Maxtor 6Y080L0   (contains 3rd vinum subdisk)
 da0 QUANTUM ATLAS10K2-TY092L DDD6(contains all system partitions)

My current vinum.conf:
 drive a device /dev/ad1s1h
 drive b device /dev/ad2s1h
 drive c device /dev/ad3s1h
 volume BigDisk0
 plex org concat
 sd length 78159m drive a
 sd length 78159m drive b
 sd length 78159m drive c


Disks after removing the 1st disk
 ad0 Maxtor 6Y080L0   (contains 1st vinum subdisk)
 ad1 Maxtor 6Y080L0   (contains 2nd vinum subdisk)
 ad2 Maxtor 6Y080L0   (contains 3rd vinum subdisk)
 da0 QUANTUM ATLAS10K2-TY092L DDD6(contains all system partitions)

My future vinum.conf
 drive a device /dev/ad0s1h
 drive b device /dev/ad1s1h
 drive c device /dev/ad2s1h
 volume BigDisk0
 plex org concat
 sd length 78159m drive a
 sd length 78159m drive b
 sd length 78159m drive c


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


Re: Fixing vinum after removing a HDD

2004-02-04 Thread Stijn Hoop
On Wed, Feb 04, 2004 at 07:41:48PM +0100, [EMAIL PROTECTED] wrote:
 I'm running FreeBSD 4.8 on a system with 5 HDD's. ad0 is to be removed
 from the system. ad1, ad2 and ad3 contain my vinum drives. FreeBSD resides
 on the last disk (da0).
 
 Can anyone tell me if the following procedure is the right way to do it?
 1. physically remove ad0
 2. vinum resetconfig
 3. change drivenumbers in vinum.conf
 4. run vinum with the new configfile

As far as my (limited) vinum knowledge goes, you really don't need to do a
resetconfig.

Vinum writes the configuration to the disk and reads the information from it.
I think it will be able to cope with a missing disk by itself because the
label on it has not changed; on what is now /dev/ad1s1h vinum has stored
the fact that this vinum drive is labeled 'a', and even if the freebsd
device node changes names, vinum will still know that the then /dev/ad0s1h
is labeled 'a'.

Unfortunately this is only my understanding and I haven't yet needed to
do such an operation for real. YMMV.

--Stijn

-- 
The right half of the brain controls the left half of the body.  This means
that only left handed people are in their right mind.


pgp0.pgp
Description: PGP signature


Re: Booting Problem

2004-02-04 Thread Ion-Mihai Tetcu
On Tue, 03 Feb 2004 22:35:35 -0800
Rishi Chopra [EMAIL PROTECTED] wrote:

 Here's some questions:
 
 If the server was idle (e.g. absolutely no processes running aside from 
 login shell and terminal and no disk access occurring) does it make 
 sense that the filesystem would have had a problem after being 
 improperly unmounted?

Each file system would be at least marked as being used, so fsck -p on
boot will print that and check them. Usually if the system is idle the
fs will be ok. But you have processes that are active in regard the fs,
even if not logged in (cron, ntp/ntpdate, syslog to name a few); /tmp
and /var usually have problems after an unclean shutdown.

Note two things about disks:

1. hw.ata.wc=0  disables write caching - bad for performance good for
integrity. When a disk does wc it holds data in its buffer and report it
as being written to the OS and this delay could go up to 60 seconds
(and even more) depending on the HDD and the load.

atacontrol cap channel unit should tell you the state of write
caching; on my system I have wc=0 but atacontrol shows it turned on, so
I might be wrong here or this is not supported on all HDDs.

2. kern.filedelay=30, kern.dirdelay=29, kern.metadelay=28 sets how often
the respective data is flushed ( synced(8) ) to disk when using
soft-updates; note the descending order, it is important. You might want
to decrease them, which will degrade performance, but could help a more
consistent fs in case of a crash.

When I test a new HDD, CDROM, kernel and world I usually decrease them
to 15,14,13 or even 10,9,8 until everything seems OK.
 
 Also, how long should an 'fsck' on a 500GB partition take?  It's been 
 running for almost 12 hours now, and the latest output is still Phase 1 
 - check blocks and sizes; is something wrong or is fsck still doing its 
 thing?

My largest was about 80G and it takes a few minutes with UDMA100 for a
small amount of errors, so I don't really know. But it depends on how
much the file system is damaged, the access speed of the disk/controller
and the processor/memory; I have the feeling the size - time progression
is not at all arithmetical.

As a note, if you don't really need a fs that big, use smaller
partitions and mount / symlink them where you need them where you need.
This will give you better chances in case of crash.


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


Re: ssh error PRNG is not seeded

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 4 Feb 2004 10:35:20 -0800
Kris Kennaway [EMAIL PROTECTED] wrote:

 On Wed, Feb 04, 2004 at 05:04:24PM +0100, Didier WIROTH wrote:
  Hi,
  I've chosen do want to login via ssh=NO (can't exactly remember but it was
  a similar question) during setup of freebsd5.2, now, when I try to use scp
  or ssh client I get the following error message:
  PRNG is not seeded
  
  How can I solve the problem?!
 
 Have you built a custom kernel?  You may have removed support for the
 (effectively mandatory) 'random' device; add it back or kldload the
 module.

Hm, I remember having this issue a few days ago and it magically
disappeared, if memory serves; if not I had a slightly (few deay)
kernel/world out of sync. But the kernel had random.

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


Re: Help - problem in contacting moderators

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 04 Feb 2004 22:14:24 +0800
Stephen Liu [EMAIL PROTECTED] wrote:

 Hi all folks,
 
 I have been trying, by emails under the subject-'Request for assistance', to 
 contact the moderators of this list at
 
 [EMAIL PROTECTED]
 and
 [EMAIL PROTECTED]
 
 about problem in posting to this list   But all mails were rejected saying 
 being held.  The reason it is being held:
 
 Post by non-member to a members-only list
 
 Kindly advise how to contact moderators

This goes only for hackers and current, AFAIK. If you're sure it's not
the case try postmaster@


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


Re: Vulnerability check disabled

2004-02-04 Thread Ceri Davies
On Wed, Feb 04, 2004 at 01:25:44PM -0500, Joe Marcus Clarke wrote:
 On Wed, 2004-02-04 at 13:17, Ion-Mihai Tetcu wrote:
  On Wed, 4 Feb 2004 19:31:27 +1100
  Gautam Gopalakrishnan [EMAIL PROTECTED] wrote:
  
   Hello,
   
   Hope I'm not missing something obvious, but since today morning, I've
   been getting wierd warnings when running make in the ports:
   
   [madras!/usr/ports/www/apache13]# make fetch-recursive
   === Fetching all distfiles for apache-1.3.29_1 and dependencies
   ===  Vulnerability check disabled
   ===  Vulnerability check disabled
   ===  Vulnerability check disabled
   ===  Vulnerability check disabled
   [madras!/usr/ports/www/apache13]# cd ../mod_php4
   [madras!/usr/ports/www/mod_php4]# make fetch
   ===  Vulnerability check disabled
   [madras!/usr/ports/www/mod_php4]# 
   
   Happened in www/zope as well.
  
  What about reading 
  /usr/ports/CHANGES ?
 
 Yep, that will talk about it.
 
  and
  
  From: Joe Marcus Clarke [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: HEADS UP: MAJOR changes to the ports system
  thread on ports ?
 
 This thread doesn't cover the vulnerability change.  Basically, we now
 have the ability to keep a dynamic database of ports vulnerabilities
 which the ports system can check.  If you do not have the database
 installed, you'll get the benign Vulnerability check disabled message.

True, but would it be possible to just have the warning emitted once,
say just before the build target?

Ceri
-- 


pgp0.pgp
Description: PGP signature


Re: Cannot Add User

2004-02-04 Thread Peter Risdon
** Sometime around 09:21 -0500 02/04/2004, Lowell Gilbert sent everyone:

Vince Sabio [EMAIL PROTECTED] writes:

[...]
 I'm now trying to install Postfix, and the problem I'm running into is
that I cannot create new user accounts. I created several user
accounts during installation, and they seem to be fine. But when I
[manually] create entries in /etc/passwd, master.passwd, and group,
the entries are 'ignored' -- e.g., a chown [newuser] [filename]
command fails, attempts to su from root into the user account fail,
etc. When I try to create the user via adduser (using the standard
defaults), the account creation step fails with the following error:
 pw: user '[newuser]' disappeared during update

It sounds like you've messed up your user database. Try running
pwd_mkdb(8) by hand to get it straightened out. In future, remember
not to edit passwd and so forth by hand; stick with adduser(8) and/or
vipw(8) to avoid shooting yourself in the foot like this.

I notice you don't recommend pw(8). I have some scripts that use pw(8) 
to add users with things like a /nonexistent shell - they do other stuff 
to do with quotas, smbpasswd and so on and allow it all to be managed in 
a single operation from a web interface. Am I storing up problems for 
myself like this? It has been fine so far.

PWR.

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


Re: ipfw rules help.

2004-02-04 Thread Joe Lewis
Marwan Sultan wrote:

a)   lets say I want to deny everything except a range of IPs
 starting from 192.168.1.1 to 192.168.1.50.
 what rule set should be? how to set range of IPs? to pass
 and deny rest of the C class. FreeBSD Doc's doesnot cover this?
 or i didnot see.!
I would set a default to deny, then poke holes through it for the stuff 
you need, such as
add allow ip from 192.168.1.1/5 to any
add allow ip from any to 192.168.1.1/5

(which sets up to use 1.1 to 1.32).  That netmask is your best friend.

b)   If i want to deny everything except ip 192.168.1.5 as follow
 00400 allow all from 192.168.1.5 to any
 01000 deny all from any to any.
 when ipfw reads the rules and pass by 00400 then comes to 01000
 then it denies even the 192.168.1.5, althou i put this rule before the 
 deny ? what im missing? how should i pass 1 ip and deny all?
It means something didn't even check it with rule 400.  This can be due 
to an IPDIVERT thing changing the address so it doesn't match, or 
something similar.

c)   If I want rule 00400 to expire in 9PM and be active in 8AM.(EXAMPLE)
 how do we do that? is it by set a cron job to delete and add
 the ipfw rule? or there is something to do from the ipfw it self?
cron job.  ipfw doesn't have the capability of doing time-based 
rulesets.  Temporary ones are okay, but time based, it can't really handle.

D)   Last Q: IF I restart the box all the rules will be reset,
 and comes to default. which is reasonable.
 How to keep it everytime I restart?
 do i create a file somewhere, and i tell my rc.conf for it?
 what the rc.conf line should be? and file format?
Create or edit the '/etc/rc.firewall'.  I would only make the changes to 
allow a firewall type of 'file', and then make rc.conf reference a file 
that contains the rules.  Or, you can add a startup script in 
/usr/local/etc/rc.d/ that adds the rules.

Joe

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


Re: HEADS UP: MAJOR changes to the ports system

2004-02-04 Thread Gary Kline
On Wed, Feb 04, 2004 at 03:31:32AM -0500, Joe Marcus Clarke wrote:
 On Wed, 2004-02-04 at 03:22, Julian Elischer wrote:
  On Wed, 4 Feb 2004, Joe Marcus Clarke wrote:
  
   Sorry for the wide distribution, but it is critical that -CURRENT users
   hear this.  Two _MAJOR_ changes just went in to the ports tree that are
   bound to cause some pain to -CURRENT users.  
   
  
  I'm glad to hear about this and I wouldn't mind hearing regularly about
  major events over in the ports tree.
 
 I've started doing this.  The full summary was sent to ports@ and
 ports-developers@, plus I added a copy to /usr/ports/CHANGES.  This is
 now the second major ports update I've summarized.  Once the archives
 get back up to speed, you should be able to see my previous summary.
 

A quick comment and question re the ports tree.  
Since the ./distinfo file began listing the SIZE=
line, my portupgrade scripts (and fetch) have broken
when I upgrade.  I'm running 4.7PRE and 4.8PRE.  (I'm
trying to floppy install 5.2-RELEASE, as well.)

Do I need to get a new version of fetch?  Hand-deleting
the SIZE line in the ./distinfo file is a temp
workaround; is there a better way?  ...I must have 
missed *something*

gary





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

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


Re: Vulnerability check disabled

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 04 Feb 2004 13:25:44 -0500
Joe Marcus Clarke [EMAIL PROTECTED] wrote:

 On Wed, 2004-02-04 at 13:17, Ion-Mihai Tetcu wrote:
  On Wed, 4 Feb 2004 19:31:27 +1100
  Gautam Gopalakrishnan [EMAIL PROTECTED] wrote:
  
   Hello,
   
   Hope I'm not missing something obvious, but since today morning, I've
   been getting wierd warnings when running make in the ports:
   
   [madras!/usr/ports/www/apache13]# make fetch-recursive
   === Fetching all distfiles for apache-1.3.29_1 and dependencies
   ===  Vulnerability check disabled
   ===  Vulnerability check disabled
   ===  Vulnerability check disabled
   ===  Vulnerability check disabled
   [madras!/usr/ports/www/apache13]# cd ../mod_php4
   [madras!/usr/ports/www/mod_php4]# make fetch
   ===  Vulnerability check disabled
   [madras!/usr/ports/www/mod_php4]# 
   
   Happened in www/zope as well.
  
  What about reading 
  /usr/ports/CHANGES ?
 
 Yep, that will talk about it.

I hope did get a sleep since freezing the ports ;) ?
 
  From: Joe Marcus Clarke [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: HEADS UP: MAJOR changes to the ports system
  thread on ports ?
 
 This thread doesn't cover the vulnerability change.  Basically, we now
 have the ability to keep a dynamic database of ports vulnerabilities
 which the ports system can check.  If you do not have the database
 installed, you'll get the benign Vulnerability check disabled message.

 Type: FEATURE

 Title: Do not install ports with security vulnerabilities

 Affects: bsd.port.mk

 Description: A new vulnerabilities database has been added to the
 ports system in order to keep more accurate, up-to-date, track of
 security vulnerabilities.  The ports system now knows how to query
 that database and dynamically prevents the installation of vulnerable
 ports.

 PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=62039

 Submitted by: eik

Now, maybe this could be clarified a little bit in CHANGES ?

Like:
__

For using the new security feature of ports infrastructure, you should:
cd /usr/ports/security/portaudit; make install
/usr/local/etc/periodic/daily/330.fetchaudit

To test:
cd /usr/ports/security/vulnerability-test-port
make INSTALLATION_DATE=`date -u -v-14d +%Y.%m.%d` install

A message like this should appear:
 ===  vulnerability-test-port-2004.01.14 has known vulnerabilities:
  Not vulnerable, just a test port (database: 2004-01-28).
Reference: 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/vulnerability-test-port/
  Please update your ports tree and try again.
 *** Error code 1

If you don't install this port, for the majority of make's targtets you
will get the following message:
===  Vulnerability check disabled
__


IMHO, as this is a log desired feature, a news on annouce@ / security /
security-notifications could be send.

Now, what is the status of the vulnerabilities database ?

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


Resizing FFS

2004-02-04 Thread R. D.
Can I decrease size of existing filesystem ( f. e. ad0s3f)?  I have 
free space on it and want to create new partition.
growfs can only increase size of existing fs. Is FBSD has instrument 
such as resize2fs under Linux?

Thanks

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


problem with netgraph

2004-02-04 Thread niraj kumar

1. when i use printf statement to print my own string with the message in  nge_rcvdata 
function in ng_echo.c i face the problem thatobject code has not changed. and when i 
use ngctl write command with the -f filename option it just print the file contents . 
what is the proper procedure to add your own message which is written in the ng_echo.c 
file when i use ngctl write command and where the data is stored. 2. where i can find 
more about the netgraph  the man page help is not enough for the beginner  
 niraj


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADS UP: MAJOR changes to the ports system

2004-02-04 Thread Joe Marcus Clarke
On Wed, 2004-02-04 at 14:24, Gary Kline wrote:
 On Wed, Feb 04, 2004 at 03:31:32AM -0500, Joe Marcus Clarke wrote:
  On Wed, 2004-02-04 at 03:22, Julian Elischer wrote:
   On Wed, 4 Feb 2004, Joe Marcus Clarke wrote:
   
Sorry for the wide distribution, but it is critical that -CURRENT users
hear this.  Two _MAJOR_ changes just went in to the ports tree that are
bound to cause some pain to -CURRENT users.  

   
   I'm glad to hear about this and I wouldn't mind hearing regularly about
   major events over in the ports tree.
  
  I've started doing this.  The full summary was sent to ports@ and
  ports-developers@, plus I added a copy to /usr/ports/CHANGES.  This is
  now the second major ports update I've summarized.  Once the archives
  get back up to speed, you should be able to see my previous summary.
  
 
   A quick comment and question re the ports tree.  
   Since the ./distinfo file began listing the SIZE=
   line, my portupgrade scripts (and fetch) have broken
   when I upgrade.  I'm running 4.7PRE and 4.8PRE.  (I'm
   trying to floppy install 5.2-RELEASE, as well.)
 
   Do I need to get a new version of fetch?  Hand-deleting
   the SIZE line in the ./distinfo file is a temp
   workaround; is there a better way?  ...I must have 
   missed *something*

The latest bsd.port.mk changes should have fixed this.  The -S argument
is only passed to fetch i OSVERSION = 48.  If you're still running
into problems, try adding DISABLE_SIZE=yes to /etc/make.conf.

Joe

 
   gary
 
 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
[EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



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


Re: Vulnerability check disabled

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 4 Feb 2004 21:26:01 +0200
Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:

[..]

  Type: FEATURE
 
  Title: Do not install ports with security vulnerabilities
 
[..]
 
 Now, maybe this could be clarified a little bit in CHANGES ?
 
 Like:
 __
 
 For using the new security feature of ports infrastructure, you should:
 cd /usr/ports/security/portaudit; make install

Note that this is a prerelease version, it is mostly usable for
committers that want to contribute to the project, and can currently
not be relied upon as an extensive security auditing tool.

 /usr/local/etc/periodic/daily/330.fetchaudit
 To test:
 cd /usr/ports/security/vulnerability-test-port
 make INSTALLATION_DATE=`date -u -v-14d +%Y.%m.%d` install
 
 A message like this should appear:
  ===  vulnerability-test-port-2004.01.14 has known vulnerabilities:
   Not vulnerable, just a test port (database: 2004-01-28).
 Reference: 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/vulnerability-test-port/
   Please update your ports tree and try again.
  *** Error code 1
 
 If you don't install this port, for the majority of make's targtets you
 will get the following message:
 ===  Vulnerability check disabled
 __
 
 
 IMHO, as this is a log desired feature, a news on annouce@ / security /
 security-notifications could be send.
 
 Now, what is the status of the vulnerabilities database ?

Did I just responded to my question ?

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


Re: HEADS UP: MAJOR changes to the ports system

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 4 Feb 2004 11:24:10 -0800
Gary Kline [EMAIL PROTECTED] wrote:

 On Wed, Feb 04, 2004 at 03:31:32AM -0500, Joe Marcus Clarke wrote:
  On Wed, 2004-02-04 at 03:22, Julian Elischer wrote:
   On Wed, 4 Feb 2004, Joe Marcus Clarke wrote:
   
Sorry for the wide distribution, but it is critical that -CURRENT users
hear this.  Two _MAJOR_ changes just went in to the ports tree that are
bound to cause some pain to -CURRENT users.  

   
   I'm glad to hear about this and I wouldn't mind hearing regularly about
   major events over in the ports tree.
  
  I've started doing this.  The full summary was sent to ports@ and
  ports-developers@, plus I added a copy to /usr/ports/CHANGES.  This is
  now the second major ports update I've summarized.  Once the archives
  get back up to speed, you should be able to see my previous summary.
  
 
   A quick comment and question re the ports tree.  
   Since the ./distinfo file began listing the SIZE=
   line, my portupgrade scripts (and fetch) have broken
   when I upgrade.  I'm running 4.7PRE and 4.8PRE.  (I'm
   trying to floppy install 5.2-RELEASE, as well.)

Check /usr/ports/CHANGES and cvsup again, it has been fixed.


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


4.9R Install - Couldn't open FTP connection to ftp[#].freebsd.org: Not logged

2004-02-04 Thread Danny
Trying to install 4.9R from the boot floppies. The first NIC I tried was the
built-in Intel Pro 100 VE. dmesg displayed what I think was the NIC, because it
found the MAC address of the NIC and at that stage it was the only NIC device
plugged into the system.

So I gave up on the Intel NIC, because it would not resolve the FTP addresses, even
though, on the DNS server the address (of the FTP servers) was in the DNS cache.

Now I get:  Couldn't open FTP connection to ftp[#].freebsd.org: Network is down.
This is still on the Intel NIC.

I have now plugged in a DLINK DFE 530TXS, which shows up as

ste0 Sundance ST201 PCI ethernet card

And with it, I get: Couldn't open FTP connection to ftp[#].freebsd.org: Not logged
in

So I assume it is resolve the name OK, but just can't login. In addition, the NIC is
getting IP info from the DHCP server.

Therefore, I believe it's not a physical problem (lights are a blinkin'), nor a
logical one, because it gets an IP from the DHCP server, or at least retrieves this
information OK.

I have tried over a dozen of the ftp[1,2,3,4,5,6,ca, etc.].freebsd.org sites listed.

How can I make sure that I have network connectivity throughout the install?

How do I properly exit out of the connecting to the FTP part of the install that can
sit there paused for more than 15 minutes?

Any suggestions would be greatly appreciated.

Thank you.

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


Re: Looking for Software on your site...

2004-02-04 Thread Peter Risdon
Donald Corn wrote:

Hi.  My account rep at Verio suggested I look at your site for 
software.  I am not a technical person, more in the marketing area; 
but once I find what I am looking for I can pass onto our programmer.
FreeBSD is an operating system which comes with some very elegant ways 
to manage application software, but you're talking about the application 
software here. And there's an awful lot of it available. So the first 
point is, you have Choice. As the Perl people say, there's more than one 
way to do it.

FreeBSD is an excellent operating system for this type of role, but 
there is so much choice of software that you would almost certainly find 
it cost-effective to involve someone who already has a good idea of the 
field.

Specifically, we are looking for a mail server solution
sendmail is the default mail server software with FreeBSD and it's 
excellent, but you could also use Exim, qmail, postfix and a couple of 
other alternatives. Each has different merits.

that will do personalization
I'm not too sure what you mean by that...

/html transmissions
mail servers are generally agnostic about whether the mails are in plain 
text, html or both.

, plus the required subscribe/unsubscribe functions.
That's a mailing list. Mailing list software runs alongside a mail 
server. Again, lots of choice... ezmlm, mailman, majordomo...

We are also using @Mail and I saw it referenced as a Webmail solution 
on your site.

Can you help point me where to find the overview of your software 
programs in general and specifically a mail server and info on Webmail.  
Webmail (and there a several webmail systems available) is really just 
some cgi scripts that access mailboxes using (normally) imap.

FreeBSD administrators often roll their own solutions. But there are 
several established combinations. For example, the author of the qmail 
mail server also wrote the ezmlm mailing list manager, and it makes 
sense to use them together. A company called Inter7 have added some 
tweaks to this setup with additional software called vpopmail (for 
managing virtual domains and users), qmailadmin for administrating 
e-mail accounts and mailing lists, and a webmail system (that I'm not 
personally very keen on) called Sqwebmail.

You might find it interesting to look over their site at:

http://www.inter7.com

Possibly more interesting webmail solutions could be horde and 
phpgroupware, both of which offer additional features such as calendars, 
to-do lists, and are easy to extend in different ways to suit your 
specific requirements.

Personally, I'd probably use qmail, ezmlm (or in fact a version of it 
called ezmlm-idx), vpopmail, qmailadmin, courier (for pop and imap 
servers) and either horde or phpgroupware.

If you go to:

http://www.freebsd.org/ports/index.html

you'll be able to read some info on all these pieces of software.

HTH

PWR.

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


using a separate drive for swap

2004-02-04 Thread David Banning
I have been running out of swap space on my box.

I had an old 6.4 drive around which I thought would be
useful to add - just for swap - even if it's overkill.

The installation wants a root mount point. Is that 
necessary? I even tried to put a limited / root of
61 meg just to make it happy but it still gave errors.

Is there an easy way to do this? 


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


Re: Vulnerability check disabled

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 4 Feb 2004 19:12:57 +
Ceri Davies [EMAIL PROTECTED] wrote:

 On Wed, Feb 04, 2004 at 01:25:44PM -0500, Joe Marcus Clarke wrote:
  On Wed, 2004-02-04 at 13:17, Ion-Mihai Tetcu wrote:
   On Wed, 4 Feb 2004 19:31:27 +1100
   Gautam Gopalakrishnan [EMAIL PROTECTED] wrote:
   
Hello,

Hope I'm not missing something obvious, but since today morning, I've
been getting wierd warnings when running make in the ports:

[madras!/usr/ports/www/apache13]# make fetch-recursive
=== Fetching all distfiles for apache-1.3.29_1 and dependencies
===  Vulnerability check disabled

[..]

  This thread doesn't cover the vulnerability change.  Basically, we now
  have the ability to keep a dynamic database of ports vulnerabilities
  which the ports system can check.  If you do not have the database
  installed, you'll get the benign Vulnerability check disabled message.
 
 True, but would it be possible to just have the warning emitted once,
 say just before the build target?

Yes, please don't break fetching with this. Fetch should mean fetch.
Stop building if necessary, but let fetch go.


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


Re: PPC ver of freeBSD ? isent that the main body of os X

2004-02-04 Thread Lucas Holt
MacOS X is using a monolithic kernel which derives from between the 
CMU Mach project v2.0 and v2.5 circa 1990, which was Avie Tenavian's 
grad project at CMU.  Apple is not using the Mach 3.0 microkernel, nor 
is it using half of the FreeBSD 5 kernel.

Incorrect!   The original OS X code base does come from next but apple 
has upgraded the code in 10.3 to use FreeBSD 5.0 code.  
apple.com/macosx even mentioned that when panther was released.  
Another document on apple's site i'm looking for again specified that 
the latest 10.3 kernel was in fact using only the messaging and memory 
architecture of Mach and the rest was in fact FreeBSD 5.0 code!

http://developer.apple.com/darwin/history.html



Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

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


Re: PPC ver of freeBSD ? isent that the main body of os X

2004-02-04 Thread Lucas Holt

Not to be pedantic, but there is no such thing as OS X.3 .  There is 
OS X 10.3 .


Thats what I get for following common conventions for developer lists!  
:)
Many people use X.1, X.2, etc. to refer to versions of OS X.  
Technically you are right though.  The one time i use it...

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

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


How to get ptys (devfs) inside jail for FreeBSD 5.2?

2004-02-04 Thread Hari Bhaskaran
Hi,

What do I use instead of MAKEDEV (for jail) in FreeBSD 5.2?
I am getting openpty: No such file or directory
in the sshd's auth.log and Server refused to allocate pty
in the ssh client when I try to ssh-in to the jail.

So far the only response I have seen on the net is by
Clement Laforet who suggests mounting 
mount_devfs devfs ${JAIL_ROOT}/dev
See: http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/014836.html

Is this secure? Is there any other way?
Any help is appreciated
--
Hari Bhaskaran
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using a separate drive for swap

2004-02-04 Thread Bjorn Eikeland
So you're adding a new drive to your box, wanting to
keep your old root and other partitions?
If so you should be able to just put a freebsd partition
and set up disklables b (swap) and c (the whole disk) on
the new drive and then add it to /etc/fstab as swap.
(This can be done in 'gui' in sysinstall under fdisk and disklabel - not 
the /etc/fstab edit though :)
If you dont want to do any rebooting you can use
swapon(8) I think.

You would moslikely want to only use the new drive for
swapp space as you dont have to share disk i/o with the
disk containing the os and your data.
hth
Bjorn
Pa Wed, 4 Feb 2004 14:56:05 -0500, skrev David Banning 
[EMAIL PROTECTED]:
I have been running out of swap space on my box.

I had an old 6.4 drive around which I thought would be
useful to add - just for swap - even if it's overkill.
The installation wants a root mount point. Is that
necessary? I even tried to put a limited / root of
61 meg just to make it happy but it still gave errors.
Is there an easy way to do this?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[FAQ]Re: using a separate drive for swap

2004-02-04 Thread Ion-Mihai Tetcu
On Wed, 4 Feb 2004 14:56:05 -0500
David Banning [EMAIL PROTECTED] wrote:

 I have been running out of swap space on my box.
 
 I had an old 6.4 drive around which I thought would be
 useful to add - just for swap - even if it's overkill.
 
 The installation wants a root mount point.

Don't understand.

 Is that 
 necessary? I even tried to put a limited / root of
 61 meg just to make it happy but it still gave errors.

What about checking {Handbook, FAQ, man, Google} before posting ?

www.frrebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#ADD-SWAP-SPACE

 Is there an easy way to do this? 

Replace ad3s1 with your disk:

bsdlabel -w -n ad3s1 | sed '/a:/s/16/0/; /a:/s/unused/swap/; /a:/s/a:/b:/;'  
/tmp/mylabel
bsdlabel -R ad3s1 /tmp/mylabel
swapon /dev/ad3s1b
echo '/dev/ad3s1b noneswapsw  0   0'  
/etc/fstab



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


How to calculate bsdlabel size

2004-02-04 Thread Harald Schmalzbauer
Hi all,

I manually created disklabels with a size number of 10485760.
I wanted to have 5 GigaByte big labels, so 5*1024*1024*1024/512=10485760.
Now after doing a newfs and mounting the new label, df -h reports a size of 
4.8GB.
Can someone please enlighten me?

Thanks,

-Harry


pgp0.pgp
Description: signature


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread stan
On Wed, Feb 04, 2004 at 08:48:06AM -0800, Kent Stewart wrote:
 On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
  You can use the refuse file to omit branches. I've attached my
  cvsupfile and my refuse file to give you an idea as to how this
  works. I placed my cvsupfile in /usr/local/etc and the refuse file
  goes in /user/local/etc/sup. I then call cvsup -g -L 2
  /usr/local/etc/cvsupfile. The directory locations are based on the
  settings within the cvsupfile.
 
 The problem is that when you add this refuses, you can no longer use 
 portupgrade because building INDEX will most likely fail and the 
 resulting INDEX.db will be close to useless.
 
Well, a quick test seems to prove this theory false. 

I have a system that I have removed all teh non English language port
directories, and I run a cvsup _with_ a refuse file for these. Then I did a
portdb -Uu. This resulted in a fair number of complaints, but when I ran
portupgrade -aRr it hapilly took of running.

Granted this sytem only has 19 ports installed. But it seems to work. Am I
missing somehting hrere?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >