query for changing the User email ID in freeBSD ....

2003-09-09 Thread Shrikant
When i send  email from freebsd machine  i reviece the email in by inbox with  from as 
the User Name  and email id as [EMAIL PROTECTED]  ,If i want to change the email as 
[EMAIL PROTECTED]  or  Domain Services  etc etc
How do i go about and what changes do i have to make .
Pls suggest


Shrikant

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


Re: apache13 to apache13-modssl port migration

2003-09-09 Thread Mike Maltese
Don't install it on top of you old installation.

cd /usr/ports/www/apache13
make deinstall
 - or -
pkg_delete -f apache-1.3.xx

Then:
cd /usr/ports/www/apache13-modssl
make install clean
make certificate (optional)

Your original httpd.conf won't be deleted. You can use the new one
(httpd.conf-dist) as a reference for the SSL directives and migrate your
settings. You should also manually replace the old startup script with the
new one (apache.sh-sample) as it is slightly different (it enables mod_ssl
at startup).

> I am currently running /usr/ports/www/apache13 and I want to switch to
> /usr/ports/www/apache13-modssl.  Has anyone make this transition?  I
> don't know what to expect and I don't have a freebsd test box right now.
>   I am worried about the ports dependent on apache13-- what happens to
> them if I just install apache13-modssl on top?  I do use portupgrade.

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


Re: Mail server reboot while upgrading ports

2003-09-09 Thread Jeremy D. Pavleck
Check the power supply and ram. So many times similar things like this has
happened to me, and almost every time it was a stick of ram with some bad
bits on it, or an underpowered/going bad PSU. 

**
Jeremy D. Pavleck
[EMAIL PROTECTED]

Tired of PayPal? Me too.
Check out StormPay, it works the same way, with 110% less
anal-retentiveness!
http://www.stormpay.com/?193662 (Just my referral link, please 
help me earn a few cents :))

On Wed, 10 Sep 2003, Dragoncrest wrote:

>  As in hardware fault?  Hmm, I'd almost be willing to believe that 
> but I've got an identical machine which acts as it's backup that does the 
> same thing from time to time.  And it's never in the same way in the same 
> spot or doing the same thing.  That's what's puzzling the living heck out 
> of me.  But then again my two BSD workstations don't have this issue, so 
> again it's entirely possible.
> 
> At 12:52 PM 9/9/03 -0400, [EMAIL PROTECTED] wrote:
> 
> >time to buy a new computer
> >
> >yours has a fault
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


apache13 to apache13-modssl port migration

2003-09-09 Thread culley harrelson
I am currently running /usr/ports/www/apache13 and I want to switch to 
/usr/ports/www/apache13-modssl.  Has anyone make this transition?  I 
don't know what to expect and I don't have a freebsd test box right now. 
 I am worried about the ports dependent on apache13-- what happens to 
them if I just install apache13-modssl on top?  I do use portupgrade.

culley

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


Re: FreeBSD 5.1 Installation Problem

2003-09-09 Thread Lowell Gilbert
"Reinhart Steyaert" <[EMAIL PROTECTED]> writes:

> I read all the documentation. BTW, there isn't that much in the docs
> to try. It's always the same: "Cannot find CD/DVD devices..."
> 
> Other ideas? Could it be an IRQ conflict or whatever in loader.conf?

You tried disabling DMA on the ATAPI drive?
Really?  I'm about 99% certain that's the problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mail server reboot while upgrading ports

2003-09-09 Thread Dragoncrest
At 01:17 AM 9/10/03 +0200, Raphaël Marmier wrote:
heat? Both could be overheating the same way if it is the same hardware in 
the same room under identical conditions. Try to move one to the fridge 
and see if it stop freezing ;)
Actually, it's rebooting randomly during installs or upgrades 
only.  It did it once due to spam assassign, but that was a long time 
back.  I did however encounter something of interest that might give us 
some insight into this.  Even though I'd periodically have failed builds or 
installs, or even reboots at random during this, I always seemed to get a 
lot of this one ruby error.  Here's two examples.

/usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:45: [BUG] rb_gc_mark(): 
unknown data type 0x7(0x8053e04) corrupted object
ruby 1.6.8 (2003-03-26) [i386-freebsd4]

/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:336: [BUG] rb_gc_mark(): unknown 
data type 0x7(0x82024dc) corrupted object
ruby 1.6.8 (2003-03-26) [i386-freebsd4]

I've since done a pkgdb -F to see if that would help and it did 
find one small error in the database.  So not sure if that fixed it or 
not.  I am however fully completed with all the upgrades after 5 painful 
hours, so that's at least good.  That means I shouldn't have to touch this 
for a while longer at which this problem may crop up its ugly head.  I'll 
keep an eye on it and report anything new I find.  I don't expect this to 
be easy to solve.  But we'll keep looking for clues.

Speaking of clues, is there a way to log everything that goes on 
in a TTY session?  I've noticed that when this thing crashes it prints 
something to the screen (I can't see it cause I'm away at another desk when 
it does it) about the crash and a reboot in 15 seconds but I'm never fast 
enough over there to catch it.  I want to try and catch that in a file if 
possible so I better know what's wrong with this thing.  I'm sure it has 
something to do with adding a switch to the logging system, but I can't 
find where to add the switch and which one would do it.  Any input would be 
welcome.  Thanks.

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


Re: xmms-arts plugin

2003-09-09 Thread Todd Stephens
On Tuesday 09 September 2003 06:36 pm, Alin-Adrian Anton wrote:
> Hello,
>
> I am having a lot of pain trying to compile the xmms-arts plugin
> available from xmms.org, since it is not in the ports anymore. If
> anyone uses the xmms-arts plugin on freebsd I would really appreciate
> any help. I am running FreeBSD-4.8 STABLE, with the ports cvsuped and
> upraded today.
>

I do not believe you need it.  I am running XMMS under KDE with no arts 
plugin without any problems at all.


-- 
Todd Stephens

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


Re: Authenticated SMTP

2003-09-09 Thread Drew Tomlinson
- Original Message - 
From: "Wayne Pascoe" <[EMAIL PROTECTED]>
To: "Damian Gerow" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 8:32 AM
Subject: Re: Authenticated SMTP


> On Tue, Sep 09, 2003 at 11:05:57AM -0400, Damian Gerow wrote:
>
> > When you install the Postfix port, enable SASL or SASL2
authentication
> > (though I'd personally stick with SASL2).  Then take a read through
> > README_FILES/SASL_README, found within the postfix source tree (i.e.
> >
/usr/ports/mail/postfix/work/postfix-2.0.14/README_FILES/SASL_README).
>
> Thanks Damian and everyone else. I'm fairly sure with that much info
> I'll be able to work it out :)

I just wanted to point out a bug in Postfix that caused me all kinds of
grief before I found a workaround.  I posted a message about this.  You
can see it at
http://lists.freebsd.org/pipermail/freebsd-security/2003-July/000517.html.

Other links I used to get things going were:

http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailclients.html

http://ezine.daemonnews.org/200306/postfix-sasl.html

http://www.securitysage.com/guides/postfix_sasltls.html

HTH,

Drew

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


Re: Mail server reboot while upgrading ports

2003-09-09 Thread Raphaël Marmier
heat? Both could be overheating the same way if it is the same hardware 
in the same room under identical conditions. Try to move one to the 
fridge and see if it stop freezing ;)

Raphaël

Le Mercredi, 10 sep 2003, à 14:38 Europe/Zurich, Dragoncrest a écrit :

As in hardware fault?  Hmm, I'd almost be willing to believe 
that but I've got an identical machine which acts as it's backup that 
does the same thing from time to time.  And it's never in the same way 
in the same spot or doing the same thing.  That's what's puzzling the 
living heck out of me.  But then again my two BSD workstations don't 
have this issue, so again it's entirely possible.

At 12:52 PM 9/9/03 -0400, [EMAIL PROTECTED] 
wrote:

time to buy a new computer

yours has a fault


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


Re: JAVA and MOZILLA

2003-09-09 Thread Manalive

Hi,
I to am using Mozilla 1.4 ( I beleive I failed to mention that in my original
post ) and I compiled it out of ports. I had heard that Java 1.3.1 worked
well with Mozilla, so I wne to try to install it. However when I try I get
the following.
dl# cd /usr/ports/java/jdk13
dl# ls
Makefilefiles   pkg-message scripts
distinfopkg-descr   pkg-plist   work
dl# make package
===>  Building for jdk-1.3.1p8_2
# Start of jdk build
i386 Build started:   1.3.1-p8-n4458575-030909-18:44
ERROR: Your BOOTDIR environment variable does not point
  to a valid Java 2 SDK for bootstrapping this build.
  A Java 2 SDK 1.3.1 build must be bootstrapped against any
  1.3 build. Please update your ALT_BOOTDIR setting, or
  just unset it, and start your build again.
   

You need some working linux-java (I think you can use blackdown
and sun but I can't remember which version) to build the FreeBSD
java-port . You could search your Makefile for this.
Uli.
 

I tried separately linux-sun-jdk13 and linux-blackdown-jdk13, neither 
helped me to get past that danged ALT_BOOTDIR error message. Any way I 
can set the ALT_BOOTDIR or find out how to remove it?!

Funny thing is that I was able to install jdk13 natively with no 
problems a month ago, then on another computer, this error keeps popping 
up. Same hardwares, same configuration. I remember in the past few 
years, sometimes it installed with no problems, sometimes the error 
keeps popping up. I have no idea what I did or what changed. G!

Jonas

 

Exiting because of the above error(s).
gmake: *** [sanity] Error 1
*** Error code 2
Stop in /usr/ports/java/jdk13.
dl#
the make file in jdk13 has the following (I dont know if it of any relevence)
MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \
Did you have any of these issues when compiling jdk13?
If you did, can you please let me know how you got around it.
Thanks

David

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

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



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


RE: Best FTPD...

2003-09-09 Thread Nicole


 The best ever FTP daemon (and client) I have used is NCFTPd  whish I think is
at ncftpd.com it's not free, but I have had to upgrade it I think once in 4
years for a security issue. Thats really good and well worth the little cost if
you need the extra features. (it has a free version)


  Nicole


On 09-Sep-03 Unnamed Administration sources reported Incredible Networks said :
> Hi,
> 
> I need an FTP Server for FreeBSD 4.8 that complies with the following:
> 
> 1. Anonymous (Read Only) and Authenticated (Read/Write) Access
> 2. Listens on multiple Interfaces (one for anynomous)
> 3. Anonymous Access redirect to specific location (partition)
> 4. Cannot Browse root (cd /) and expose directory structure (folders)
> 5. Can support Active Transfers (not passive)
> 6. Fast and Robust
> 
> 
> Any suggestions would be greatly appreciated, and installation pointers
> (configuration) would even be better!
> 
> Currently running FTPD (Standard FreeBSD FTPD), but you can browse the whole
> server. :(
> 
> I got the latest Ports Collections under /usr/ports
> 
> Regards
> Schalk
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"



 |\ __ /|   (`\
 | o_o  |__  ) )   
//  \\ 
 -  [EMAIL PROTECTED]  -  Powered by FreeBSD  -
--
 " Daemons" will now be known as "spiritual guides"
-Politically Correct UNIX Page

"Witchcraft is in essence the worship of the powers of this world,
 beautiful and terrible, but all in a circle under the turning sky
 that is the One." -C.A. Burland, "Echoes of Magic"

"Connecting with energy is something humans have to be open
 to and talking about and expecting,  otherwise the whole human
 race can go back to pretending that life is about power over others
 and exploiting the planet.  If we go back to doing this,
 then we won't survive."  -James Redfield, "The Celestine Prophecy"

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


xmms-arts plugin

2003-09-09 Thread Alin-Adrian Anton
Hello,

I am having a lot of pain trying to compile the xmms-arts plugin 
available from xmms.org, since it is not in the ports anymore. If anyone 
uses the xmms-arts plugin on freebsd I would really appreciate any help. 
I am running FreeBSD-4.8 STABLE, with the ports cvsuped and upraded today.

Thanks,
A. Anton.


smime.p7s
Description: S/MIME Cryptographic Signature


samba cannot set GID

2003-09-09 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi !

This is a desperate call ;)
After 2 weeks of reading, trying, testing... I just cannot get what I need.
I'm trying to achieve samba/unix password synchronisation.
I first tried samba+ldap but it is way overhead for what I need.
Is there anyone on the list that succeeded in making samba+unix password sync 
when a client changes his password from a WIndows box ?
All I get is an error message in the samba logs, telling me it cannot set GID 
to "0".
If anyone has a passwd chat command that works well (in smb.conf) under 
FreeBSD-5.1, please help, the people on the samba list are not very 
responsive :(

I usually don't ask for direct help like this without providing more 
information, but I'm really tired of looking for a solution.

Thanks in advance, regards.

- -- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/XlLiY3Hnhkr+5cQRAkaPAJ0V8IoAQMXd7LbjAbZMLqZglsokywCeO7//
G8va+0RVww7TwXd4spPc96E=
=zBl/
-END PGP SIGNATURE-

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


Re: Make installworld failure

2003-09-09 Thread Alex de Kruijff
On Tue, Sep 09, 2003 at 04:36:12PM -0400, Elliott Perrin wrote:
> Good Day,
> 
> Please cc me ( [EMAIL PROTECTED] ) on responses to this, I am not on either
> mailing list anymore.
> 
> I cvsup'ed on the STABLE branch today (September 9th) at around 2:30PM EDT.
> No problems with buildworld or kernel build, but I am getting failures
> during installworld
> 

You could try the RELENG_4_8 tag instead of STABLE as a work around.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: howto calculate free memory from top

2003-09-09 Thread Dan Nelson
In the last episode (Sep 09), Jesse Guardiani said:
> >> So they _are_ available for use then? And thus are relatively free,
> >> correct?
> > 
> > All memory except for Wired is "free", to varying degrees.
> 
> OK. Just out of curiosity, what would you say about my example then:
> 
> --
> Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free
> Swap: 2048M Total, 5448K Used, 2043M Free
> --
> 
> Based on that FAQ, I would say that I've got about 80M of immediately
> available memory, and if the system gets pushed really hard, I can
> probably spare another 600M or so with relatively minimal swap usage.
> 
> Is that accurate?

Sounds about right.

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


Re: Followup Q to "IBM 120 G IDE -- problems"

2003-09-09 Thread Jerry McAllister
> 
> Hi,
>  Well, I've got my 120G disk up and running and
> now I'd like to understand something odd.
> 
>  I went into /stand/sysinstall to put down the
> partition and slice tables and the FS and found that
> it determined the geometry (cyl/head/sectors) as
> 15107/255/63 .  Since it warned that the values must
> match the BIOS values, I set them to the 59131/16/255
> that the BIOS reports.  It rejected this entry and
> went back to its own.  I also tried the values
> reported
> by the ata driver on startup; these too were rejected.
> 
>  Since it's working (with about 117G -- that's
> Gi_b_abytes) it must be OK (famous last words!) but
> what's going on here?  Why does it demand the values
> reported by the BIOS if it will refuse them, and why
> does the driver come up with another set of values,
> also unacceptible to the disklabel/fdisk machinery?

Someone else can answer with more detailed information,
but in general, geometry is virtual in "modern" large
disks and drivers.   They don't map one to one.  Probably
messages saying they must match are vestigial.

jerry

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


make buildworld error

2003-09-09 Thread Dennis M. Yocum
HELP..

can anyone please tell me where to look for the answer to the following error that 
happens during the make buildworld process?

make:  don't know how to make assert.cpp  Stop^M
*** Error code 2^M
^M
Stop in /usr/src/gnu/usr.bin/groff/src/libs.^M
*** Error code 1^M

and it goes on in simular fashion.

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


Re: Mail server reboot while upgrading ports

2003-09-09 Thread Dragoncrest
As in hardware fault?  Hmm, I'd almost be willing to believe that 
but I've got an identical machine which acts as it's backup that does the 
same thing from time to time.  And it's never in the same way in the same 
spot or doing the same thing.  That's what's puzzling the living heck out 
of me.  But then again my two BSD workstations don't have this issue, so 
again it's entirely possible.

At 12:52 PM 9/9/03 -0400, [EMAIL PROTECTED] wrote:

time to buy a new computer

yours has a fault


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


Re: howto calculate free memory from top

2003-09-09 Thread Jesse Guardiani
Dan Nelson wrote:

> In the last episode (Sep 09), Jesse Guardiani said:
>> Charles Swiger wrote:
>> > On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote:
>> >> How do I calculate the amount of free memory my system has at any
>> >> given point in time?
>> > 
>> > What do you mean by "free memory"?
>> 
>> Memory that can be used by other programs before the vm starts using
>> swap.
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#TOP-MEMORY-STATES
> does a pretty good job of explaining the states.

Yes, all except Buf, but `man top` explains that pretty well.


> 
>> So they _are_ available for use then? And thus are relatively free,
>> correct?
> 
> All memory except for Wired is "free", to varying degrees.

OK. Just out of curiosity, what would you say about my example then:

--
Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free
Swap: 2048M Total, 5448K Used, 2043M Free
--

Based on that FAQ, I would say that I've got about 80M of immediately
available memory, and if the system gets pushed really hard, I can
probably spare another 600M or so with relatively minimal swap usage.

Is that accurate?

Thanks!


Sincerely,

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Make installworld failure

2003-09-09 Thread Elliott Perrin
Good Day,

Please cc me ( [EMAIL PROTECTED] ) on responses to this, I am not on either
mailing list anymore.

I cvsup'ed on the STABLE branch today (September 9th) at around 2:30PM EDT.
No problems with buildworld or kernel build, but I am getting failures
during installworld

Error and output from uname -a are below.

vm/pmap.h -> vm/pmap.ph
vm/swap_pager.h -> vm/swap_pager.ph
vm/vm.h -> vm/vm.ph
vm/vm_extern.h -> vm/vm_extern.ph
vm/vm_kern.h -> vm/vm_kern.ph
vm/vm_map.h -> vm/vm_map.ph
vm/vm_object.h -> vm/vm_object.ph
vm/vm_page.h -> vm/vm_page.ph
vm/vm_pageout.h -> vm/vm_pageout.ph
vm/vm_pager.h -> vm/vm_pager.ph
vm/vm_param.h -> vm/vm_param.ph
vm/vm_zone.h -> vm/vm_zone.ph
vm/vnode_pager.h -> vm/vnode_pager.ph
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/utils/h2ph.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/utils.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[localhost] /usr/src# uname -a
FreeBSD localhost 4.7-STABLE FreeBSD 4.7-STABLE #1: Fri Jan  3 21:06:53 EST
2003 [EMAIL PROTECTED]:/usr/src/sys/compile/FIEND  i386


Strangely enough, using the mkcdroot port allowed me to build and install a
system without this error, albeit not as a base system. (need to cut some
CD's for 2 firewalls)

Any pointers appreciated

Thanks
[EMAIL PROTECTED]

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


Re: Best FTPD...

2003-09-09 Thread Mike Maltese
I rather like ProFTPd. It's very robust, highly configurable, and should be
capable of the requirements you've listed.
http://www.proftpd.org

- Original Message - 
From: "Incredible Networks" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 12:18 PM
Subject: Best FTPD...


> Hi,
>
> I need an FTP Server for FreeBSD 4.8 that complies with the following:
>
> 1. Anonymous (Read Only) and Authenticated (Read/Write) Access
> 2. Listens on multiple Interfaces (one for anynomous)
> 3. Anonymous Access redirect to specific location (partition)
> 4. Cannot Browse root (cd /) and expose directory structure (folders)
> 5. Can support Active Transfers (not passive)
> 6. Fast and Robust
>
>
> Any suggestions would be greatly appreciated, and installation pointers
> (configuration) would even be better!
>
> Currently running FTPD (Standard FreeBSD FTPD), but you can browse the
whole
> server. :(

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


Re: Best FTPD...

2003-09-09 Thread Benjamin Kohler
On Tue, 9 Sep 2003 21:18:03 +0200
> I need an FTP Server for FreeBSD 4.8 that complies with the following:
use proftpd
--> /usr/ports/ftp/proftpd

Docs about everything at http://www.proftpd.org

cu and greets

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


Re: COM3 && COM4 && Modem

2003-09-09 Thread Kirk Strauser
At 2003-09-09T19:27:31Z, "Andrew L. Gould" <[EMAIL PROTECTED]> writes:

> If the lines aren't there, then something probably changed in FreeBSD 5.*
> and you should ignore my advice.

5.x has a completely different kernel configuration than 4.x.  I'm in the
poster's situation as well; my old ISA modem that I use as an outgoing
paging server worked perfectly under 4.8 but is unconfigureable (to my
abilities) in 5.1.
-- 
Kirk Strauser

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

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


Re: Questions about FreeBSD Versions

2003-09-09 Thread Nathan Kinkade
On Tue, Sep 09, 2003 at 10:49:46AM -0700, Leonard, Harry wrote:
> Hello FreeBSD,
> 
> My name is Harry Leonard and I'm very interested in using FreeBSD.  I work
> in a small shop, outside of Flagstaff, Arizona for the State of Arizona, in
> a half Microsoft, half open source environment.  I'm the resident programmer
> and I've used Perl/PHP/MySQL here for almost four years.  My boss has set up
> servers running OpenBSD and I get to use them creating our website and
> running intranet applications.  My problem now is that my boss is in Iraq
> and we're in need of a new server or two.
> 
> I've researched the subject and have found myself getting a little squeamish
> with the thought of installing/tweaking an OpenBSD box.  FreeBSD seemed like
> the next viable option and I did get a thumbs up from my boss.  I also saw a
> segment on TechTv's Screen Savers which gave me the confidence that I could
> pull this off.  I started looking at versions and decided to purchase the
> latest and greatest.
> 
> I bought the four disk set of FreeBSD 5.0 w/ the handbook and thought I was
> on a roll.  Surely, I installed it several times before I got it right and
> then I began to run into problems and loose some confidence.  My problems
> started with the installation of Apache.  I'm going back after it today
> though and I hope that I'll have some success.  Yes, I am a newbie but a
> driven one.  I very much want to have two FreeBSD boxes in-house and I am a
> hard one to quit.  I did quit on FreeBSD 5.0 though and I also think this is
> where my troubles really began.
> 
> I figured that I would do some more reading and found that 5.0 might not be
> the best version for newbie's (in cases of trouble).  So, I figured that I
> would go to FreeBSD 5.1.  A newer version shouldn't hurt huh?  Well, I think
> something went awry in the download and I never got this version to work
> correctly for me either.  Well, now I'm figuring that I'll just move
> backwards to FreeBSD 4.8 Stable and this will just alleviate all my
> problems.  This has not worked yet for me either and my confidence is
> further eroding.  But, my tenacity is still in there and I'd rather go down
> in flames than let my office mate turn this office into a full Microsoft
> shop and me running Apache/PHP/MySQL on an IIS box.  My boss expressed his
> dismay of this happening and I told him I would not let him down.  Newbie I
> may be but I'm not a quitter.  
> 
> This email is about:  Which version of FreeBSD should I be using for
> production?  I need to set up an in-house web server for our website and
> another box for my few intranet applications.  In the near future I might
> have the opportunity to create a firewall box and I really need to get on
> top of things.  Today, I'll go back to FreeBSD 5.0 (which I've had the most
> success with) and read the errata over again and make sure there's nothing
> that I'm missing.  I'd appreciate it if you could give me a stamp of
> approval on which version I can/should use for my small production needs.
> Sorry, if I've gotten a little windy with my explanation but I wanted to
> give you some background.  I also Thank You for reading this email and for
> any help that you can provide me in this matter.  Please let me know what
> you think?
> 
> Sincerely, 
> 
> Harry Leonard
> Information Technology Specialist III
> Camp Navajo
> phone: @ (928) 773-3363
> e-mail: @ [EMAIL PROTECTED]

As another poster pointed out, you might consider going with a
4.8-RELEASE, or maybe 4.8-STABLE to be on the safe side.  Check out this
link:

http://www.freebsd.org/releases/5.1R/early-adopter.html

Other than that, again, what specific problems are you having?

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: help about freebsd4.7 /usr/port

2003-09-09 Thread Andrew L. Gould
On Tuesday 09 September 2003 12:51 pm, Your Name wrote:
> Hi all
>
> After we installed freebsd 4.7, we have problem to update the port
>
> We want to install the cvsup to update the port but got the following
> problem
>

If you installed 4.7 from a CD, look for the cvsup package on the installation 
CD.  (Mount the CD and 'cd /cdrom/packages/All'.)  Use pkg_add to install it.

Also, you might want to make sure you're connecting to the internet 
successfully.

Best of luck,

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


Re: User PPP connection problems

2003-09-09 Thread Heiko Recktenwald
> Try "ATZ" (reset). "AT" to check OK response".
> Then try "ATDT12345678" for dialing (the 12345678 is to be replaced
> with a phone number.)
>
> Once you have the right port and you are talking to your modem, then
> we can look at the ppp.log again.

There once was a sample in /etc/ppp, it has moved, the Gods have decided,
somewhere to /usr/share/examples (IMHO)


H.

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


Re: Authenticated SMTP

2003-09-09 Thread Sunil Sunder Raj
Hi,
Only two methods I have implemented.
1) "OPEN SMTP RELAY" - No
2) "SMTP AFTER POP" - The client need to check his mail first and for a set 
amount of time he can send mail through that same server.
3) The best solution though would be "SMTP AFTER AUTH". Setup a seperate 
smtp server which allows any user to relay mail after authenticating 
himself. I have done this using POSTFIX+SASL+MYSQL. Quite robust can handle 
tons of mails.

Regards
SSR


From: Wayne Pascoe <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Authenticated SMTP
Date: Tue, 9 Sep 2003 15:48:22 +0100
Hi all,

I need to provide an SMTP service to someone who travels around thie
world. I can't do this with a specific IP address, as they use a variety
of ISP's in different locations.
To this end, I'd like to setup authenticated SMTP, preferably using
postfix.
I've had a look in the postfix faq and it was a bit vague on this point.
In merely said that you need to force the user to authenticate against a
pop server first, that maintains a postfix compatible access table.
Can anyone point me to a document that explains what pop servers might
be suitable for this task and how to go about setting up this
authentication ?
Regards,

--
Wayne Pascoe
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Do you love to shop? Do it online now. http://www.msn.co.in/shopping Get the 
best deals!

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


Re: COM3 && COM4 && Modem

2003-09-09 Thread Andrew L. Gould
On Tuesday 09 September 2003 02:00 pm, Claudiu Bichir wrote:
> Hy folks !
> I have FreeBSD 5.0 installed on my computer and I wanted to know how can I
> enable the COM3 & COM4 ports. The ports are disabled by default in 5.0.
> I tried to modify /boot/device.hints but with no hope .
> I commented hint.sio.2.disabled="1" and hint.sio.3.disabled="1" out but
> when I rebooted it said smt like "irq 5 not in bitmap of probed irqs 0
> ;port may not be enabled;" the same goes for sio3(but with 9 instead of 5)
> .I'm just starting so ... don't know what to do anymore. I already read the
> handbook and the sio(4) manual page but I haven't found something helpfull
> yet. I'm asking all this because I have an Aztech UM9800 external modem
> which's on COM3(at least that's what Windows shows )and I cannot change its
> COM port to 1 or 2 . It is recognized as ugen0 when the system boots.
> It is an usb modem but I was told by people on this list that I can use it
> with FreeBSD. If I can then I would appreciate any help from you on how to
> set it up. Thanks people !
>
If it is handled the same as FreeBSD 4.*, then you need to reconfigure the 
kernel.  Look for the following lines in your kernel's configuration file:

# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
device  sio2at isa? disable port IO_COM3 irq 5
device  sio3at isa? disable port IO_COM4 irq 9

If they are there, delete the word "disable" in the lines for devices sio2 and 
sio3.  Recompile your kernel and reboot.

If the lines aren't there, then something probably changed in FreeBSD 5.* and 
you should ignore my advice.

Best of luck,

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


Re: help about freebsd4.7 /usr/port

2003-09-09 Thread Matthew Seaman
On Tue, Sep 09, 2003 at 01:51:06PM -0400, Your Name wrote:
> Hi all
> 
> After we installed freebsd 4.7, we have problem to update the port
> 
> We want to install the cvsup to update the port but got the following 
> problem

You've got a bit of a chicken-and-egg problem here.  Since FreeBSD-4.7
was released, various updates to cvsup have also come out, and the
version of the source code available on the servers is
cvsup-snap-16.1h.tar.gz nowadays.

Of course, the simple way to fix that problem is to update your ports
tree...

The best way to break this impasse is to install cvsup-without-gui as
a precompiled *package*.  Now, the 4.7-RELEASE packages are no longer
on the ftp sites, having been replaced by packages built for later
releases.  Unless you've got disks 3 and 4 from the 4.7-RELEASE set
which will certainly have that package on it, you're going to have to
use a package built for a more recent version of the OS.  That's not
guaranteed to work, but often does when the OS versions are fairly
close together.  The cvsup-without-gui package is actually the sort of
package that does tend to work when installed in that way.

Try this:

# pkg_add 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/cvsup-without-gui.tgz

That should let you get your ports tree updated.  Note that, just like
packages, ports aren't guarranteed to compile properly or work on
older versions of the system, although they usually do.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Best FTPD...

2003-09-09 Thread Incredible Networks
Hi,

I need an FTP Server for FreeBSD 4.8 that complies with the following:

1. Anonymous (Read Only) and Authenticated (Read/Write) Access
2. Listens on multiple Interfaces (one for anynomous)
3. Anonymous Access redirect to specific location (partition)
4. Cannot Browse root (cd /) and expose directory structure (folders)
5. Can support Active Transfers (not passive)
6. Fast and Robust


Any suggestions would be greatly appreciated, and installation pointers
(configuration) would even be better!

Currently running FTPD (Standard FreeBSD FTPD), but you can browse the whole
server. :(

I got the latest Ports Collections under /usr/ports

Regards
Schalk

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


Followup Q to "IBM 120 G IDE -- problems"

2003-09-09 Thread Mark Terribile

Hi,
 Well, I've got my 120G disk up and running and
now I'd like to understand something odd.

 I went into /stand/sysinstall to put down the
partition and slice tables and the FS and found that
it determined the geometry (cyl/head/sectors) as
15107/255/63 .  Since it warned that the values must
match the BIOS values, I set them to the 59131/16/255
that the BIOS reports.  It rejected this entry and
went back to its own.  I also tried the values
reported
by the ata driver on startup; these too were rejected.

 Since it's working (with about 117G -- that's
Gi_b_abytes) it must be OK (famous last words!) but
what's going on here?  Why does it demand the values
reported by the BIOS if it will refuse them, and why
does the driver come up with another set of values,
also unacceptible to the disklabel/fdisk machinery?

 Mark Terribile


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions about FreeBSD Versions

2003-09-09 Thread Andrew L. Gould
On Tuesday 09 September 2003 12:49 pm, Leonard, Harry wrote:
> Hello FreeBSD,

HI Harry,

>
> My name is Harry Leonard and I'm very interested in using FreeBSD.  I work
> in a small shop, outside of Flagstaff, Arizona for the State of Arizona, in
> a half Microsoft, half open source environment.  I'm the resident
> programmer and I've used Perl/PHP/MySQL here for almost four years.  My
> boss has set up servers running OpenBSD and I get to use them creating our
> website and running intranet applications.  My problem now is that my boss
> is in Iraq and we're in need of a new server or two.
>
> I've researched the subject and have found myself getting a little
> squeamish with the thought of installing/tweaking an OpenBSD box.  FreeBSD
> seemed like the next viable option and I did get a thumbs up from my boss. 
> I also saw a segment on TechTv's Screen Savers which gave me the confidence
> that I could pull this off.  I started looking at versions and decided to
> purchase the latest and greatest.

I'm sure the folks at OpenBSD would rather help you than let you walk away 
with the perception that it's too hard.  But as long as you're here..

>
> I bought the four disk set of FreeBSD 5.0 w/ the handbook and thought I was
> on a roll.  Surely, I installed it several times before I got it right and
> then I began to run into problems and loose some confidence.  My problems
> started with the installation of Apache.  I'm going back after it today
> though and I hope that I'll have some success.  Yes, I am a newbie but a
> driven one.  I very much want to have two FreeBSD boxes in-house and I am a
> hard one to quit.  I did quit on FreeBSD 5.0 though and I also think this
> is where my troubles really began.
>
> I figured that I would do some more reading and found that 5.0 might not be
> the best version for newbie's (in cases of trouble).  So, I figured that I
> would go to FreeBSD 5.1.  A newer version shouldn't hurt huh?  Well, I
> think something went awry in the download and I never got this version to
> work correctly for me either.  Well, now I'm figuring that I'll just move
> backwards to FreeBSD 4.8 Stable and this will just alleviate all my
> problems.  This has not worked yet for me either and my confidence is
> further eroding.  But, my tenacity is still in there and I'd rather go down
> in flames than let my office mate turn this office into a full Microsoft
> shop and me running Apache/PHP/MySQL on an IIS box.  My boss expressed his
> dismay of this happening and I told him I would not let him down.  Newbie I
> may be but I'm not a quitter.
>
> This email is about:  Which version of FreeBSD should I be using for
> production?  I need to set up an in-house web server for our website and
> another box for my few intranet applications.  In the near future I might
> have the opportunity to create a firewall box and I really need to get on
> top of things.  Today, I'll go back to FreeBSD 5.0 (which I've had the most
> success with) and read the errata over again and make sure there's nothing
> that I'm missing.  I'd appreciate it if you could give me a stamp of
> approval on which version I can/should use for my small production needs.
> Sorry, if I've gotten a little windy with my explanation but I wanted to
> give you some background.  I also Thank You for reading this email and for
> any help that you can provide me in this matter.  Please let me know what
> you think?
>
> Sincerely,
>
> Harry Leonard
> Information Technology Specialist III
> Camp Navajo
> phone: @ (928) 773-3363
> e-mail: @ [EMAIL PROTECTED]

You're email doesn't really describe the kinds of problems you're 
experiencing.  Please be more descriptive.

My opinion:  Newbies looking for a production box should install FreeBSD 4.8 
and upgrade to 4-STABLE via cvsup before installing a bunch of apps.

General steps follow:

0. Searchable documentation can be found at:

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

Use it to learn more about steps >= 2:

1. Find out what version of Apache you're running on OpenBSD (1.* or 2.*).  
You'll need to know this if you want to install the same version on FreeBSD.

2. Install FreeBSD 4.8.  Don't install many apps yet.

3. Read documentation on updating/upgrading the system via cvsup, make world 
and recompiling the kernel.

4. Install the apps you need to make adminstering the system more bearable 
(midnight commander, your favorite editor, etc).  Try to install other apps 
after updating the system.

5. Install cvsupit.  Use cvsup to update the system to STABLE.

6. Update the system using make world and mergemaster.

7. Recompile the kernel.  If you don't have to make any configuration changes, 
this should be a real breeze.

8. Install apache from ports.  There are several versions.  Choose the one 
that meets your needs.  (The same version you're using on OpenBSD would 
probably be a good choice.)

9. Install MySQL from the ports.

10. Install PHP from the ports

Re: Questions about FreeBSD Versions

2003-09-09 Thread Matthew Seaman
On Tue, Sep 09, 2003 at 10:49:46AM -0700, Leonard, Harry wrote:
> This email is about:  Which version of FreeBSD should I be using for
> production?  I need to set up an in-house web server for our website and
> another box for my few intranet applications.  In the near future I might
> have the opportunity to create a firewall box and I really need to get on
> top of things.  Today, I'll go back to FreeBSD 5.0 (which I've had the most
> success with) and read the errata over again and make sure there's nothing
> that I'm missing.  I'd appreciate it if you could give me a stamp of
> approval on which version I can/should use for my small production needs.
> Sorry, if I've gotten a little windy with my explanation but I wanted to
> give you some background.  I also Thank You for reading this email and for
> any help that you can provide me in this matter.  Please let me know what
> you think?

Definitely your first choice should be 4.8-RELEASE on a production
system.  The only exceptions are when you need to support hardware
only covered by 5.x or you need some software capabilities, like
nss_ldap/pam_ldap only available on 5.x.  

"Production" in general means that it's the server that carries your
publically visible web presence and not having it running 24x7 is
going to cost you money or prestige.

having said that, a version from the RELENG_4 branch (ie. at the
moment FreeBSD 4.9-PRERELEASE) will be right up in the same ballpark
as regards stability and reliability as one of the -RELEASE versions
-- it's just that RELENG_4, being a development branch, doesn't
absolutely guarrantee that, and it's a moving target: changes and
updates are made to RELENG_4 every day, and if you're trying to run a
site really professionally, you're going to give yourself a much
higher burden of testing by tracking RELENG_4.

Now, generally the only other option would be 5-CURRENT (which is the
HEAD branch in cvs).  That's definitely developers only territory, not
guarranteed to work correctly or even boot up at any particular point
in time.  Certainly not suitable for running a webserver on.

However, due to the particular circumstances at the moment, the gap in
functionality between 4.x and 5.x is particularly big, and the 4.x
branch has had a much longer life than initially expected (compare to
the 3.x branch which only reached 3.5-RELEASE), so it was felt that
there should be some early releases from the 5.x branch to promote
testing on a wider range of equipment.  5.1 is still a "New
Technology" release, but many people are running it quite happily on
their desktops -- particularly portables for which it has much
improved support.  Even so, it's not advised to run it on a server
system, especially if you are adverse to being paged at 3.00am to come
and sort out what broke.

See http://www.freebsd.org/releases/5.1R/early-adopter.html for an
article discussing who might consider running what version.

As for your problems with the installer, this mailing list can
certainly help you out.  Try searching the list archives for someone
else who has had similar problems -- either at lists.freebsd.org for
stuff in about the last three or four months or at

http://www.freebsd.org/search/search.html#mailinglists

or there's a new site with a particularly good (IMHO) search interface at

http://freebsd.rambler.ru/

Then there's Google (of course), and the http://www.freebsdforums.org/
message board system.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


COM3 && COM4 && Modem

2003-09-09 Thread Claudiu Bichir
Hy folks !
I have FreeBSD 5.0 installed on my computer and I wanted to know how can I 
enable the COM3 & COM4 ports. The ports are disabled by default in 5.0.
I tried to modify /boot/device.hints but with no hope .
I commented hint.sio.2.disabled="1" and hint.sio.3.disabled="1" out but when I 
rebooted it said smt like "irq 5 not in bitmap of probed irqs 0 ;port may not be 
enabled;" the same goes for sio3(but with 9 instead of 5) .I'm just starting so ... 
don't know what to do anymore.
I already read the handbook and the sio(4) manual page but I haven't found something 
helpfull yet.
I'm asking all this because I have an Aztech UM9800 external modem which's on COM3(at 
least that's what Windows shows )and I cannot change its COM port to 1 or 2 .
It is recognized as ugen0 when the system boots.
It is an usb modem but I was told by people on this list that I can use it with 
FreeBSD.
If I can then I would appreciate any help from you on how to set it up.
Thanks people !


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Fug-washdc] Prerelease issue...

2003-09-09 Thread doug
Ben /etc/motd exists in current. I strongly doubt it was removed from 4.9.

You did not say if this was an update or a fresh install. I assume the later.
However the errors are rather like mergemaster run amok.


On Wed, 3 Sep 2003, Ben H. wrote:

> Hello,
>
>   I just installed the 4.9PreRelease via FTP from:
>
>  ftp://current.freebsd.org/pub/FreeBSD/
>  snapshots/i386/4.9-PRERELEASE-20030901-JPSNAP/
>
> It was the only place I could find and access the
> directory.  I installed using the floppies.
>
> Now I created a user and can log in but...
>
>   1. No "message of the day" displays...
> the file "/etc/motd" does exist.
>
>   2. My prompt shows: "[EMAIL PROTECTED]" after I
> uncomment the prompt section in .shrc
>
>   3. Is there anything else deactivated that
> I should know about??
>
> Please help, Thanks!
>
> =
> Ben Hacker JrSr. Security Analyst
>  703.516.5340 2101 Wilson Blvd. Ste: 916
>  [EMAIL PROTECTED]   Arlington, VA   22201
> -=*=- -=*=- -=*=- -=*=-  -=*=- -=*=- -=*=- -=*=- -=*=-
>  See what the Church can be at:  http://www.coeba.org
> ___
> Fug-washdc mailing list
> [EMAIL PROTECTED]
> http://list.sytex.net/mailman/listinfo/fug-washdc
>

_
Douglas Denault
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


www/mod_jk2 port problem with www/apache2 port

2003-09-09 Thread Eugene Lee
FreeBSD-RELEASE-4.8-p3

I've run into a problem with the ports versions of mod_jk2 and apache2.
Now apache2 is built without thread support disabled, but mod_jk2 is
built to use pthreads.  Both run through make and make install cleanly
without any problems.  But when I try to start up Apache, I get the
obvious error:

Cannot load /usr/local/libexec/apache2/mod_jk.so into server: 
/usr/local/libexec/apache2/mod_jk.so: Undefined symbol "pthread_mutex_unlock"

The official mod_jk2 docs says nothing about building the module without
thread support.  The apache2 docs confirm that:

* If you are building on FreeBSD, be aware that threads will
  be disabled and the prefork MPM will be used by default,
  as threads do not work well with Apache on FreeBSD.  If
  you wish to try a threaded Apache on FreeBSD anyway, use
  "./configure --enable-threads".

So is it even possible to compile mod_jk2 without threads?  Or should I
just bite the bullet and build apache2 with threads enabled on the box?
Any suggestions are appreciated, thanks!

(CC'd to both ports' maintainers)


-- 
Eugene Lee
eugene at fsck dot net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions about FreeBSD Versions

2003-09-09 Thread culverk
Quoting "Leonard, Harry" <[EMAIL PROTECTED]>:

> Hello FreeBSD,
>
> My name is Harry Leonard and I'm very interested in using FreeBSD.  I work
> in a small shop, outside of Flagstaff, Arizona for the State of Arizona, in
> a half Microsoft, half open source environment.  I'm the resident programmer
> and I've used Perl/PHP/MySQL here for almost four years.  My boss has set up
> servers running OpenBSD and I get to use them creating our website and
> running intranet applications.  My problem now is that my boss is in Iraq
> and we're in need of a new server or two.
>
> I've researched the subject and have found myself getting a little squeamish
> with the thought of installing/tweaking an OpenBSD box.  FreeBSD seemed like
> the next viable option and I did get a thumbs up from my boss.  I also saw a
> segment on TechTv's Screen Savers which gave me the confidence that I could
> pull this off.  I started looking at versions and decided to purchase the
> latest and greatest.
>
> I bought the four disk set of FreeBSD 5.0 w/ the handbook and thought I was
> on a roll.  Surely, I installed it several times before I got it right and
> then I began to run into problems and loose some confidence.  My problems
> started with the installation of Apache.  I'm going back after it today
> though and I hope that I'll have some success.  Yes, I am a newbie but a
> driven one.  I very much want to have two FreeBSD boxes in-house and I am a
> hard one to quit.  I did quit on FreeBSD 5.0 though and I also think this is
> where my troubles really began.
>
> I figured that I would do some more reading and found that 5.0 might not be
> the best version for newbie's (in cases of trouble).  So, I figured that I
> would go to FreeBSD 5.1.  A newer version shouldn't hurt huh?  Well, I think
> something went awry in the download and I never got this version to work
> correctly for me either.  Well, now I'm figuring that I'll just move
> backwards to FreeBSD 4.8 Stable and this will just alleviate all my
> problems.  This has not worked yet for me either and my confidence is
> further eroding.  But, my tenacity is still in there and I'd rather go down
> in flames than let my office mate turn this office into a full Microsoft
> shop and me running Apache/PHP/MySQL on an IIS box.  My boss expressed his
> dismay of this happening and I told him I would not let him down.  Newbie I
> may be but I'm not a quitter.
>
> This email is about:  Which version of FreeBSD should I be using for
> production?  I need to set up an in-house web server for our website and
> another box for my few intranet applications.  In the near future I might
> have the opportunity to create a firewall box and I really need to get on
> top of things.  Today, I'll go back to FreeBSD 5.0 (which I've had the most
> success with) and read the errata over again and make sure there's nothing
> that I'm missing.  I'd appreciate it if you could give me a stamp of
> approval on which version I can/should use for my small production needs.
> Sorry, if I've gotten a little windy with my explanation but I wanted to
> give you some background.  I also Thank You for reading this email and for
> any help that you can provide me in this matter.  Please let me know what
> you think?
>
Most likely you should use FreeBSD 4.8-STABLE for any kind of production server.
I run FreeBSD 5.x-CURRENT on all of my machines without a problem (with apache,
mysql, php, etc...) but I still don't recommend that people do that.

What kind of problems are you having? I doubt that your problems are FreeBSD
specific... they are probably more specific to the server apps you are running
(apache, etc...).

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


Questions about FreeBSD Versions

2003-09-09 Thread Leonard, Harry
Hello FreeBSD,

My name is Harry Leonard and I'm very interested in using FreeBSD.  I work
in a small shop, outside of Flagstaff, Arizona for the State of Arizona, in
a half Microsoft, half open source environment.  I'm the resident programmer
and I've used Perl/PHP/MySQL here for almost four years.  My boss has set up
servers running OpenBSD and I get to use them creating our website and
running intranet applications.  My problem now is that my boss is in Iraq
and we're in need of a new server or two.

I've researched the subject and have found myself getting a little squeamish
with the thought of installing/tweaking an OpenBSD box.  FreeBSD seemed like
the next viable option and I did get a thumbs up from my boss.  I also saw a
segment on TechTv's Screen Savers which gave me the confidence that I could
pull this off.  I started looking at versions and decided to purchase the
latest and greatest.

I bought the four disk set of FreeBSD 5.0 w/ the handbook and thought I was
on a roll.  Surely, I installed it several times before I got it right and
then I began to run into problems and loose some confidence.  My problems
started with the installation of Apache.  I'm going back after it today
though and I hope that I'll have some success.  Yes, I am a newbie but a
driven one.  I very much want to have two FreeBSD boxes in-house and I am a
hard one to quit.  I did quit on FreeBSD 5.0 though and I also think this is
where my troubles really began.

I figured that I would do some more reading and found that 5.0 might not be
the best version for newbie's (in cases of trouble).  So, I figured that I
would go to FreeBSD 5.1.  A newer version shouldn't hurt huh?  Well, I think
something went awry in the download and I never got this version to work
correctly for me either.  Well, now I'm figuring that I'll just move
backwards to FreeBSD 4.8 Stable and this will just alleviate all my
problems.  This has not worked yet for me either and my confidence is
further eroding.  But, my tenacity is still in there and I'd rather go down
in flames than let my office mate turn this office into a full Microsoft
shop and me running Apache/PHP/MySQL on an IIS box.  My boss expressed his
dismay of this happening and I told him I would not let him down.  Newbie I
may be but I'm not a quitter.  

This email is about:  Which version of FreeBSD should I be using for
production?  I need to set up an in-house web server for our website and
another box for my few intranet applications.  In the near future I might
have the opportunity to create a firewall box and I really need to get on
top of things.  Today, I'll go back to FreeBSD 5.0 (which I've had the most
success with) and read the errata over again and make sure there's nothing
that I'm missing.  I'd appreciate it if you could give me a stamp of
approval on which version I can/should use for my small production needs.
Sorry, if I've gotten a little windy with my explanation but I wanted to
give you some background.  I also Thank You for reading this email and for
any help that you can provide me in this matter.  Please let me know what
you think?

Sincerely, 

Harry Leonard
Information Technology Specialist III
Camp Navajo
phone: @ (928) 773-3363
e-mail: @ [EMAIL PROTECTED]
  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB stick

2003-09-09 Thread Hendrik Hasenbein
Christoph P. Kukulies wrote:
Only drawback, which probably cannot be solved, to automatically unmount :-)
when the user is about to pull the stick.
Is there a detach line?
Yes, there is. But it is too late. If you pull the stick the system gets 
noticed, but can't unmount it because the device is physically no longer 
available. Same problem on every system.

Hendrik

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


Re: Upgrading self-installed X with Ports version?

2003-09-09 Thread Jesse Sheidlower
On Tue, Sep 09, 2003 at 05:49:47PM +0100, Matthew Seaman wrote:
> Hmmm... I don't see the XFree86-Server port there.  You may have an X
> Server installed, but because the system doesn't recognise it as part
> of an installed port, it isn't attempting to upgrade it.
> 
> You can always force the port to reinstall:
> 
> # portinstall -fN x11-servers/XFree86-4-Server
> 
> Although the ports system is very good at ensuring all of the
> dependencies of a package are met, it does that by checking that key
> executables or shared libraries or whatever are installed, rather than
> checking the database of installed ports.  Also, when you run
> pkgdb(1), it's possible to tell the package database to forget about a
> dependency.  This, although it seems like a golden opportunity for
> foot-shooting, is actually a clever move that allows you to mix
> together 3rd party software installed by hand with software installed
> from the ports system.  Although there's very little reason nowadays
> to go outside ports.

Thanks! This worked perfectly.

Now I just have to fix my lousy config files

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


help about freebsd4.7 /usr/port

2003-09-09 Thread Your Name
Hi all

After we installed freebsd 4.7, we have problem to update the port

We want to install the cvsup to update the port but got the following 
problem

pls help


cd cvsup-without-gui/
 make install
>> cvsup-snap-16.1f.tar.gz doesn't seem to exist 
in /usr/ports/distfiles/.
>> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
ftp://ftp.nectec.or.th/pub/FreeBSD/development/CVSup/snapshots/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
ftp://ftp.dti.ad.jp/pub/FreeBSD/development/CVSup/snapshots/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
ftp://ftp.dnsbalance.ring.gr.jp/pub/FreeBSD/development/CVSup/snapshots
/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Attempting to fetch from 
http://www.dnsbalance.ring.gr.jp/archives/FreeBSD/development/CVSup/sna
pshots/.
fetch: cvsup-snap-16.1f.tar.gz: Host not found
>> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: cvsup-snap-16.1f.tar.gz: Connection refused
>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui.


-- 

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


Re: vinum: no drives found && partitiontype=vinum ?

2003-09-09 Thread Simon Strandgaard
On Tue, 2003-09-09 at 17:29, Greg Lehey grog-at-lemis.com |stuff| wrote:
> On Sunday,  7 September 2003 at 11:31:41 +0200, Simon Strandgaard wrote:
[snip]
> > I can start it manualy:
> >
> > server# vinum create config1
> > 2 drives:
> > D a State: up   /dev/ad1s1c A: 39166/39266 MB (99%)
> > D b State: up   /dev/ad2s1c A: 229/329 MB (69%)
> 
> This is a bug in Vinum.  It shouldn't let you start it manually.

It feelt really ackward.  I had overseen the 'setupstate' flag and it
solved the problem partialy for me :-)


> >From the man page:
> 
> DRIVE LAYOUT CONSIDERATIONS
[snip]
>  In this example, partition ``g'' may be used as a vinum partition.  Par-
>  titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd
>  partitions.  Partition ``b'' is a swap partition, and partition ``c''
>  represents the whole disk and should not be used for any other purpose.
[snip]
> Choose a different partition, and reset partition c to "unused".

Yes, I also oversaw this in the man pages. I figured it out last night
with trial'n'error, Now im using partition 'e:'.


Now vinum works perfectly for me. I appreciate your help, thanks :-) 

I find vinums man pages is very good, but maybe the dd/fdisk/disklabel
sections are a bit vague and confusing for newcomers. What do you think?

--
Simon Strandgaard

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


Re: howto calculate free memory from top

2003-09-09 Thread Dan Nelson
In the last episode (Sep 09), Jesse Guardiani said:
> Charles Swiger wrote:
> > On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote:
> >> How do I calculate the amount of free memory my system has at any
> >> given point in time?
> > 
> > What do you mean by "free memory"?
> 
> Memory that can be used by other programs before the vm starts using
> swap.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#TOP-MEMORY-STATES
does a pretty good job of explaining the states.

> So they _are_ available for use then? And thus are relatively free,
> correct?

All memory except for Wired is "free", to varying degrees.

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


printer problem..

2003-09-09 Thread Stefan Moro
Hello...

I have an Epson Stylus PHOTO 810 yhat i recently tried to get to work
under freebsd 4.8.

It is connected via ulpt0. 

when i write something to ulpt0 the printer respondes with moving the
printerhead about 5 cm and then back again.. 

if I do this again the printer doesn't responde at all unless I unplug it
and "replug" it again.

Any help appreciated.

Thanks in advance
//Stefan



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


Re: FreeBSD and Hot Swap rebuild on SCSI disks.

2003-09-09 Thread Micheal Patterson


- Original Message - 
From: "Edy Lie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 10:02 AM
Subject: FreeBSD and Hot Swap rebuild on SCSI disks.


> Greetings,
>
> I have setup the following:
>
> FreeBSD 4.8 and using Adaptec 2100s for the SCSI RAID 5.
>
> Currently there are 5 harddisks which have been setup as RAID 5 and 1
> harddisk acts as hot spare.
>
> Interestingly, is there any tool on FreeBSD which allows to rebuild the
> array on the fly or is it a must to reboot and goto Adaptec 2100s SMOR
> to rebuild? If latter is the only option it defects the purpose of HOT
> SWAP capabilities.
>
> Anyone using Adaptec 2100s on FreeBSD please share some informations on
> how do you manage the array.
>
> TIA!
>
> Regards,
> Edy
> -- 
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

I do believe that this is what you're looking for. It's available directly
from Adaptec.

*
Release Notes for Adaptec 2100S, 3200S and 3400S SCSI RAID Controllers
as of August 14, 2000



RAIDUTIL (Command Line Interface):

* RAIDUTIL, a command line storage management utility,
  allows you to create and manage your disk arrays from a
  command prompt on the following platforms:

BSDi 4.x
FreeBSD 4.x
Linux (see Linux section for details)
MS-DOS 6.22 or higher
Novell NetWare 4.11, 4.2 and 5.x
SCO UNIX 3.2v4.2
SCO ODT 3.0 and OpenServer 5
SCO UnixWare 7.x
Windows NT 4.0
Windows 2000

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


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


kernel trap 9 with interrupts disabled

2003-09-09 Thread Hotmail
Hello!

My OS : 

4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Sep  4 16:50:44 BST 2003 [EMAIL 
PROTECTED]:/usr/src/sys/compile/KRL7  i386

My machine is rebooting from time to time. Uptimes are not going more than 1 day. 
Without reason. After set :

dumpdev="/dev/ad0s1b"
dumpdir="/var/crash"

I've logs in /var/crash :

kernel.0 , vmcore.0

[EMAIL PROTECTED] (17:14) x /var/crash # tail vmcore.0
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled

What can I do? any patch? please help me.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


UFS/FFS support under NT

2003-09-09 Thread Ferko
My question is:
Is there any ffs/usf file system driver for windows nt/2k/xp?
Thanks.
Michal Racek
== REKLAMA =
15. september - MEDIA BEACH CUP 2003
Otvorený turnaj v plážovom volejbale
Viac na http://www.unic.sk

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


Re: FreeBSD and Hot Swap rebuild on SCSI disks.

2003-09-09 Thread Jesse Guardiani
Edy Lie wrote:

> Greetings,
> 
> I have setup the following:
> 
> FreeBSD 4.8 and using Adaptec 2100s for the SCSI RAID 5.
> 
> Currently there are 5 harddisks which have been setup as RAID 5 and 1
> harddisk acts as hot spare.
> 
> Interestingly, is there any tool on FreeBSD which allows to rebuild the
> array on the fly or is it a must to reboot and goto Adaptec 2100s SMOR
> to rebuild? If latter is the only option it defects the purpose of HOT
> SWAP capabilities.

No, I don't think any such tool exists, and yes, it defeats the purpose.
If you find such a tool, please let me know so I can use it on my AMR
MegaRAID (Dell Perc 2/SC) RAID 5 array.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: howto calculate free memory from top

2003-09-09 Thread Jesse Guardiani
Charles Swiger wrote:

> 
> On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote:
>> How do I calculate the amount of free memory my system
>> has at any given point in time?
> 
> What do you mean by "free memory"?

Memory that can be used by other programs before the vm starts using
swap.


> 
>> My top usually looks like this:
>>
>> Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free
>> Swap: 2048M Total, 5448K Used, 2043M Free
>>
>> I understand the "70M Free" part, but should I add "668M Inact" to
>> that? Or is it more complicated?
> 
> It's more complicated.  The "inactive" memory refers to pages that have
> been used (but not recently), and thus are candidates for being
> replaced by more active pages, if the system has enough activity to
> want such pages for other tasks.

So they _are_ available for use then? And thus are relatively free, correct?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: howto calculate free memory from top

2003-09-09 Thread Charles Swiger
On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote:
How do I calculate the amount of free memory my system
has at any given point in time?
What do you mean by "free memory"?

My top usually looks like this:

Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free
Swap: 2048M Total, 5448K Used, 2043M Free
I understand the "70M Free" part, but should I add "668M Inact" to
that? Or is it more complicated?
It's more complicated.  The "inactive" memory refers to pages that have 
been used (but not recently), and thus are candidates for being 
replaced by more active pages, if the system has enough activity to 
want such pages for other tasks.

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


Re: Upgrading self-installed X with Ports version?

2003-09-09 Thread Matthew Seaman
On Tue, Sep 09, 2003 at 10:34:51AM -0400, Jesse Sheidlower wrote:

> monopoly/etc/X11 $ pkg_info -r XFree86-4.3.0,1
> Information for XFree86-4.3.0,1:
> 
> Depends on:
> Dependency: expat-1.95.5
> Dependency: png-1.2.5_2
> Dependency: pkgconfig-0.15.0
> Dependency: imake-4.3.0_1
> Dependency: freetype2-2.1.4_1
> Dependency: fontconfig-2.2.0
> Dependency: XFree86-libraries-4.3.0_5
> Dependency: Xft-2.1_8
> Dependency: wrapper-1.0_3
> Dependency: XFree86-fontScalable-4.3.0
> Dependency: XFree86-fontCyrillic-4.3.0
> Dependency: XFree86-clients-4.3.0_3
> 
> and running portupgrade(1) doesn't do much, as it apparently
> thinks I'm all set:
> 
> monopoly/etc/X11 # portupgrade XFree86
> monopoly/etc/X11 # 

Hmmm... I don't see the XFree86-Server port there.  You may have an X
Server installed, but because the system doesn't recognise it as part
of an installed port, it isn't attempting to upgrade it.

You can always force the port to reinstall:

# portinstall -fN x11-servers/XFree86-4-Server

Although the ports system is very good at ensuring all of the
dependencies of a package are met, it does that by checking that key
executables or shared libraries or whatever are installed, rather than
checking the database of installed ports.  Also, when you run
pkgdb(1), it's possible to tell the package database to forget about a
dependency.  This, although it seems like a golden opportunity for
foot-shooting, is actually a clever move that allows you to mix
together 3rd party software installed by hand with software installed
from the ports system.  Although there's very little reason nowadays
to go outside ports.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Help

2003-09-09 Thread Kevin Kinsey, DaleCo, S.P.
- Original Message -
From: "Ricardo Javier Aranibar León" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 9:48 AM
Subject: Help



>   Hi,
>   I'm newbie using FreeBSD, I bougth from FreeBSDMall(4 cd's)
>   I installed:
>   Apache-1.3.27_4
>   mod_auth_pgsql_0.9.12_1
>   mod_php4-4.3.1
> PostgreSQL 7.3.2
>   I can't find the file php.ini I like config my repository.

Check under /usr/local/lib, or /usr/local/lib/php,
or /usr/local/share/PEAR.

>   and from php I can't connect to Postgresql I have this error
>   Fatal error: call to undefined function pg_connect()
>   But my script phpinfo(); show me
>  echo "Hello";
>   $conn = pg_connect("dbname=phpdb");
>   ?>
>   The result of this script is
>   Hello
>   Fatal error: call to undefined function pg_connect()

>   Regards,
>   Ricardo

Try



and make sure that PostGres
support was compiled.

HTH,

Kevin Kinsey,
DaleCo, S.P.

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


Re: Spoofing, defense?

2003-09-09 Thread Guilmot Mike
On Tuesday 09 September 2003 18:09, Alexander Farber wrote:

> I've always wondered, why write the firewall rules
> blocking some IP addresses (like on the bottom of this mail).
> Doesn't it make more sense only to allow connections
> addressed to the external IP of your firewall, like
>
>  block in on rl0 from any to any
>  pass in quick on rl0 from any to $myExtIP www
>  pass in quick on rl0 from any to $myExtIP ssh

The question was only to make sure spoofing was impossible. So I showed how to 
block the intern IPS, as stated in the RFC's :-)
And I added a few ones too. 

What you gave was for a good firewall, what was asked was how to anti-spoof, 
right? :-)

-- 
Kind regards,

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


Re: Spoofing, defense?

2003-09-09 Thread Alexander Farber
I've always wondered, why write the firewall rules 
blocking some IP addresses (like on the bottom of this mail). 
Doesn't it make more sense only to allow connections
addressed to the external IP of your firewall, like

 block in on rl0 from any to any
 pass in quick on rl0 from any to $myExtIP www
 pass in quick on rl0 from any to $myExtIP ssh


Regards
Alex

On Sun, Sep 07, 2003 at 11:35:51AM -0700, Mike Maltese wrote:
> A complete list of valid address ranges can be found at
> http://www.iana.org/assignments/ipv4-address-space.
> 
> > Alex Zivenko wrote:
> > > Everybody know what is spoofing.

P.S. Really? ;-)

> > In my firewall I prevent it like:
> >
> > # Anti-spoof, no loggin [ I hate reading them ;-) ]
> >
> > block in quick on rl0 from 192.168.0.0/16 to any #RFC 1918 private IP
> >
> > block in quick on rl0 from 172.16.0.0/12 to any #RFC 1918 private IP
> >
> > block in quick on rl0 from 10.0.0.0/8 to any #RFC 1918 private IP
> >
> > block in quick on rl0 from 127.0.0.0/8 to any #loopback
> >
> > block in quick on rl0 from 0.0.0.0/8 to any #loopback
> >
> > block in quick on rl0 from 169.254.0.0/16 to any #DHCP auto-config
> >
> > block in quick on rl0 from 192.0.2.0/24 to any #reserved for doc's
> >
> > block in quick on rl0 from 204.152.64.0/23 to any #Sun cluster
> >
> > block in quick on rl0 from 224.0.0.0/3 to any #Class D & E multicast
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help

2003-09-09 Thread Ricardo Javier Aranibar León

   Hi,
   I'm newbie using FreeBSD, I bougth from FreeBSDMall(4 cd's)
   I installed:
   Apache-1.3.27_4
   mod_auth_pgsql_0.9.12_1
   mod_php4-4.3.1
   PostgreSQL 7.3.2
   I can't find the file php.ini I like config my repository.
   and from php I can't connect to Postgresql I have this error
   Fatal error: call to undefined function pg_connect()
   But my script phpinfo(); show me
   
   The result of this script is
   Hello
   Fatal error: call to undefined function pg_connect()

   Regards,
   Ricardo
 _

   Charla con tus amigos en línea mediante MSN Messenger: [1]Haz clic
   aquí

References

   1. http://g.msn.com/8HMXES/2728??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


AE_AML_BUFFER_LIMIT

2003-09-09 Thread Pat Lashley
I've recently set up a new machine with 5.1-RELEASE-p2 and during the
boot I get a series of messages like the following.  Is this something
that I should be worried about?  (I get two more, longer, batches of
them after it probes pcib1 and pcib2.)
Thanks,
-Pat

acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00f2120
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.SRS_] (Node 
0xc3ff6c80), AE_AML_BUFFER_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.LNKM._SRS] 
(Node 0xc3ff6180), AE_AML_BUFFER_LIMIT
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pci0:  at device 0.2 (no driver attached)
pci0:  at device 0.3 (no driver attached)


--

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


FreeBSD and Hot Swap rebuild on SCSI disks.

2003-09-09 Thread Edy Lie
Greetings,

I have setup the following:

FreeBSD 4.8 and using Adaptec 2100s for the SCSI RAID 5.

Currently there are 5 harddisks which have been setup as RAID 5 and 1
harddisk acts as hot spare.

Interestingly, is there any tool on FreeBSD which allows to rebuild the
array on the fly or is it a must to reboot and goto Adaptec 2100s SMOR
to rebuild? If latter is the only option it defects the purpose of HOT
SWAP capabilities.

Anyone using Adaptec 2100s on FreeBSD please share some informations on
how do you manage the array.

TIA!

Regards,
Edy
-- 

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


Re: Logging and IPFW

2003-09-09 Thread Jack L. Stone
At 09:46 PM 9.9.2003 +0800, [EMAIL PROTECTED] wrote:
>
>just edit the rules concerned in rc.firewall to add the word "log" to rules
>you want logged.
>
>e.g. -- ${fwcmd} add pass log tcp from any to ${oip} 80 setup
>
>and tail the /var/log/security instead of messages.
>

...and, for its own ipfw log, put this in your syslog.conf,
!ipfw
*.* /var/log/ipfw.log

and then touch the ipfw.log file in /var/log
and then restart syslogd
...then tail that file, or send yourself emails of the log

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mail server reboot while upgrading ports

2003-09-09 Thread Dragoncrest
	Was just going about doing an upgrade to my primary mail server yesterday 
and right in the middle of it doing its thing I hear a beep, it stops, then 
reboots.  No warnings, no errors, nothing.  Just reboots.  Tracking it back 
I was somewhere in the middle of upgrading /usr/ports/dns/p5-net-dns when 
it burped.  It's done that to me before with python upgrades on a different 
box.  I couldn't see what was actually happening at the console as I was 
across the room ssh'ed in when it did this.  Logs don't show anything sadly 
enough and for some reason I can't get the box to log portupgrade or make 
so I can see when errors like this might happen.  Anyone got any ideas what 
might be happening?  I did get the port upgraded, but not before having to 
go in and clean up the mess that this reboot left.  I can't say this was 
necessarily caused by the dns port I was upgrading cause it's done it in 
the past a couple of times with other ports nearly the same way.  Yet after 
it reboots if I go in and install the port manually (usually have to as the 
port gets trashed because of whatever it is that reboots the machine) to 
fix it, then everything plays nice.  I have no idea what's up.  Anyone have 
any thoughts on this?

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


Assigning address to physical interface on IPv6 gateway

2003-09-09 Thread Kirk Strauser
I'm connecting to Freenet (and other IPv6 providers) from a few FreeBSD
servers.  The tunnels work well, and rtadvd is correctly configuring other
hosts on the LAN, but I'm not too sure about how to configure other
interfaces on the IPv6 router itself.  For example, this is the tunnel
interface on one of the machines:

[EMAIL PROTECTED]:~$ ifconfig gif0 inet6
gif0: flags=8051 mtu 1280
tunnel inet 208.162.254.126 --> 64.71.128.82
inet6 fe80::2d0:b7ff:fe4e:11c2%gif0 prefixlen 64 scopeid 0x7
inet6 2001:470:1f00:::37d --> 2001:470:1f00:::37c prefixlen 128

...and this is the LAN interface on the same machine.

[EMAIL PROTECTED]:~$ ifconfig fxp1 inet6
fxp1: flags=8843 mtu 1500
inet6 fe80::203:47ff:feb1:d892%fxp1 prefixlen 64 scopeid 0x2
inet6 2001:470:1f00:546:: prefixlen 64 anycast

Note that the host portion of the address is all zero.  Also, whenever I
connect to any machine on the LAN, the source IP is 2001:470:1f00:::37d,
the local IPv6 address of the tunnel.  I have two basic questions:

1) What should my address be on fxp1?  How do I configure that automatically
   (i.e., edit rtadvd.conf)?

2) Why isn't my router using the address of the LAN interface for the source
   IP on outgoing connections to machines on the LAN?
-- 
Kirk Strauser

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

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


Re: vinum: no drives found && partitiontype=vinum ?

2003-09-09 Thread Greg Lehey
On Sunday,  7 September 2003 at 11:31:41 +0200, Simon Strandgaard wrote:
> one question; Why does vinum not start at system startup ?
>
> At the bottom of my rc.conf file, I have added:
> start_vinum="YES"
>
> When I reboot the system, all I see in dmesg is:
> vinum: no drives found
>
>
> I can start it manualy:
>
> server# vinum create config1
> 2 drives:
> D a State: up   /dev/ad1s1c A: 39166/39266 MB (99%)
> D b State: up   /dev/ad2s1c A: 229/329 MB (69%)

This is a bug in Vinum.  It shouldn't let you start it manually.

>From the man page:

DRIVE LAYOUT CONSIDERATIONS
 vinum drives are currently BSD disk partitions.  They must be of type
 vinum in order to avoid overwriting data used for other purposes.  Use
 disklabel -e to edit a partition type definition.  The following display
 shows a typical partition layout as shown by disklabel(8):

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:81920   3440644.2BSD0 0 0   # (Cyl.  240*- 297*)
   b:   26214481920  swap# (Cyl.   57*- 240*)
   c:  42267250unused0 0 # (Cyl.0 - 2955*)
   e:8192004.2BSD0 0 0   # (Cyl.0 - 57*)
   f:  190   4259844.2BSD0 0 0   # (Cyl.  297*- 1626*)
   g:  1900741  2325984 vinum0 0 0   # (Cyl. 1626*- 2955*)

 In this example, partition ``g'' may be used as a vinum partition.  Par-
 titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd
 partitions.  Partition ``b'' is a swap partition, and partition ``c''
 represents the whole disk and should not be used for any other purpose.

 The vinum utility uses the first 265 sectors on each partition for con-
 figuration information, so the maximum size of a subdisk is 265 sectors
 smaller than the drive.

Choose a different partition, and reset partition c to "unused".

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Authenticated SMTP

2003-09-09 Thread Wayne Pascoe
On Tue, Sep 09, 2003 at 11:05:57AM -0400, Damian Gerow wrote:

> When you install the Postfix port, enable SASL or SASL2 authentication
> (though I'd personally stick with SASL2).  Then take a read through
> README_FILES/SASL_README, found within the postfix source tree (i.e.
> /usr/ports/mail/postfix/work/postfix-2.0.14/README_FILES/SASL_README).
 
Thanks Damian and everyone else. I'm fairly sure with that much info
I'll be able to work it out :) 

-- 
Wayne Pascoe
Mary had a crypto key, she kept it in
escrow, and everything that Mary said,
the Feds were sure to know.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Authenticated SMTP

2003-09-09 Thread Damian Gerow
Thus spake Wayne Pascoe ([EMAIL PROTECTED]) [09/09/03 10:48]:
> Can anyone point me to a document that explains what pop servers might
> be suitable for this task and how to go about setting up this
> authentication ? 

When you install the Postfix port, enable SASL or SASL2 authentication
(though I'd personally stick with SASL2).  Then take a read through
README_FILES/SASL_README, found within the postfix source tree (i.e.
/usr/ports/mail/postfix/work/postfix-2.0.14/README_FILES/SASL_README).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Authenticated SMTP

2003-09-09 Thread Luke Kearney
Hey There,
(BAs has been already pointed out most modern mail software
(Bincludes the ability to filter relaying using POP before
(BSMTP. Most ISP's at least where I am use it. I use it
(Bpersonally. I would think that an MTA as popular as postfix
(Bwould certainly have some components that can be tweaked to
(Bfit your situation but in the *highly unlikely* event that
(Bpostfix cannot accomodate you perhaps you could consider
(Bimplementing some kind of webmail solution ie Squirrelmail
(Bor some such to accomplish your task. Webmail can be the
(Bhandiest thing to have when you are in an airport with an
(BInternet Cafe and your laptop is in the cargo hold of an
(Bairplane.
(B
(B**Just my two cents worth**
(B
(BHTH
(B
(BLukeK
(B
(B- Original Message -
(BFrom: "Wayne Pascoe" <[EMAIL PROTECTED]>
(BTo: <[EMAIL PROTECTED]>
(BSent: Tuesday, September 09, 2003 11:48 PM
(BSubject: Authenticated SMTP
(B
(B
(B> Hi all,
(B>
(B> I need to provide an SMTP service to someone who travels
(Baround thie
(B> world. I can't do this with a specific IP address, as they
(Buse a variety
(B> of ISP's in different locations.
(B>
(B> To this end, I'd like to setup authenticated SMTP,
(Bpreferably using
(B> postfix.
(B>
(B> I've had a look in the postfix faq and it was a bit vague
(Bon this point.
(B> In merely said that you need to force the user to
(Bauthenticate against a
(B> pop server first, that maintains a postfix compatible
(Baccess table.
(B>
(B> Can anyone point me to a document that explains what pop
(Bservers might
(B> be suitable for this task and how to go about setting up
(Bthis
(B> authentication ?
(B>
(B> Regards,
(B>
(B> --
(B> Wayne Pascoe
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B>
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to
(B"[EMAIL PROTECTED]"
(B>
(B
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

RE: Authenticated SMTP

2003-09-09 Thread Barry Byrne
Wayne:

You might want to consider SMTP AUTH, assuming your mail clients support it.
POP before SMTP is a hack that sort of works, but causes problems,
especially as many clients insist on sending before popping! I use SMTP AUTH
with sendmail so can't help you with postfix, but you could try starting
here: http://postfix.state-of-mind.de/patrick.koetter/smtpauth/

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Wayne Pascoe
> Sent: 09 September 2003 15:48
> To: [EMAIL PROTECTED]
> Subject: Authenticated SMTP
>
>
> Hi all,
>
> I need to provide an SMTP service to someone who travels around thie
> world. I can't do this with a specific IP address, as they use a variety
> of ISP's in different locations.
>
> To this end, I'd like to setup authenticated SMTP, preferably using
> postfix.
>
> I've had a look in the postfix faq and it was a bit vague on this point.
> In merely said that you need to force the user to authenticate against a
> pop server first, that maintains a postfix compatible access table.
>
> Can anyone point me to a document that explains what pop servers might
> be suitable for this task and how to go about setting up this
> authentication ?
>
> Regards,
>
> --
> Wayne Pascoe
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Re: Upgrading self-installed X with Ports version?

2003-09-09 Thread Jesse Sheidlower
On Tue, Sep 09, 2003 at 03:44:45PM +0100, Wayne Pascoe wrote:
> On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote:
> 
> > I suppose this is a really stupid question, but what do I 
> > need to do to get the newer, Ports version of XFree86 to be
> > the version run on the system? And is there anything I should
> > be doing to get it configured properly after the change is
> > made?
> 
> It's possible that the start script for XFree86 that the port installs,
> is installed in a directory further down in the PATH variable. This
> means that when you call startx, you're starting the older version, which
> in turn calls the older version of X. 

I considered this, but the current (i.e., wrong) version is as
far down as it could possibly be:


XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 4.4-RELEASE-p1 i386 [ELF] 
Module Loader present
monopoly/etc/X11 # which XFree86
/usr/X11R6/bin/XFree86
monopoly/etc/X11 # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/home/jester/bin

Where should the port be installing its version?

> Your best bet is to remove the port entirely, remove the existing X
> server and re-install the port. This way you'll only have one version of
> X on the box. 

Probably another stupid question, but how much do I have to remove
to remove the existing X server? I'm happy to delete the server
files, but don't want to accidentally wipe out other things that
I'll still want.

Thank you.

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


Authenticated SMTP

2003-09-09 Thread Wayne Pascoe
Hi all,

I need to provide an SMTP service to someone who travels around thie
world. I can't do this with a specific IP address, as they use a variety
of ISP's in different locations.

To this end, I'd like to setup authenticated SMTP, preferably using
postfix. 

I've had a look in the postfix faq and it was a bit vague on this point.
In merely said that you need to force the user to authenticate against a
pop server first, that maintains a postfix compatible access table.

Can anyone point me to a document that explains what pop servers might
be suitable for this task and how to go about setting up this
authentication ? 

Regards,

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


Re: Upgrading self-installed X with Ports version?

2003-09-09 Thread Wayne Pascoe
On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote:

> I suppose this is a really stupid question, but what do I 
> need to do to get the newer, Ports version of XFree86 to be
> the version run on the system? And is there anything I should
> be doing to get it configured properly after the change is
> made?

It's possible that the start script for XFree86 that the port installs,
is installed in a directory further down in the PATH variable. This
means that when you call startx, you're starting the older version, which
in turn calls the older version of X. 

Your best bet is to remove the port entirely, remove the existing X
server and re-install the port. This way you'll only have one version of
X on the box. 

The other way would be to get a list of all files that the port
installed and remove any other copies of those files in locations other
than where the port installed. This is risky though, because you might
delete something that is actually needed.

HTH,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Off-Topic: Did I receive a virus or worm?

2003-09-09 Thread Andrew L. Gould
On Tuesday 09 September 2003 08:40 am, Jerry McAllister wrote:
> > HI all!
> >
> > I received an email last night from a CPE (Continuing Professional
> > Education) vendor.  The email contents contained an web address to their
> > site where I could review my test results for an on-line course I had
> > completed.  Clicking on the address from within Kmail sent me to the
> > appropriate, secure (https) web page in Konqueror.
> >
> > Below the message, however, were two blocks of gibberish.  Both blocks
> > begin with a "begin" line and end with an "end" line.  There is no
> > indication that Kmail included an attachment in-line within the email.
> >
> > Is it possible that the code was needed to access the web page?  If so, I
> > don't understand how clicking on the web address would send or use the
> > blocks of code.
> >
> > Should I worry about these blocks of code?
>
> Yes, you should.
> Do not trust any unsolicited code and be cautious of that
> which you did request.
>
> jerry
>
> > Thanks,
> >
> > Andrew L. Gould
>

Thanks,

Andrew

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


Re: Off-Topic: Did I receive a virus or worm?

2003-09-09 Thread Andrew L. Gould
On Tuesday 09 September 2003 09:17 am, Timms, Simon wrote:
> Jerry McAllister wrote:
> >> Below the message, however, were two blocks of gibberish.  Both blocks
>
> begin
>
> >> with a "begin" line and end with an "end" line.  There is no indication
>
> that
>
> >> Kmail included an attachment in-line within the email.
> >>
> >> Is it possible that the code was needed to access the web page?  If so,
> >> I
> >>
> >> don't understand how clicking on the web address would send or use the
>
> blocks
>
> >> of code.
>
> I don't think so, I don't see any method by which these blocks of code
> could or would be used to access a webpage.
>
> >> Should I worry about these blocks of code?
> >
> >Yes, you should.
> >Do not trust any unsolicited code and be cautious of that
> >which you did request.
>
> It sounds to me like this "code" might be a pgp key or signature.  Even if
> it is malicious code then chances are pretty good that it isn't going to
> run on FreeBSD.  I don't think there are too many e-mail distributed
> viruses for Unix like systems, I can't think of a single one.  If you're
> really curious then install vm ware and run the code inside there, it
> should provide a very secure sandbox.
>
> Worry Factor 2 - nothing much to worry about
>

Thanks.

Andrew

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


RE: Off-Topic: Did I receive a virus or worm?

2003-09-09 Thread Timms, Simon
Jerry McAllister wrote:

>> Below the message, however, were two blocks of gibberish.  Both blocks
begin 
>> with a "begin" line and end with an "end" line.  There is no indication
that 
>> Kmail included an attachment in-line within the email.
>> 
>> Is it possible that the code was needed to access the web page?  If so, I

>> don't understand how clicking on the web address would send or use the
blocks 
>> of code.

I don't think so, I don't see any method by which these blocks of code could
or would be used to access a webpage.

>> 
>> Should I worry about these blocks of code?

>Yes, you should.
>Do not trust any unsolicited code and be cautious of that 
>which you did request.

It sounds to me like this "code" might be a pgp key or signature.  Even if
it is malicious code then chances are pretty good that it isn't going to run
on FreeBSD.  I don't think there are too many e-mail distributed viruses for
Unix like systems, I can't think of a single one.  If you're really curious
then install vm ware and run the code inside there, it should provide a very
secure sandbox.

Worry Factor 2 - nothing much to worry about



 

This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading self-installed X with Ports version?

2003-09-09 Thread Matthew Seaman
On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote:

> I recently tried to upgrade X by installing it from Ports,
> and thought I had succeeded, as pkg_info and so forth are
> reporting that XFree86-4.3.0,1 is installed. However, I'm
> still running 4.2, as executing "XFree86 -version" informs
> me. 

First the D'Oh! question: you did restart the X server after
installing the upgrade didn't you? Pressing Ctrl-Alt-Esc will kill
your current X server, and depending on your setup, may cause another
server instance to start up automatically.  Or it may need you to run
startx(1) again.

XFree86 -version will tell you the version of the XFree86-Server port.
The straight XFree86-4.3.0,1 port doesn't actually install very much
itself:

% pkg_info -L XFree86-4.3.0,1 
Information for XFree86-4.3.0,1:

Files:

as it only exists to cause the other required XFree86 ports to be
installed as dependencies of it:

% pkg_info -r XFree86-4.3.0,1
Information for XFree86-4.3.0,1:

Depends on:
Dependency: expat-1.95.6_1
Dependency: png-1.2.5_2
Dependency: pkgconfig-0.15.0
Dependency: imake-4.3.0_1
Dependency: freetype2-2.1.4_1
Dependency: fontconfig-2.2.90_3
Dependency: XFree86-libraries-4.3.0_6
Dependency: XFree86-Server-4.3.0_10
Dependency: Xft-2.1.2
Dependency: XFree86-fontEncodings-4.3.0
Dependency: XFree86-fontScalable-4.3.0
Dependency: XFree86-fontDefaultBitmaps-4.3.0
Dependency: XFree86-fontCyrillic-4.3.0
Dependency: XFree86-font75dpi-4.3.0
Dependency: XFree86-font100dpi-4.3.0
Dependency: XFree86-documents-4.3.0
Dependency: XFree86-clients-4.3.0_3
Dependency: wrapper-1.0_3
Dependency: XFree86-FontServer-4.3.0_2

Essentially you need imake and all of the ports with XFree86 in their
names to be at version 4.3.0 or better.  portupgrade(1) will ease the
pain of doing that remarkably.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Logging and IPFW

2003-09-09 Thread chael

just edit the rules concerned in rc.firewall to add the word "log" to rules
you want logged.

e.g. -- ${fwcmd} add pass log tcp from any to ${oip} 80 setup

and tail the /var/log/security instead of messages.

> Hi all,
>
> We're moving from ipfilter to ipfw. Since we no longer run multiple
> platforms, the benefits that we used to derive from ipfilter are
> declining. Add to this the problems we've had when running it as a
> module on 5.x (as opposed to compiled into the kernel), and we've
> decided to move to ipfw.
>
> I'm trying to setup logging with IPFW. I've not compiled IPFW into my
> kernel, but am instead using the ipfw.ko module.
>
> I have the following sysctl variables set:
> net.inet.ip.fw.verbose=1
> net.inet.tcp.log_in_vain=1
> net.inet.udp.log_in_vain=1
>
> However, I am still not seeing anything in /var/log/messages when I
> portscan the machine. The firewall appears to be working, as we receive
> nothing back on the portscanning machine, but I would like logging
> enabled.
>
> I have the following in /etc/rc.conf
> firewall_enable="YES"
> firewall_script="/etc/rc.firewall"
> firewall_type="CLIENT"
> firewall_quiet="NO"
> firewall_logging="YES"
>
> The only place I can see firewall_logging being used is in /etc/rc.conf
> and that is being used to set a sysctl variable :
>
> echo 'Firewall logging=YES'
> sysctl net.inet.ip.fw.verbose=1 >/dev/null
>
> any ideas on what I'm doing wrong here ?
>
> thanks in advance ,
>
> --
> Wayne Pascoe
> Look buddy, doesn't work is a strong statement.
> Does it sit on the couch all day? Is it making faces
> at you? Does it want more money? Please be specific!
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
>

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


Re: Logging and IPFW

2003-09-09 Thread John Birrell
On Tue, Sep 09, 2003 at 01:22:18PM +0100, Wayne Pascoe wrote:
> I tried changing the rc.firewall script so that the last line in the
> CLIENT section read
> ${fwcmd} add 65535 deny ip from any to any log
> but ipfw list still just showd
> 65535 deny ip from any to any log
> 
> where should that rule with the log go in the list ? Before the last
> line ? 
> 
> Should I add a rule before 65535 that logs things ? 

The first rule that matches is executed, so if you want it to log you have
to add 'log' to that line (and every other line you want to log). You will
soon find that logging can create huge files and that it is best use sparingly.

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


Upgrading self-installed X with Ports version?

2003-09-09 Thread Jesse Sheidlower

A year and a half ago I installed FreeBSD on a laptop. I've
entirely forgotten the details, but I had to install XFree86
from scratch because I needed a version that was newer than
whatever was in Ports at the time. (The chip is an ATI
Mobility Radeon; I installed XFree86 4.2.)

I recently tried to upgrade X by installing it from Ports,
and thought I had succeeded, as pkg_info and so forth are
reporting that XFree86-4.3.0,1 is installed. However, I'm
still running 4.2, as executing "XFree86 -version" informs
me. 

I suppose this is a really stupid question, but what do I 
need to do to get the newer, Ports version of XFree86 to be
the version run on the system? And is there anything I should
be doing to get it configured properly after the change is
made?

Thanks very much.

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


Re: Bootable CD Problems

2003-09-09 Thread Dan Harrison
 Well it depends on how you've done the bootable CD.
 I havent played with one since about 4.6.2, but I believe someone 
portedthe LIVECD-1.2 to english from > > > > portugues which would 
have made things easier. The MFSROOT is specified in the kernel you 
put on the CD, > > so it depends what you have it set as, and how 
you've stored your information on the CD.

 I always had problems trying to compile the MFSROOT into the kernel itself
 so hacked it around by loading the file system in through the boot loader
 instead.
That's interesting. Do you remember how you did it?

 So depends how you've built it, and what/where its failing.
I can't really tell; that's the problem. As I said before, it says 
"Mount root file system from cd9660:acd0" and then hangs without any 
more messages. I read the things another guy posted which apparently 
is evidence for a buffer overrun or something like that, but I'm not 
sure.

 Id recommend just grabbing the LiveCD stuff Fugspbr made. It worked fairly
 simply for me, though track down the english version, as I know there is one
 around somewhere. http://www.fugspbr.org is the original Brasilians that made
 a liveCD building script.
I went to the site, and they sent me to their archives. I found a 
link to sourceforge, but I can't read any of it. Are you sure there 
is an English version anymore?

Anyway, I would like to know how you loaded the filesystem in through 
the boot loader if you could tell me; this may be a solution for me.
--
Signed,
Dan Harrison
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Off-Topic: Did I receive a virus or worm?

2003-09-09 Thread Jerry McAllister
> 
> HI all!
> 
> I received an email last night from a CPE (Continuing Professional Education) 
> vendor.  The email contents contained an web address to their site where I 
> could review my test results for an on-line course I had completed.  Clicking 
> on the address from within Kmail sent me to the appropriate, secure (https) 
> web page in Konqueror.
> 
> Below the message, however, were two blocks of gibberish.  Both blocks begin 
> with a "begin" line and end with an "end" line.  There is no indication that 
> Kmail included an attachment in-line within the email.
> 
> Is it possible that the code was needed to access the web page?  If so, I 
> don't understand how clicking on the web address would send or use the blocks 
> of code.
> 
> Should I worry about these blocks of code?

Yes, you should.
Do not trust any unsolicited code and be cautious of that 
which you did request.

jerry

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


RE: Bootable CD Problems

2003-09-09 Thread Dan Harrison
Hi,

Am really interested in having a go at doing this myself.

Can you point me to a readme or faq to get me started ...
I'm afriad not. I couldn't find anything about the topic; I had to 
invent most of it by just knowing how the startup process works, and 
how to burn bootable images.

If I can make headway, I may try and do an article or something, but 
for now there isn't anything out there I can find.

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


Off-Topic: Did I receive a virus or worm?

2003-09-09 Thread Andrew L. Gould
HI all!

I received an email last night from a CPE (Continuing Professional Education) 
vendor.  The email contents contained an web address to their site where I 
could review my test results for an on-line course I had completed.  Clicking 
on the address from within Kmail sent me to the appropriate, secure (https) 
web page in Konqueror.

Below the message, however, were two blocks of gibberish.  Both blocks begin 
with a "begin" line and end with an "end" line.  There is no indication that 
Kmail included an attachment in-line within the email.

Is it possible that the code was needed to access the web page?  If so, I 
don't understand how clicking on the web address would send or use the blocks 
of code.

Should I worry about these blocks of code?

Thanks,

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


Re: Random crash and/or reboots

2003-09-09 Thread Jack L. Stone
At 08:24 AM 9.9.2003 +0200, Johannes Lochmann wrote:
>On Monday 08 September 2003 00:52, Jack L. Stone wrote:
>
>Hi,
>
>> Nope... plenty cool and switching the entire server eliminates ALL hardware
>> as being it.
>
>It may be a *really* stupid idea, but how about the power at your location? 
>Would it be possible that you have a problem there? That would explain
really 
>random crashes on two OS releases on different hardware...
>
>Just a random thought...
>
>Johannes Lochmann
>

No problem on power, checked that too. Have UPSes on every server and that
keeps power pretty level and helps minimize any effects against the ups &
downs of the VAC levels.

None-the-less, I even switched out the UPS with another one just in case it
was a problem. Nope.

Just moved to a 3rd server yesterday and will now see what and if either
machine continues this behavior...

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Logging and IPFW

2003-09-09 Thread Matthew Seaman
On Tue, Sep 09, 2003 at 12:34:47PM +0100, Wayne Pascoe wrote:

> I'm trying to setup logging with IPFW. I've not compiled IPFW into my
> kernel, but am instead using the ipfw.ko module. 
> 
> I have the following sysctl variables set:
> net.inet.ip.fw.verbose=1
> net.inet.tcp.log_in_vain=1
> net.inet.udp.log_in_vain=1
> 
> However, I am still not seeing anything in /var/log/messages when I
> portscan the machine. The firewall appears to be working, as we receive
> nothing back on the portscanning machine, but I would like logging
> enabled. 

Try /var/log/security or /var/log/all.log if you've enabled the
all.log by following the instructions in /etc/syslog.conf.

Remember too that ipfw(8) will only log a certain number of hits
against a particular rule, which is a sensible measure designed to
prevent a DoS against your machine by filling up the disk space
logging a great flood of similar packets. That's controlled by the
IPFIREWALL_VERBOSE_LIMIT option in your kernel config, or by the
net.inet.ip.fw.verbose_limit sysctl.  I tend to think that the example
limit of 128 is too low, and bump that up to 1024.  Remember to run
'ipfw resetlog' at regular intervals to re-enable logging on any rule
that has hit the limit.  Just slap together a /etc/daily.local script
that needn't be any more complicated than this:

#!/bin/sh

PATH=/usr/bin:/bin:/sbin ; export PATH

ipfw resetlog

Cheers,

Matthew


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


pgp0.pgp
Description: PGP signature


howto calculate free memory from top

2003-09-09 Thread Jesse Guardiani
Howdy list,

I've been wondering about this for a while:

How do I calculate the amount of free memory my system
has at any given point in time?

My top usually looks like this:

Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free
Swap: 2048M Total, 5448K Used, 2043M Free

I understand the "70M Free" part, but should I add "668M Inact" to
that? Or is it more complicated?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Question on downloading and installing freeBSD4.8

2003-09-09 Thread Peder Blom
On Sun, 7 Sep 2003 21:25:59 -0400
"Satish Kumar" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I am trying to download and install freeBSD4.8 as per instructions in
> the freeBSD handbook section 2.13.4 (Installing from an MS-DOS®
> Partition).  When I go to the following site:
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.8-RELEASE/4.8-RELEASE/
> 
> I see a number of files in the bin directory.  I am unable to open the
> install.html document.  Am I supposed to download all the files on
> this site?
> 
> 
> Could you direct me to a URL from where all files are packaged and
> named clearly so that I know what to download?
> 
> Thanks
> Satish 

Hi,

I have never installed from a dos partition so you have to take this for
what it is... vague remembrances from googling when I was to do my first
install of FreeBSD, and perhaps they are not valid for 4.8.

I think that you can get by with just downloading the bin and crypto
directories and then choose a minimal install. That would give you a
very barebone installation, but supposedly it will enable you to get
something started so that you can get an internet connection up and
sysinstall a more complete distribution.

Otherwise I think that you have to download most of the files in the
4.8-RELEASE directory. This will depend on type of installation and the
amount of documentation you want. Don't download the packages directory.

A simple way to get all the files needed for an install is to
download the iso-image(s) and burn them to a cd. Then you can either
install from cd or (I assume) copy the files from the cd to your dos
partition. The mini iso should suffice to get you started. Some dark
memories from the past tells me that there are windows programs that
lets you extract files directly from iso-images, so you might be able to
skip burning to cd...

You should be able to download the install.html document, but if for
some reason you can't open it you can download install.txt instead.


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


Re: network port

2003-09-09 Thread Jason Stewart
Lowell Gilbert wrote:

"Brian Henning" <[EMAIL PROTECTED]> writes:

 

I am in need of a tool that verifies if a network port is good or bad, is there
a tool for bsd that can do this?
   

It kind of depends what you mean by "good" and "bad."
For varying definitions of those terms, you might want 
sockstat(1), nessus, nmap, or any of several other things.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

 

Hmm... Also depends on what he means by "port". A port could be 
something like an RJ-45 jack, or SMTP port 25.

Jason

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


Re: Logging and IPFW

2003-09-09 Thread Wayne Pascoe
On Tue, Sep 09, 2003 at 09:42:14PM +1000, John Birrell wrote:
> On Tue, Sep 09, 2003 at 12:34:47PM +0100, Wayne Pascoe wrote:
> > However, I am still not seeing anything in /var/log/messages when I
> > portscan the machine. The firewall appears to be working, as we receive
> > nothing back on the portscanning machine, but I would like logging
> > enabled. 
> 
> Have you added the 'log' keyword to your rules?
> 
> e.g:
> 
> # Reject&Log all setup of incoming connections from the outside
> ${fwcmd} add deny log tcp from any to any in via ${oif} setup
> 
> The log entries will be written to /var/log/security.

I tried changing the rc.firewall script so that the last line in the
CLIENT section read
${fwcmd} add 65535 deny ip from any to any log
but ipfw list still just showd
65535 deny ip from any to any log

where should that rule with the log go in the list ? Before the last
line ? 

Should I add a rule before 65535 that logs things ? 

Thanks,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Logging and IPFW

2003-09-09 Thread John Birrell
On Tue, Sep 09, 2003 at 12:34:47PM +0100, Wayne Pascoe wrote:
> However, I am still not seeing anything in /var/log/messages when I
> portscan the machine. The firewall appears to be working, as we receive
> nothing back on the portscanning machine, but I would like logging
> enabled. 

Have you added the 'log' keyword to your rules?

e.g:

# Reject&Log all setup of incoming connections from the outside
${fwcmd} add deny log tcp from any to any in via ${oif} setup

The log entries will be written to /var/log/security.

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


Re: FreeBSD 4.8 local startup issues

2003-09-09 Thread Ruben de Groot
On Mon, Sep 08, 2003 at 09:59:46PM -0800, admin typed:
> On Mon, 08 Sep 2003 22:42:24 -0700, K Anderson wrote
> > admin wrote:
> > > running:
> > > FreeBSD 4.8-STABLE
> > > 
> > > okay I am having a strange issue.
> > > 
> > > after the last reboot after my FreeBSD machine became unreachable - and
> > > required a power cycle.  mostly all processes listed in /usr/local/etc/rc.d
> > > did not start.  this only happens very rarely and has happens after FreeBSD
> > > crashed or is not brought down very cleanly.  can somebody recommend a way to
> > > auto run these scripts - and make sure these files get executed on boot up.
> > > 
> > > how can I make sure processes are running correctly with automation.   
> > > 
> > > the following line exists in my /etc/defaults/rc.conf file:
> > > 
> > > --- snip ---
> > > 
> > > local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
> > > 
> > > --- snip ---
> > > 
> > > - noah
> > > ___
> > > [EMAIL PROTECTED] mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > > 
> > You can create some sort of cron task that checks for running 
> > processes and if it doesn't see it then it starts it up accordingly.
> 
> 
> okay cool.  thanks for responding.  do you have an example of a script that
> can do this.  say the machine does not shut down properly - arent there stale
> .pid files left behind.  how do I account for this in the cron job script? 
> are there other ways to write this script to make sure things start properly
> and remain running?

Something like this will remove stale .pid files:
(in /etc/crontab)

@reboot rootcd /var/run; /bin/rm -rf *.pid

Ruben

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


Re: Logging and IPFW

2003-09-09 Thread Rob
What does 'ipfw list' show?

- Original Message -
From: "Wayne Pascoe" <[EMAIL PROTECTED]>
Subject: Logging and IPFW


> Hi all,
>
> We're moving from ipfilter to ipfw. Since we no longer run multiple
> platforms, the benefits that we used to derive from ipfilter are
> declining. Add to this the problems we've had when running it as a
> module on 5.x (as opposed to compiled into the kernel), and we've
> decided to move to ipfw.
>
> I'm trying to setup logging with IPFW. I've not compiled IPFW into my
> kernel, but am instead using the ipfw.ko module.
>
> I have the following sysctl variables set:
> net.inet.ip.fw.verbose=1
> net.inet.tcp.log_in_vain=1
> net.inet.udp.log_in_vain=1
>
> However, I am still not seeing anything in /var/log/messages when I
> portscan the machine. The firewall appears to be working, as we
receive
> nothing back on the portscanning machine, but I would like logging
> enabled.
>
> I have the following in /etc/rc.conf
> firewall_enable="YES"
> firewall_script="/etc/rc.firewall"
> firewall_type="CLIENT"
> firewall_quiet="NO"
> firewall_logging="YES"
>
> The only place I can see firewall_logging being used is in
/etc/rc.conf
> and that is being used to set a sysctl variable :
>
> echo 'Firewall logging=YES'
> sysctl net.inet.ip.fw.verbose=1 >/dev/null
>
> any ideas on what I'm doing wrong here ?
>
> thanks in advance ,
>
> --
> Wayne Pascoe
> Look buddy, doesn't work is a strong statement.
> Does it sit on the couch all day? Is it making faces
> at you? Does it want more money? Please be specific!
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: JAVA and MOZILLA

2003-09-09 Thread Simon Barner
> > ERROR: Your BOOTDIR environment variable does not point
> >to a valid Java 2 SDK for bootstrapping this build.
> >A Java 2 SDK 1.3.1 build must be bootstrapped against any
> >1.3 build. Please update your ALT_BOOTDIR setting, or
> >just unset it, and start your build again.
> You need some working linux-java (I think you can use blackdown
> and sun but I can't remember which version) to build the FreeBSD
> java-port . You could search your Makefile for this.

Hmm, the jdk port should do all this on its own.

@OP: Do you have installed some old jdks - perhaps it will work if you
deinstall them (also the javawrapper port).

Simon


signature.asc
Description: Digital signature


Logging and IPFW

2003-09-09 Thread Wayne Pascoe
Hi all,

We're moving from ipfilter to ipfw. Since we no longer run multiple
platforms, the benefits that we used to derive from ipfilter are
declining. Add to this the problems we've had when running it as a
module on 5.x (as opposed to compiled into the kernel), and we've
decided to move to ipfw. 

I'm trying to setup logging with IPFW. I've not compiled IPFW into my
kernel, but am instead using the ipfw.ko module. 

I have the following sysctl variables set:
net.inet.ip.fw.verbose=1
net.inet.tcp.log_in_vain=1
net.inet.udp.log_in_vain=1

However, I am still not seeing anything in /var/log/messages when I
portscan the machine. The firewall appears to be working, as we receive
nothing back on the portscanning machine, but I would like logging
enabled. 

I have the following in /etc/rc.conf
firewall_enable="YES"
firewall_script="/etc/rc.firewall" 
firewall_type="CLIENT"
firewall_quiet="NO"   
firewall_logging="YES"

The only place I can see firewall_logging being used is in /etc/rc.conf
and that is being used to set a sysctl variable :

echo 'Firewall logging=YES'
sysctl net.inet.ip.fw.verbose=1 >/dev/null

any ideas on what I'm doing wrong here ? 

thanks in advance , 

-- 
Wayne Pascoe
Look buddy, doesn't work is a strong statement. 
Does it sit on the couch all day? Is it making faces
at you? Does it want more money? Please be specific!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-09 Thread Peter Ulrich Kruppa
On Tue, 9 Sep 2003, David L wrote:

> Hi,
>   I to am using Mozilla 1.4 ( I beleive I failed to mention that in my original
> post ) and I compiled it out of ports. I had heard that Java 1.3.1 worked
> well with Mozilla, so I wne to try to install it. However when I try I get
> the following.
>
> dl# cd /usr/ports/java/jdk13
> dl# ls
> Makefilefiles   pkg-message scripts
> distinfopkg-descr   pkg-plist   work
> dl# make package
> ===>  Building for jdk-1.3.1p8_2
> # Start of jdk build
> i386 Build started:   1.3.1-p8-n4458575-030909-18:44
> ERROR: Your BOOTDIR environment variable does not point
>to a valid Java 2 SDK for bootstrapping this build.
>A Java 2 SDK 1.3.1 build must be bootstrapped against any
>1.3 build. Please update your ALT_BOOTDIR setting, or
>just unset it, and start your build again.
You need some working linux-java (I think you can use blackdown
and sun but I can't remember which version) to build the FreeBSD
java-port . You could search your Makefile for this.

Uli.


>
> Exiting because of the above error(s).
> gmake: *** [sanity] Error 1
> *** Error code 2
>
> Stop in /usr/ports/java/jdk13.
> dl#
>
> the make file in jdk13 has the following (I dont know if it of any relevence)
> MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \
>
> Did you have any of these issues when compiling jdk13?
> If you did, can you please let me know how you got around it.
>
> Thanks
>
> David
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

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


Re: IBM 120 G IDE -- problems

2003-09-09 Thread Mark Terribile

My thanks to all the people who replied to my
problem with the 120 GB drive.  The fix -- or
rather, workaround -- is to disable DMA on IDE
by setting hw.ata.ata_dma=0 in /boot/loader.conf .

This means that any I/O on that disk sucks the
processor right up into the drive.  This is OK,
but barely, because I intend to use this drive
infrequently but for large amounts of data.

I suspect that the problem is in the support for
the chipset.  The manual for the board isn't very
clear about the base IDE chipset; it lists

 SiS 963 MuTIOL Media I/O
 IT8705F I/O Control
 Sil3112A SATA
 IT8212F RAID

The third and fourth IDE channels are controlled via
the RAID system; even when it is configured to make
the drives directly visible, FreeBSD can't see them.

The board is a GigaByte GA-SINXP1394 (P4 Titan
Series).

Once again, it's running `well enough'; I have now
to put the partitions on it; thanks to all who wrote.

  Mark Terribile


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JAVA and MOZILLA

2003-09-09 Thread David L
Hi, 
I to am using Mozilla 1.4 ( I beleive I failed to mention that in my original 
post ) and I compiled it out of ports. I had heard that Java 1.3.1 worked 
well with Mozilla, so I wne to try to install it. However when I try I get 
the following.

dl# cd /usr/ports/java/jdk13
dl# ls
Makefilefiles   pkg-message scripts
distinfopkg-descr   pkg-plist   work
dl# make package
===>  Building for jdk-1.3.1p8_2
# Start of jdk build
i386 Build started:   1.3.1-p8-n4458575-030909-18:44
ERROR: Your BOOTDIR environment variable does not point
   to a valid Java 2 SDK for bootstrapping this build.
   A Java 2 SDK 1.3.1 build must be bootstrapped against any
   1.3 build. Please update your ALT_BOOTDIR setting, or
   just unset it, and start your build again.

Exiting because of the above error(s).
gmake: *** [sanity] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk13.
dl#

the make file in jdk13 has the following (I dont know if it of any relevence)
MAKE_ENV=   ALT_BOOTDIR="${JDK13DIR}" \

Did you have any of these issues when compiling jdk13?
If you did, can you please let me know how you got around it.

Thanks

David

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


Joining SAMBA-domain

2003-09-09 Thread Peter Ulrich Kruppa
Hi,

I am trying to set up a SAMBA-PDC for our school's network and
find a strange Problem with two Win2k workstations.

When I try to join the SAMBA domain I receive an error which says
the user account - I am using root - is unknown.

I call this "strange" because other Win2k machines on the very
same subnet work correctly - and what is even stranger:
I can manually access all server shares, when I use root's
account.
(Of course I did a  net use * /dand set back the machines
to a workgroup before I tried to join the domain)


Please mail any ideas, I have got to get things working the next
days.

Regards and thanks,


Uli.

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


Re: FreeBSD 4.8 local startup issues

2003-09-09 Thread David Banning
On Mon, Sep 08, 2003 at 09:34:06PM -0800, admin wrote:
> running:
> FreeBSD 4.8-STABLE
> 
> okay I am having a strange issue.
> 
> after the last reboot after my FreeBSD machine became unreachable - and
> required a power cycle.  mostly all processes listed in /usr/local/etc/rc.d
> did not start.  this only happens very rarely and has happens after FreeBSD
> crashed or is not brought down very cleanly.  can somebody recommend a way to
> auto run these scripts - and make sure these files get executed on boot up.

I am no script pro but something like this should do the job;

#!/bin/sh
if ! ps a | grep mysqld;
then
  /bin/sh /usr/local/etc/rc.d/mysql-server.sh start
fi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: User PPP connection problems

2003-09-09 Thread David Banning
On Tue, Sep 09, 2003 at 04:03:33AM +0100, Tadimeti Keshav wrote:
> Hi all,
> I a newbie here. 
> I compiled the kernel with COM3 and COM4 enabled.
> 
> I tried connecting to the internet but failed.
> I am pasting the relavant portion of /var/ppp/ppp.log.
> Please help!!
> Thanks in advance
> Keshav

I agree with Mark. It looks like your box is not seeing the modem.
You could try "cu -l cuaa0" for com1, cuaa0 for com2.   
Then you can try some hayes command from the prompt.
Try "ATZ" (reset). "AT" to check OK response". 
Then try "ATDT12345678" for dialing (the 12345678 is to be replaced
with a phone number.)

Once you have the right port and you are talking to your modem, then
we can look at the ppp.log again.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.1 Installation Problem

2003-09-09 Thread Reinhart Steyaert
I read all the documentation. BTW, there isn't that much in the docs to try. 
It's always the same: "Cannot find CD/DVD devices..."

Other ideas? Could it be an IRQ conflict or whatever in loader.conf?


From: Lowell Gilbert <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "Reinhart Steyaert" <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
Subject: Re: FreeBSD 5.1 Installation Problem
Date: 08 Sep 2003 16:27:54 -0400

"Reinhart Steyaert" <[EMAIL PROTECTED]> writes:

> I want to install FreeBSD 5.1 but have the following problem: during

Just to check:  you did read the installation information, including
http://www.freebsd.org/releases/5.1R/early-adopter.html
?
> the installation, you have to choose "Installation Media." I choose
> the first option, 'install from a CD/DVD', but get the message "Cannot
> find CD/DVD devices..." (or something like that). But I can boot from
> the CD (it's a Mitsumi ATAPI CD-ROM, not a DVD). The module cd9660
> seems to be loaded. When I choose "Floppy..." in the Installation
> Media menu, I also get the message "Cannot find floppy devices..." So,
> FreeBSD recognizes the CD-ROM drive, but it seems to forget those
> devices at a certain point. I was able, years ago, to install FreeBSD
> 3.2.
There are several steps mentioned in the errata which you should
probably try:
http://www.freebsd.org/releases/5.1R/errata.html
_
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.be
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB stick

2003-09-09 Thread Christoph P. Kukulies
On Mon, Sep 08, 2003 at 11:57:53PM -0400, Michael W. Oliver wrote:
Content-Description: signed data
> 
> Here is an entry from my custom /etc/usbd.conf:
> 
> 
> device "Memorex ThumbDrive"
>   product 0x9988
>   vendor 0x0a16
>   release 0x0100
>   class 0x
>   subclass 0x
>   protocol 0x
>   devname "umass0"
>   attach "/sbin/mount_msdosfs -u michael -g users /dev/da0 /mnt/ThumbDrive"
> 
> 
> and as soon as I plug it in, it is automatically mounted.  Do you have these 
> options in your kernel config file?

Will take care that I will have it in my kernel config :-). This seems to
me the best solution of all suggestions I got so far.

Only drawback, which probably cannot be solved, to automatically unmount :-)
when the user is about to pull the stick.

Is there a detach line?

Or can the writing to the msdosfs be flushed everytime (if not adjusted that
way per se)?


> devicescbus
> deviceda
> devicepass
> 
> I am successfully running this under -current, btw.
> 
> Also, be sure to umount the stick manually before removing it or it could be 
> fatal (to the kernel, not you)!

Ah, so my considerations above seem to be hopeless, aren't they?




--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nwfs problems

2003-09-09 Thread Cristian Salan
This is my own solving steps. Hope it will help, because on the net there is some 
confusing information.

On Mon, Sep 08, 2003 at 03:31:23PM +0300, [EMAIL PROTECTED] wrote:
> Hello,
> I'm trying to mount some volumes from a Novell NetWare 5 using 4.8-RELEASE FreeBSD.
> 
> dmesg shows the following error:
> /kernel: module_register_init: MOD_LOAD (nwfs, c024387c, 0xc0541500) error 17
>

It seems that I've compiled the nwfs module in kernel and then loaded again via 
loader.conf. 

>From the original install I've made these modifs:
> #kernel config file
> options NWFS
> options NCP
> options IPX

So I removed it from kernel (NWFS and NCP), recompile it and no more error messages 
from the kernel. But using "ncplist s", after 10-15 seconds it ends with an error 
message showing the actual name of the Novell server.

It only works if I restart manually the IPXrouted daemon.

Same problem was on a Linux box, where I put 10 seconds delay between bringing up the 
network interfaces and the actual mount on the Novell.

Does anybody know where could be the problem?

Best regards,
Cristian Salan


---
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.

Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor.
Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti
fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat
de virusi.

Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants.
Please be aware that there is a risk involved whenever opening e-mail attachments
to your computer and that MobiFon is not responsible for any damages caused by
viruses.

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