FreeBSD detecting less than total memory

2002-11-25 Thread Kenneth Culver
Hi,
I'm running FreeBSD 4.7-STABLE as of a couple of days ago... and
it seems that FreeBSD is not detecting the total amount of ram that I have
on my system. I have 512M but here's my dmesg (where memory is concerned:

real memory  = 402669568 (393232K bytes)
Physical memory chunk(s):
0x1000 - 0x0009, 651264 bytes (159 pages)
0x004ad000 - 0x17ffbfff, 397733888 bytes (97103 pages)
avail memory = 386895872 (377828K bytes)

This is much less than what is really available. /boot/loader detects the
proper amount, but for some reason the kernel won't. Any ideas?

Ken


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



FreeBsd2.2.8 with VSCom PCI-200L

2002-11-25 Thread Thitiporn Pornpirunrak
Hi all,
 I am using FreeBsd2.2.8 and need to install more com port. I use VSCom 
PCI-200L. But I don't know how to compile new kernel for this card (I found on 
internet only with 4.6 modules not 2.2.8). Any one who know please tell me.

Thanx,
èR{.nÇ+‰·¬zwfj)m¢f£¢·hškyàRŠàÂ+aº{.nÇ+‰·Ÿ­ç›±Ú®zËb¢{žØ^n‡r¡ûazg¬±¨


gnome 1 and 2

2002-11-25 Thread Dick Hoogendijk
Is it possible to have both gnome 1.4 and Gnome2 installed on my fbsd4.7
system?
The reason I ask is that I saw a special Galeon version for gnome2 in
/usr/ports.
So, if I want Gnome2 how do I go from here? Some parts of gnome1 are
installed at this moment to support mozilla / galeon

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-24 18:03:02 +0100:
  6-Nov : Postfix - virtual domains
   This is easier than it sounds
   http://freebsddiary.org/postfix.php?2
 
 Wonderfull for ISPs etc, but I wish you would also
 bring something like sendmail.cf for dialup users, 
 things that could go into the faq, or sendmail.cf
 with auth, for smarthosts that need that.

Besides the fact that sendmail.cf is used by Sendmail, not Postfix,
a howto for sendmail.cf would be about as useful as a howto for
/etc/login.conf.db.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: How do I block spam locally?

2002-11-25 Thread Roger 'Rocky' Vetterberg
Matt Smith wrote:

I agree, but how do I run spam filtering locally?  
As an average desktop user, I simply use a client to POP mail from a
server -- are there client plugins that filter for spam?  I currently
use Evolution, but am willing to change if there a spam filter plugins
for other clients.

As a slightly-more-than-average desktop user, I just figured out
fetchmail to fetch a POP3 account to my local sendmail (base system,
default install, set for local deliver only).  Is SpamAssassin the
best way to go?  Is it a plugin for Sendmail?  If I'm going to start
messin' with my local MTA, should I try something besides Sendmail?  The
config options of Sendmail are somewhat daunting -- it seems like an
SMTP handler should be simpler.

Thoughts?

Thanks all,

-Matt

If you are using fetchmail to deliver to your own sendmail, you 
are already halfway there.
Use procmail to run all emails through spamassassin, and then let 
procmail or your MUA sort the emails based on the spamassassin 
results.
I use this approach, and after a surprisingly small amount of 
tweaking spamassassin now catches ~99 out of a 100 spams, and has 
amazingly few false positives.

There are some tutorials about procmail on 
http://www.onlamp.com/bsd/ that deals with catching spam. Even if 
they dont explain spamassassin, it should get you started.

--
R


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


Re: gnome 1 and 2

2002-11-25 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (11.25.2002 @ 0014 PST): Dick Hoogendijk said, in 0.5K: 
 Is it possible to have both gnome 1.4 and Gnome2 installed on my fbsd4.7
 system?
 The reason I ask is that I saw a special Galeon version for gnome2 in
 /usr/ports.
 So, if I want Gnome2 how do I go from here? Some parts of gnome1 are
 installed at this moment to support mozilla / galeon
 end of gnome 1 and 2 from Dick Hoogendijk 

Please read the FAQs available from http://www.freebsd.org/gnome/.

# Adam


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

iD8DBQE94efBo8KM2ULHQ/0RAquBAJ4qNLDiYdOUGgEaswr71VDD7AGiyACfSnMd
jJJTLqyCHtn2uVDdEodgGtk=
=kvTz
-END PGP SIGNATURE-

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



Re: Find abandoned packages

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-21 12:57:32 -0800:
 Liquid [EMAIL PROTECTED] writes:
 
  If you check out /var/db/pkg it lists what ports are installed
  essentially.  I don't know how to tell whether or not it?s a dependency
  though, so maybe someone else can answer that.  I'd like to know that
  too come to think of it.
 
 Please keep non-ASCII characters out of list mail; we're not all
 MSFT-compliant, yet.  (The ? above was a byte valued 222, octal.)
 From more info: http://www.cs.tut.fi/%7Ejkorpela/www/windows-chars.html

Actually, it's not non-ASCII characters or MSFT products that causes
problems. It's fucked up mail clients that send messages that
fallaciously claim to be using charset X when they're really in Y.

Incidentally, these mail clients are MSFT products.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: any advice before I buy a printer for FreeBSD?

2002-11-25 Thread BSD baby
 And, the most important of all, check the hardware compatibility list of 
 printers suitable for FreeBSD.

Ah!  That's what I was looking for!  Saw no mention of it in the FreeBSD
Handbook or the hardware compatibility link from freebsd.org

I did find this: http://www.linuxprinting.org/suggested.html
Seems the HP Laserjet 1200 would be good for me, since it's Postscript-ready.




 Any advice before I buy a printer for FreeBSD?
 
 I'm finally going to get a printer for my FreeBSD devbox this week.
 
 Are they all pretty much FreeBSD-compatible?
 or is there some spec I need to look for?
 
 I assume parallel port is still the way to go
 or is USB really ready on FreeBSD?
 
 Main thing I want to do is print PDF files, in batches.
 (Send a directory of 300 different PDF files to the printer at once.)
 
 Are there any command-line tools to do that?
 or do you need an X11 Adobe Acrobat app?

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



KDE Resolution Problem

2002-11-25 Thread Vladimir Daskalov

Hello ,
I have problems with my X windows
I can't do more than 800x600 ot 16 bits
Witch is the tool for changeing this !
On my Windows OS i can do 1024x768 32 Bits
My Viedocard is Voodoo 3 2000 and my monitor is Aoc Spectrum 5 Vlr

Can somebody help me!
Thank you in advance!


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



Re: KDE Resolution Problem

2002-11-25 Thread Pierrick Brossin
 Hello ,

Hi!

 I have problems with my X windows
 I can't do more than 800x600 ot 16 bits
 Witch is the tool for changeing this !
 On my Windows OS i can do 1024x768 32 Bits
 My Viedocard is Voodoo 3 2000 and my monitor is Aoc Spectrum 5 Vlr

You can edit /etc/X11/XF86Config
and modify the lines as showed on XFree website (or try to understand how it
works.. it's not that har5d)

or run : XFree86 -configure
which actually creates a default config file for your hardware

Cya

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



JOIN for FREE ... Learn and Earn

2002-11-25 Thread Charles Cedeno
Hello:

My name is Charles Cedeno. I am now focusing in one online
opportunity.I have tried several of these opportunities full of hype
promising us thousands of dollars every month. I would get all excited and
run to my family and friends with another Great Money Maker .  It is a
sad fact that many people who are in need of additional income, are being
victimized by these fly by night scam artists. 
As a result of trying all these opportunities, I finally found the
company which is true to their words. Not full of hype, but consistently
send me the monthly check. They have given me the best compensation plan
with their high % commission. I didn't have to perform some juggling act
to maintain some 60 to 40% balance in my legs. It is not a pyramid, so
there are no legs. It is not one of those binary compensation plan
failures either. Everyone earns commissions here. They are providing a
real service not the one that simply transfers wealth from the new signups
to the people at the top.
When you join, you will have a team of up line sponsors who will help
you succeed every step of the way. Instead of being left alone, you will
be guided step by step by real people, not those auto responders. Only you
can make your own success together with the help of your sponsors. If you
have 2 to 3 hours a day, you will be able to earn a full income in a few
months. And there is absolutely no limit as to how much you can earn. It
is designed to gain momentum after some time. But I prefer to avoid such
statements as You will get rich. I read it everywhere and will not allow
myself to sound like them. I experienced it personally, you can be
comfortable. 
To get your FREE membership ID, send email to [EMAIL PROTECTED] and
put REGISTER ME FOR FREE in the subject and your full name in the body
of your email. Also include the statement below in the body of your email.
By submitting a request for a FREE DHS Club membership I agree to receive
emails from DHS Club for both their Consumer and Business Opportunities.
I will then register you into the system. You will receive a confirmation
email asking you to verify. Open it up and activate your free membership
immediately. Then set back and watch as your new business explodes.


Best regards,


Charles Cedeno


Note: You don't need to request for removal. This is a one-time email.
Your email address will be automatically de-activated in our list if you
don't respond to this mail.

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



Re: Changing to/from user within script

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-21 22:11:55 +:
 I want to run a cron job as a user on my system.  Once the job has
 completed I need root privileges to power the system down.  I don't 
 mind if the script has to run as a root cron job, but running the 
 processing as a user will prevent against filling a partition. 

1)
joe's crontab:

# do the grunt work
touch /var/run/shutdown

root's crontab:

[ -f /var/run/shutdown ]  \
rm -f /var/run/shutdown  \
/sbin/shutdown -h now
 
2)
joe's crontab:

# do the grunt work
/usr/local/bin/sudo /sbin/shutdown -h now

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



JOIN for FREE ... Learn and Earn

2002-11-25 Thread Charles Cedeno
Hello:

My name is Charles Cedeno. I am now focusing in one online
opportunity.I have tried several of these opportunities full of hype
promising us thousands of dollars every month. I would get all excited and
run to my family and friends with another Great Money Maker .  It is a
sad fact that many people who are in need of additional income, are being
victimized by these fly by night scam artists. 
As a result of trying all these opportunities, I finally found the
company which is true to their words. Not full of hype, but consistently
send me the monthly check. They have given me the best compensation plan
with their high % commission. I didn't have to perform some juggling act
to maintain some 60 to 40% balance in my legs. It is not a pyramid, so
there are no legs. It is not one of those binary compensation plan
failures either. Everyone earns commissions here. They are providing a
real service not the one that simply transfers wealth from the new signups
to the people at the top.
When you join, you will have a team of up line sponsors who will help
you succeed every step of the way. Instead of being left alone, you will
be guided step by step by real people, not those auto responders. Only you
can make your own success together with the help of your sponsors. If you
have 2 to 3 hours a day, you will be able to earn a full income in a few
months. And there is absolutely no limit as to how much you can earn. It
is designed to gain momentum after some time. But I prefer to avoid such
statements as You will get rich. I read it everywhere and will not allow
myself to sound like them. I experienced it personally, you can be
comfortable. 
To get your FREE membership ID, send email to [EMAIL PROTECTED] and
put REGISTER ME FOR FREE in the subject and your full name in the body
of your email. Also include the statement below in the body of your email.
By submitting a request for a FREE DHS Club membership I agree to receive
emails from DHS Club for both their Consumer and Business Opportunities.
I will then register you into the system. You will receive a confirmation
email asking you to verify. Open it up and activate your free membership
immediately. Then set back and watch as your new business explodes.


Best regards,


Charles Cedeno


Note: You don't need to request for removal. This is a one-time email.
Your email address will be automatically de-activated in our list if you
don't respond to this mail.

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



KDE Resolution problem

2002-11-25 Thread Vladimir Daskalov

i dont have /etc/XF86Config file
but i fount my config file in

(==) Using config file: /usr/X11R6/lib/X11/XF86Config
This is my Screen Section
--
Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Depth 24
Modes 800x600
EndSubSection
EndSection

and the result is
(==) Using config file: /usr/X11R6/lib/X11/XF86Config
(EE) TDFX(0): No Display subsection in Screen section Screen0 for
depth/fbbpp
8/8
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file /var/log/XFree86.0.log.
Please report problems to [EMAIL PROTECTED]
X connection to :0.0 broken (explicit kill or server shutdown).


Anyone with idea
Thnk you!


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



Re: KDE Resolution problem

2002-11-25 Thread Pierrick Brossin
 Anyone with idea

Yes create a default config file with 'XFree86 -configure'
If it doesn't work, you'll want to upgrade to XFree 4.X.X instead of 3.X.X

Cya

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



PPP and Alcatel HomeTouch

2002-11-25 Thread John Jennings
To whom it may concern:

My friend and I have a FreeBSD machine running the latest STABLE version of
FreeBSD.  We are running ppp 2.3 patch 5.  We have an Alcatel HomeTouch ADSL
USB modem.  In the FreeBSD machine, there is a fully functional USB card,
which has been configured and operates correctly.

The problem comes in the configuration of PPP

Following the instructions here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/speedtouch/speedto
uch/doc-bsd/INSTALL?rev=1.2
We configured as shown in the link above.  Our ppp.conf file looks like
this:

default:
 ident user-ppp VERSION (built COMPILATIONDATE)
 set log Phase Chat IPCP CCP tun command

adsl:
 set authname our_username_here
 set authkey our_password_here
 set device !pppoa2 -vpi 8 -vci 35 -v 1
 accept pap
 set speed sync
 set timeout 0
 enable lqr
 set lqrperiod 5
 set redial 15 1
 set dial 
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 enable dns

We are certain our ISP uses PAP for authenticating.  We do the following to
connect:

ppp -ddial adsl

We receive the following error:

Add Route:  failed:  default exists

More detail about the machine:  There is a NIC with IP address 192.168.1.3,
which is NOT connected to anything.

We are able to ping our ISP's gateway.  And we have an IP address which has
been assigned to us by the ISP.  But we cannot ping or access addresses
outside our ISP.

We have no idea the problem.  Any help is greatly appreciated.  We thank you
in advance.

J


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



Re: Wierd message followed mem prob

2002-11-25 Thread Cliff Sarginson
On Mon, Nov 25, 2002 at 04:49:48AM -0500, Kenneth Culver wrote:
 Hi,
   This is in addition to my last mail. Just to reiterate, I'm using
 FreeBSD 4.7-STABLE as of a few days ago, and I've never seen this problem
 before. The wierd message comes from /usr/src/sys/i386/i386/machdep.c:
 
 Too many holes in the physical address space, giving up
 
 It prints before even the copyright message on bootup. Second is (I think
 as a result of this message) My total memory is too small by over 100M (I
 have 512M):
 
 Copyright (c) 1992-2002 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 4.7-STABLE #0: Mon Nov 25 04:25:46 EST 2002
 [EMAIL PROTECTED]:/usr/src/sys/compile/MYKERNEL
 Timecounter i8254  frequency 1193182 Hz
 CPU: AMD Athlon(tm) XP 2000+ (1667.40-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x662  Stepping = 2
 
 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
 OV,PAT,PSE36,MMX,FXSR,SSE
   AMD Features=0xc040AMIE,DSP,3DNow!
 real memory  = 402669568 (393232K bytes)
 avail memory = 386879488 (377812K bytes)
 
 Anyone know what's going on/how to fix it?
 
You might look at the NO_MEMORY_HOLE option in /usr/src/i386/conf/LINT.

No idea if it is relevant to you, but it maybe worth looking at.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



SMB/NetBIOS proxying tool ?

2002-11-25 Thread Angelin Lazarov Lalev
Hi everybody,

I need to do a NAT translation between two networks, having windows 
shares (with NetBIOS over TCP/IP) still working between them.
I have read some previous discussions on that matter and it looks that 
it's not possible to do that without proxying tool, because the IP 
addresses are somehow encoded in the NetBIOS packets. Is there such tool 
for FreeBSD?

TIA



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


Wierd message followed mem prob

2002-11-25 Thread Kenneth Culver
Hi,
This is in addition to my last mail. Just to reiterate, I'm using
FreeBSD 4.7-STABLE as of a few days ago, and I've never seen this problem
before. The wierd message comes from /usr/src/sys/i386/i386/machdep.c:

Too many holes in the physical address space, giving up

It prints before even the copyright message on bootup. Second is (I think
as a result of this message) My total memory is too small by over 100M (I
have 512M):

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-STABLE #0: Mon Nov 25 04:25:46 EST 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/MYKERNEL
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 2000+ (1667.40-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2

Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 402669568 (393232K bytes)
avail memory = 386879488 (377812K bytes)

Anyone know what's going on/how to fix it?

Ken


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



Re: Wierd message followed mem prob

2002-11-25 Thread Terry Lambert
Kenneth Culver wrote:
 This is in addition to my last mail. Just to reiterate, I'm using
 FreeBSD 4.7-STABLE as of a few days ago, and I've never seen this problem
 before. The wierd message comes from /usr/src/sys/i386/i386/machdep.c:
 
 Too many holes in the physical address space, giving up
 
 It prints before even the copyright message on bootup. Second is (I think
 as a result of this message) My total memory is too small by over 100M (I
 have 512M):

Your physical memory map is laid out such that it has holes in;
in general, the code, as written, can tolerate up to 7 holes...
8 discontiguous chunks.

In a properly functioning system, you will not have more than that,
and will generally have much less (the number goes up if 384K is
remapped from expansion RAM to back-fill the hole above 640K; in
general, you should turn this off in the BIOS, if you can, unless
you are multibooting the system in DOS, and are using QEMM or a
similar TSR to access expansion RAM).

In general, the message is mostly harmless.  What it means is that
there is some physical memory that was not mapped into the address
space as a known chunk, because of regions within memory that have
been mapped out -- holes.  You lose access to chunks above the
last chunk.

If it's complaining about holes, rather than segments, then it means
that INT 15:E820 is succeeding without leaving anything out, but
that the number of holes detected are larger than the number of holes
that the BIOS knows about -- there is a mismatch -- and that the
number of holes is greater than 8.

The number of holes available to be mapped this way are limited to
PHYS_AVAIL_ARRAY_END.  By default, this will be 8... the maximum
number supported is limited by the index for the declaration of
the phys_avail[] array, minus 2 (default: 10).

You can increase this number by modifying the 10 in the
phys_avail[] array declaration.  You may want to try jumping it
up to 20, and recompiling the kernel (the declaration is around
line 206 of /sys/i386/i386/machdep.c).

In general, this is a bad way to work around the problem.  If
you have many detected holes like this in your address space,
it is usually indicative of a hardware problem.  This is usually
either a brocken interior address line (but above a page worth
of bits - bit 12) in the memory bus circuitry, or a broken RAM
chip and/or bad connections on a SIMM.

NB: Given address space layout on PC's, the algorithm would lose
less total RAM in the situation where it has chunk issues like
this, if it started from the top down, instead of the bottom up,
since the chunkiness will be found below 540K and/or in the bus
I/O address space.

-- Terry

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



Re: .sh interactive ok, from crontab, not

2002-11-25 Thread Matthew Seaman
On Mon, Nov 25, 2002 at 07:47:46AM +0100, Len Conrad wrote:

 Try running 'ps' using the -w flag (wide column mode):
 
   if ( ps -auxw | grep -iq ^root.*master ) ; then
 
 I've tested this and it works.
 
 here, too, thanks!!

One -w switches from 80 column width to 132 column width, but two -w's
gives you unlimited width ps output.

Cheers,

Matthew

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

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



Fw: Re: your mail

2002-11-25 Thread
Hi.
i have a problem - FreeBSD 4.x and USB modem D-link DU-M560
 
kernel compile whith: 
# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  ums # Mouse
device  umodem  # Modems

in /etc/usbd.conf -
device USB device
devname umodem[0-9]+
vendor  0x0572
product 0x1232
release 0x0001

but after loading, dmesg talk - 
ohci0: OPTi 82C861 (FireLink) USB controller mem 0xe0002000-0xe0002fff
irq 9 at device 10.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: OPTi 82C861 (FireLink) USB controller on ohci0
usb0: USB revision 1.0
uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: Conexant Systems, Incorporated V.90 modem with USB interface, rev 1.00/0.01, 
addr 2

load usb generic, but not umodem. what doing whith this?
anybody fight whith this troubles?
please, help me
 Alexey


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



Re: ATI SVGA and the X window

2002-11-25 Thread Dead Line







I cannot find this file, /var/log/XFree86.0.log
I guess ATI RAGE is a trouble any idea? please !



On Sun, 2002-11-24 at 14:05, Dead Line wrote:
Hello everyone,

Im sending this email after hell of times of trying and after many
days of trying..

Im on PIII 733, FreeBSD 4.3-R fresh installation.
Im trying to Install the X-WIndow system thro the FreeBSD CD I 
have
I faild!

When I choose Setup xf86cfg The graphical mode,
and I choose my VGA Card... (which not specified exactly)
it says (Unable to start X)

My VGA is ATI - Rage 128 Pro, AGP 4X

and the cards in list is (ATI-Rage 128 (generic))

anyway i tried many cards its faild.. also i installed the SVGA 
MACH
and many others but still the same..

Please anyhelp is appreciate it

What's in /var/log/XFree86.0.log ?
Try xf86config instead



_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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


Re: ATI SVGA and the X window

2002-11-25 Thread Akifyev Sergey
On Mon, 2002-11-25 at 15:18, Dead Line wrote:
 
 
 
 
 
 
 
 I cannot find this file, /var/log/XFree86.0.log
 I guess ATI RAGE is a trouble any idea? please !
 
 
 On Sun, 2002-11-24 at 14:05, Dead Line wrote:
  Hello everyone,
 
  Im sending this email after hell of times of trying and after many
  days of trying..
[...skipped...]
  My VGA is ATI - Rage 128 Pro, AGP 4X

Mine is ATI Rage 128 Pro PF

  and the cards in list is (ATI-Rage 128 (generic))
 
  anyway i tried many cards its faild.. also i installed the SVGA 
 MACH
  and many others but still the same..
 
  Please anyhelp is appreciate it

And it works perfectly with following XF86Config settings:

Section Device
Identifier  Card0
Driver  ati
VendorName  ATI
BoardName   Rage 128 Pro PF
BusID   PCI:2:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Depth 1
EndSubSection
SubSection Display
Depth 4
EndSubSection
SubSection Display
Depth 8
EndSubSection
SubSection Display
Depth 15
EndSubSection
SubSection Display
Depth 16
EndSubSection
SubSection Display
Depth 24
Modes1024x768 800x600 640x480 640x400
EndSubSection
EndSection

Just a guess: maybe problem is in incorrect resolution settings?

Regards,
Akifyev Sergey


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



Re: ATI SVGA and the X window

2002-11-25 Thread Pierrick Brossin
 I cannot find this file, /var/log/XFree86.0.log
 I guess ATI RAGE is a trouble any idea? please !

Are you running XFree 3 or 4 ?
If you are running 4 try 'XFree86 -configure' as root.
As said before, it creates a default config file for your hardware configuration.

If you get an error when running XFree you should have an error log somewhere in
/var/log.

If not panic !
Just kidding  ;P

Cya

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



5.0-DP2 ACLs on UFS2

2002-11-25 Thread bsd
Hey all,

I've recently installed FreeBSD 5.0-DP2 to get myself familiar with the
upcoming ACLs present in -CURRENT before the release itself. I've setup a
test machine with one 45gb ide drive with one slice and two partitions (/
and swap) and installed FreeBSD on it.

dumpfs / shows that root is UFS2, and from reading
/usr/src/sys/ufs/ufs/README.acls, I don't need to do the extattrctl
initattr commands since ufs2 supports EA/ACLs natively. Additionally, I
booted to single user mode and enabled ACLS on / by doing a tunefs -a
enable /dev/ad0s1a. I proceeded to try getfacl and setfacl.

getfacl returned the default settings (just stat() in ACL form according
to Robert Watson), however, no matter what I tried all I could get with
setfacl -m g:mail:rwx testfile was:

setfacl: acl_get_file() failed: Operation not supported

I thought perhaps the tunefs on the ro mount of / did not take. So instead
I used the mount time flag in fstab:

/dev/ad0s1a   /   ufs   rw,acls   1  1

I rebooted, and tried again. Yet I still get the same error message with
setfacl. At this point I'm stuck. Is it because I only have / and not /
and /usr? Does UFS2 with EA/ACLs not work on boot partitions? Or did I
misunderstand something when trying to setup ACLs in -CURRENT? Any advice
right now would be welcomed. Thanks.



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



STRICTLY CONFINDENTIAL

2002-11-25 Thread JOSEPH SAVIMBI
Good Day,

I hope this mail meets you in good time. My proposal to you will be very surprising, 
as we have not had any Personal contact. However, I sincerely seek your confidence in 
this transaction, which I propose to you as a man of intergrity.

First and foremost I wish to introduce myself properly to you. My name is James 
Savimbi, I am a nephew and Personal Assistant to Jonas Malheiro Savimbi, the leader of 
UNITA (National Union for the Total Independence of Angola). I got your email address 
from a directory, in my search for a partner for this transaction, hence this letter. 

You may know that my Uncle was recently killed in a battle with the government troops 
of Angola, led by President Dos Santos, on Friday 22nd February 2002. After my Uncle's 
death, Mr. Antonio Dembo who was his second in command,  assumed office as leader of 
UNITA, and UNITA was in a state of turmoil. Prominent members like Carlos Morgado 
lobbyed to depose him and assume office as leader to enrich themselves and some of 
them who saw me as a threat to their ambitions, including Mr.Dembo, planned to kill 
me. The tension and confusion in UNITA become uncontrlable when Mr. Dembo died 10days 
after my Uncle died. Being a young man who desires a peaceful life, I am no more 
interested in conflicts and wars, this is why I secretly left Angola and came here 
(The Netherlands) to seek political asylum.

I am sincerely seeking for your highly needed assistance in respect to safekeeping of 
some of my Uncle's money that arose from Diamonds sales. This money (US$18.5million), 
was already on its way to my Uncle's Swiss Bank account, through the Diplomatic means 
we use to move money abroad, and was on transit with a private safe deposit security 
company here in Amsterdam, Netherlands when the tragic incident of my Uncle's death 
occurred. I then instructed the company to secure the consignment containing the money 
pending on further instrutions from me.

As a matter of fact, this is the reason I chose to come to The Netherlands to seek for 
political asylum. It is very clear with the way things are now, that President Dos 
Santos will lobby the International Community to freeze my Uncle's assets and accounts 
abroad, to ground UNITA, since he has already done this in Angola.

I plan to use this money to safeguard my future. It is very essential that you 
understand that the kind of trust and confidence I want to put in you is 
extraordinary, and an act of desperation on my part, in order not to lose this money. 
Also, ensure that this contact with you should be treated with utmost secrecy.

The help I need from you is clearing the box containing the money which is deposited 
in my name, from the security company, after which, the money will transfered to your 
account preferably a new account you should open for this transaction.  My share of 
the money will be returned to me when my asylum application is granted, and I have 
permission to do business and open an account here. 

For your reliable assistance, I will reward you with 15%($2,775,000) of the money. We 
shall use 5%($925,000) to carry out every expenses that we come across at any time. 
The remainder of the 5% shall be given to a Charity Organisation. 

I have with me, the Certificate of Depositfor the consignment, which will be used for 
claim from the security company. Also, everything will be legally processed for 
transfer of ownership to you, and this transaction should be completed immediately 
depending on your prompt response.

I thank you in advance as I anticipate your assistance in enabling me achieve this 
goal. 

Please contact me whether or not you are interested in assisting me. This will enable 
me scout for another partner in the event of non-interest on your part.

Sincerely,
J.Savimbi.




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



Re: How can I prevent this message?

2002-11-25 Thread Lowell Gilbert
=?Windows-1252?B?1npn/HIg1nphc2xhbg==?= [EMAIL PROTECTED] writes:

 I've 2 DNS servers that are in different subnet. My freeBSD4.6.2 server is
 master and the other one is slave. Slave server connects to My freeBSD
 server for DNS updates but always FreBSD gives the message:
 
 /kernel: arplookup x.x.x.x failed: host is not on local network
 
 How can I prevent this message? x.x.x.x is the ip of my slave dns server.

The problem is in the network topology.  You need to show how the
machines are connected, and what the subnets look like. 

It seems that the slave thinks it can reach the master directly, and
the master doesn't.

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



Re: PPP and Alcatel HomeTouch

2002-11-25 Thread Fernando Gleiser
On Mon, 25 Nov 2002, John Jennings wrote:

 To whom it may concern:
[snip]

 We are certain our ISP uses PAP for authenticating.  We do the following to
 connect:

 ppp -ddial adsl

 We receive the following error:

 Add Route:  failed:  default exists

Because the default route already exists. Add a 'route delete default' in
ppp.linkdown.


 More detail about the machine:  There is a NIC with IP address 192.168.1.3,
 which is NOT connected to anything.

 We are able to ping our ISP's gateway.  And we have an IP address which has
 been assigned to us by the ISP.  But we cannot ping or access addresses
 outside our ISP.


It's a routing problem. What does a 'netstat -nr' show? Try deleting the
default route and then add a new default route with the other side of the
PPP link as the gateway.


Fer


 We have no idea the problem.  Any help is greatly appreciated.  We thank you
 in advance.

 J


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



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



Re: making source code changes to a port ?

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-23 22:25:42 -0500:
 On Sat, Nov 23, 2002 at 06:05:42PM -0800, Josh Brooks wrote:
  
  Hi folks,
  
  
  that is, how can I get the port to download and unpack all the work into
  port/work directory but not actually install anything until I finish with
  the edits, ect?  then after that I would go do the `make install`.
 
 I just do make extract which will fetch and extract the file--then I cd
 into the work directory (in my case, there's a patch for fluxbox that I
 have to apply to Basemenu.cc), apply the patch, then do make install.

the sources might get (are more often than not) patched with
FreeBSD-specific deltas. your changes could cause patch(1) to fail.

Paul Beard's sequence avoids this by letting the port apply its
patches first.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Linksys 10/100/1000 32-bit NIC

2002-11-25 Thread Jack L. Stone
At my usual supplier, the Intel Pro 10/100 NIC has been backordered for
several weeks, so have been looking at other possible NICs.

Before I try one, has anyone on the List installed the NIC below on a FBSD
machine? If so, what FBSD driver does it use and does its performance
measure up near the hype?

snip/
Mfr Linksys
Mfg P/N EG1032 
...the Instant Gigabit Network Adapter is a high performance network
adapter for PCI local bus computers. Boasting an incredible maximum data
throughput of 2000 megabits-per-second in full duplex mode, it includes
10BaseT/100BaseTX/1000BaseTX port...
/snip

Feedback appreciated thanks!

Best regards,
Jack L. Stone,
Administrator

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

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



Re: E-mail server

2002-11-25 Thread Jim Durham
On Saturday 23 November 2002 10:30 pm, Damien Hull wrote:
 I've decided to use squirrelmail as my web based mail client. Because I
 get a lot of mail I need a way of sorting my mail through squirrelmail.
 For this the squirrelmail people have provided a procmail interface.

 The problem with the procmail interface is that it uses ftp to change
 the users procmail settings.

 Is there another way of sorting mail through squirrelmail or any other
 web based mail client? I don't want to run ftp on my server.

I'm not sure exactly what your setup is, but, all you are doing is changing 
each user's .procmailrc file. I assume that hacking squirrelmail to use a 
more secure protocol like scp is not easily done, so perhaps you would be 
better off writing an HTML form that inputs the rules each user wants to 
implement and then write some PHP code to formulate the rules in .procmailrc 
format and scp to transfer them to the user's .promailrc file. If you use 
private/public key encryption with private and public keys, you can make this 
seamless (not ask for a password for each transfer, etc).

Well.it's one way of doing it...you may get better answers.
-Jim

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



Re: freebsd slice - 2 hdd's

2002-11-25 Thread Jerry McAllister
 
 My wife's business wants to have a freebsd server and they gave her a old
 computer to install freebsd on. The machine has 2 small hdd's ( seen as
 ad0 and ad1 ) and I was wondering if anyone sees any problem with putting
 the / , /var, /tmp , and swap slices on ad0 and putting all of the /usr
 slice on ad1 and installing the freebsd boot manager to ad0?

No problem.  It is a good way of doing it.   While you are in sysinstall 
(what is running while you are doing the installation) it gives you a list 
of drives to work on.  

First choose the ad0 drive and tell it to make it one bootable FreeBSD
slice of the whole disk and then partition it for your /, /var, /tmp 
and swap as you please.  Tell it the appropriate /, /var, /tmp and 
swap mounts.

Then, before leaving the disk setup part of sysinstall, next choose ad1 
and make one FreeBSD slice on it, but you don't need to make it bootable.  
Partition it with one big partition and tell it to mount that as /usr.  
The sysinstall utility will take care of all the rest.

You do not need a boot manager.  You only need the standard boot
block, because you are only using one OS eg FreeBSD.  It just uses
more than one disk.  So, when sysinstall asks for ad0, just choose 
standard (no boot manager) boot block.

One difference I might suggest is to actually split your swap
up and put some of it on each disk instead of just the one.
If you do that, you will, of course, make two partitions on the
FreeBSD slice on ad1 - one for the portion of swap and the rest
for /usr.   If you tell sysinstall it is for swap, sysinstall will
take care of making it properly usable.  You don't have to do anything
else to use both swap portions.

Also, make plenty of swap - 2 or 2 1/2 times the physical memory,
even more if the memory is quite small  64 MB.

Have fun.

jerry

 
 Michael
 
 GnuPG Key: http://probsd.org/michael.asc
 

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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-25 Thread Heiko Recktenwald
  bring something like sendmail.cf for dialup users, 
  things that could go into the faq, or sendmail.cf
  with auth, for smarthosts that need that.
 
 Besides the fact that sendmail.cf is used by Sendmail, not Postfix,

Oh lala, I missed that.

 a howto for sendmail.cf would be about as useful as a howto for
 /etc/login.conf.db.

There are some paragraphs in our dear and noble FAQ, but this is a
little bit old. sendmail has changed since those (very valuable) lines.
And I had a problem some weeks ago with a new smarthost, that needed auth,
IMHO a typical newbie problem, that should be adressed in a similar way.

Something to copy and paste, to make the system usable without a
postmaster exam.


Best, H.


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



Eirgp

2002-11-25 Thread Doron Shmaryahu
Hi,

I have been searching around for freebsd and eigrp. I have a BSD box that
requires dynamic updating. I know about routed (but it only support rip) can
anyone suggest where if possible I could find a daemon that would support
eigrp ?

thanks

Doron



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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-25 16:33:56 +0100:
  a howto for sendmail.cf would be about as useful as a howto for
  /etc/login.conf.db.
 
 There are some paragraphs in our dear and noble FAQ, but this is a
 little bit old. sendmail has changed since those (very valuable) lines.
 And I had a problem some weeks ago with a new smarthost, that needed auth,
 IMHO a typical newbie problem, that should be adressed in a similar way.
 
 Something to copy and paste, to make the system usable without a
 postmaster exam.

what I meant was that it'd be ridiculous to document sendmail.cf,
when it's the *compiled* from the .mc source (m4 format), which is
what you are actually supposed to edit.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-25 Thread Cliff Sarginson
On Mon, Nov 25, 2002 at 04:50:36PM +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-11-25 16:33:56 +0100:
   a howto for sendmail.cf would be about as useful as a howto for
   /etc/login.conf.db.
  
  There are some paragraphs in our dear and noble FAQ, but this is a
  little bit old. sendmail has changed since those (very valuable) lines.
  And I had a problem some weeks ago with a new smarthost, that needed auth,
  IMHO a typical newbie problem, that should be adressed in a similar way.
  
  Something to copy and paste, to make the system usable without a
  postmaster exam.
 
 what I meant was that it'd be ridiculous to document sendmail.cf,
 when it's the *compiled* from the .mc source (m4 format), which is
 what you are actually supposed to edit.
 
Anyway there is an 1100 page book you can buy that tells you all about
sendmail.cf :)

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: Eirgp

2002-11-25 Thread Dru


On Mon, 25 Nov 2002, Doron Shmaryahu wrote:

 Hi,

 I have been searching around for freebsd and eigrp. I have a BSD box that
 requires dynamic updating. I know about routed (but it only support rip) can
 anyone suggest where if possible I could find a daemon that would support
 eigrp ?


I don't think there is such a beast as EIGRP is Cisco proprietary. If OSPF
will suit your purposes, check out /usr/ports/net/zebra.

HTH,

Dru


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



Re: any advice before I buy a printer for FreeBSD?

2002-11-25 Thread Louis LeBlanc
But whatever you do, don't buy just any LexMark!  There are only a 
handful of LexMarks that will work with anything other than Windows.  
Some won't even work with all Windows OSs.  I just threw out a Lexmark 
1100 (well, gave it away) because it works on all Windows OSs except 
NT (the only one I have any patience for) and won't work on *anything* 
else.  Last damn time I buy a LexMark.  I spent a week searching for 
some way to get it to work on NT so I could at least get a Samba share 
going.  Put me right off if you must know.  :|

Lou

On 11/24/02 11:19 PM, Kevin Stevens sat at the `puter and typed:
 
 On Sunday, Nov 24, 2002, at 23:08 US/Pacific, Cliff Sarginson wrote:
 
  On Sun, Nov 24, 2002 at 10:19:31PM -0600, David Kelly wrote:
  On Sunday 24 November 2002 09:45 pm, BSD baby wrote:
  Any advice before I buy a printer for FreeBSD?
 
  I'm finally going to get a printer for my FreeBSD devbox this week.
 
  Are they all pretty much FreeBSD-compatible?
  or is there some spec I need to look for?
 
  I assume parallel port is still the way to go
  or is USB really ready on FreeBSD?
 
  The most painless way to print within FreeBSD is with a Postscript
  printer which speaks lpd protocol on ethernet.
 
  Sadly this is quite an expensive way.
 
 If you can find one on eBay or somewhere, look into a Lexmark Optra 
 Color 40 (or 45).
 Nice color inkjet printer, WITH Postscript.  It comes with a fighting 
 2MB of memory, but add a 32 or 64MB SIMM and you're good to go; prints 
 great from FreeBSD, WinXP, and Mac OS X.  I've  loved mine for two 
 years, and recently acquired another NIB that I might, MIGHT be talked 
 out of.  Better yet, go find your own - should be less than $100.  
 Recommended.
 
 KeS
 
 BTW, I was recently looking to see what else is out there, and the best 
 I came up with is an HP 2280 at $450.
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 

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

QOTD:
  Like this rose, our love will wilt and die.

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



Installation hangs after ata0 is detected

2002-11-25 Thread Jani H Rautiainen
I have seatched the list archives and google and tried everything I have
found but without results. The problem is that the 4.7-STABLE installer
hangs after ata0 detection. I have tried to boot from floppies and from cd
with same result. I tried to give the boot parameters set hw.ata.ata_dma=0
and set hw.ata.atapi_dma=0. Even checked that the cd-rom really is master
on ata1 (one hard drive on ata0). Is there something to do or do I have to
give up...

Some specs:
ata0 master: ide hard drive
ata1 master: ide cd-rom drive
Checked that the chipset (VIA 82C686b) is supported.


Jani



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



Re: Apache not killing subprocesses, only on FreeBSD

2002-11-25 Thread Chris Dillon
On Sun, 24 Nov 2002, Lee Nelson wrote:

   myprogram.pl reads a few parameters from STDIN, and then
 forks to work in the background:

 my $pid = fork;
 exit if $pid;
 die ($pn couldn't fork $!\n) unless defined $pid;
 POSIX::setsid()
   or die ($pn can't start a new session: $!\n);

   Any clues or suggestions welcome.

The following method to daemonize a PERL process works for me in
FreeBSD (I don't remember why I fork  exit twice, so don't ask):

require 'sys/syscall.ph';

fork  exit;
syscall(SYS_setsid) || die Can't call setsid(): $!;
chdir(/);
open(STDIN, /dev/null) || die Can't redirect stdin: $!;
open(STDOUT, /dev/null) || die Can't redirect stdout: $!;
open(STDERR, /dev/null) || die Can't redirect stderr: $!;
fork  exit;


--
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest and most stable server OS on the planet
 - Available for IA32 (Intel x86) and Alpha architectures
 - IA64, PowerPC, UltraSPARC, ARM, and S/390 under development
 - http://www.freebsd.org

No trees were harmed in the composition of this message, although some
electrons were mildly inconvenienced.



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



Re: nVidia drivers w/ 4.7-RELEASE

2002-11-25 Thread Karel J. Bosschaart
On Sun, Nov 24, 2002 at 10:11:28AM +, Alex Drummond wrote:
 Interesting to see that other people found they worked fine with RELEASE. I 
 had to update my system to STABLE before GLX would work, although I had no 
 problems otherwise. Also, GLX would only work with an XFree86 installed from 
 ports, not with one installed from the FreeBSD binaries on xfree86.org (my 
 original X installation was done befroe XFree86 4 was in ports).

This is documented in the accompanied README.txt:

 - XFree86 4.2 or greater, the precise minimum packages required are:
   XFree86-4.2.0_1
   XFree86-libraries-4.2.1_1.tgz
   XFree86-Server-4.2.1_3
   XFree86-clients-4.2.1_1.tgz
   (please note that it is *not* sufficient to download 4.2.1 binaries from 
   ftp.xfree86.org -- you must have XFree86-Server-4.2.1_3 or later).

Notice the port version with the packages.
Karel.

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



Re: Apache not killing subprocesses, only on FreeBSD

2002-11-25 Thread Matthew Seaman
On Mon, Nov 25, 2002 at 11:23:55AM -0600, Chris Dillon wrote:
 On Sun, 24 Nov 2002, Lee Nelson wrote:
 
myprogram.pl reads a few parameters from STDIN, and then
  forks to work in the background:
 
  my $pid = fork;
  exit if $pid;
  die ($pn couldn't fork $!\n) unless defined $pid;
  POSIX::setsid()
or die ($pn can't start a new session: $!\n);
 
Any clues or suggestions welcome.
 
 The following method to daemonize a PERL process works for me in
 FreeBSD (I don't remember why I fork  exit twice, so don't ask):
 
 require 'sys/syscall.ph';
 
 fork  exit;
 syscall(SYS_setsid) || die Can't call setsid(): $!;
 chdir(/);
 open(STDIN, /dev/null) || die Can't redirect stdin: $!;
 open(STDOUT, /dev/null) || die Can't redirect stdout: $!;
 open(STDERR, /dev/null) || die Can't redirect stderr: $!;
 fork  exit;
 

The 'double fork' trick ensures that the daemon process gets
re-parented as a child of init(8).  As init will reap any child
process that happens to die, this suppresses zombies plus it has
several other effects like dissociating the daemon process from a
controlling terminal.  Calling setsid(2) has a similar effect, so you
probably don't need to fork twice and call setsid(2).

The source to the daemon(3) function in /usr/src/lib/libc/gen/daemon.c
is a good example of the canonical way to do that sort of thing.

Cheers,

Matthew

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

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



Re: any advice before I buy a printer for FreeBSD?

2002-11-25 Thread Kevin Stevens


On Mon, 25 Nov 2002, Louis LeBlanc wrote:

 But whatever you do, don't buy just any LexMark!  There are only a
 handful of LexMarks that will work with anything other than Windows.
 Some won't even work with all Windows OSs.  I just threw out a Lexmark

Well, but that's true of all brands.  Lexmark has a wide range of printers
covering a variety of protocols and pcls.  No different than Canon, HP,
Epson, etc.

KeS


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



DUMP to disk over 2GB

2002-11-25 Thread Dave [Hawk-Systems]
ran into the file size limitation of 2GB when doing a L0 dump of the /usr
partition.

Is there a workaround to the 2GB limit...  can you reliably pipe dump to split
or something then reverse the process with restore later?

Working with what will be approximately a 6GB L0 dump so over 3x the size
limitation.

examples or suggestions appreciated

Dave



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



Re: DUMP to disk over 2GB

2002-11-25 Thread Kevin Stevens


On Mon, 25 Nov 2002, Dave [Hawk-Systems] wrote:

 ran into the file size limitation of 2GB when doing a L0 dump of the /usr
 partition.

 Is there a workaround to the 2GB limit...  can you reliably pipe dump to split
 or something then reverse the process with restore later?

 Working with what will be approximately a 6GB L0 dump so over 3x the size
 limitation.

 examples or suggestions appreciated

 Dave

Hmm.  I think the trick is to not be aware that there *is* a 2GB limit!
;)

-rw-r--r--  1 root  wheel  5191390944 Nov 17 06:02 babelfish_data.gz
-rw-r--r--  1 root  wheel35176571 Nov 25 04:06 babelfish_data_1.gz

Any idea what I'm doing wrong (or right)?  Using dump on 4.7-RELEASE.

KeS


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



Install problem FreeBSD4.7 from CD

2002-11-25 Thread HinsonS26
Hi,
I get the following error: Message
The Disk in your drive looks more like an audio disk than a FreeBSD
release

This message appears after I select the option to choose the installation
media.

The CD has been made from the file 4.7-disc1.iso
downloaded from
ftp://ftp2.uk.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.7/
I have already successfully booted the machine from this CD
I have made another copy of the CD using a different software program to
write the disk
I have changed the CD ROM reader on the PC I am trying to install
I have updated the PC BIOS to the latest version
I have checked the MD5 of the 4.7-disc1.iso file

The machine used is a Compaq 4000/133

any suggestions welcome please
Many Thanks
Mike


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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-25 Thread Heiko Recktenwald
Oh yes, sorrisime ;-)

I meant *.mc.

Anyway, it lasted much to long for a typical problem of today to 
find the necessary lines for auth with this smarthost.

Best, H.

 what I meant was that it'd be ridiculous to document sendmail.cf,
 when it's the *compiled* from the .mc source (m4 format), which is
 what you are actually supposed to edit.


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



Re: Mail to News software suggestions?

2002-11-25 Thread Drew Raines
Doug Lee [EMAIL PROTECTED] writes:

 I want to read busy mailing lists with nn or trn.

[...]

 I'm looking for a system that will take incoming list mail and
 deposit it in newsgroups I create for them on this machine.

Don't go to the trouble yourself, yet.

First see if the lists exist on Gmane.  If not, Lars is very
compliant to adding new ones.

 nntp://news.gmane.org
 http://www.gmane.org

If they're popular enough, they're probably already gatewayed.

-Drew

-- 
They're apparently trying to make air travel so inconvenient that
even terrorists won't want to fly.  --Jay Leno

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



Re: how to make a vcd

2002-11-25 Thread Drew Raines
Fuzzy [EMAIL PROTECTED] writes:

 Any body know how to make a vcd/svcd from an mpeg or mpeg2?

http://www.vcdimager.org

You might find these handy as well

http://mjpeg.sourceforge.net/

-Drew

-- 
They're apparently trying to make air travel so inconvenient that
even terrorists won't want to fly.  --Jay Leno

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



Re: Find abandoned packages

2002-11-25 Thread Gary W. Swearingen
Roman Neuhauser [EMAIL PROTECTED] writes:

 Actually, it's not non-ASCII characters or MSFT products that causes
 problems. It's fucked up mail clients that send messages that
 fallaciously claim to be using charset X when they're really in Y.
 
 Incidentally, these mail clients are MSFT products.

Please correct me if you really know better (I'm no email expert), but
I'm fairly sure that e-mail is still supposed to be 7-bit clean so it
can go (without encoding/decoding) through 7-bit lines (maybe with
parity on the 8th line), etc.  Or has this been officially changed?

What you say about MSFT's fallacious charset claims is certainly true of
HTML/HTTP, except that more often they make no claim of charset at all,
expecting the world to conform to their charset by default.

As for HTML/MIME, I don't know if MIME supports the encoding of
non-7-bit HTML characters into 7-bit code, or if it expects 7-bit-clean
HTML.

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



Re: The FreeBSD Diary: 2002-11-03 - 2002-11-23

2002-11-25 Thread Giorgos Keramidas
On 2002-11-25 17:06, Cliff Sarginson [EMAIL PROTECTED] wrote:
 On Mon, Nov 25, 2002 at 04:50:36PM +0100, Roman Neuhauser wrote:
  what I meant was that it'd be ridiculous to document sendmail.cf,
  when it's the *compiled* from the .mc source (m4 format), which is
  what you are actually supposed to edit.

 Anyway there is an 1100 page book you can buy that tells you all about
 sendmail.cf :)

Bah.  It's a nice book, and some of the facts that it documents are
bordering the area of deep and dark magic, but the book already
shows its age :(

It documents a very old version of Sendmail, and there are already
things that are done very differently.  I always resort to the web
site at www.sendmail.org and the local documentation under
/usr/src/contrib/sendmail these days.


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



virtual window managers

2002-11-25 Thread abc
i would like to know if there exists any fix for my problem here:

problem: apps like XV and MPEG_PLAY refused to open dialogs/windows
in any virtual window other than the one containing the origin
in window managers that support them (VTWM in my case).

this really sucks, since one is forced to always remain in the
virtual window #1 when using these apps (there's probably more)
or any apps that call on these apps - which destroys the whole
purpose of having a virtual window type window manager.

from what i understand, it's due to incorrect function calls
by these apps, and this appears to be a long standing problem,
since it is documented in 6+ year old documentation.  i guess
i am wondering why this stuff has never been fixed by the
authors of these apps, or anyone else - or if their is
a solution i am unaware of ...

thank you.


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



Re: Booting an alternate kernel

2002-11-25 Thread Gary W. Swearingen
Giorgos Keramidas [EMAIL PROTECTED] writes:

 These days I have two custom kernel configs.  One for my old Pentium 133,
 and one for the newer Celeron workstation.  They both live outside of
 /usr/src/sys/i386/conf :)

In addition to keeping them outside, I name config files like

/u/sysconf/KERNCONF - k11oct02a
/u/sysconf/LINT - LINT.4_7R.10oct02
/u/sysconf/LINT.4_7R.10oct02
/u/sysconf/k02sep02a
/u/sysconf/k02sep02b
/u/sysconf/k11oct02a

so I can easily identify the version of the LINT and KERNCONF files 
and so my Xemacs menu can always point to LINT and KERNCONF and so I
can tag old /kernel and /modules with the same suffix as the config
file with which they were made.

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



Re: Ports base?

2002-11-25 Thread Gary W. Swearingen
Greg 'groggy' Lehey [EMAIL PROTECTED] writes:

 Those were the days.  I've just checked out the ports tree, and it's
 314 MB!  This is probably partially a consequence of the larger file
 system block size on modern systems, and also of course because of the
 CVS directories (each of which takes up 16 kB), for a total of 128 MB.
 Even without them, though, that leaves 186 MB.  

That agrees with the message from /usr/src/release/sysinstall/dist.c
which says around 180MB.

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



Re: Find abandoned packages

2002-11-25 Thread Giorgos Keramidas
On 2002-11-25 11:49, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 Roman Neuhauser [EMAIL PROTECTED] writes:
  Actually, it's not non-ASCII characters or MSFT products that causes
  problems. It's fucked up mail clients that send messages that
  fallaciously claim to be using charset X when they're really in Y.
  
  Incidentally, these mail clients are MSFT products.
 
 Please correct me if you really know better (I'm no email expert), but
 I'm fairly sure that e-mail is still supposed to be 7-bit clean so it
 can go (without encoding/decoding) through 7-bit lines (maybe with
 parity on the 8th line), etc.  Or has this been officially changed?

Partly true.  Mail servers, at least those who conform to the
established standards, go at great lengths to maintain compatibility
with their peers that do not support the full range of 8-bit ASCII.

It is also true though, that flawed mail clients can push down into
the connection to their outgoing SMTP server messages that do not have
proper headers to allow the server to parse and convert the 8-bit
characters correctly.  This is often cause by either a) bugs in the
mail client software, or b) misconfigured clients.

Outlook is infamous for its habit of sending 8-bit characters
unencoded in MIME messages that lack proper Content-Type: headers.
The result is rather interesting to look upon, when the message passes
through multiple SMTP servers, with different settings each.

 As for HTML/MIME, I don't know if MIME supports the encoding of
 non-7-bit HTML characters into 7-bit code, or if it expects
 7-bit-clean HTML.

MIME supports anything.  7-bit US ASCII characters.  8-bit characters
in a multitude of encodings and character sets.  Even UTF8 or Unicode.
MIME itself doesn't dictate anything about the way a client handles
the representation of the characters that are shown to the user.  It
only defines a standard way of converting and encoding these in a
smaller character set, that is guaranteed to be easy to transmit over
links that support ASCII.

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



Re: ctm

2002-11-25 Thread Paul A. Scott

I've read

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ctm.html

and it's not clear to me why anyone would use ctm over cvs. Seems to
me that cvs provides far more than ctm, but since ctm has been around
since FreeBSD 2.0, there must be some value to it. 

So, what's the point of ctm? vs. cvs?

Thanks,
Paul


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



kernel build erro

2002-11-25 Thread Asenchi
I am using 4.7-RELEASE on a brand new handbuilt machine.  1+ghz amd, and
epox board.

I am trying to build my custom kernel and receive this:

linking kernel
vpo.o: In Function 'vpo.attach':
vpo.o(text+0xcb): undefined reference to 'cam_simq_alloc'
13 more similar messages -
Erro Code 1

And it stops.  Any ideas as to what my problem is?  The kernel config I am
using is a copy of one that is currently running on another system. (I have
made a couple of changes, but simply commenting what is different on this
system)

Thanks for any help,

ASENCHI



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



Re: any advice before I buy a printer for FreeBSD?

2002-11-25 Thread Gary W. Swearingen
Kevin Stevens [EMAIL PROTECTED] writes:

 Nice color inkjet printer, WITH Postscript.

The guy wanted to print lots of PDF.  He should consider getting a laser
printer if he can live without color or buy a cheapo ink sprayer for
that.  Laser printers can be got quite cheaply these days, especially
used ones.  Many know Postscript.  (Mine cost 20 USD + a gear/toner
cleanout.  They're faster, cheaper on ink and don't have ink jet
clogging problems like I had with my Epson ink jet.  The fixing of which
would have cost more than many printers cost.  Grrr.  Keep your Espon
ink jets well exercised.)

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



NAT + IPFW question

2002-11-25 Thread Alvaro Rosales R.
Hi fellows I have setup natd in my freeBSD BOX (using firewall =OPEN) 
and it is working fine.
Now I want to close my firewall so that the only computer that is using 
NATD would the the only one that could accept connections from the 
internet.But when I try to telnet to the natd box I cant connect to it.What 
Am I doing wrong?
Those are   my  ipfw rules
10.10.1.91 (natd box)
10.10.1.2 (my box)

00050   5816  2829686 divert 8668 ip from any to any via rl1
00100   2412   168334 allow ip from any to any via lo0
00200  00 deny ip from any to 127.0.0.0/8
00300  00 deny ip from 127.0.0.0/8 to any
00800   5609  6342173 allow ip from 10.10.1.91 to 130.102.1.2
00801   3580   143970 allow ip from 10.10.1.2 to 130.102.1.91
01000 430772 59326512 deny ip from any to any
65000  00 allow ip from any to 10.10.1.2
65535  17161  5967606 allow ip from any to any

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



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

2002-11-25 Thread Matthew Emmerton
 On to my question:

 The past few days have seen some strange activity in my log files.

You're freaking out at normal error messages.

 11/25/2002 Security Report:
 25 02:14:46 fat_man sendmail[16217]: gAP8Ekh16217: SYSERR: putoutmsg
 (www.nakorinthias.gr): error on output channel sending 220
 fat_man.ascendency.net ESMTP Sendmail 8.11.6/8.11.6; Mon, 25 Nov 2002
 02:14:46 -0600 (CST): Broken pipe

All this means is that www.nakorinthias.gr dropped a SMTP session without
aborting or closing first.  This usually occurs when the connection times
out or gets dropped.

 11/24/2002 Security Report
  44:59 fat_man last message repeated 2 times
  Nov 23 16:23:03 fat_man sshd[80281]: warning: /etc/hosts.allow,
  line   23: host name/name mismatch: www.craftworks.co.jp !=
  ns.craftworks.co.jp Nov 23 16:24:32 fat_man sshd[80292]: warning:
  /etc/hosts.allow, line 23: host name/name mismatch:
  www.craftworks.co.jp != ns.craftworks.co.jp

This means that a host listed in /etc/hosts.allow doesn't resolve to the
same name forwards and backwards.  This is a DNS problem with
[www|ns].craftworks.co.jp.

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

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

 11/23/2002 Daily run report
 fat_man.ascendency.net group diffs:
 16a17
  cyrus:*:60:daemon
 30d30
  cyrus:*:60:daemon

 Whats going on here?

Have you cvsup'd -STABLE lately and run mergemaster, or have you
reinstalled/upgraded the mail/cyrus port?  This was discussed on -stable not
too long ago.

 I just changed most of my passwords and changed the root password to
 an 18 digit alpha numeric string.  I have SMTP-AUTH on and working
 all relays have been turned off.  I checked my /etc/hosts, groups,
 passwd as well as last and everything appears to be secure.  I have
 restricted sshd to only one particular IP.  Firewalled off all
 unnecessary ports and removed everything possible from hosts.allow.
 I'm running 8.11.6 sendmail, but can't find the version of ssh.  Do I
 need to do anything else?  This appears to be a program running
 various probes to determine my systems security level.  Am I wrong?

It's nice to see that you've tightened up security, but you're freaking out
wy too much.  All of this is just normal error logging.

--
Matt


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



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

2002-11-25 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 -Original Message-
 From: Matthew Emmerton [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 25, 2002 4:48 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Cracker attack...is my system compromised?
 
  On to my question:
 
  The past few days have seen some strange activity in my log
  files. 
 
 You're freaking out at normal error messages.
 
  11/25/2002 Security Report:
  25 02:14:46 fat_man sendmail[16217]: gAP8Ekh16217: SYSERR:
  putoutmsg (www.nakorinthias.gr): error on output channel sending
  220
  fat_man.ascendency.net ESMTP Sendmail 8.11.6/8.11.6; Mon, 25 Nov
  2002 02:14:46 -0600 (CST): Broken pipe
 
 All this means is that www.nakorinthias.gr dropped a SMTP session
 without aborting or closing first.  This usually occurs when the
 connection times out or gets dropped.
 
  11/24/2002 Security Report
   44:59 fat_man last message repeated 2 times
   Nov 23 16:23:03 fat_man sshd[80281]: warning: /etc/hosts.allow,
   line   23: host name/name mismatch: www.craftworks.co.jp !=
   ns.craftworks.co.jp Nov 23 16:24:32 fat_man sshd[80292]:
   warning: /etc/hosts.allow, line 23: host name/name mismatch:
   www.craftworks.co.jp != ns.craftworks.co.jp
 
 This means that a host listed in /etc/hosts.allow doesn't resolve
 to the same name forwards and backwards.  This is a DNS problem
 with
 [www|ns].craftworks.co.jp.
 
   arp: 192.168.1.1 moved
   from 00:04:5a:20:6e:b7 to 00:06:25:92:58:f5 on ep0 Nov 23
   16:27:53 fat_man /kernel: arp: 192.168.1.1 moved from
   00:04:5a:20:6e:b7 to 00:06:25:92:58:f5 on ep0 arp: 192.168.1.2
   moved from
   00:01:03:20:2f:75  to 00:06:25:10:e0:03 on ep0 Nov 23 16:57:41
   fat_man /kernel: arp:  192.168.1.2 moved from 00:01:03:20:2f:75
   to 00:06:25:10:e0:03 on ep0  arp: 192.168.1.2 moved from
   00:06:25:10:e0:03 to 00:01:03:20:2f:75 on  ep0 Nov 23 17:00:17
   fat_man /kernel: arp: 192.168.1.2 moved from
   00:06:25:10:e0:03 to 00:01:03:20:2f:75 on ep0 arp: 192.168.1.4
   moved  from 00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 Nov
   23 18:24:50 fat_man /kernel: arp: 192.168.1.4 moved from
   00:06:25:10:e0:03 to
   00:80:c6:fa:9f:21 on ep0 arp: 192.168.1.4 moved from
   00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 Nov 23 18:25:05
   fat_man /kernel: arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21
   to 00:06:25:10:e0:03 on ep0 arp: 192.168.1.4 moved from
   00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 Nov 23 18:27:51
   fat_man /kernel: arp: 192.168.1.4 moved from 00:06:25:10:e0:03
   to 00:80:c6:fa:9f:21 on ep0 arp: 192.168.1.4 moved from
   00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 Nov 23 18:31:39
   fat_man /kernel: arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21
   to 00:06:25:10:e0:03 on ep0
 
 This means that you've got one machine (192.168.1.4) with two
 network cards plugged into the same hub.  These messages are
 FreeBSD saying hey, traffic for this IP came from one NIC
 (00:06:25:10:e0:03) and now it's coming from another
 (00:80:c6:fa:9f:21)..  This is a problem with your network setup. 
 
  11/23/2002 Daily run report
  fat_man.ascendency.net group diffs:
  16a17
   cyrus:*:60:daemon
  30d30
   cyrus:*:60:daemon
 
  Whats going on here?
 
 Have you cvsup'd -STABLE lately and run mergemaster, or have you
 reinstalled/upgraded the mail/cyrus port?  This was discussed on
 -stable not too long ago.
 
  I just changed most of my passwords and changed the root password
  to an 18 digit alpha numeric string.  I have SMTP-AUTH on and
  working all relays have been turned off.  I checked my
  /etc/hosts, groups, passwd as well as last and everything
  appears to be secure.  I have restricted sshd to only one
  particular IP.  Firewalled off all unnecessary ports and removed
  everything possible from hosts.allow. I'm running 8.11.6
  sendmail, but can't find the version of ssh.  Do I need to do
  anything else?  This appears to be a program running various
  probes to determine my systems security level.  Am I wrong? 
 
 It's nice to see that you've tightened up security, but you're
 freaking out wy too much.  All of this is just normal error
 logging.
 
 --
 Matt


Thanks for the reassurance.   I guess I can rest easy now..  

...
Randomly Generated Quote:
My life has Chinese music torture  
playing in the background. 

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net


-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4
Comment: Message digitally signed by Mike Loiterman

iQA/AwUBPeKp1GjZbUnRudGOEQKMkgCeP9fLOH4GASyMOZ4wo5ISI9lf44MAnjzi
na1tinhngPPRVcMzuPWQSyRP
=pcd3
-END PGP SIGNATURE-


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



Re: NAT + IPFW question

2002-11-25 Thread Drew Tomlinson
- Original Message -
From: Alvaro Rosales R. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 2:42 PM
Subject: NAT + IPFW question


 Hi fellows I have setup natd in my freeBSD BOX (using firewall =OPEN)
 and it is working fine.
 Now I want to close my firewall so that the only computer that is
using
 NATD would the the only one that could accept connections from the
 internet.But when I try to telnet to the natd box I cant connect to
it.What
 Am I doing wrong?

By default, telent is disabled in recent versions of FBSD.  Have you
enabled (uncommented) it in inetd.conf?

Cheers,

Drew

 Those are   my  ipfw rules
 10.10.1.91 (natd box)
 10.10.1.2 (my box)

 00050   5816  2829686 divert 8668 ip from any to any via rl1
 00100   2412   168334 allow ip from any to any via lo0
 00200  00 deny ip from any to 127.0.0.0/8
 00300  00 deny ip from 127.0.0.0/8 to any
 00800   5609  6342173 allow ip from 10.10.1.91 to 130.102.1.2
 00801   3580   143970 allow ip from 10.10.1.2 to 130.102.1.91
 01000 430772 59326512 deny ip from any to any
 65000  00 allow ip from any to 10.10.1.2
 65535  17161  5967606 allow ip from any to any

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




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



Re: Serious problem installing freebsd into a...

2002-11-25 Thread Gary W. Swearingen
Matthew Seaman [EMAIL PROTECTED] writes:

 of yesterday, so I think you've unfortunately bought an unsupported
 motherboard.  Try asking your vendor if they will swap it for an
 alternative model --- I think the Asus P4B533 is supported, and that
 looks compatible with the rest of your components.

Another even worse alternative might be to use a IDE add-in card.

The original poster could try dealing with the folks on freebsd-current
(or -hackers?) to help get the board and chipset supported, but I
suspect it would be a waste of time without getting the board into the
hands of a developer.

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



Re: qmail problem

2002-11-25 Thread Brian Jackson
Is it possible one of the other programs you've mentioned (Spam 
assassin for example) is changing permissions on your Maildir 
directory?  You need to be owner and make sure the appropriate r/w 
permissions are there.

I'd also try using maildirwatch at the time you see errors and see if 
it can access the maildir.

Your startup and rc files look fine - have you tried backing out either 
squirrelmail or spam assassin and seeing if the error continues?

You also might want to try the qmail mailing list available for search 
or subscription at http://cr.yp.to or http://www.qmail.org

Brian

On Monday, November 25, 2002, at 03:12  PM, Jonathan Belson wrote:

Hiya


My qmail installation went from working fine to acting strangely. I've 
get
the following in my maillog:

Nov 25 19:51:40 dookie qmail: 1038253900.810198 starting delivery 61: 
msg
1933 to local jon@localhost
Nov 25 19:51:40 dookie qmail: 1038253900.810425 status: local 10/10 
remote
0/20
Nov 25 19:51:53 dookie qmail: 1038253913.640433 delivery 52: deferral:
maildir:_not_found/
Nov 25 19:51:53 dookie qmail: 1038253913.641328 status: local 9/10 
remote
0/20
Nov 25 19:51:53 dookie qmail: 1038253913.641577 starting delivery 62: 
msg
1937 to local jon@localhost
Nov 25 19:51:53 dookie qmail: 1038253913.641801 status: local 10/10 
remote
0/20
Nov 25 19:52:17 dookie qmail: 1038253937.642429 delivery 53: deferral:
maildir:_not_found/

I can't find any reference to this error message on the 'Net.  My 
Maildir
was created with makemaildir and certainly still exists:

jon@dookie:~# ls -arl Maildir
total 20
drwx--   2 jon  jon   512 Nov 25 16:38 tmp
drwx--   2 jon  jon   512 Nov 25 16:40 new
drwx--   2 jon  jon   512 Nov 25 16:02 cur
-rw-r--r--   1 jon  jon   345 Nov 25 16:00 courierimapuiddb
-rw-r--r--   1 jon  jon36 Nov  8 13:44 courierimapsubscribed
drwx--   5 jon  jon   512 Nov 20 15:14 .Trash
drwx--   5 jon  jon   512 Nov 25 15:09 .Sent
drwx--   5 jon  jon   512 Nov 25 15:09 .Drafts
drwxr-xr-x  22 jon  jon  1536 Nov 25 19:45 ..
drwx--   8 jon  jon   512 Nov 25 16:00 .

(The extra directories were created by squirrelmail I presume).

My ~/.qmail is:

root@dookie:/home/jon# cat .qmail
|/usr/local/bin/spamassassin | maildir ./Maildir/

I notice that the perl processes created by spamassassin are around for
quite a while - is this to be expected?

If I stop qmail and restart it, the problem seems to go away and mail
delivery continues as normal.  This is my rc script:

#!/bin/sh

#
# This script starts and stops the qmail mail functions.
#

# Suck in the configuration variables.
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi

case $1 in
start)
case ${qmail_smtp_enable} in
[Yy][Ee][Ss])
# Start the qmail smtp daemon
/usr/local/bin/tcpserver -H -R -c 255 -x 
/etc/tcp.smtp.cdb \
-u 82 -g 81 0 25 /var/qmail/bin/qmail-smtpd 
echo -n  qmail-smtp
;;
esac

case ${qmail_pop_enable} in
[Yy][Ee][Ss])
# Start the qmail pop daemon
/usr/local/bin/tcpserver -H -R -c 255 0 110 \
/var/qmail/bin/qmail-popup HOSTNAME.DOMAIN \
/usr/local/bin/checkpassword
/var/qmail/bin/qmail-pop3d \
 Maildir 
echo -n  qmail-pop
;;
esac

case ${qmail_enable} in
[Yy][Ee][Ss])
# Start qmail
exec env - PATH=/var/qmail/bin:$PATH \
qmail-start ./Maildir splogger qmail 
echo -n  qmail
;;
esac
;;
stop)
# Stop the smtp daemon
smtppid=`ps -axw | grep tcpserver | grep smtp | grep -v grep | 
awk
'{ print $1 }'`
if [ $smtppid !=  ]; then
kill $smtppid
echo -n  qmail-smtp
fi

# Stop the pop daemon
poppid=`ps -axw | grep tcpserver | grep popup | grep -v grep | 
awk
'{ print $1 }'`
if [ $poppid !=  ]; then
kill $poppid
echo -n  qmail-pop
fi

# Stop qmail
qmailpid=`ps -axw | grep qmail-send | grep -v grep | awk '{ 
print
$1 }'`
if [ $qmailpid !=  ]; then
kill $qmailpid
echo -n  qmail
fi
;;
*)
echo Usage: `basename $0` {start|stop} 2
;;
esac

exit 0


Any clues as to what the problem is?


--Jon

http://www.witchspace.com


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


--
Brian Jackson
[EMAIL PROTECTED]


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



Re: vinum documentation

2002-11-25 Thread Greg 'groggy' Lehey
On Monday, 25 November 2002 at 15:42:37 +, Adam Laurie wrote:
 hi,

 who is the best person to talk to regarding vinum docco? 

I suppose I'm as good as any.

 the reason i ask is because i recently had to recover a crashed
 system with vinum runinng on it, and i had a recovery scenario which
 doesn't appear to be covered by any of the docs or online faqs... my
 company has therefore tasked me with submitting a patch and getting
 said docco updated...

 fyi, the scenario was that the root disk containing /dev/vinum
 lost so the whole thing was moved onto a fresh install.

That doesn't make any sense.

 the tricky bit was to get vinum to come back up without initialising
  wiping the volume(s).

vinum start

 please respond to me direct - i am not subscribed to questions...

I'd be very interested to know what happened and what you did.  Have
you read http://www.vinumvm.org/vinum/replacing-drive.html?

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

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



mpd multihomed server

2002-11-25 Thread Dean E. Weimer
I have been running mpd as a server for pptp connections for my WinXP
laptop via a WLAN connection for some time now, I would like to expand the
pptp connections to answer on the Internet as well.  Is it possible to
make mpd answer on two different NICS, or will I have to use ipnat to
redirect the port on my Internet NIC.  My FreeBSD Firewall has three NICS:
NIC1-LAN, NIC2-ISP, NIC3-WLAN.  I have been able to get it to accept
multiple clients, and answer on either NIC2 or NIC3, but I can't get it to
answer on both NIC2 and NIC3 at once.

Please Copy my email with any replies.

-- 
Thanks,
   Dean E. Weimer
   http://www.dweimer.org/
   [EMAIL PROTECTED]



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



Re: Find abandoned packages

2002-11-25 Thread Gary W. Swearingen
Giorgos Keramidas [EMAIL PROTECTED] writes:

 It is also true though, that flawed mail clients can push down into
 the connection to their outgoing SMTP server messages that do not have
 proper headers to allow the server to parse and convert the 8-bit
 characters correctly.  This is often cause by either a) bugs in the
 mail client software, or b) misconfigured clients.

I thought SMTP mail servers didn't touch the body of messages.  One mail
client encodes stuff via MIME protocols to 7-bit data which it places in
the body, servers pass it around (changing headers), and another client
decodes the 7-bit body via MIME.  You seem to imply that servers mess
with the body.  Why would it need to?  Mind explaining?

 Outlook is infamous for its habit of sending 8-bit characters
 unencoded in MIME messages that lack proper Content-Type: headers.
 The result is rather interesting to look upon, when the message passes
 through multiple SMTP servers, with different settings each.

I didn't realize that the other poster was referring to MIME mail
(partially because the message I complained about didn't use MIME).
Yes, I've seen really messed up MIME mail.  But are you sure that the
8-bit data was put there by SMTP servers, or by the receiving client
which has been confused by MSFT-errant headers or by the MSFT client
that didn't properly 7-bit-encode it to begin with?

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



Re: any advice before I buy a printer for FreeBSD?

2002-11-25 Thread Warren Block
On Sun, 24 Nov 2002, BSD baby wrote:

 Any advice before I buy a printer for FreeBSD?
 
 I'm finally going to get a printer for my FreeBSD devbox this week.
 
 Are they all pretty much FreeBSD-compatible?
 or is there some spec I need to look for?

As others have mentioned, avoid host-based printers.
 
 I assume parallel port is still the way to go
 or is USB really ready on FreeBSD?

Ethernet is usually better yet.
 
 Main thing I want to do is print PDF files, in batches.
 (Send a directory of 300 different PDF files to the printer at once.)
 
 Are there any command-line tools to do that?
 or do you need an X11 Adobe Acrobat app?

Ghostscript includes a pdf2ps utility, which I haven't tried but
probably works fine.
 
Which printer to buy depends on how fast you need to print and how much
you're willing to spend.  I've had good luck printing from FreeBSD with
various HP models: HP4M+, 8000, 4000, 5000.  All have PostScript or
PS-compatible interpreters.  Just for fun, I've also used Ghostscript as
an input filter, rendering PostScript on the computer and sending the
printers PCL bitmaps.  Works fine, and may be faster depending on what
you're printing; it was slower for my small, hand-written PostScript
code.

You might find a used HP4M pretty cheaply (check the local thrift
stores), and the MIO Ethernet cards they take can be found for under
$50.  The other end of the spectrum would be a new 4200 at around $1100
plus another $300 for the EIO Ethernet it needs.

-Warren Block * Rapid City, South Dakota USA


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



Re: Find abandoned packages

2002-11-25 Thread Giorgos Keramidas
On 2002-11-25 15:52, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
  It is also true though, that flawed mail clients can push down into
  the connection to their outgoing SMTP server messages that do not have
  proper headers to allow the server to parse and convert the 8-bit
  characters correctly.  This is often cause by either a) bugs in the
  mail client software, or b) misconfigured clients.

 I thought SMTP mail servers didn't touch the body of messages.  One mail
 client encodes stuff via MIME protocols to 7-bit data which it places in
 the body, servers pass it around (changing headers), and another client
 decodes the 7-bit body via MIME.  You seem to imply that servers mess
 with the body.  Why would it need to?  Mind explaining?

They shouldn't mess with it, unless told to.  You're right.  I was
referring to the way input characters are treated by the program that
implements the SMTP service.  If the program makes stupid assumptions
about the size of character data, and uses data types in C like `char'
instead of `int' then it's not just the client's fault when 8-bit data
get mangled.

  Outlook is infamous for its habit of sending 8-bit characters
  unencoded in MIME messages that lack proper Content-Type: headers.
  The result is rather interesting to look upon, when the message passes
  through multiple SMTP servers, with different settings each.

 I didn't realize that the other poster was referring to MIME mail
 (partially because the message I complained about didn't use MIME).
 Yes, I've seen really messed up MIME mail.  But are you sure that the
 8-bit data was put there by SMTP servers, or by the receiving client
 which has been confused by MSFT-errant headers or by the MSFT client
 that didn't properly 7-bit-encode it to begin with?

It's usually the sending clients that don't properly encode messages,
and assume that the receiving end will Know What To Do(TM).


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



Re: NAT + IPFW question

2002-11-25 Thread Drew Tomlinson

- Original Message -
From: Drew Tomlinson [EMAIL PROTECTED]
To: Alvaro Rosales R. [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, November 25, 2002 3:01 PM
Subject: Re: NAT + IPFW question


 - Original Message -
 From: Alvaro Rosales R. [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, November 25, 2002 2:42 PM
 Subject: NAT + IPFW question


  Hi fellows I have setup natd in my freeBSD BOX (using firewall
=OPEN)
  and it is working fine.
  Now I want to close my firewall so that the only computer that is
 using
  NATD would the the only one that could accept connections from the
  internet.But when I try to telnet to the natd box I cant connect to
 it.What
  Am I doing wrong?

 By default, telent is disabled in recent versions of FBSD.  Have you
 enabled (uncommented) it in inetd.conf?

 Cheers,

 Drew

  Those are   my  ipfw rules
  10.10.1.91 (natd box)
  10.10.1.2 (my box)
 
  00050   5816  2829686 divert 8668 ip from any to any via rl1
  00100   2412   168334 allow ip from any to any via lo0
  00200  00 deny ip from any to 127.0.0.0/8
  00300  00 deny ip from 127.0.0.0/8 to any
  00800   5609  6342173 allow ip from 10.10.1.91 to 130.102.1.2
  00801   3580   143970 allow ip from 10.10.1.2 to 130.102.1.91
  01000 430772 59326512 deny ip from any to any
  65000  00 allow ip from any to 10.10.1.2
  65535  17161  5967606 allow ip from any to any

OK, Telnet is enabled.  You have to allow port 23 open on your firewall.
Something like 'ipfw add 802 allow ip from any to your external
interface (i.e. ed0) 23'.

HTH,

Drew


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



Re: qmail problem

2002-11-25 Thread Joan Picanyol i Puig
* Jonathan Belson [EMAIL PROTECTED] [20021125 21:12]:
 My qmail installation went from working fine to acting strangely.
What have _you_ done ;)?

 Nov 25 19:51:53 dookie qmail: 1038253913.640433 delivery 52: deferral:
 maildir:_not_found/
[...]
 root@dookie:/home/jon# cat .qmail
 |/usr/local/bin/spamassassin | maildir ./Maildir/
try to use a full path for maildir:

echo \|/usr/local/bin/spamassasin \| `whereis -b grep | cut -f 2 -d ' '` ~/.qmail

qvb
-- 
pica

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



Re: qmail problem

2002-11-25 Thread Giorgos Keramidas
On 2002-11-26 01:13, Joan Picanyol i Puig [EMAIL PROTECTED] wrote:
 * Jonathan Belson [EMAIL PROTECTED] [20021125 21:12]:
  My qmail installation went from working fine to acting strangely.
 What have _you_ done ;)?
 
  Nov 25 19:51:53 dookie qmail: 1038253913.640433 delivery 52: deferral:
  maildir:_not_found/
 [...]
  root@dookie:/home/jon# cat .qmail
  |/usr/local/bin/spamassassin | maildir ./Maildir/
 try to use a full path for maildir:

 echo \|/usr/local/bin/spamassasin \| `whereis -b grep | cut -f 2 -d ' '` ~/.qmail

Make that:
echo \|/usr/local/bin/spamassasin \| `whereis -b maildir | cut -f 2 -d ' '` ~/.qmail

:)

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



Re: DUMP to disk over 2GB

2002-11-25 Thread Greg 'groggy' Lehey
On Monday, 25 November 2002 at 13:41:58 -0500, Dave [Hawk-Systems] wrote:
 ran into the file size limitation of 2GB when doing a L0 dump of the /usr
 partition.

 Is there a workaround to the 2GB limit...  can you reliably pipe
 dump to split
 or something then reverse the process with restore later?

 Working with what will be approximately a 6GB L0 dump so over 3x the size
 limitation.

 examples or suggestions appreciated

 Dave

 Hmm.  I think the trick is to not be aware that there *is* a 2GB limit!
 ;)

 -rw-r--r--  1 root  wheel  5191390944 Nov 17 06:02 babelfish_data.gz
 -rw-r--r--  1 root  wheel35176571 Nov 25 04:06 babelfish_data_1.gz

 Any idea what I'm doing wrong (or right)?  Using dump on 4.7-RELEASE.

/dumpa/echunga/0:
total 49181
-rw-r--r--  1 root  wheel   3064671274 Oct  1 22:30 home.0.gz
-rw-r--r--  1 root  wheel   3101933139 Nov  1 22:35 home.gz
-rw-r--r--  1 root  wheel   2178751713 Oct  1 21:59 root.0.gz
-rw-r--r--  1 root  wheel   2205600361 Nov  1 22:00 root.gz
-rw-r--r--  1 root  wheel  18064320502 Oct  2 03:36 src.0.gz
-rw-r--r--  1 root  wheel  22947456192 Nov  2 04:56 src.gz

Looks much the same to me.

 Could be it there...  using 4.3 stable with security patches and
 selected port upgrades only...

I didn't think there was any change in behaviour during this time.

 Assumption from responses being upgrading to a more recent stable
 version is required to eliminate the problem?

I think it would be better if you showed more detail about what you've
done and what happened.  Of course, if you want to upgrade to 4.7
anyway, that might be instructive, but don't expect it to fix your
problems.

Greg
--
See complete headers for address and phone numbers

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



Re: Apache not killing subprocesses, only on FreeBSD

2002-11-25 Thread Mark
- Original Message -
From: Chris Dillon [EMAIL PROTECTED]
To: Lee Nelson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 6:23 PM
Subject: Re: Apache not killing subprocesses, only on FreeBSD


 On Sun, 24 Nov 2002, Lee Nelson wrote:

  myprogram.pl reads a few parameters from STDIN, and then
  forks to work in the background:


I daemonize as follows:

chdir ('/') || exit 1;
open STDIN, '/dev/null';
open STDOUT, '/dev/null';
if (my $pid = fork ()) {
open (PID, '/var/run/my-prog.pid') || exit 1;
flock (PID, 2);
print PID $pid;
close (PID);
exit 0;
}

POSIX::setsid () || exit 1;# follow the leader
open STDERR, 'STDOUT';

Guaranteed to become the session leader, and completely dissociates from the
terminal.

- Mark


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



IPFW Help

2002-11-25 Thread Phierce
Hello All,

New to the FreeBSD os, but learning...   havint some trouble with IPFW
below is what it looks like I can sh rc.firewall with no errors, but yet my
root account is still unable to ping out  I recieve permission denied.
Wondering if anyone could help me out.

#
# Suck in the configuration variables.
if [ -z ${source_rc_confs_defined} ]; then
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
fi
#

if [ -n ${1} ]; then
firewall_type=${1}
fi
# Set quiet mode if requested
#
case ${firewall_quiet} in
[Yy][Ee][Ss])
fwcmd=/sbin/ipfw -q
;;
*)
fwcmd=/sbin/ipfw
;;
esac

###
# Flush out the list before we begin.
#
${fwcmd} -f flush

case ${firewall_type} in
[Cc][Uu][Ss][Tt][Oo][Mm])
# set these to your network netmask and ip
net=192.168.1.1
mask=255.255.255.0
ip=192.168.1.10

# Deny all fragments as bogus packets
${fwcmd} add 00100 deny log all from any to any frag

#Allow any TCP UDP traffic from my own net.
${fwcmd} add 00200 allow all from any to any via lo0
${fwcmd} add 00300 deny log ip from any to 127.0.0.1/8

#We should allow inout some TCP and udp ports.
${fwcmd} add 00400 allow tcp from any to any 32000-65535
${fwcmd} add 00500 allow udp from any to any 32000-65535

#Allow TCP through if setup succeeded
${fwcmd} add 00600 allow tcp from any to any established

#Allow access to FTPD
${fwcmd} add 00700 allow tcp from any to ${ip} 21
${fwcmd} add 00800 allow tcp from any 20 to any 1024-49151 out

#Allow access to OPENSSH
${fwcmd} add 00900 allow tcp from any to ${ip} 22

#Allow access to SENDMAIL
${fwcmd} add 01000 allow tcp from any to any 25

#Allow access to BIND
${fwcmd} add 01100 allow udp from ${ip} to any
${fwcmd} add 01200 allow udp from any to ${ip}


#Allow access to FINGER
${fwcmd} add 01300 allow tcp from any to any 79

#Allow access to HTTP
${fwcmd} add 01400 allow tcp from any to any 80

#Allow access to POP3
${fwcmd} add 01500 allow tcp from any to any 110

#Allow access to IDENT
${fwcmd} add 01600 allow tcp from any to any 113
${fwcmd} add 01700 allow udp from any to any 113

#Allow access to IMAP
${fwcmd} add 01800 allow tcp from any to any 143

#Allow access to HTTPS
${fwcmd} add 01900 allow tcp from any to any 443

#Allow access to SUBMISSION
${fwcmd} add 02000 allow udp from any to any 512
${fwcmd} add 02100 allow udp from any to any 520

#Allow access to IRC
${fwcmd} add 02200 allow tcp from any to any 6667
${fwcmd} add 02300 allow tcp from any to any 6668
${fwcmd} add 02400 allow tcp from any to any 6669

#Extended account access
${fwcmd} add 02500 allow all from any to any uid USERNAME
${fwcmd} add 02600 allow icmp from any to any uid USERNAME
${fwcmd} add 02700 allow tcp from any to any uid USERNAME
${fwcmd} add 02800 allow icmp from any to any uid USERNAME

#root access non-restrictive
${fwcmd} add 02900 allow all from any to any uid root
${fwcmd} add 03000 allow icmp from any to any uid root

#lastly we deny everything by default here as well as in the kernel.
${fwcmd} add 03100 deny log all from any to any

 ;;
esac


Thanks

-Zack
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002


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



Smartcard support status in FreeBSD?

2002-11-25 Thread Stephen Cravey
Way back in January, Bruce Simpson sent a message to -hackers claiming 
that he'd created a bunch of ports for smartcard support and was 
working on OpenSSH integration. I've been unable to find these ports or 
any other mention of his work. Perhaps I'm looking in the wrong places, 
but does anyone know what the status of this work is? I've got a spare 
smart card reader or two (from the American Express Blue program) 
sitting around waiting for a real OS to support them. Otherwise, does 
anyone know where I can find drivers for them? I'm running 
4.7-RELEASE-p2

-Stephen


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


Re: Ports base? [hear me roar]

2002-11-25 Thread Peter Leftwich
On Mon, 25 Nov 2002, Greg 'groggy' Lehey wrote:
 On Sunday, 24 November 2002 at 16:51:07 -0800, Kris Kennaway wrote:
  On Mon, Nov 25, 2002 at 10:48:31AM +1030, Greg 'groggy' Lehey wrote:
  On Sunday, 24 November 2002 at  0:12:51 -0800, Kris Kennaway wrote:
  On Sun, Nov 24, 2002 at 12:03:46AM -0800, Peter Leftwich wrote:
  I tried to install just the ports base using sysinstall but it
  started to download the entire ports collection, and my HD space is
  limited.
 
  I didn't think that sysinstall allowed you to install parts of the
  ports collection, only the entire collection (which is about 9MB).
 
  Those were the days.  I've just checked out the ports tree, and it's
  314 MB!  This is probably partially a consequence of the larger file
  system block size on modern systems, and also of course because of the
  CVS directories (each of which takes up 16 kB), for a total of 128 MB.
  Even without them, though, that leaves 186 MB.
 
  You're correct I was underestimating (I was thinking of the compressed
  ports.tar.gz file), but my CVS ports tree is only 204MB including CVS
  directories, so I think you're overestimating (perhaps you included
  the distfiles/ directory?)
 Nope, as I said, I checked out a completely new tree from the
 repository.  FWIW, my real ports tree (including distfiles) runs to 3.1 GB.

 I'd guess that your file system block size is smaller than mine.  The
 default for new file systems is now 16 kB block and 2 kB fragments,
 and since nearly every file in the Ports Collection is smaller than
 the old 512 bytes fragment size, this means that they are now 1.5 kB
 larger.  My ports tree currently has 170,000 files in it (including
 distfiles, admittedly; I don't want to check out again), so that's in
 the right ball park. -Greg
 --
 See complete headers for address and phone numbers

You dunderheads :) are all missing the point.  Why isn't there something a
few notches above pkg_add -r and a few notches below knowing how to cvsup
and downloading a massive, obscenely extravagant ports tree?

Why can't someone write a shell script or binary that would prompt the user with:
Hello, which port would you like?

User enters something like this at that point:
/usr/ports/java/jdk13/

Then the script would fetch
ftp://ftp.freebsd.org/something/current/ports/java/jdk13.tgz and set to
work untarring then changing to that directory and running make install
clean and if there were a dependency or problem, offer the user some
feedback such as java/jdk13 requires the following (not found):
javabeans.jvm
user.jvm
jvmlib
Would you like to install these too (y/n/interactive)?

The same script or binary would be aware to the point that if the ports
base was not even present, it would prompt the user (who most likely is
running the script or binary for the first time) would you like to
download and install the minimal ports base (13.3mb)? or whatever...

Or am I just crazy, impossible to please, and cursed to be ever
dissatisfied and relegated to the land between sysinstall and the valley of
hard core programmers??

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

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



Re: Ports base? [hear me roar]

2002-11-25 Thread Kris Kennaway
On Mon, Nov 25, 2002 at 09:53:29PM -0500, Peter Leftwich wrote:

 You dunderheads :) are all missing the point.  Why isn't there something a
 few notches above pkg_add -r and a few notches below knowing how to cvsup
 and downloading a massive, obscenely extravagant ports tree?
 
 Why can't someone write a shell script or binary that would prompt the user with:
   Hello, which port would you like?

No reason.

Progress happens when someone sits down and does the work.  Perhaps
this would be a good project for you to learn more about the workings
of FreeBSD.

Kris


msg10160/pgp0.pgp
Description: PGP signature


xargs -J

2002-11-25 Thread David S. Jackson
Hi,

I've been trying to use |xargs -J [] mv [] [].suffix

but to no avail.

I've tried |xargs -J mv \[\] \[\].suffix and variations but that
doesn't seem to work either.  It seems to work fine with the -i
command under GNU xargs, but not under Freebsd.

An example would be 

$  touch one two three
$  ls one two three | xargs -J [] mv [] [].suffix

I should now have one.suffix two.suffix three.suffix.  At least,
that's what happens with GNU and the -i \{\}.  (FreeBSD manpage says
to use -J [] without escapes though.)

Can anyone lend me a clue here please?

TIA.

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I have a map of the United States.  It's actual size.
I spent last summer folding it.  People ask me where
I live, and I say, E6.  -- Steven Wright

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



Re: xargs -J

2002-11-25 Thread Duncan Anker
On Tue, 2002-11-26 at 13:10, David S. Jackson wrote:
 Hi,
 
 I've been trying to use |xargs -J [] mv [] [].suffix
 
 but to no avail.
 
 I've tried |xargs -J mv \[\] \[\].suffix and variations but that
 doesn't seem to work either.  It seems to work fine with the -i
 command under GNU xargs, but not under Freebsd.
 
 An example would be 
 
 $  touch one two three
 $  ls one two three | xargs -J [] mv [] [].suffix
 
 I should now have one.suffix two.suffix three.suffix.  At least,
 that's what happens with GNU and the -i \{\}.  (FreeBSD manpage says
 to use -J [] without escapes though.)
 
 Can anyone lend me a clue here please?

I've never tried to do it this way, but I suspect that you can only use
your delimiter once.

In any case, if what you are wanting to do is rename a bunch of files,
try something like:

# for file in one two three; do mv $file `echo $file | sed -e
's/$/.suffix/'`; done

That's the way I've always done it - works a treat (try doing THAT with
a GUI :-)

Hope it helps, unless you had your heart set on xargs

Regards,

Duncan Anker
Senior Systems Administrator
Dark Blue Sea

-- 

The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


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



Re: xargs -J

2002-11-25 Thread Nathan Kinkade
On Mon, Nov 25, 2002 at 10:10:03PM -0500, David S. Jackson wrote:
 Hi,
 
 I've been trying to use |xargs -J [] mv [] [].suffix
 
 but to no avail.
 
 I've tried |xargs -J mv \[\] \[\].suffix and variations but that
 doesn't seem to work either.  It seems to work fine with the -i
 command under GNU xargs, but not under Freebsd.
 
 An example would be 
 
 $  touch one two three
 $  ls one two three | xargs -J [] mv [] [].suffix
 
 I should now have one.suffix two.suffix three.suffix.  At least,
 that's what happens with GNU and the -i \{\}.  (FreeBSD manpage says
 to use -J [] without escapes though.)
 
 Can anyone lend me a clue here please?
 
 TIA.
 
 -- 
 David S. Jackson[EMAIL PROTECTED]

Two things.  First, from `man xargs`:
Furthermore, only the first occurrence of the replstr will be
replaced.  Second, maybe a different tool would be better.  How 
about:
$ for file in `ls one two three`; do move $file $file.suffix; done

Nathan

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



starting, stopping, and reloading services

2002-11-25 Thread nuk
Well, I'll admit most of my limited experience has been SysV style Linux 
distros.  There, I'm used to being able to call a script in some 
subdirectory of /etc/initd w/ an option such as start, stop, restart, or 
reload to manipulate services running on that box.  A couple of the 
distros provided shortcuts to even that along the lines of 'rcnfserver 
stop' (SuSE) or 'service nfs stop' (RedHat).  Which leave me wondering: 
exactly how do I start/stop services from the command line in FreeBSD? 
Am I supposed to send the pid of the process a kill or HUP signal 
(someone want to refresh my memory as to the syntax of *that*?), and 
start it w/ a bunch of options/flags to get it back up and running?  Or 
is there an easier way of doing these operations?


TIA,

nuk


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


Re: ctm

2002-11-25 Thread Paul A. Scott

 From: Paul A. Scott [EMAIL PROTECTED]
 So, what's the point of ctm? vs. cvs?

Never mind. I've found more information on ctm that has answered my
question.

Paul


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



USB Mass Storage device

2002-11-25 Thread Seo Boon, NG
Hi,

I'm on 4.7-RELEASE with IBM T23. I run into a strange problem with my USB Mass
Storage device (for my fujiflim digicam). Somehow, my notebook can only see the
device upon rebooting the machine but not when I connect to the notebook when
it's running. I have confirm the usbd is running, am I missing something
obvious?

This is the dmesg when the notebook during my reboot. The message doesn't appear
when the USB device connects to notebook when it's running, hence I'm assumming
that the kernel couldn't see the device. Is there any means to get the kernel
see the USB device when I connect the device online i.e the notebook is
running? I think rebooting my notebook everytime when I connect the USB isn't a
viable option :)

Thanks in advance.

v 24 19:39:20 arcet /kernel: umass0: Fuji Photo Film USB Mass Storage, rev
1.10/10.00, addr 2
Nov 24 19:39:20 arcet /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Nov 24 19:39:20 arcet /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Nov 24 19:39:20 arcet /kernel: da0: FUJIFILM USB-DRIVEUNIT 1.00 Removable
Direct Access SCSI-0 device 
Nov 24 19:39:20 arcet /kernel: da0: 150KB/s transfers
Nov 24 19:39:20 arcet /kernel: da0: 31MB (64000 512 byte sectors: 0H 0S/T 0C)

[sbng@localhost]$usbdevs -v
Controller /dev/usb0:   
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
 port 1 powered 
 port 2 powered 

[sbng@localhost]$ps -aux | grep usbd
root 102  0.0  0.1   928  408  ??  Is   Mon09AM   0:00.03 /usr/sbin/usbd

-- 
SB
http://www.employees.org/~sbng/pgp.1024.txt
Key fingerprint =  24 C5 2A 9A 70 19 05 C1  87 26 3E 8A 83 91 CE 3E 

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



FIGURED IT OUT!!! (was): Can't seem to assign a different port for http (apache)

2002-11-25 Thread Totally Jayyness
I actually had it right the whole time.  The problem was Internet Explorer
the
WHOLE time.

It turns out to feed http on a different port, you only have to either add a

LISTEN port#

or change the standard port 80 to something else

port #

Even though I had done that it wasn't pulling up in IE for me.
Well, I was speaking with another friend of mine and telling him
all the different things I had tried.  He asked me if I was actually
typing in 'http://address' in the IE Address line.

Turns out that IE doesn't ASSUME the 'http://' on any port except 80.
So I went back in, made the changed to httpd.conf and then went to
http://192.168.0.10:1124 and BANG, there it was.

Called up a buddy of mine and had him try from the outside and BANG
there it was.

So thought I would follow up with all of you to 1:  Thankyou and
2:  Let you know about EVIL IE.

- Original Message -
From: Jim Arnold
Sent: Saturday, November 16, 2002 11:42 AM
Subject: Re: Can't seem to assign a different port for http (apache)


 At 9:22 AM -0700 11/16/02, Totally Jayyness wrote:
 Yeah, I tried that also, I just didnt' explain it
 well.  After the Listen 14
 or 1124 didn't work, I removed that line and did go
 further down and changed
 the

 Port 80

 to

 Port 14

 and then

 Port 1124

 Stopped and restarted the httpd daemon each time.
 Hmmm do I need to
 reset a different daemon or another daemon maybe?

 Jay



 If you are going to use a non-standard port you will
 also have to add that to the /etc/services file too.
 For example, to use port 8080 instead of 80, add this
 to the services file:

 http 8080/tcp
 http 8080/udp

 and then change the port from 80 to 8080 in httpd.conf
 and restart apace.

 HTH,
 jim


 __
 Do you Yahoo!?
 Yahoo! Web Hosting - Let the expert host your site
 http://webhosting.yahoo.com



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



Re: starting, stopping, and reloading services

2002-11-25 Thread Tim Peters
On Mon, Nov 25, 2002 at 11:12:21PM -0500, nuk wrote:
 hmmm... well, cancel most of that; I found it in the hand book.  Except
 the part:  Isn't there an easier way?  Or is there a good reason for doing
 it like this, or a reason *not* to write a local script to
 start/stop/whatever based on the arguments passed to it?

Well, installed ports usually do have such a script.  You do stuff
like: sh /usr/local/etc/rc.d/service.sh (start|stop).

As for stuff in the base system, it's already fairly easy.  In
general, you stop them by killing the process, and start them by
typing their name, possibly with some arguments that can be
determined by inspecting rc.conf or defaults/rc.conf.  If in doubt,
check the /etc/rc* scripts for how they do it.

As an aside, I suspect the reason base system services don't have
the scripts you want is because in reality, you don't start or stop
base system services very often.

-tim

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



Test

2002-11-25 Thread CDG.
Test

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

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



what are my options? lost password.

2002-11-25 Thread CDG.
i moved over a month ago and i'm just getting
everything set back up.  i tried to login to my
freebsd machine with what i thought was my password
and i can't login.  can someone tell me what todo? 
will i need to reinstall?  =(

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

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



Re: what are my options? lost password.

2002-11-25 Thread Steve Wingate
On Mon, 2002-11-25 at 21:27, CDG. wrote:
i moved over a month ago and i'm just getting
everything set back up.  i tried to login to my
freebsd machine with what i thought was my password
and i can't login.  can someone tell me what todo? 
will i need to reinstall?  =(

Boot into single user mode, mount / read-writeable, edit /etc/passwd and
change the password field to a * or something. 
Check the handbook online.


-- 
+-+
|Steve Wingate  [EMAIL PROTECTED]
|MCSE, CCNA Mon Nov 25 21:00:00 PST 2002  
+-+
|FreeBSD 4.7-STABLE
| 9:00PM  up 3 days,  6:33, 0 users, load averages: 0.00, 0.00, 0.00  
+-+


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



Re: what are my options? lost password.

2002-11-25 Thread JacobRhoden
On Tue, 26 Nov 2002 16:27, CDG. wrote:
 i moved over a month ago and i'm just getting
 everything set back up.  i tried to login to my
 freebsd machine with what i thought was my password
 and i can't login.  can someone tell me what todo?
 will i need to reinstall?  =(

if you go to http://www.google.com/ and type:

  forgot freebsd password
  freebsd forgot root password
  I forgot my freebsd password!

or any other combination of those words, or similar words, there are numerous 
pages which explain it (:


Best Regards,
Jacob

Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

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



Re: what are my options? lost password.

2002-11-25 Thread Nathan Kinkade
On Mon, Nov 25, 2002 at 09:35:04PM -0800, Steve Wingate wrote:
 On Mon, 2002-11-25 at 21:27, CDG. wrote:
 i moved over a month ago and i'm just getting
 everything set back up.  i tried to login to my
 freebsd machine with what i thought was my password
 and i can't login.  can someone tell me what todo? 
 will i need to reinstall?  =(
 
 Boot into single user mode, mount / read-writeable, edit /etc/passwd and
 change the password field to a * or something. 
 Check the handbook online.

Or, alternately, boot to single user mode by halting the boot process at
the prompt and using `boot -s`.  

When the system comes up mount all filesystems, something like:
# fsck -p
# mount -u /
# mount -a -t ufs

Then simply run `passwd` (/usr/sbin/passwd) to change root's password.
When done type exit and the system will boot to multi-user mode and you
should be ok from there.

Nathan

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



Re: xargs -J

2002-11-25 Thread Conrad Sabatier

On 26-Nov-2002 David S. Jackson wrote:
 Hi,
 
 I've been trying to use |xargs -J [] mv [] [].suffix
 
 but to no avail.
 
 I've tried |xargs -J mv \[\] \[\].suffix and variations but that
 doesn't seem to work either.  It seems to work fine with the -i
 command under GNU xargs, but not under Freebsd.
 
 An example would be 
 
 $  touch one two three
 $  ls one two three | xargs -J [] mv [] [].suffix
 
 I should now have one.suffix two.suffix three.suffix.  At least,
 that's what happens with GNU and the -i \{\}.  (FreeBSD manpage says
 to use -J [] without escapes though.)
 
 Can anyone lend me a clue here please?

I think what you want here is -I instead of -J.  -I allows for multiple
replacements, whereas -J does not.

Also, I'd suggest using something other than [] as your placeholder, as
those characters have a special meaning in the shell.  Using something
simple, like %, as the man page illustrates.

-- 
Conrad Sabatier [EMAIL PROTECTED]

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



Re: what are my options? lost password.

2002-11-25 Thread Jonathan Chen
On Mon, Nov 25, 2002 at 09:27:16PM -0800, CDG. wrote:
 i moved over a month ago and i'm just getting
 everything set back up.  i tried to login to my
 freebsd machine with what i thought was my password
 and i can't login.  can someone tell me what todo? 
 will i need to reinstall?  =(

Check the FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW

-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed

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



Re: starting, stopping, and reloading services

2002-11-25 Thread Cliff Sarginson
On Tue, Nov 26, 2002 at 03:30:04PM +1030, Tim Peters wrote:
 On Mon, Nov 25, 2002 at 11:12:21PM -0500, nuk wrote:
  hmmm... well, cancel most of that; I found it in the hand book.  Except
  the part:  Isn't there an easier way?  Or is there a good reason for doing
  it like this, or a reason *not* to write a local script to
  start/stop/whatever based on the arguments passed to it?
 
 Well, installed ports usually do have such a script.  You do stuff
 like: sh /usr/local/etc/rc.d/service.sh (start|stop).
 
 As for stuff in the base system, it's already fairly easy.  In
 general, you stop them by killing the process, and start them by
 typing their name, possibly with some arguments that can be
 determined by inspecting rc.conf or defaults/rc.conf.  If in doubt,
 check the /etc/rc* scripts for how they do it.
 
 As an aside, I suspect the reason base system services don't have
 the scripts you want is because in reality, you don't start or stop
 base system services very often.
 
Having said that it would not involve rocket-science to write your own
wrappers around the services along the the lines of the rc... files SuSE
uses. Maybe if it was done properly you could submit it to SuSE, since
their rc.. scripts don't work properly when run as cron jobs...they
obviously never tested them for this (one of my network machines run
SuSE so I speak from experience). The famous $PATH problem in Cron...

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: starting, stopping, and reloading services

2002-11-25 Thread iulian
On Mon, 25 Nov 2002 23:12:21 -0500 (EST)
N wrote:

 hmmm... well, cancel most of that; I found it in the hand book. 
Where did you find it, exactly? :)
Thanks

---
Iulian
Romtelecom OM Network Operation
IN Management Center 

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



Re: Find abandoned packages

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-25 11:49:17 -0800:
 Roman Neuhauser [EMAIL PROTECTED] writes:
 
  Actually, it's not non-ASCII characters or MSFT products that causes
  problems. It's fucked up mail clients that send messages that
  fallaciously claim to be using charset X when they're really in Y.
  
  Incidentally, these mail clients are MSFT products.
 
 Please correct me if you really know better (I'm no email expert), but
 I'm fairly sure that e-mail is still supposed to be 7-bit clean so it
 can go (without encoding/decoding) through 7-bit lines (maybe with
 parity on the 8th line), etc.  Or has this been officially changed?

AFAIK, this has changed with MIME. RFC 822 restricts email messages
to 7 bits (ASCII), but MIME allows different charecter sets, like
UTF8. What is still a possibility is that such a message will get
mangled on its way by an MTA that assumes all data is ASCII, but I
don't remember seeing anything like that happen.
 
BTW, RFC 2045 specifies a way to pass non-ASCII messages through
MTA's that assume all-ASCII world: the Content-Transfer-Encoding
header.

 What you say about MSFT's fallacious charset claims is certainly true of
 HTML/HTTP, except that more often they make no claim of charset at all,
 expecting the world to conform to their charset by default.
 
 As for HTML/MIME, I don't know if MIME supports the encoding of
 non-7-bit HTML characters into 7-bit code, or if it expects 7-bit-clean
 HTML.

Looks like you confuse HTML and MIME, which are two distinct things
that have moreless nothing in common.

For example, this message is a MIME message (as opposed to an RFC
822 message, yet it doesn't contain any HTML).

If we restrict this to MIME: I routinely see messages from Outlook
and its brethren claiming they're ISO-8859-2, but containing
characters from outer space.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Ports base? [hear me roar]

2002-11-25 Thread Cliff Sarginson
On Mon, Nov 25, 2002 at 06:59:10PM -0800, Kris Kennaway wrote:
 On Mon, Nov 25, 2002 at 09:53:29PM -0500, Peter Leftwich wrote:
 
  You dunderheads :) are all missing the point.  Why isn't there something a
  few notches above pkg_add -r and a few notches below knowing how to cvsup
  and downloading a massive, obscenely extravagant ports tree?
  
  Why can't someone write a shell script or binary that would prompt the user with:
  Hello, which port would you like?
 
 No reason.
 
 Progress happens when someone sits down and does the work.  Perhaps
 this would be a good project for you to learn more about the workings
 of FreeBSD.
 
 Kris

Took the words right out of my mouth.
Peter, these things get done by people doing them. That is the tautology
of the situation. You might find your name in lights if you become that
someone who does it.

Btw you might consider the use of the refuse file if you wish to not
download certain ports or categories of ports. I suppose if you put
everything in the refuse file you may still get the ports framework,
for whatever that is worth. My refuse file eliminates all the ports for
the languages I don't speak, anything to do with palms, the new
financial category and some others. 

Remember one of the advantages of having the tree is that by browsing
the README's you may find just the program you are looking for without
having to ask for it. If you are so tight on disk space you may have a
problem building anything anyway. Get someone to buy you a bigger disk
for Christmas :).


-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: Find abandoned packages

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-25 15:52:42 -0800:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
 
  It is also true though, that flawed mail clients can push down into
  the connection to their outgoing SMTP server messages that do not have
  proper headers to allow the server to parse and convert the 8-bit
  characters correctly.  This is often cause by either a) bugs in the
  mail client software, or b) misconfigured clients.
 
 I thought SMTP mail servers didn't touch the body of messages.  One mail
 client encodes stuff via MIME protocols to 7-bit data which it places in
 the body, servers pass it around (changing headers), and another client
 decodes the 7-bit body via MIME.  You seem to imply that servers mess
 with the body.  Why would it need to?  Mind explaining?

Please read RFC 2045. It's pretty short and easy to parse.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Find abandoned packages

2002-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-25 15:52:42 -0800:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
  Outlook is infamous for its habit of sending 8-bit characters
  unencoded in MIME messages that lack proper Content-Type: headers.
  The result is rather interesting to look upon, when the message passes
  through multiple SMTP servers, with different settings each.
 
 I didn't realize that the other poster was referring to MIME mail
 (partially because the message I complained about didn't use MIME).

1. I don't have the original message because my maildrop filter
   sends all list posts from MSFT email programs to /dev/null.

2. That particular bug I've seen quoted in your reply to the
   original message is an Outlook [Express]-specific thing. I
   haven't seen it produced by the Lotus Notes client (at least as
   broken as OE, possibly more) or anything else.

2. I'm not aware of any method (and doubt there is one) to make
   Outlook send an RFC 822 message. All it can create is it's
   crippled idea of MIME.

4. You have already shown that you (falsely) think MIME email ==
   HTML email.

2. 3. and 4. lead me to the conclusion that it *was* a MIME message,
despite 1.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



  1   2   >