Re: Vim on SMB share

2004-09-10 Thread Daren Russell
Charles Ulrich wrote:
Daren Russell said:
Hi,
I know this is slightly OT, but it is still using FBSD!
I have a SMB share mounted, and can generally write to it.  I can copy
files to it, delete them, use 'ee' to edit and save them.
However, when using Vim, I can load and edit without warning, but if I
try to save it I get "E212: Can't open file for writing"
I can however create a new file on the share using Vim without problems,
try to edit it and get the same problem.
Whilst using Gentoo Linux, I did not have an issue with this (but that
box has destroyed itself, hence the move to a FBSD box)
Is this a known thing with Vim/SMB/FBSD?  Any ideas on something stupid
I have overlooked?
Thanks
Daren

Hi,
I recall running into this and other problems when I was using Samba 3.x on a
4.10 FreeBSD server and smbfs on a 5.2.1 FreeBSD client. In frustration, I
updated the server to 5.2.1 and downgraded Samba to 2.x and haven't had
problems since. I'd have a hard time believing that going to 5.2.1 on the
server side fixed the problem. Rather, I suspect that FreeBSD's smbfs has had
little attention lately and doesn't like the changes that have been made to
Samba since 2.x.
Alternatively, some of the recent patches to 5.2.1 may have had some positive
effect on the client's smbfs. Wish I could be more specific on all of this.
Charles Ulrich
Thanks for the ideas.  The server side is Win2k (so not much I can do 
there!), the BSD is using version 3 of the Samba client, so I'll try 
downgrading it to version 2 and see how I go.

I guess it must also be to do with the way Vim edits files, as the basic 
FBSD editor (ee) seems to manage.

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


[Q] Java 1.4.2 build trouble?

2004-09-10 Thread Anton Kazak

> cd /usr/ports/java/jdk14
> make
===>   jdk-1.4.2p6_4 depends on executable: gm4 - found
===>   jdk-1.4.2p6_4 depends on executable: zip - found
===>   jdk-1.4.2p6_4 depends on file: /usr/X11R6/lib/libXm.so - found
===>   jdk-1.4.2p6_4 depends on file: /usr/local/include/nspr/prtypes.h - 
found
===>   jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac 
- not found
===>Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac 
in /usr/ports/java/linux-sun-jdk14
===>  linux-sun-jdk-1.4.2.05 You must manually fetch the J2SE SDK 
self-extracting file for the Linux platform (j
2sdk-1_4_2_05-linux-i586.bin) from 
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk
-1.4.2_05-oth-JPR&SiteId=JSC&TransactionId=noreg, place it 
in /usr/ports/distfiles and then run make again.
*** Error code 1

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

After this message i try this "http" and found "this file not found".

^ 
Any idea about this?



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


Megaraid perc4/di management FreeBSD 5.3 ?

2004-09-10 Thread Stefan Cars
Hi!
Is there any management tools for Dells Megaraid perc4/di that work with 
FreeBSD 5.3.

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


Re: Broadcom 440x NIC not recognized on boot

2004-09-10 Thread Subhro
On Thu, 9 Sep 2004 21:00:39 -0700 (PDT), Richard Lynch <[EMAIL PROTECTED]> wrote:

> #1. How do I test that bfe (man bfe) is built-in to the kernel versus
> loaded as a module?
> 
Check the config file. I believe the GENERIC kernel has it built in.

> #2. Is it possible that building bfe into the kernel will magically make
> it "better", or is being loaded as a module ALWAYS the same?
>

Of course it will always be better to have it built into the kernel
than to load it as a module. The primary advantage is the speed at
which the kernel can speak to a module is much less compared to the
speed at which it can speak to another part of itself.
 
> #3. Exactly *HOW* does the boot process figure out what gear is what?
>
Every device has a special identification code which is unique for a
device throughout the world. While booting the kernel basically probes
the available devices "without" knowing what is what. The device
replies with that code and the kernel comes to know what device it is
by analysing the code returned.
 
> #3a. Rather involved question...
> My current hypothesis.
> It would seem to be comparing 0x14e4 (?) and "knows" that that is Broadcom.
> It then sees 0x4324 and does *NOT* recognize that as a BCM440x device.
> It's possible that Broadcom gave their laptop version of this device a new
> device ID. (It's a relatively new-to-the-market laptop)

No its not possible. If you use a particular chip you cant reburn the
device identification in the CHIP. That is possible just once during
the manufacture and is hardwired.

> Therefore, I'd like to edit some source code file somewhere, copying the
> line about the 4401, and re-compile, install, re-boot, and PRAY.
> How dangerous would this be?
>  How likely that I am gonna blow up my NIC?
>  How likely that I blow up the whole laptop?
>
It is very unlikely you will blow anything up. The max what can happen
is, the  device wont work. In worst case you may trash its firmware.
But I have *never* seen a firmware blow up that way. But yes that IS
possible.

> Errr.  Exactly where would I start to look for the file I want to change?
> 
> Here's what I tried:
>  I've found the if_bfe.c file, in /usr/src/sys/dev/bfe/
>  Added some printf statements in the probe function
>  (to print out the t->vid and t->did values as it searched),
>  re-compiled /usr/src/sys/modules/,
>  copied the resulting if_bfe.ko (mtime was 'now') to /boot/kernel
>  copied same to /boot/modules
>  (I think I put that there with make; make install days ago)
> 
> And, when I booted, I rather expected dmesg to get output from my printf
> statements...
> 
> It didn't, so obviously I don't really understand what's going on here.
> (Well, I knew that, but...)
It is difficult to say what you ecatly did. Maybe if you paste the
snippets under consideration I can try to help you out.

> 
> The Hardware section in the docs directory of my installation referred me
> to a "Hardware Changes" (?) in my installation...  Since that was what I
> was looking for in the first place, I was rather at a loss to find the
> document referred to...  Any idea what I should have been reading?
> 
Sorry I was unable to understand your query. Could you please reframe?

> I'm okay with vi and editing source code, but it's been decades since I've
> really written C code...
> 
C is the heartbeat of any *nix system :-D

> Still, I'd really like to get this card working, and I'll submit a patch
> if we get it...
> 
Same with me. I really want to see everything, I repeat "EVERYTHING"
work under FreeBSD. But unfortunately not everything works the way you
want it to :-(. But we can always fight it out :-D.

> --
> Like Music?
> http://l-i-e.com/artists.htm
> 
Kinda good collection. Could you have some trance? 

Regards
S.


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsup, SetAttrs, I've read the FAQ

2004-09-10 Thread Karel J. Bosschaart

Heh, that's a nice one if I can't find a solution :-). After some more
experimenting it seems that the SetAttrs disappear when using another
cvsup mirror.

Karel.

On Wed, Sep 08, 2004 at 07:51:10PM +0200, Nagilum wrote:
> How about a "grep -v SetAttr" ?
> 
> Karel J. Bosschaart wrote:
> 
> >Hi,
> >
> >I would like to get rid of the 'SetAttrs' lines in the cvsup logs.
> >Of course I found the FAQ at http://www.cvsup.org/faq.html#setattrs ;
> >I have umask=2 defined in my supfile, always run as root and after 
> >removing the checkout files, these files are rebuilt and all is fine. Only 
> >for one time though: running cvsup a second time will show 'SetAttrs' on 
> >the files that were updated in the previous run. See example of two cvsup 
> >runs:
> >
> >First run:
> >
> >kayjay# cvsup cvs-supfile
> >Connected to cvsup2.nl.FreeBSD.org
> >Updating collection src-all/cvs
> >Edit src/sys/fs/msdosfs/msdosfs_fat.c,v
> >Edit src/sys/fs/msdosfs/msdosfs_lookup.c,v
> >Updating collection cvsroot-all/cvs
> >Append to CVSROOT-doc/commitlogs/doc
> >SetAttrs CVSROOT-src/commitlogs/lib
> >SetAttrs CVSROOT-src/commitlogs/sbin
> >SetAttrs CVSROOT-src/commitlogs/share
> >Append to CVSROOT-src/commitlogs/sys
> >Updating collection ports-all/cvs
> >Updating collection doc-all/cvs
> >Edit doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml,v
> >SetAttrs doc/en_US.ISO8859-1/slides/common/freebsd-users.xml,v
> >Edit doc/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml,v
> >Finished successfully
> >
> >Second run:
> >
> >kayjay# cvsup cvs-supfile
> >Connected to cvsup2.nl.FreeBSD.org
> >Updating collection src-all/cvs
> >SetAttrs src/sys/fs/msdosfs/msdosfs_fat.c,v
> >SetAttrs src/sys/fs/msdosfs/msdosfs_lookup.c,v
> >Updating collection cvsroot-all/cvs
> >SetAttrs CVSROOT-doc/commitlogs/doc
> >SetAttrs CVSROOT-src/commitlogs/lib
> >SetAttrs CVSROOT-src/commitlogs/sbin
> >SetAttrs CVSROOT-src/commitlogs/share
> >SetAttrs CVSROOT-src/commitlogs/sys
> >Updating collection ports-all/cvs
> >Updating collection doc-all/cvs
> >SetAttrs doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml,v
> >SetAttrs doc/en_US.ISO8859-1/slides/common/freebsd-users.xml,v
> >SetAttrs doc/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml,v
> >Finished successfully
> >
> >
> >
> >Over time, the lines with 'SetAttrs' will grow in number. I'm thinking 
> >about removing the checkout files every time I run cvsup but that's not a 
> >very nice solution. I'm facing this problem for quite some time and after 
> >months of going through logs filled up with 'SetAttrs' I would like to 
> >solve it properly.
> >
> >My supfile can be found at http://kayjay.nl/cvs-supfile if that's useful. 
> >
> >Thanks for any advice,
> >Karel.
> >___
> >[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]"


Anything like ftpmount on freebsd ?

2004-09-10 Thread Mike Woods
Those people I remember from my Amiga days will know exactly what im
asking but for the rest of you let me elaborate, ftpmount is an old Amiga
filesystem that allowed you to access ftp sites trough a standard AmigaDos
device, now try as i might i cant find anything like it for freebsd so im
wondering does anyone know of anything that can provide this functionality
?

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


Re: cvsup, SetAttrs, I've read the FAQ

2004-09-10 Thread Karel J. Bosschaart
On Wed, Sep 08, 2004 at 02:22:53PM -0400, Lowell Gilbert wrote:
> "Karel J. Bosschaart" <[EMAIL PROTECTED]> writes:
> 
> > I would like to get rid of the 'SetAttrs' lines in the cvsup logs.
> > Of course I found the FAQ at http://www.cvsup.org/faq.html#setattrs ;
> > I have umask=2 defined in my supfile, always run as root and after removing 
> > the checkout files, these files are rebuilt and all is fine. Only for one 
> > time though: running cvsup a second time will show 'SetAttrs' on the files 
> > that were updated in the previous run. See example of two cvsup runs:
> 
> Until you solve the problem, the '-s' option may help you.
> 
> Are the permissions on /usr/sup at all strange?  They will typically
> be 655 root:wheel...

They are 755 on the dirs, 644 on the checkout files, all root:wheel. 
Seems OK to me.

Some more experimenting revealed that it depends on the cvsup mirror 
I'm using. Using cvsup2.nl.freebsd.org I have the SetAttrs problem, but
when switching to cvsup.nl.freebsd.org all is fine. I tried switching a
couple of times and it seems consistent. I'm happy now :-), but still
wondering what could be "wrong" on the cvsup2 mirror. I have logs of the
cvsup sessions if anyone is interested.

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


Re: pdflatex port?

2004-09-10 Thread Geert Hendrickx
On Fri, Sep 10, 2004 at 11:24:19AM +1000, Murray Taylor wrote:
> # portversion -v | grep tex
> hugelatex-1.0   =  up-to-date with port
> 
> # which pdflatex
> /usr/local/bin/pdflatex
> 
> 
> NB hugelatex is just TeTex with some limits resized...

I have recently been working on a big LaTeX project, with which I
regularly ran into a "TeX capacity exceeded" error.  You mean I could
use the hugelatex package for this?  Does it have other compile-time
options set, like memory limitations and such?  I didn't know this was
possible, so thanks!  

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


Terminal Display Size? (Characters Wide Lines High)

2004-09-10 Thread Brian Black
Hi,
   sorry if this question is asked often on the list, i have not found 
any answers.  after install of the system the terminal displays 80 or so 
characters wide on the screen.  I now have a wide screen display,  What 
tool can be used to change the number of characters wide and the number 
of lines high the terminal will display?

The monitor is apple 23" wide screen, currently running fbsd 5.2.1
p.s.
   Is there also a way to have this new setting to be the default 
terminal display for all virtual terminals also (i.e. alt+F2 ...).

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


Re: Terminal Display Size?

2004-09-10 Thread Jan Christian Meyer
[...] I now have a wide screen display,  What tool 
can be used to change the number of characters wide and the number
of lines high the terminal will display?
Run 'man vidcontrol', be enlightened.
Is there also a way to have this new setting to be the default
terminal display for all virtual terminals also (i.e. alt+F2 ...).
The allscreens_flags variable in /etc/rc.conf sets this.
Cheers,
 -Jan Christian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Q] Java 1.4.2 build trouble?

2004-09-10 Thread Radek Kozlowski
On Fri, Sep 10, 2004 at 01:02:04PM +0400, Anton Kazak wrote:
> 
> > cd /usr/ports/java/jdk14
> > make
> ===>   jdk-1.4.2p6_4 depends on executable: gm4 - found
> ===>   jdk-1.4.2p6_4 depends on executable: zip - found
> ===>   jdk-1.4.2p6_4 depends on file: /usr/X11R6/lib/libXm.so - found
> ===>   jdk-1.4.2p6_4 depends on file: /usr/local/include/nspr/prtypes.h - 
> found
> ===>   jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac 
> - not found
> ===>Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac 
> in /usr/ports/java/linux-sun-jdk14
> ===>  linux-sun-jdk-1.4.2.05 You must manually fetch the J2SE SDK 
> self-extracting file for the Linux platform (j
> 2sdk-1_4_2_05-linux-i586.bin) from 
> http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk
> -1.4.2_05-oth-JPR&SiteId=JSC&TransactionId=noreg, place it 
> in /usr/ports/distfiles and then run make again.
> *** Error code 1
> 
> Stop in /usr/ports/java/linux-sun-jdk14.
> *** Error code 1
> 
> After this message i try this "http" and found "this file not found".
> 
> Any idea about this?

Try this: http://tinyurl.com/655gx

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


Re: 5.3-beta3 boot manger show stopper problem

2004-09-10 Thread Lowell Gilbert
"Richard Lynch" <[EMAIL PROTECTED]> writes:

> Speaking of which...
> 
> Where exactly are the text strings for F1, F2, F3, F4 stored?

FAQ: "How do I change the boot prompt from ??? to something more meaningful?"
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#CHANGING-BOOTPROMPT
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: . and .. directories missing

2004-09-10 Thread Lowell Gilbert
Aram Khalili <[EMAIL PROTECTED]> writes:

> I'm having some trouble with FreeBSD on my T20 ThinkPad.  There is a
> problem with the hard disk that prevents me from booting into
> multi-user mode.  I'm not exactly sure what the problem is; fsck
> reports many hundreds of errors on the /usr & /home partitions, claims
> to fix those, but doesn't.  If I run fsck back to back, the same errors
> show up.  When I reboot after fsck, it does attempt to boot (since
> filesystems are marked clean) but panic, and fails to sync 1 buffer. 
> Not sure which one, but it's always 1 buffer.  I'm also not entirely
> sure what caused this problem  to occur, but right before when it
> occurred I was doing a massive portupgrade -rR of many things, and many
> (but not all) of the disk problems seem to be in the /usr/ports tree.

Make sure you're running fsck with the partition unmounted (or at
*least* read-only, but preferably not mounted at all).  If repeated
runs of fsck continue to get the same errors, then you have very
serious problems indeed.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Wheel Mouse

2004-09-10 Thread Michael Clark

> -Original Message-
> From: Thomas Connolly [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 12:02 AM
> To: FreeBSD Questions
> Subject: Wheel Mouse
> 
> 
> Hello List,
> I'm new to FreeBSD so if this question has been covered to death I  
> appologize.  I can't seem to find any documentation

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=%22wheel+mouse%22+FreeB
SD+XFree86

Its been asked at leasy 379 times according to google.

> on how to get my wheel mouse working.  Can someone please 
> help me with  
> either the solution or some doc links?
> 
> Any help would be appreciated.
> 
> Thanks in advance,
> Thomas.
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 


CONFIDENTIALITY NOTE: This electronic transmission, including all
attachments, is directed in confidence solely to the person(s) to whom it is
addressed, or an authorized recipient, and may not otherwise be distributed,
copied or disclosed. The contents of the transmission may also be subject to
intellectual property rights and all such rights are expressly claimed and
are not waived. If you have received this transmission in error, please
notify the sender immediately by return electronic transmission and then
immediately delete this transmission, including all attachments, without
copying, distributing or disclosing same. 


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


portaudit and base system

2004-09-10 Thread Andrea Venturoli
Some output:
bane# portaudit -F -a
auditfile.tbz 100% of9 kB   24 kBps
New database installed.
Affected package: FreeBSD-491000
Type of problem: multiple vulnerabilities in the cvs server code.
Reference: 
Note: To disable this check add the uuid to `portaudit_fixed' in /usr/local/etc/
portaudit.conf
0 problem(s) in your installed packages found.
bane# uname -a
FreeBSD bane.ventu 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #4: Fri Jul  9 20:38:
34 CEST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BANE  i386

I though that bug had been corrected before 4.10-p2...
Where does portaudit get that 491000?
Same happens (mutatis mutanda) on 5.2.1 systems.
 bye & Thanks
av.


smime.p7s
Description: S/MIME Cryptographic Signature


Problems with newsyslog

2004-09-10 Thread redmyrlin
I have just acquired a new virtual server and have set up newsyslog.conf 
to mirror that on my old virtual server.  On my old server the logs are 
rotated and compressed without any problems.  The old server runs 
FreeBSD 4.9.

The new server runs FreeBSD 4.10, and I'm getting the following errors 
reported by Cron
---
newsyslog: can't notify daemon, pid 84000: Operation not permitted
newsyslog: log /var/log/maillog.0 not compressed because daemon(s) not 
notified
newsyslog: can't notify daemon, pid 43506: Operation not permitted
newsyslog: log /var/log/ssl_engine_log.0 not compressed because 
daemon(s) not notified
...
--

pid 84000 refers to /usr/sbin/syslogd -s
pid 43506 refers to /usr/local/sbin/httpd -DSSL
I cannot see any difference in way I have setup newsyslog and am at a 
loss to know how to proceed.

Any help would be greatly appreciated.
TIA
Graeme
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache+mod_ssl + mod_php segfault

2004-09-10 Thread Matthew Seaman
On Thu, Sep 09, 2004 at 04:02:30PM -0700, Vonleigh Simmons wrote:
>   I sent this already but didn't get any replies. I'm a little 
>   desperate because I need to get this working, so if you can suggest 
> anything at all, I'd really appreciate it. I'm running FreeBSD 5.2-RELEASE, 
> apache is apache13-modssl, php is the mod_php version. All latest versions 
> (cvsup this morning).
> 
>   The problem is that apache segfaults on startup when 
> loadmodule/addmodule php are in the config file. Originally I fixed the 
> problem by compiling apache without expat. However, after a portupgrade 
> it stopped working again.
> 
>   Right now it's working with a major kludge: start up apache with 
> loadmodule/addmodule commented out, comment them back in and do an 
> apachectl restart. Somehow this lets apache work without segfaulting. 
> However, if I do an apachectl graceful/restart, then it segfaults again 
> and won't start up.
> 
>   I've tried recompiling apache, recompiling php, getting rid of php 
> extensions, etc, all to no avail. There is nothing in the logs, it 
> simply fails to start up. Any help or ideas are greatly appreciated.

This sounds to me very much like you've got the mod_php loadable
object linked against an incompatible version of a shlib which
apach+mod_ssl is also linked to.  At a guess:

i) I'd finger the OpenSSL libs as a prime suspect: particularly if
   you've also installed OpenSSL from ports.  It's not necessary
   to install OpenSSL from ports as the version in the base system
   is perfectly OK.

   ii) Different threading libraries can have similar bad effects.
   Everything should be compiled using the same threading
   libraries: if necessary, use /etc/libmap.conf to force the
   issue.  (Although I've never heard of that being necessary for
   any variant of apache before now)

The reason your kludge works would be to do with the order of
resolving the required shlibs: something like one shlib resolves all
the required symbols, but the other one is missing some.

Use ldd(1) to investigate what shlibs a binary needs, and check for
conflicts:

% ldd /usr/local/sbin/httpd 
/usr/local/sbin/httpd:
libz.so.2 => /usr/lib/libz.so.2 (0x280b3000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x280c1000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x280f)
libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 (0x281ed000)
libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x281ff000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2821d000)
libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x2830b000)
libm.so.2 => /usr/lib/libm.so.2 (0x28327000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28343000)
libc.so.4 => /usr/lib/libc.so.4 (0x2835c000)

% ldd /usr/local/libexec/apache2/libphp5.so 
/usr/local/libexec/apache2/libphp5.so:
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28266000)
libm.so.2 => /usr/lib/libm.so.2 (0x2827f000)
libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x2829b000)
libz.so.2 => /usr/lib/libz.so.2 (0x2838e000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2839c000)

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


pgpuq7TcBy0zQ.pgp
Description: PGP signature


Installing ports with OPTIONS

2004-09-10 Thread Steve Bertrand
Hi all,

I am attempting to install /usr/ports/security/snort, but I want MySQL
support.

I've uncommented OPTIONS and the line that states MYSQL=on in the
Makefile, however, when I run:

# script
# make

the resulting script shows no indication that MySQL was included. How
can I verify that support for MySQL was included?

If I run:

# make -DWITH_MYSQL

will I be certain that it is included, even if the output from make
shows no indication of MySQL?

Tks,

Steve

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


Re: Installing ports with OPTIONS

2004-09-10 Thread Steve Bertrand
> Hi all,
>
> I am attempting to install /usr/ports/security/snort, but I want MySQL
> support.
>
> I've uncommented OPTIONS and the line that states MYSQL=on in the
> Makefile, however, when I run:
>
> # script
> # make
>
> the resulting script shows no indication that MySQL was included. How
> can I verify that support for MySQL was included?
>
> If I run:
>
> # make -DWITH_MYSQL
>
> will I be certain that it is included, even if the output from make
> shows no indication of MySQL?

Sorry to reply my own post, but:

# make -DWITH_MYSQL

appears to be working. The port is building in MySQL now.

Steve

> ___
> [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: Problems with newsyslog

2004-09-10 Thread Matthew Seaman
On Fri, Sep 10, 2004 at 02:35:11PM +0100, [EMAIL PROTECTED] wrote:
> I have just acquired a new virtual server and have set up newsyslog.conf 
> to mirror that on my old virtual server.  On my old server the logs are 
> rotated and compressed without any problems.  The old server runs 
> FreeBSD 4.9.
> 
> The new server runs FreeBSD 4.10, and I'm getting the following errors 
> reported by Cron
> ---
> newsyslog: can't notify daemon, pid 84000: Operation not permitted
> newsyslog: log /var/log/maillog.0 not compressed because daemon(s) not 
> notified
> newsyslog: can't notify daemon, pid 43506: Operation not permitted
> newsyslog: log /var/log/ssl_engine_log.0 not compressed because 
> daemon(s) not notified
> ...
> --
> 
> pid 84000 refers to /usr/sbin/syslogd -s
> pid 43506 refers to /usr/local/sbin/httpd -DSSL
> 
> I cannot see any difference in way I have setup newsyslog and am at a 
> loss to know how to proceed.
> 
> Any help would be greatly appreciated.

Usually this error message means that the daemon in question has died
or in some way been restarted so that the PID number that newsyslog
reads out of one of the files under /var/run has become bogus (in this
case. /var/run/sendmail.pid or /var/run/httpd.pid).  However, if
sendmail or apache httpd are running, and you haven't specifically
configured them not to, then they will write their PIDs into those
files.

The other possibility is that you are trying to run newsyslog using a
non-root UID, which means it will not be permitted to send signals to
arbitrary processes, or that the newsyslog process does not have
sufficient privileges to read those PID files.

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


pgpeOmbYbZHG4.pgp
Description: PGP signature


Re: Installing ports with OPTIONS

2004-09-10 Thread Tom Cook
I believe that you should just be able to install the port with the
option '--with-mysql' to bring in support for mysql

i.e.:

#make --with-mysql

should do it for you.

-tom


On Fri, 10 Sep 2004 10:02:37 -0400 (EDT), Steve Bertrand
<[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I am attempting to install /usr/ports/security/snort, but I want MySQL
> support.
> 
> I've uncommented OPTIONS and the line that states MYSQL=on in the
> Makefile, however, when I run:
> 
> # script
> # make
> 
> the resulting script shows no indication that MySQL was included. How
> can I verify that support for MySQL was included?
> 
> If I run:
> 
> # make -DWITH_MYSQL
> 
> will I be certain that it is included, even if the output from make
> shows no indication of MySQL?
> 
> Tks,
> 
> Steve
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



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


Re: Installing ports with OPTIONS

2004-09-10 Thread Matthew Seaman
On Fri, Sep 10, 2004 at 10:02:37AM -0400, Steve Bertrand wrote:

> I am attempting to install /usr/ports/security/snort, but I want MySQL
> support.
> 
> I've uncommented OPTIONS and the line that states MYSQL=on in the
> Makefile, however, when I run:
> 
> # script
> # make

Don't do that: the OPTIONS stuff is commented out for a reason.  Not
entirely sure what reason, but if it worked, it wouldn't be commented
out now, would it?

> the resulting script shows no indication that MySQL was included. How
> can I verify that support for MySQL was included?
> 
> If I run:
> 
> # make -DWITH_MYSQL
> 
> will I be certain that it is included, even if the output from make
> shows no indication of MySQL?

Using:

# make -DWITH_MYSQL

is the correct thing to do.  However, you should make sure that you
aren't stumbling over the remains of previous compilation sessions.
First run:

# make clean

then run

# make -DWITH_MYSQL

and you should certainly see mysql mentioned during the configuration
and compilation steps.

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


pgpIEys5CHJuT.pgp
Description: PGP signature


Re: Can't send to mailing list from server

2004-09-10 Thread Lowell Gilbert
"Gene Bomgardner" <[EMAIL PROTECTED]> writes:

> Actually, the IPS's DNS entry is for reverse lookup. I suspect that
> the problem might be that a forward lookup returns a different IP
> address. That is:
> 
> domain.net --> 172.1.1.1   While
> 209.1.1.1 --> domain.net
> 
> Because the domain is redirected normally to domaindirect servers. I
> probably need to change the primary DNS entries, but I'm not certain
> yet.

Absolutely.  Your mail server is claiming to be a different host.

> GOD I hate the hoops we need to go through to avoid filthy spammers

True, but this is different.  Your server is misconfigured in a way
that makes it difficult to be sure that error messages go to the right
place, so my mail server would have rejected its connections even
before I started tightening down against "spam."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing ports with OPTIONS

2004-09-10 Thread Steve Bertrand
> On Fri, Sep 10, 2004 at 10:02:37AM -0400, Steve Bertrand wrote:
>
>> I am attempting to install /usr/ports/security/snort, but I want
>> MySQL
>> support.
>>
>> I've uncommented OPTIONS and the line that states MYSQL=on in the
>> Makefile, however, when I run:
>>
>> # script
>> # make
>
> Don't do that: the OPTIONS stuff is commented out for a reason.  Not
> entirely sure what reason, but if it worked, it wouldn't be commented
> out now, would it?

Well, I thought it was commented out so things don't get compiled in
by default, but it certainly does not appear to work.

>
>> the resulting script shows no indication that MySQL was included.
>> How
>> can I verify that support for MySQL was included?
>>
>> If I run:
>>
>> # make -DWITH_MYSQL
>>
>> will I be certain that it is included, even if the output from make
>> shows no indication of MySQL?
>
> Using:
>
> # make -DWITH_MYSQL
>
> is the correct thing to do.  However, you should make sure that you
> aren't stumbling over the remains of previous compilation sessions.
> First run:
>
> # make clean
>
> then run
>
> # make -DWITH_MYSQL
>
> and you should certainly see mysql mentioned during the configuration
> and compilation steps.

Yes, as per my own reply, this is what I did, and it is compiling with
MySQL.

Thanks Matt, Tom for your suggestions.

Steve


>
>   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
>


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


Re: Installing ports with OPTIONS

2004-09-10 Thread Martin Hudec
On Fri, Sep 10, 2004 at 03:09:04PM +0100 or thereabouts, Matthew Seaman wrote:
> 
> # make -DWITH_MYSQL
> 
> and you should certainly see mysql mentioned during the configuration
> and compilation steps.

For myself I am using make WITH_MYSQL=yes (all install clean).
It is working. I do also put that option to /usr/local/etc/pkgtools.conf
in MAKE_ARGS section like:

'www/firefox' => 'WITH_SMB=yes WITH_OPTIMIZED_CFLAGS=yes',

By this portupgrade will be able to use options used at
first time installation.


Cheers,

Martin

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpygXnnnh6F2.pgp
Description: PGP signature


Re: Phantom /var full messages

2004-09-10 Thread Paul Schmehl
--On Friday, September 10, 2004 11:58:41 AM +0100 [EMAIL PROTECTED] wrote:
I'm running snort 2.1.3 and mysql 3.23.58 on FreeBSD 4.9 RELEASE.  All
applications are built from ports.
Periodically I get /var full messages and everything comes to a grinding
halt.  The problem is, /var isn't full.
df -h will show /var at 104%, but du -h /var shows /var at 40% (for
example).  If I shut down snort and mysql, wait for a minute and then
start
them back up, df agrees with du again.
The best thing to do is increase some more space in /var (as default it is
256MB?) - you need to mount /var somehow to 400MB. How to do that?
How in the world would that help?  (BTW, /var is 31GB)  The problem isn't 
that I'm running out of space.  The problem is that df *thinks* I'm out of 
space, most likely because of a filehandle problem (but I'll confirm that 
here once I figure it out.)

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsup problem Please Help

2004-09-10 Thread Paul Schmehl
--On Thursday, September 09, 2004 01:39:24 AM -0400 Lee Lispon 
<[EMAIL PROTECTED]> wrote:

Hello. I am running FreeBSD 4.7-RELEASE I have recently had a problem
with  ports and cannot get the ports to download completely. Basically,
in an effort to save space and exclude ports that I never need like x11,
japanese, etc..
I did this once.  It isn't worth it.
Each port is about 24k in size.  They usually consist of a handful of 
files.  The only ones that are larger are ones that you've built *if* you 
don't "make clean" or "make distclean" after building the port.

When I build a port I always do it like this:
% make install clean
Not cvsupping all the ports leads to more problems than it solves.  If you 
really don't have that much space, get another hard drive.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Phantom /var full messages

2004-09-10 Thread Jerry McAllister
> 
> --On Friday, September 10, 2004 11:58:41 AM +0100 [EMAIL PROTECTED] wrote:
> 
> >> I'm running snort 2.1.3 and mysql 3.23.58 on FreeBSD 4.9 RELEASE.  All
> >> applications are built from ports.
> >>
> >> Periodically I get /var full messages and everything comes to a grinding
> >> halt.  The problem is, /var isn't full.
> >>
> >> df -h will show /var at 104%, but du -h /var shows /var at 40% (for
> >> example).  If I shut down snort and mysql, wait for a minute and then
> >> start
> >> them back up, df agrees with du again.
> >
> > The best thing to do is increase some more space in /var (as default it is
> > 256MB?) - you need to mount /var somehow to 400MB. How to do that?
> 
> How in the world would that help?  (BTW, /var is 31GB)  The problem isn't 
> that I'm running out of space.  The problem is that df *thinks* I'm out of 
> space, most likely because of a filehandle problem (but I'll confirm that 
> here once I figure it out.)

No, you are running out of space!   DF has nothing to do with it.

If one of the processes grabs some file space and then unlinks, it
is still holding/using that space and probably needs it, even if 
one method (df) shows it used and another (du) does not.   Don't be 
fooled by the red herring of du and df disagreeing.  Some process is 
trying to use that space and you need more of it.   

If you are doing database stuff, then I can't imagine having a /var
of less than a few GB, unless you move a lot of stuff out of /var and
create links.   See some recent previous posts on the subject.

jerry

> 
> Paul Schmehl ([EMAIL PROTECTED])
> Adjunct Information Security Officer
> The University of Texas at Dallas
> AVIEN Founding Member
> http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Phantom /var full messages

2004-09-10 Thread Sergey Zaharchenko
On Fri, Sep 10, 2004 at 11:23:11AM -0400,
 Jerry McAllister probably wrote:
> 
> No, you are running out of space!   DF has nothing to do with it.
> 
> If one of the processes grabs some file space and then unlinks, it
> is still holding/using that space and probably needs it, even if 
> one method (df) shows it used and another (du) does not.   Don't be 
> fooled by the red herring of du and df disagreeing.  Some process is 
> trying to use that space and you need more of it.   
> 

Correct. du can only show the `named' space (the size of files which are
not unlinked-but-open).

One of the ways to find out what has the largest files open is

# fstat | grep /var | sort -r -n -k 8 | head

(gives you the `top ten list' of the largest open files and the
processes which use them).

If the problem is in a program holding lots of small files open, then a
different script (utilizing uniq -c) could be devised.

> If you are doing database stuff, then I can't imagine having a /var
> of less than a few GB, unless you move a lot of stuff out of /var and
> create links.   See some recent previous posts on the subject.

31GB is `a few GB' in some sense.

> 
> jerry
> 
> > 
> > Paul Schmehl ([EMAIL PROTECTED])
> > Adjunct Information Security Officer
> > The University of Texas at Dallas
> > AVIEN Founding Member
> > http://www.utdallas.edu
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
DoubleF
Madam, there's no such thing as a tough child -- if you parboil them
first for seven hours, they always come out tender.
-- W. C. Fields


pgp4D1DpYEXz2.pgp
Description: PGP signature


Question about FreeBSD.

2004-09-10 Thread Johan Claesson
Hi, I'm quite new to the world of linux, and I are going to set up a linux 
server, and I'm looking aroud for a good linux system, and I find FreeBSD 
quite interesting. Does FreeBSD have a X-mode and is it easy to handle? 
Whats the difference between FreeBSD, Slackware and Redhat?

Thanks for your time.
Best regards,
Johan
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: Question about FreeBSD.

2004-09-10 Thread Radek Kozlowski
On Fri, Sep 10, 2004 at 04:03:37PM +, Johan Claesson wrote:
> Hi, I'm quite new to the world of linux, and I are going to set up a linux 
> server, and I'm looking aroud for a good linux system, and I find FreeBSD 
> quite interesting. Does FreeBSD have a X-mode and is it easy to handle? 
> Whats the difference between FreeBSD, Slackware and Redhat?

http://www.freebsd.org/doc/en/articles/explaining-bsd/article.html
http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php

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


RE: Question about FreeBSD.

2004-09-10 Thread Philip Payne
> 
> Hi, I'm quite new to the world of linux, and I are going to 
> set up a linux 
> server, and I'm looking aroud for a good linux system, and I 
> find FreeBSD 
> quite interesting. Does FreeBSD have a X-mode and is it easy 
> to handle? 
> Whats the difference between FreeBSD, Slackware and Redhat?
> 

Wow... what a can of worms. Most importantly FreeBSD is not Linux. Though
you'll find lots of crossover in terms of applications (e.g. XOrg, XFree86,
Gnome, KDE).

You'll find lots of opinion on whether FreeBSD is better than Linux and vice
versa.

My suggestion is you read up about each Linux distro & FreeBSD and decide
for you personally which is best.

FreeBSD can run X. I use it as a desktop. The things that make me come back
to FreeBSD each time I try a different linux distro is:
1) The make buildworld, installworld, buildkernel, installkernel
tools that make upgrading/updating your system a breeze.
2) The ports system that makes installing applications and
dependencies a thoughtless stress-free task.
3) The portupgrade sysutil that makes managing the upgrade of your
applications equally stress free.

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


Re: Question about FreeBSD.

2004-09-10 Thread Tom Cook
Johan,

First of all, welcome!

FreeBSD isn't a distribution of linux, actually. FreeBSD is a derived
from an entirely different code base than Linux is. These days,
though, they share many common features and also differ in many areas.

To answer your questions; yes, FreeBSD does have full X windows
support, and many people are using and enjoying it these days.

The biggest difference between FreeBSD, slack, and Redhat are
numerous: FreeBSD is based off the BSD kernel and system, while the
Linux kernels are completely from the other side of the world
(literally) and come directly from Linus. You can get various
'distributions' of linux, all with various userland applications and
configuration methods but there is only *one* FreeBSD. When you
download the 5.2.1 or 4.10 release you can be confident that you're
getting FreeBSD, and that your skills in FreeBSD will directly
transfer to any FreeBSD system that you use (as far as the way that
things are configured, managed, and maintained)

The biggest thing for me is the ports system and the ease that FreeBSD
brings to installing packages. Just the other day I was using Fedora
and started to install something, only to find out that it needed a
dependency, which had two other dependencies that I had to go build
and install. On FreeBSD, all of that is done for you: the recursive
dependency installs, sanity checking, and everything.

Overall, give it a shot and feel free to ask questions. It's a great OS.

-tom


On Fri, 10 Sep 2004 17:13:52 +0100, Philip Payne
<[EMAIL PROTECTED]> wrote:
> >
> > Hi, I'm quite new to the world of linux, and I are going to
> > set up a linux
> > server, and I'm looking aroud for a good linux system, and I
> > find FreeBSD
> > quite interesting. Does FreeBSD have a X-mode and is it easy
> > to handle?
> > Whats the difference between FreeBSD, Slackware and Redhat?
> >
> 
> Wow... what a can of worms. Most importantly FreeBSD is not Linux. Though
> you'll find lots of crossover in terms of applications (e.g. XOrg, XFree86,
> Gnome, KDE).
> 
> You'll find lots of opinion on whether FreeBSD is better than Linux and vice
> versa.
> 
> My suggestion is you read up about each Linux distro & FreeBSD and decide
> for you personally which is best.
> 
> FreeBSD can run X. I use it as a desktop. The things that make me come back
> to FreeBSD each time I try a different linux distro is:
> 1) The make buildworld, installworld, buildkernel, installkernel
> tools that make upgrading/updating your system a breeze.
> 2) The ports system that makes installing applications and
> dependencies a thoughtless stress-free task.
> 3) The portupgrade sysutil that makes managing the upgrade of your
> applications equally stress free.
> 
> Laters,
> Phil.
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



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


Re: Question about FreeBSD.

2004-09-10 Thread Jerry McAllister
> 
> Hi, I'm quite new to the world of linux, and I are going to set up a linux 
> server, and I'm looking aroud for a good linux system, and I find FreeBSD 
> quite interesting. Does FreeBSD have a X-mode and is it easy to handle? 
> Whats the difference between FreeBSD, Slackware and Redhat?

As you will quickly learn if you read the material suggested by others
on this list, FreeBSD is not Linux.  (it's better...).

Yes, it has X.   Easy is a subjective thing.  I find it easier than all
the pointy-clickey junk from Microsloth, etc.   But, there is a 
significant initial learning curve.

As for the differences between FreeBSD and some of the Linux distros,
you have some studying ahead of you.  There are many similarities and
some important differences that make FreeBSD a top choice for reliability
and security.

Have fun,  

jerry

> 
> Thanks for your time.
> 
> Best regards,
> Johan
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question about FreeBSD.

2004-09-10 Thread Matthew Seaman
On Fri, Sep 10, 2004 at 04:03:37PM +, Johan Claesson wrote:
> Hi, I'm quite new to the world of linux, and I are going to set up a linux 
> server, and I'm looking aroud for a good linux system, and I find FreeBSD 
> quite interesting. Does FreeBSD have a X-mode and is it easy to handle? 
> Whats the difference between FreeBSD, Slackware and Redhat?

Verb. Sap.  Please do not confuse FreeBSD and Linux -- the two are
quite separate projects.  FreeBSD is not Linux.

FreeBSD is a Unix OS derived from the 4.4BSD-lite codebase developed
by the Computer Systems Research Group at the University of Berkeley.

Yes, FreeBSD runs pretty much all readily available free or open
source software, including X Windows (either XFree86 or X.Org
implementations) and the KDE and Gnome desktop environments.  There
are over 11,000 readily available applications from the ports
collection, any of which can be installed with consumate ease simply
by typing 'make install' in the correct directory.

I personally think it's much the easiest to manage out of all of the
examples you cite, but then again I've been dealing with Unix and
unix-like systems for years. As a complete beginner you'll find that
FreeBSD teaches you a lot more about the innards of the system and
what precisely is going on than most other OSes.  It does that by not
even attempting to provide a lobotomized "for beginners only"
management interface.

I suggest you take a look at the FreeBSD handbook and the other, quite
extensive, documentation available on the FreeBSD site:

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

Cheers,

Matthew

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


pgp48ryDXftSF.pgp
Description: PGP signature


Re: Question about FreeBSD.

2004-09-10 Thread yuri van Overmeeren

Johan Claesson wrote:
Hi, I'm quite new to the world of linux, and I are going to set up a 
linux server, and I'm looking aroud for a good linux system, and I 
find FreeBSD quite interesting. Does FreeBSD have a X-mode and is it 
easy to handle? Whats the difference between FreeBSD, Slackware and 
Redhat?

Thanks for your time.
Best regards,
Johan
As said before FreeBSD is not a linux distribution, FreeBSD is a more 
direct descendant of Unix.

Red Hat is the most user friendly of the ones you name, but in my 
opinion it's not very good

Slackware is the most 'clean' linux distribution around, It has good 
performance and is very customisable and very very stable. I'd say it's 
one of the most unix like linux in structure.

FreeBSD is not a linux, But the best on your list in my opinion. It's 
extremely stable, very easy to maintain, update and fix.
Performance, especially with multiple things going on, is much better 
then on linux in my expereince.

All 3 come with the X window system and a few GUIs like KDE and Gnome etc...
Slackware and FreeBSD dont have them set up and configured by default, 
you have to do that yourself. (it's not scary)

If you understand the basics of a Unix OS, FreeBSD is very clear and 
easy to handle.
If you are comletely new I do recommend reading up on some Unix basics, 
and/or the chapters in the FreeBSD handbook on this.

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


Re: Phantom /var full messages

2004-09-10 Thread Robert Huff

Jerry McAllister writes:

>  If you are doing database stuff, then I can't imagine having a
>  /var of less than a few GB, unless you move a lot of stuff out of
>  /var and create links.

I'll suggest part of the answer is to move that space off /var
- possibly to a dedicated partition or even a dedicated drive.  /var
is used by a lot of porgrams, and it is unfair (and probably unwise)
to complicate their lives without absolute need.


Robert Huff



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


Re: Phantom /var full messages

2004-09-10 Thread Paul Schmehl
--On Friday, September 10, 2004 11:23:11 AM -0400 Jerry McAllister 
<[EMAIL PROTECTED]> wrote:
How in the world would that help?
(BTW, /var is 31GB)
^^^
Did you miss this?

If you are doing database stuff, then I can't imagine having a /var
of less than a few GB, unless you move a lot of stuff out of /var and
create links.   See some recent previous posts on the subject.
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to get best results from FreeBSD-questions

2004-09-10 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to "[EMAIL PROTECTED]" with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]>

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies l

"The Complete FreeBSD": errata and addenda

2004-09-10 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: Phantom /var full messages

2004-09-10 Thread Sergey Zaharchenko
On Fri, Sep 10, 2004 at 11:57:57AM -0500,
 Paul Schmehl probably wrote:
> --On Friday, September 10, 2004 11:23:11 AM -0400 Jerry McAllister 
> <[EMAIL PROTECTED]> wrote:
> >If you are doing database stuff, then I can't imagine having a /var
> >of less than a few GB, unless you move a lot of stuff out of /var and
> >create links.   See some recent previous posts on the subject.
> 
> (BTW, /var is 31GB)
> ^^^
> Did you miss this?

Actually, I mentioned that 31 is `a few' for some values of `a few'
earlier.

I have no experience with mysql, but I'd think something is creating
tons of smaller files and not closing them, rather than a program
keeping a 31G file open (inflating 400M to 31G should be difficult even
for mysql). Try (yet another ugly fstat hack)

# fstat | grep /var | grep mysqld | wc -l

to show the number of files open by the mysqld process (or any other
process if you change the name) in the /var fs.

Did you try asking on a mysql-related list?

> >
> >
> 
> Paul Schmehl ([EMAIL PROTECTED])
> Adjunct Information Security Officer
> The University of Texas at Dallas
> AVIEN Founding Member
> http://www.utdallas.edu
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
DoubleF
"There was a boy called Eustace Clarence Scrubb, and he almost deserved
it."
-- C. S. Lewis, The Chronicles of Narnia


pgp0wGt9nhGde.pgp
Description: PGP signature


Re: Phantom /var full messages

2004-09-10 Thread Paul Schmehl
--On Friday, September 10, 2004 07:43:00 PM +0400 Sergey Zaharchenko 
<[EMAIL PROTECTED]> wrote:
Correct. du can only show the `named' space (the size of files which are
not unlinked-but-open).
One of the ways to find out what has the largest files open is
# fstat | grep /var | sort -r -n -k 8 | head
Apparently snort is the culprit.  When I killed snort (mysqld is still 
running), df began to report less and less space used until it agreed with 
du again.

Here's the results of the fstat command per your suggestion:
bash-2.05b# fstat | grep var | sort -r -n -k 8 | head
mysqlmysqld   189   56 /var 1036492 -rw-rw  4294967276 rw
root snort3416 /var 3491966 -rw---  1260683393 rw
The second file is the only one in the top ten that belonged to snort.
How do you convert the filenames from numbers to names?
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vim on SMB share

2004-09-10 Thread Giorgos Keramidas
On 2004-09-10 09:22, Daren Russell <[EMAIL PROTECTED]> wrote:
> Thanks for the ideas.  The server side is Win2k (so not much I can do
> there!), the BSD is using version 3 of the Samba client, so I'll try
> downgrading it to version 2 and see how I go.
>
> I guess it must also be to do with the way Vim edits files, as the basic
> FBSD editor (ee) seems to manage.

Vim tries to create a file called .FILENAME.swp when you edit FILENAME.
The leading dot is probably what breaks the way vim works on Samba
shares.  You can always try to make vim write its swap files in another
location, i.e. in `/var/tmp' with this in your .vimrc:

set dir=/var/tmp

or you can disable swapfiles altogether with

set noswapfile

You can even play nice tricks like selectively disabling the swapfile
only for files that "live" in the well-known path of your Samba shares
with something similar to this in your .vimrc:

if !exists("samba_swapfile_hack")
  let samba_swapfile_hack = 1
  autocmd BufNewFile,BufRead /share/win2k/* set noswapfile
endif

Unless, of course, my guess is wrong and all this is nonsense :-)

Giorgos

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


how to update system time?

2004-09-10 Thread Matthias F. Brandstetter
Hi all,

first: hello to all FreeBSD users out there ;)
After using Linux for several years, I want to try out FreeBSD for some of 
my servers now. I am coming from Gentoo Linux, so I am somewhat "used" to 
the ports system...

Ok, now to my first question: I am setting up my 2nd FreeBSD box now. On my 
first test machine I installed "rdate" (instead of "ntpdate"); I can 
update system time w/o problems there.

But when I try to update system time on the 2nd box now, I get no errors 
from rdate, but my time and date is not updated afterwards. When I try it 
with ntpdate (with same time server), I get the following error:

6 Sep 15:22:01 ntpdate[330]: no server suitable for synchronization found

I set my local time via /stand/sysinstall to my local timezone (Austria), 
CEST. With rdate, I get the right date and time, but as said my system 
date and time is not updated, it stays around two hours behind...

Sorry if this is maybe a dumb question, but I really have no idea left 
where the problem could be (because this works wonderful on the other 
FreeBSD test machine).

Greetings and TIA, Matthias

-- 
But let me tell you, the slim lazy Homer you knew is dead.  Now I'm a
big fat dynamo.

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


mplayer-plugin with mozilla-1.7 on my laptop??

2004-09-10 Thread Gary Kline

I think getting mplayer-plugin to work under 5.3(beta) was
already discussed.  I didn't pay much attention to it
because, one, I as focusing on getting it to work here
where I'm running 4.10, and also I didn't think mplayer
would work.  Wrong.  It works where the Windoze player is
required just fine.  

Now I would like to get mplayer-plugin working on my latop
which is running 5.3-beta.  It's plugin opens an mplayer 
graphic, but there is a "truncated" message printed to
stderr, and no sound.  Is there a fix to get mplayer working
on FBSD-5*?

thanks,

gary



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

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


Re: how to update system time?

2004-09-10 Thread Shantanoo
On Fri, 10 Sep 2004 19:42:51 +0200, Matthias F. Brandstetter
<[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> first: hello to all FreeBSD users out there ;)
> After using Linux for several years, I want to try out FreeBSD for some of
> my servers now. I am coming from Gentoo Linux, so I am somewhat "used" to
> the ports system...
> 
> Ok, now to my first question: I am setting up my 2nd FreeBSD box now. On my
> first test machine I installed "rdate" (instead of "ntpdate"); I can
> update system time w/o problems there.
> 
> But when I try to update system time on the 2nd box now, I get no errors
> from rdate, but my time and date is not updated afterwards. When I try it
> with ntpdate (with same time server), I get the following error:
> 
> 6 Sep 15:22:01 ntpdate[330]: no server suitable for synchronization found

Is the computer properly networked? can it ping yahoo.com?
the computer is not able to reach the ntp server. try pool.ntp.org

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


Re: Phantom /var full messages

2004-09-10 Thread Robert Huff

Paul Schmehl writes:
>  How do you convert the filenames from numbers to names?

man find


Robert Huff


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


Re: how to update system time?

2004-09-10 Thread Matthias F. Brandstetter
-- quoting Shantanoo --
> Is the computer properly networked? can it ping yahoo.com?

Yeah it is properly networked. I am connected via SSH now.
And of course I can ping yahoo.com and other sites.

> the computer is not able to reach the ntp server. try pool.ntp.org

The computer _is_ able to reach the ntp server.
See this example:

[ 17:34 [EMAIL PROTECTED] ~ ] date
Fri Sep 10 17:35:00 CEST 2004
[ 17:35 [EMAIL PROTECTED] ~ ] rdate time.fu-berlin.de
Fri Sep 10 19:57:55 2004
[ 17:35 [EMAIL PROTECTED] ~ ] rdate -s time.fu-berlin.de
[ 17:35 [EMAIL PROTECTED] ~ ] date
Fri Sep 10 17:35:27 CEST 2004
[ 17:35 [EMAIL PROTECTED] ~ ] ntpdate time.fu-berlin.de
10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
[ 17:35 [EMAIL PROTECTED] ~ ]

I really wonder why system time isn't set, because as said I use the rdate 
tool on another FreeBSD machine and the same time server w/o any 
problems...

Any other ideas?
Greetings, Matthias

-- 
Homer: There couldn't be heaven if there weren't a hell.

Bart: Who's in there?

Homer: Oh, uh ... Hitler's dog.  And that dog Nixon had, whassisname, um,
 Chester ...

Lisa: Checkers.

Homer: Yeah!  One of the Lassies is in there, too.  The mean one -- the
 one that mauled Jimmy.

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


Re: how to update system time?

2004-09-10 Thread Shantanoo
On Fri, 10 Sep 2004 20:00:52 +0200, Matthias F. Brandstetter
<[EMAIL PROTECTED]> wrote:
> -- quoting Shantanoo --
> > Is the computer properly networked? can it ping yahoo.com?
> 
> Yeah it is properly networked. I am connected via SSH now.
> And of course I can ping yahoo.com and other sites.
> 
> > the computer is not able to reach the ntp server. try pool.ntp.org
> 
> The computer _is_ able to reach the ntp server.
> See this example:
> 
> [ 17:34 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate -s time.fu-berlin.de
> [ 17:35 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 [EMAIL PROTECTED] ~ ]
> 
> I really wonder why system time isn't set, because as said I use the rdate
> tool on another FreeBSD machine and the same time server w/o any
> problems...
> 
> Any other ideas?

Try:

ntpdate -t 30 pool.ntp.org

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


Re: how to update system time?

2004-09-10 Thread Bill Moran
"Matthias F. Brandstetter" <[EMAIL PROTECTED]> wrote:

> -- quoting Shantanoo --
> > Is the computer properly networked? can it ping yahoo.com?
> 
> Yeah it is properly networked. I am connected via SSH now.
> And of course I can ping yahoo.com and other sites.
> 
> > the computer is not able to reach the ntp server. try pool.ntp.org
> 
> The computer _is_ able to reach the ntp server.
> See this example:
> 
> [ 17:34 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate -s time.fu-berlin.de
> [ 17:35 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 [EMAIL PROTECTED] ~ ]
> 
> I really wonder why system time isn't set, because as said I use the rdate 
> tool on another FreeBSD machine and the same time server w/o any 
> problems...
> 
> Any other ideas?

Is your securelevel set very high?  A high securelevel will prevent
drastic changes to the system clock (although I don't remember what is
specifically considered "drastic")

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[no subject]

2004-09-10 Thread Sharon Winston
Hello,
I was hoping someone could help me. 

I'm trying to use Nifty TelNet to change a password on
our Web site (the password allows visitors to enter
the "members only" section of the site.)

Last year, I used the program to change the password,
and it was no problem. This time, the commands look
different and I'm having trouble. 

I'm getting all the way down to htpasswd .htpasswd,
then, I pick a code, and type in a new password. But,
when I go to our Web site, the password is the same
old one.

Help!

Sharon Winston
Title I Dissemination Project







__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Regarding password changes (Re: no subject)

2004-09-10 Thread Bill Moran
Sharon Winston <[EMAIL PROTECTED]> wrote:
> Hello,
> I was hoping someone could help me. 
> 
> I'm trying to use Nifty TelNet to change a password on
> our Web site (the password allows visitors to enter
> the "members only" section of the site.)
> 
> Last year, I used the program to change the password,
> and it was no problem. This time, the commands look
> different and I'm having trouble. 
> 
> I'm getting all the way down to htpasswd .htpasswd,
> then, I pick a code, and type in a new password. But,
> when I go to our Web site, the password is the same
> old one.

I would assume that you're posting your question here because your
hosting provider is using FreeBSD.

However, FreeBSD is simply the software used by your provider, and
is almost surely not associated with your hosting provider in any
way other than the fact that your hosting provider uses FreeBSD. As
a result, it's unlikely that anyone in the FreeBSD community will
be of much help to you.

I would suggest contacting your hosting provider's tech support
directly for assistance in this matter.

If I am wrong, and your problem _is_ with FreeBSD, can you please
provide more details about what you are trying to do, such as the
exact commands you are entering and the results you see.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re:

2004-09-10 Thread cscott
make sure when you are using htpasswd that you are giving it the correct htpasswd 
file. Also make sure that .htaccess is configured to get the password from the correct 
file. 

> -Original Message-
> From: Sharon Winston [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 06:24 PM
> To: [EMAIL PROTECTED]
> 
> Hello,
> I was hoping someone could help me. 
> 
> I'm trying to use Nifty TelNet to change a password on
> our Web site (the password allows visitors to enter
> the "members only" section of the site.)
> 
> Last year, I used the program to change the password,
> and it was no problem. This time, the commands look
> different and I'm having trouble. 
> 
> I'm getting all the way down to htpasswd .htpasswd,
> then, I pick a code, and type in a new password. But,
> when I go to our Web site, the password is the same
> old one.
> 
> Help!
> 
> Sharon Winston
> Title I Dissemination Project
> 
> 
> 
> 
> 
>   
>   
> __
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail 
> ___
> [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: how to update system time?

2004-09-10 Thread Lowell Gilbert
"Matthias F. Brandstetter" <[EMAIL PROTECTED]> writes:

> The computer _is_ able to reach the ntp server.
> See this example:
> 
> [ 17:34 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate -s time.fu-berlin.de
> [ 17:35 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 [EMAIL PROTECTED] ~ ]

time.fu-berlin.de is not an ntp server, so that's a different problem
than rdate.

> I really wonder why system time isn't set, because as said I use the rdate 
> tool on another FreeBSD machine and the same time server w/o any 
> problems...
> 
> Any other ideas?

I seem to recall that rdate isn't very good at giving error
information.  Are the two systems configured identically?  A raised
securelevel(8) (level 2 or higher) will keep the time from getting
changed by more than 1 second...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to update system time?

2004-09-10 Thread Dan Nelson
In the last episode (Sep 10), Lowell Gilbert said:
> "Matthias F. Brandstetter" <[EMAIL PROTECTED]> writes:
> > The computer _is_ able to reach the ntp server.
> > See this example:
> > 
> > [ 17:34 [EMAIL PROTECTED] ~ ] date
> > Fri Sep 10 17:35:00 CEST 2004
> > [ 17:35 [EMAIL PROTECTED] ~ ] rdate time.fu-berlin.de
> > Fri Sep 10 19:57:55 2004
> > [ 17:35 [EMAIL PROTECTED] ~ ] rdate -s time.fu-berlin.de
> > [ 17:35 [EMAIL PROTECTED] ~ ] date
> > Fri Sep 10 17:35:27 CEST 2004
> > [ 17:35 [EMAIL PROTECTED] ~ ] ntpdate time.fu-berlin.de
> > 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> > [ 17:35 [EMAIL PROTECTED] ~ ]
> 
> time.fu-berlin.de is not an ntp server, so that's a different problem
> than rdate.

Actually it is:

$ ntptrace time.fu-berlin.de
130.133.1.10: stratum 1, offset 0.011233, synch distance 0.00153, refid 'GPS'

Matthias, try running "ntpdate -d time.fu-berlin.de", which won't try
to set the local clock but will print out some debugging info that
might tell you why it coudln't fetch anything from the server.  Maybe
you have a firewall blocking incoming port 123 UDP traffic?

-- 
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: Tar pitting automated attacks

2004-09-10 Thread Nagilum
Jonathan Chen wrote:
On Tue, Sep 07, 2004 at 09:42:16AM -0400, Mike Galvez wrote:
 

Is there a method to make this more expensive to the attacker, such as tar-pitting?
   

Put in a ipfw block on the netblock/country. At the very least it will
make it pretty slow for the initial TCP handshake.
Cheers.
 

I don't know how this particular scanner works, but if was (to write) a 
scanner which is supposed to scan as many as possible hosts as quickly 
as possible, I would simply start sending out syn's as fast as I can or 
my master told me, without tracking to which hosts I sent one (just do a 
count upwards or something like that). Then I would simply collect those 
hosts that do respond with an ACK and put only them in the queue for 
further processing. Whether your host sends a nak or nothing is the same 
to me.
So I don't think a block will cause any significant harm to these attacks.

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


Re: Broadcom 440x NIC not recognized on boot

2004-09-10 Thread Richard Lynch
Subhro wrote:
>> #1. How do I test that bfe (man bfe) is built-in to the kernel versus
>> loaded as a module?
>>
> Check the config file. I believe the GENERIC kernel has it built in.

This is gonna sound stupid, but I spent a good 10 minutes using locate and
find and whatnot trying to find something like "kernel.conf" and failed...

Now that I'm reading up on kernel config, I want to confirm what may be a
misconception...

Sometimes, when one talks about a "config" file, one is talking about
editing /etc/*.conf, and start/stop a service, or, in extreme cases,
re-booting.

Are there run-time options to the kernel in such a file?

Or are all kernel-configuration options done at compile-time?

I can understand that the latter might be necessary, given the way the
boot process works, but I'm not 100% sure I'm not missing an easy text
file to edit rather than a re-compile of a kernel...

And, I'd just as soon not re-compile the kernel if I can determine that
BFE driver is already in it, of course, as that will simply waste my time.
 And, knowing me, screw up the machine completely :-)

>> #2. Is it possible that building bfe into the kernel will magically make
>> it "better", or is being loaded as a module ALWAYS the same?
>>
>
> Of course it will always be better to have it built into the kernel
> than to load it as a module. The primary advantage is the speed at
> which the kernel can speak to a module is much less compared to the
> speed at which it can speak to another part of itself.

I expressed myself poorly.

Is it possible that having XYZ compiled in the kernel will get a device
recognized at boot, when having XYZ as a module does *NOT* get that same
device recognized?

I am reasonably certain that BFE is already in there somewhere before I
try to kldload it...

>> #3. Exactly *HOW* does the boot process figure out what gear is what?
>>
> Every device has a special identification code which is unique for a
> device throughout the world. While booting the kernel basically probes
> the available devices "without" knowing what is what. The device
> replies with that code and the kernel comes to know what device it is
> by analysing the code returned.
>
>> #3a. Rather involved question...
>> My current hypothesis.
>> It would seem to be comparing 0x14e4 (?) and "knows" that that is
>> Broadcom.
>> It then sees 0x4324 and does *NOT* recognize that as a BCM440x device.
>> It's possible that Broadcom gave their laptop version of this device a
>> new
>> device ID. (It's a relatively new-to-the-market laptop)
>
> No its not possible. If you use a particular chip you cant reburn the
> device identification in the CHIP. That is possible just once during
> the manufacture and is hardwired.

Perhaps what I should have asked is:

Given that this device has a different device identification, but that
Windows identifies it as a BCM 440x, and that bfe supports the BCM 4401,
and the BFE docs indicate that that driver should work for the BCM 440x
"series", am I reasonable to expect that if I could just add a line of
code somewhere with the new device identification, it has a strong
possibility of working?

I understand that a new device with a similar model number may have such a
different instruction set and API.

I also know that sometimes all devices in a given series use the same
driver, even if they have "different" model numbers (or even different
manufacturers using the same CHIP).

What I'm not completely clear on is:
Does a different device ID pretty much guarantee that the same driver
won't work, or do drivers often work for a bunch of chips with different
IDs that really aren't all that different in API?

>> Therefore, I'd like to edit some source code file somewhere, copying the
>> line about the 4401, and re-compile, install, re-boot, and PRAY.
>> How dangerous would this be?
>>  How likely that I am gonna blow up my NIC?
>>  How likely that I blow up the whole laptop?
>>
> It is very unlikely you will blow anything up. The max what can happen
> is, the  device wont work. In worst case you may trash its firmware.
> But I have *never* seen a firmware blow up that way. But yes that IS
> possible.
>
>> Errr.  Exactly where would I start to look for the file I want to
>> change?
>>
>> Here's what I tried:
>>  I've found the if_bfe.c file, in /usr/src/sys/dev/bfe/
>>  Added some printf statements in the probe function
>>  (to print out the t->vid and t->did values as it searched),
>>  re-compiled /usr/src/sys/modules/,
>>  copied the resulting if_bfe.ko (mtime was 'now') to /boot/kernel
>>  copied same to /boot/modules
>>  (I think I put that there with make; make install days ago)
>>
>> And, when I booted, I rather expected dmesg to get output from my printf
>> statements...
>>
>> It didn't, so obviously I don't really understand what's going on here.
>> (Well, I knew that, but...)
> It is difficult to say what you ecatly did. Maybe if you paste the
> snippets under consideration I can try to help you out.

Tha

Re: Broadcom 440x NIC not recognized on boot

2004-09-10 Thread Charles Swiger
On Sep 10, 2004, at 3:52 PM, Richard Lynch wrote:
Sometimes, when one talks about a "config" file, one is talking about
editing /etc/*.conf, and start/stop a service, or, in extreme cases,
re-booting.
Are there run-time options to the kernel in such a file?
Some of the settings one can make in /etc/rc.conf end up making 
run-time changes to the kernel.  A simple example would be 
gateway_enable='yes', which sets the sysctl net.inet.ip.forwarding=1.

Or are all kernel-configuration options done at compile-time?
No.
[ ... ]
Given that this device has a different device identification, but that
Windows identifies it as a BCM 440x, and that bfe supports the BCM 
4401,
and the BFE docs indicate that that driver should work for the BCM 440x
"series", am I reasonable to expect that if I could just add a line of
code somewhere with the new device identification, it has a strong
possibility of working?
Yes.  Take a look at the code in /usr/src/sys/dev/bfe/if_bfe.c:
static struct bfe_type bfe_devs[] = {
{ BCOM_VENDORID, BCOM_DEVICEID_BCM4401,
"Broadcom BCM4401 Fast Ethernet" },
{ 0, 0, NULL }
};
...define a BCOM_DEVICEID_BCM4403 in if_bfereg.h, and add a similar 
entry to the struct above.

What I'm not completely clear on is:
Does a different device ID pretty much guarantee that the same driver
won't work, or do drivers often work for a bunch of chips with 
different
IDs that really aren't all that different in API?
Really popular chipsets end up being cloned or re-released with minor 
variants over time, so one driver can handle many different PCI vendor 
ID/device ID combos.  But that all depends on the specific 
circumstances, there are few generalizations which can be made 
reliably.

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


something fishy with this network

2004-09-10 Thread Nagilum
Hi,
I have a really strange network problem and no idea what's the cause, 
maybe someone else can enlighten me..so here it comes:
I have a FreeBSD5.3b3 gateway, this machine is NAT gateway, Webserver, 
DHCP and nameserver for the LAN, Mailserver, Samba, et al..
In my LAN I have a PC and a Powerbook, both configured via DHCP from the 
gateway.
Everything works fine except I can't access certain hosts in the 
internet from the Powerbook or the gateway, the most famous being 
slashdot.org (www.clamav.net is another one). I can access other hosts 
without problems but from some I just don't get anything.
The really strange thing is that I can access them from the PC (via NAT) 
running Win2k, but not from the same machine running FreeBSD or Linux.
It also doesn't work from the Powerbook running MacOS-X 10.3.5, but I 
know it's not the browser or anything in the Powerbook because if it 
works if I plug the Powerbook directly into the modem. It doesn't even 
work on the gateway itself, so a proxy wouldn't help.
The name resolution works fine, I can traceroute to the hosts on the 
gateway and even ping them. It seems to me as if there is something 
blocking the responses, when I try it with lynx all I see is "HTTP 
request sent; waiting for response."  but doesn't that mean, that the 
TCP handshake was already successful?
Everything was working fine back with 5.2, so I'm pretty sure it's 
something with my gateway, but what? (No I don't remember any particular 
change that could cause that)
I don't see anything special in the logs and I don't think I blocked 
anything. I don't think it's the fault of the packet filter pf, since it 
does not work from the gateway itself either, but just in case, here is 
my pf.conf (but it really can't be it, since there is no os-specific 
filtering in it):
 http://www.nagilum.org/pf.conf
It's more likely to be something with my kernel so here is my kernel config:
http://www.nagilum.de/cakebox
If I knew what else it could be I would put it up there but it just 
doesn't fit...
This is quite a mystery to me so any hints would be helpful,
Thanks in advance,
Alex.

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


Re: something fishy with this network

2004-09-10 Thread Charles Swiger
On Sep 10, 2004, at 4:40 PM, Nagilum wrote:
Everything works fine except I can't access certain hosts in the 
internet from the Powerbook or the gateway, the most famous being 
slashdot.org (www.clamav.net is another one). I can access other hosts 
without problems but from some I just don't get anything.
Hm, perhaps try adjusting your MTU down?  "ifconfig _name_ mtu 512"
[ Obviously, you want to use the largest MTU which works, but the above 
is a quick test that will show whether this helps.  Replace _name_ with 
the name of your outgoing NIC ]

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


Re: Adding A Hard Drive Using A PCI Controller

2004-09-10 Thread Rishi Chopra
--- Josh Paetzel <[EMAIL PROTECTED]> wrote:

> On Thursday 09 September 2004 16:58, Rishi Chopra
> wrote:
> > I just installed FreeBSD 5.2 on an old Dell
> (Pentium
> > 120).  The box has an ide controller onboard as
> well
> > as a Promise Ultra100 TX2 PCI controller card.
> > There's a 4GB hard drive attatched to the onboard
> > controller used for all of the system files (e.g.
> /,
> > /var, /tmp, and /usr) and a 200GB hard drive
> attached
> > to the PCI card with one giant 200GB FAT32
> partition
> > for data.
> >
> > The PCI card is recognized during boot (the card's
> > BIOS loads during bootup and a quick 'dmesg' shows
> a
> > atapci1 entry), but I don't see any entries for
> the
> > drive under /dev (e.g. there's no /dev/ad1*
> > partitions).  I checked that the drive and
> controller
> > are working, since another computer with a win2k
> > installation seems them just fine.  The onboard
> > controller and attached system drive seem to work
> just
> > fine.
> >
> > Can anyone suggest why the PCI controller is
> > recognized but the drive attached to it isn't? 
> What
> > should I do so that the drive is recognized?
> >
> > =
> > Rishi Chopra
> > http://www.ocf.berkeley.edu/~rchopra
> 
> The drive on the PCI adapter should show up as
> ad4***
> Don't know if that fixes your problem or not.
> 
> -- 
> Thanks,
> 
> Josh Paetzel
> 
> 

Unfortunately it doesn't; I checked the /dev directory
and there are no listings for anything other than ad0.
 The installation program presents me with the options
of using ad0 (the 4GB drive) and fd0 (zip drive).  The
kernel doesn't seem to recognize/load the 200GB drive!

I verified that the drive can be seen from DOS by
lodaing Ghost and Partition Magic; both programs are
able to see the drive just fine.  The kernel
documentation says that ad* are allocated dynamically
on bootup, so I don't think there needs to be an entry
in the kernel conf file, thought I might be
mistaken...

Anyone have any ideas on what the problem might be?

=
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to update system time?

2004-09-10 Thread Matthias F. Brandstetter
-- quoting Bill Moran --
> Is your securelevel set very high?  A high securelevel will prevent
> drastic changes to the system clock (although I don't remember what is
> specifically considered "drastic")

ok, a look into "man securelevel" gave the answer: in kernel securelevel 2 
or higher time changes are restricted to <= 1 sec.

Thanks for your tip! Since I am coming from Linux I had no idea of this 
kernel securelevels ... cool thing btw. ;)

Thanks to all of you for your quick help!
Greetings, Matthias

-- 
You can't depend on me all your lives.  You have to learn that there's a
little Homer Simpson in all of us.

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


RE: Regarding password changes (Re: no subject)

2004-09-10 Thread Thompson, Jimi
My suggestion follows Bill's.  Contact your hosting provider.  If you
can't contact your hosting provider and/or get them to help you, it's
time for a new hosting provider.  I've had good experience with
LunarPages.com.  Asking the FreeBSD community for support for something
like this is like calling Microsoft because your Netscape web browser
doesn't work.  Now, if you want to host your site at home on your own
FreeBSD box

HTH,

Jimi  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran
Sent: Friday, September 10, 2004 1:28 PM
To: Sharon Winston
Cc: [EMAIL PROTECTED]
Subject: Regarding password changes (Re: no subject)

Sharon Winston <[EMAIL PROTECTED]> wrote:
> Hello,
> I was hoping someone could help me. 
> 
> I'm trying to use Nifty TelNet to change a password on
> our Web site (the password allows visitors to enter
> the "members only" section of the site.)
> 
> Last year, I used the program to change the password,
> and it was no problem. This time, the commands look
> different and I'm having trouble. 
> 
> I'm getting all the way down to htpasswd .htpasswd,
> then, I pick a code, and type in a new password. But,
> when I go to our Web site, the password is the same
> old one.

I would assume that you're posting your question here because your
hosting provider is using FreeBSD.

However, FreeBSD is simply the software used by your provider, and
is almost surely not associated with your hosting provider in any
way other than the fact that your hosting provider uses FreeBSD. As
a result, it's unlikely that anyone in the FreeBSD community will
be of much help to you.

I would suggest contacting your hosting provider's tech support
directly for assistance in this matter.

If I am wrong, and your problem _is_ with FreeBSD, can you please
provide more details about what you are trying to do, such as the
exact commands you are entering and the results you see.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Re: something fishy with this network

2004-09-10 Thread Nagilum
Thanks Charles,
You really saved my day!
I had a "set MRU 1448" in my  /etc/ppp/ppp.conf, I changed it to the 
default size of 1492 which even though it's even larger, solved the 
problem?!
Thanks a lot again!

Charles Swiger wrote:
On Sep 10, 2004, at 4:40 PM, Nagilum wrote:
Everything works fine except I can't access certain hosts in the 
internet from the Powerbook or the gateway, the most famous being 
slashdot.org (www.clamav.net is another one). I can access other 
hosts without problems but from some I just don't get anything.

Hm, perhaps try adjusting your MTU down?  "ifconfig _name_ mtu 512"
[ Obviously, you want to use the largest MTU which works, but the 
above is a quick test that will show whether this helps.  Replace 
_name_ with the name of your outgoing NIC ]

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


Can't get my USB-devices to work (except mouse...). 5.2.1-R

2004-09-10 Thread Keatis
Hello.

Seems like noone usb-device want to work on the pc.
I have Intel Pentium Xeon 2.4GHz (E7505 Chipset based server) with SCSI, LSILogic 
MegaRAID controllers (LSI MegaRAID SCSI 320 v1.04, FW 1L19) and Intel 82801DB USB 
controller, USB1.0. There is also 4 SCSI HDDs (two Maxtor Atlas10K 35Gb and two 70Gb) 
in two RAID 1 arrays - amrd0 and amrd1 respectively. BIOS - PhoenixBIOS 4.0 Release 
6.0.

FreeBSD-5.2.1-RELEASE is installed (GENERIC kernel).
Thus,
device scbus
device da
device pass
device uhci
device ohci
device usb
device umass

are present in kernel config. And usbd_enabled="yes" in rc.conf.

When i attach either Flash-drive, or USB HDD (or just any usb-device), usbd keeps 
silence and doesn't report anything. Usb mouse is working fine (only if the mouse was 
connected before power-on or system startup) and usbd tells its words on 1st console 
when i detach mouse (but when i reattach it again, it won't work and usbd will tell 
nothing on 1st console).

Can't figure out what's wrong, so i want ask you to help to solve this problem.

dmesg is
su-2.05b# dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Sun Sep  5 00:59:48 MSD 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a2c000.
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 4025942016 (3839 MB)
avail memory = 3912691712 (3731 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
Pentium Pro MTRR support enabled
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 21 entries at 0xc00fde70
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_cpu0:  on acpi0
acpi_cpu1:  on acpi0
acpi_cpu2:  on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2:  on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2:  on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2:  on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2:  on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2:  on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xf400-0xf7ff at device 0.0 on 
pci0
pci0:  at device 0.1 (no driver attached)
pcib1:  mem 0xf800-0xfbff at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 2.0 on pci0
pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - AE_NOT_FOUND
pci2:  on pcib2
pci2:  at device 28.0 (no driver attached)
pcib3:  at device 29.0 on pci2
pci3:  on pcib3
amr0:  mem 0xfc00-0xfc00 irq 28 at device 2.0 on pci3
amr0:  Firmware 1L19, BIOS 1.04, 64MB RAM
pci2:  at device 30.0 (no driver attached)
pcib4:  at device 31.0 on pci2
pci4:  on pcib4
pci0:  at device 2.1 (no driver attached)
uhci0:  port 0x6800-0x681f irq 16 at device 
29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x6820-0x683f irq 19 at device 
29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0x6840-0x685f irq 18 at device 
29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0:  at device 29.7 (no driver attached)
pcib5:  at device 30.0 on pci0
pci5:  on pcib5
pci5:  at device 2.0 (no driver attached)
fxp0:  port 0x7400-0x743f mem 
0xf020-0xf021,0xf0221000-0xf0221fff irq 18 at device 3.0 on pci5
fxp0: Ethernet address 00:04:23:88:2d:56
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 0x6860-0x686f,0-0x3,0-0x7,0-0x3,0-0x7 at 
device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0:  at device 31.3 (no driver attached)
acpi_button0:  on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0
fdc0: cmd 3 failed at out byte 1 of 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
pp

Re: how to update system time?

2004-09-10 Thread Geert Hendrickx
On Fri, Sep 10, 2004 at 08:00:52PM +0200, Matthias F. Brandstetter wrote:
> -- quoting Shantanoo --
> > Is the computer properly networked? can it ping yahoo.com?
> 
> Yeah it is properly networked. I am connected via SSH now.
> And of course I can ping yahoo.com and other sites.
> 
> > the computer is not able to reach the ntp server. try pool.ntp.org
> 
> The computer _is_ able to reach the ntp server.
> See this example:
> 
> [ 17:34 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] rdate -s time.fu-berlin.de
> [ 17:35 [EMAIL PROTECTED] ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 [EMAIL PROTECTED] ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 [EMAIL PROTECTED] ~ ]
> 
> I really wonder why system time isn't set, because as said I use the rdate 
> tool on another FreeBSD machine and the same time server w/o any 
> problems...
> 
> Any other ideas?
> Greetings, Matthias

Note that rdate and ntpdate don't use the same protocol.  rdate uses RFC
868, whereas ntpdate uses RFC 2030 ("NTP").  So maybe this server
doesn't offer both?  

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


Re: foomatic-db-engine port broke?

2004-09-10 Thread Juergen Lock
I just stumbled across this and send-pr'd the fix (it needs to run aclocal).
See:
http://www.freebsd.org/cgi/query-pr.cgi?pr=71573

 You may need to grab the patch out of the raw pr because the ports tree
is still frozen and it may take a while before it gets in...

 (Found this via the archives; I'm not subscribed on -questions
so please Cc me with any followups if you want me to see them.)

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


nfs + ipv6 on 5.3 beta3

2004-09-10 Thread Paulo Roberto
Hi,

I am having trouble setting an nfs mount within ipv6. DOes it support?
I am getting "nfs: can't get net id for host".

My fstab: fe80::201:3ff:fec0:122d%rl0:/cdrom   /cdrom 
nfs ro,noauto 0 0

I tried putting the hostname and adding the ipv6 address to the
/etc/hosts file but I get the same message.

Thanks,

Paulo



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


strange output from fstat

2004-09-10 Thread Robert Huff

In the course of fixing another problem, I did:

huf@>>  fstat -v /var/run/utmp

and got:

unknown file type 0 for file 12 of pid 39567
unknown file type 0 for file 12 of pid 39561
unknown file type 0 for file 12 of pid 39556
unknown file type 0 for file 12 of pid 39555
unknown file type 0 for file 12 of pid 39554
unknown file type 0 for file 12 of pid 39553
unknown file type 0 for file 12 of pid 39552
unknown file type 0 for file 6 of pid 625
can't read vnode at 0x0 for pid 47
can't read vnode at 0x0 for pid 46
can't read vnode at 0x0 for pid 45
can't read vnode at 0x0 for pid 44
can't read vnode at 0x0 for pid 43
can't read vnode at 0x0 for pid 42
can't read vnode at 0x0 for pid 41
can't read vnode at 0x0 for pid 40
can't read vnode at 0x0 for pid 39
can't read vnode at 0x0 for pid 38
can't read vnode at 0x0 for pid 37
can't read vnode at 0x0 for pid 36
can't read vnode at 0x0 for pid 9
can't read vnode at 0x0 for pid 8
can't read vnode at 0x0 for pid 7
can't read vnode at 0x0 for pid 35
can't read vnode at 0x0 for pid 34
can't read vnode at 0x0 for pid 6
can't read vnode at 0x0 for pid 33
can't read vnode at 0x0 for pid 32
can't read vnode at 0x0 for pid 5
can't read vnode at 0x0 for pid 31
can't read vnode at 0x0 for pid 30
can't read vnode at 0x0 for pid 29
can't read vnode at 0x0 for pid 4
can't read vnode at 0x0 for pid 3
can't read vnode at 0x0 for pid 2
can't read vnode at 0x0 for pid 28
can't read vnode at 0x0 for pid 27
can't read vnode at 0x0 for pid 26
can't read vnode at 0x0 for pid 25
can't read vnode at 0x0 for pid 24
can't read vnode at 0x0 for pid 23
can't read vnode at 0x0 for pid 22
can't read vnode at 0x0 for pid 21
can't read vnode at 0x0 for pid 20
can't read vnode at 0x0 for pid 19
can't read vnode at 0x0 for pid 18
can't read vnode at 0x0 for pid 17
can't read vnode at 0x0 for pid 16
can't read vnode at 0x0 for pid 15
can't read vnode at 0x0 for pid 14
can't read vnode at 0x0 for pid 13
can't read vnode at 0x0 for pid 12
can't read vnode at 0x0 for pid 11
can't read vnode at 0x0 for pid 10
can't read vnode at 0x0 for pid 0
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV  R/W NAME

Now I don't use fstat much, but this doesn't feel right.
Is there an actual problem, or am I over-reacting?
(uname -v = FreeBSD 6.0-CURRENT #1: Fri Aug 20 15:02:58 EDT 2004



Robert Huff


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


Re: incorrect time from sendmail (FBSD 5.3)

2004-09-10 Thread Malcolm Kay
On Fri, 10 Sep 2004 01:57 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I can not get sendmail to use the correct timezone on my system. The
> timezone is set via tzsetup to PDT (localtime).  /etc/localtime exists. The
> system reports the correct time everywhere. The problem is that sendmail
> insists on using UTC. I have tried setting the cmos time to UTC, then
> configuring the timezone (via tzsetup) as PDT but having the cmos set to
> UTC. Sendmail still does not make the appropriate adjustment when creating
> it's header:
>
> Received: from xxx.xxx.xxx.xxx (unverified [xxx.xxx.xxx.xxx])
>   by webmail2 (VisualMail 4.0)
>   with WEBMAIL id 2294;
>   Fri, 10 Sep 2004 04:18:41 +
> From: [EMAIL PROTECTED]
>
> The sendmail .cf file is set to USE_TZ (default).  I have dug through
> newsgroups, faqs, howto, etc. and I can't find what is wrong. Is this a bug
> in 5.3 ?
>

I believe this may be your problem. My understanding is the USE_TZ is for use
with systems which set time zone using a TZ environment variable. 
I believe you need USE_SYSTEM.
(however I'm not a "sendmail" expert )

Malcolm

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


Re: Adding A Hard Drive Using A PCI Controller

2004-09-10 Thread Nicholas Jackson
It sounds like it might be an out-of-date firmware problem to me.
Check the web sites for both the Promise controller and your motherboard 
and make sure you have flashed your hardware with the most recent 
updates if more recent ones are available.

Those new, large IDE drives require 48 bit support in the controller
and it probably wouldn't hurt to check that your computer's BIOS is as 
recent as possible as well.

Of course, it could be something else, (cables?) but I've had similar 
problems that were cured instantly and painlessly by updated firmware.

-Nick
Rishi Chopra wrote:
--- Josh Paetzel <[EMAIL PROTECTED]> wrote:

On Thursday 09 September 2004 16:58, Rishi Chopra
wrote:
I just installed FreeBSD 5.2 on an old Dell
(Pentium
120).  The box has an ide controller onboard as
well
as a Promise Ultra100 TX2 PCI controller card.
There's a 4GB hard drive attatched to the onboard
controller used for all of the system files (e.g.
/,
/var, /tmp, and /usr) and a 200GB hard drive
attached
to the PCI card with one giant 200GB FAT32
partition
for data.
The PCI card is recognized during boot (the card's
BIOS loads during bootup and a quick 'dmesg' shows
a
atapci1 entry), but I don't see any entries for
the
drive under /dev (e.g. there's no /dev/ad1*
partitions).  I checked that the drive and
controller
are working, since another computer with a win2k
installation seems them just fine.  The onboard
controller and attached system drive seem to work
just
fine.
Can anyone suggest why the PCI controller is
recognized but the drive attached to it isn't? 
What
should I do so that the drive is recognized?
=
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
The drive on the PCI adapter should show up as
ad4***
Don't know if that fixes your problem or not.
--
Thanks,
Josh Paetzel


Unfortunately it doesn't; I checked the /dev directory
and there are no listings for anything other than ad0.
 The installation program presents me with the options
of using ad0 (the 4GB drive) and fd0 (zip drive).  The
kernel doesn't seem to recognize/load the 200GB drive!
I verified that the drive can be seen from DOS by
lodaing Ghost and Partition Magic; both programs are
able to see the drive just fine.  The kernel
documentation says that ad* are allocated dynamically
on bootup, so I don't think there needs to be an entry
in the kernel conf file, thought I might be
mistaken...
Anyone have any ideas on what the problem might be?
=
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NAT/DIVERT Issues in 5.2.1 Release

2004-09-10 Thread Denis Lemire
I've just completed a frustrating day of attempting to get nat working
on 5.2.1 RELEASE. I've very familiar with using FreeBSD as a nat
enabled Internet gateway, I have set this up on many machines with
prior versions.

I've compiled my kernel with the ip divert and firewall options
needed. I have enabled the firewall and natd in my rc.conf, and have
(for now) set firewall type to open and gateway_enable="yes".

The setup simply won't work, the appropriate rules are in the
firewall, and the natd daemon is running. The main thing I find that
doesn't make sense is running "ipfw -a l" lists the divert rule but
its values are zeroed out such that it has been used.

Is there an issue with nat on 5.2.1-RELEASE? I've even tried compiling
a kernel from cvsup (5.2.1-RELEASE-p9 I believe).

Any suggestions on where I might have messed this up would be excellent.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CLI tool for motherboard/CPU temp monitoring.

2004-09-10 Thread Jud

On Wed, 8 Sep 2004 17:45:02 -0700, "Kenji M" <[EMAIL PROTECTED]> said:
> Thanks a lot guys. I'm gonna try these out.
> I have 7 boxes in my house without A/C hosting various sites... the room
> is approaching 90+ degree with fans blowing full bore... and my house is
> 100
> degree... Silicon Valley weather is super hot this year!

In that case, see also /usr/ports/sysutils/fvcool.

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


how to tell source code versions?

2004-09-10 Thread rob gabaree
hi guys:

im pretty new and just recompiled my kernel with cvsup (using src-all)
and uname -a prints:

FreeBSD xxx 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #1: Fri Sep 10
18:01:49 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XCAGE2  i386

i used the RELENG_4_10 tag to do this, but im wondering if someone
could tell me where to go to find out the latest source code, ex the
above was -RELEASE-p2.. is p2 the latest? where can i find the latest
info so i know i ahve the most up to date one?

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


Re: problemo

2004-09-10 Thread Subhro
Recompile the kernel after adding "device agp" without the "s to the
kernel config file. Alternatively you can load agp as a module using
"kldload agp.ko" without the "s.

Regards
S.


On Sat, 11 Sep 2004 03:19:30 +, A W <[EMAIL PROTECTED]> wrote:
> hey subhro? how come every time i try to launch KDE in 256 colors and select
> a screen like 800x600 it always gives me a 256 color and something like
> 300x200 screen? how can i change it so that it runs like 256 color and
> 800x600 pixs?
> 
> >From: Subhro <[EMAIL PROTECTED]>
> >Reply-To: Subhro <[EMAIL PROTECTED]>
> >To: A W <[EMAIL PROTECTED]>
> >CC: freebsd <[EMAIL PROTECTED]>
> >Subject: Re: problemo
> >Date: Fri, 10 Sep 2004 08:25:53 +0530
> 
> 
> >
> >Suppose you want to setup X Server for a user called "prince".
> >Then log into the system as "prince". Then type these commands:
> >
> >cat >> .xinitrc 
> >startkde 
> >
> >startx
> >
> >This will work for you.
> >
> >Regards
> >S.
> >
> >
> >
> >On Fri, 10 Sep 2004 02:48:56 +, A W <[EMAIL PROTECTED]> wrote:
> > > how do i make files and where do i find my home directory? And what do u
> > > mean by "without the "s in the first line"? And im just totally lost on
> >the
> > > last sentence. quite annoying aren't i? one answer leads to more
> >questions.
> > > If u find me annoying for not knowing anything, just tell me ill stop
> > > asking.
> > >
> > > >From: Subhro <[EMAIL PROTECTED]>
> > > >Reply-To: Subhro <[EMAIL PROTECTED]>
> > > >To: freebsd <[EMAIL PROTECTED]>
> > > >CC: A W <[EMAIL PROTECTED]>
> > > >Subject: Re: problemo
> > > >Date: Fri, 10 Sep 2004 08:09:57 +0530
> > >
> > >
> > > >
> > > >Make a file called .xinitrc in your home directory. The file would
> > > >contain only "startkde" without the "s in the first line. Save and
> > > >exit the file. Next start the X server using "startx" without the "s
> > > >if you have installed the wrapper port or with "X" without the "s if
> > > >you havent. You should be back in track.
> > > >
> > > >Regards
> > > >S.
> > > >
> > > >
> > > >On Fri, 10 Sep 2004 02:31:12 +, A W <[EMAIL PROTECTED]>
> >wrote:
> > > > > Hi once again and very obviously i have ran into another problem.
> >the
> > > > > Xfree86 i installed KDE window manager or w/e. So i reboot after i
> >login
> > > >and
> > > > > type startkde in the command prompt it gives me
> > > > > xet : unable to open display
> > > > > xsetroot : unable to open display
> > > > > startkde : starting up...
> > > > > startkde : Running kpersonlizer
> > > > > kwin : cannot connect to X server
> > > > > kpersonlizer : cannot connect to X server
> > > > > and the last message keeps on repeating but i no longer can type any
> > > > > commands into it
> > > > >
> > > > > then i tried Gnome and i typed "gnome-session" it gives me a message
> > > >saying
> > > > > (gnome-session:520) : Gtk-warning ** : cannot open display:
> > > > >
> > > > > well what is certain is that my display is not working properly
> >though i
> > > > > could be corrected. I have tried almost every option that associates
> > > >with
> > > > > KDE and Gnome but i still can't tend to find what caused the
> >problem.
> > > >Please
> > > > > help me
> > > > >
> > > > > _
> > > > > MSN® Calendar keeps you organized and takes the effort out of
> >scheduling
> > > > > get-togethers.
> > > > >
> > >
> > >http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> > > > >  Start enjoying all the benefits of MSN® Premium right now and get
> >the
> > > > > first two months FREE*.
> > > > >
> > > > > ___
> > > > > [EMAIL PROTECTED] mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to
> > > >"[EMAIL PROTECTED]"
> > > > >
> > > >
> > > >
> > > >
> > > >--
> > > >Subhro Sankha Kar
> > > >School of Information Technology
> > > >Block AQ-13/1 Sector V
> > > >ZIP 700091
> > > >India
> > >
> > > _
> > > Take charge with a pop-up guard built on patented Microsoft® SmartScreen
> > > Technology.
> > >
> > >
> > >
> >http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> > >  Start enjoying all the benefits of MSN® Premium right now and get the
> > > first two months FREE*.
> > >
> > >
> >
> >
> >
> >--
> >Subhro Sankha Kar
> >School of Information Technology
> >Block AQ-13/1 Sector V
> >ZIP 700091
> >India
> 
> _
> Scan and help eliminate destructive viruses from your inbound and outbound
> e-mail and attachments.
> 
> 
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
>  Start enjoying all the benefits of MSN® Premium right now and get the
> fi

Re: NAT/DIVERT Issues in 5.2.1 Release

2004-09-10 Thread Subhro
There is no issue I know of. FBSD-5.2.1-R-p9 works nicely as a NAT
gateway at my location. However the information you have provided is
too little for getting hold of the problem. We could try to figure
something out but we need some more informations, like how set it up,
firewall rules, etc.

Regards
S.


On Fri, 10 Sep 2004 20:57:44 -0600, Denis Lemire <[EMAIL PROTECTED]> wrote:
> I've just completed a frustrating day of attempting to get nat working
> on 5.2.1 RELEASE. I've very familiar with using FreeBSD as a nat
> enabled Internet gateway, I have set this up on many machines with
> prior versions.
> 
> I've compiled my kernel with the ip divert and firewall options
> needed. I have enabled the firewall and natd in my rc.conf, and have
> (for now) set firewall type to open and gateway_enable="yes".
> 
> The setup simply won't work, the appropriate rules are in the
> firewall, and the natd daemon is running. The main thing I find that
> doesn't make sense is running "ipfw -a l" lists the divert rule but
> its values are zeroed out such that it has been used.
> 
> Is there an issue with nat on 5.2.1-RELEASE? I've even tried compiling
> a kernel from cvsup (5.2.1-RELEASE-p9 I believe).
> 
> Any suggestions on where I might have messed this up would be excellent.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Phantom /var full messages

2004-09-10 Thread Sergey Zaharchenko
On Fri, Sep 10, 2004 at 01:55:03PM -0400,
 Robert Huff probably wrote:
> 
> Paul Schmehl writes:
> >  How do you convert the filenames from numbers to names?
> 
>   man find
> 

Actually, if the files in question are opened and unlinked, then they
have no `name' in the filesystem and find(1) won't help you.

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

-- 
DoubleF
Today is the first day of the rest of your lossage.


pgptfytBgxnq1.pgp
Description: PGP signature


Request

2004-09-10 Thread David Garcia G.
Hi to the FreeBSD team, my name is David Garcia, I'm from Mexico, I'm a university 
student of computing and I'm investigating about the FreeBSD OS, I would really 
apreciate some specifical information like technical information about the kernel, the 
advantages and disadvantages agains the Linux operating systems, it's independence of 
the hardware where it's running and the facilities that FreeBSD gives for software 
develop. I would really apreciate such information, I know it's common information but 
not so easy to find on internet, mostly because I need some technical information. I'm 
writing you because the page of FreeBSD for Mexico seems to be out of service. Thank 
you.


Este mensaje fue enviado por David G.


-
Do You Yahoo!?
Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to tell source code versions?

2004-09-10 Thread Josh Hansen
rob gabaree wrote:
hi guys:
im pretty new and just recompiled my kernel with cvsup (using src-all)
and uname -a prints:
FreeBSD xxx 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #1: Fri Sep 10
18:01:49 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XCAGE2  i386
i used the RELENG_4_10 tag to do this, but im wondering if someone
could tell me where to go to find out the latest source code, ex the
above was -RELEASE-p2.. is p2 the latest? where can i find the latest
info so i know i ahve the most up to date one?
thanks
 

It's all about the tags.  RELENG_4_10 will give you FreeBSD 
4.10-RELEASE, the -p2 means there have been 2 patches for it since it 
was released and you have them.  Tthe RELEASE branch only gets bugfixes 
and security updates.  If you want, say, 4.10-STABLE, which will 
eventually become 4.11, use the tag RELENG_4.  There is a section on 
these tags in the FreeBSD Handbook that fully explains them.

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


Asus A7N8X-E w/SATA and SCSI, 4.10 sys install snafu

2004-09-10 Thread Gary Aitken
Just built a new system:
  Asus A7N8X-E motherboard, Athlon XP 2600+
  2 SATA seagate drives
  Old buslogic SCSI controller with 2 drives, a cd, and a tape.
  ATI compatible radeon 9000 agp 4x video card
The scsi disks have win nt images on them, from a previous system
so I can continue running it until I get a new one with both freebsd
and nt going off the sata drives.  When booted, the nt system runs fine.
I configured the mobo to boot from cd first, popped in the freebsd
4.10 cd.  However, it boots the nt images off the scsi disks instead.
So I unplugged the power from the scsi disks.  It still wouldn't
boot off the scsi cd.  Is the mobo bios too dumb to recognize a
scsi cd?
So I popped in a 4.10 boot floppy and tried again.
Turns out the boot floppy was bad,
Boot: 0:fda(0,a)/floppy
|\
Boot:
I tried to force a boot from the cd, but I'm not sure what to use
for the bios device and the device ids.  The CD is configured as
SCSI device 6.  I tried:
Boot: 1:da(6,a)/kernel -C
Invalid label
Invalid label
No /kernel
BIOS shows the following devices:
Bus Device Function  Vendor/Device  Class  Device ClassIRQ
Num  Num Num
 02   0   10DE   0067   0C03   USB 1.0/1.1 OHCI Ctlr 3
 02   1   10DE   0067   0C03   USB 1.0/1.1 OHCI Ctlr 5
 02   2   10DE   0068   0C03   USB 2.0 EHCI Ctrlr   10
 04   0   10DE   0066   0200   Network ctlr  5
 05   0   10DE   006B   0401   Multimedia Device 9
 06   0   10DE   006A   0401   Multimedia Device11
 09   0   10DE   0065   0101   IDE controller   14
 14   0   11AB   4520   0200   Network controller5
 16   0   104B   8130   0100   Mass Storage controller  11
 1   11   0   1095   3112   0104   RAID controller  11
 30   0   1002   4966   0300   Display controller4
   ACPI controller   9
The device on pci1 at 6.0, irq 11 is the buslogic scsi controller.
So I made new boot floppies, which booted properly.
The boot and initial probe shows the following:
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS drive E: is disk3
BIOS drive F: is disk4
(makes sense, given that the system has a floppy (A),
two scsi disks (C,D or E,F) and two sata disks (ditto).)
md0: Preloaded image 
md1: Malloc disk
Using $PIR table, 12 entries at 0xc00fdea0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pci0:  vendor=0x10de, dev=0x01eb at 0.1
pci0:  vendor=0x10de, dev=0x01ee at 0.2
pci0:  vendor=0x10de, dev=0x01ed at 0.3
pci0:  vendor=0x10de, dev=0x01ec at 0.4
pci0:  vendor=0x10de, dev=0x01ef at 0.5
isab0:  on isab0
pci0:  (vendor=10de, dev=0x0064) at 1.1 irq 4
ohci0:  mem=0xe1085000-0xe1085fff irq 3 at device 2.0 
on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem=0xe1082000-0xe1082fff irq 5  at device 2.1 
on pci0
usb1: OHCI version 1.0, legacy support
usb1:  on ohci0
usb1: USB revision 1.0
uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0:  at 2.2 irq 10
pci0:  (vendor=0x10de, dev=0x0066) at 4.0 irq 5
pci0:  (vendor=0x10de, dev=0x006b) at 5.0 irq 9
pci0:  (vendor=0x10de, dev=0x006a) at 6.0 irq 11
pcib1:  at 8.0 on pci0
pci1:  on pcib1
pci1:  (vendor=0x11ab, dev=0x4320) at 4.0 irq 5
pci1:  (vendor=0x104b, dev=0x8130) at 6.0 irq 11
pci1:  (vendor=0x1095, dev=0x3112) at 11.0 irq 11
atapci0:  port 0xf000-0xf00f at device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2:  at device 30.0 on pci0
pci3:  at 0.0 irq 4
pci3:  at 0.1
orm0:  at iomem 0xc0-0xcafff, 0xcc000-0xcd7ff, 0xce000-0xcdfff, 
0xcf000-0xd1fff, 0xd2000-0xd67ff on isa0
pmtimer0 on isa0
fdc0:  at port 0x3f0-0x3f5, 0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60, 0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300)
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1 configured irq 3 not in bitmap of probed irqs 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0:  on ppbus0
Mounting root from ufs:/dev/md0c
/stand/sysinstall running as init on vty0
Freebsd isn't recognizing
  the buslogic controller (bt0) device (pci1, device 6.0),
  the sata device (pci1 device 11.0),
  or either of the network devices (pci0 device 4.0, pc

Re: Apache+mod_ssl + mod_php segfault

2004-09-10 Thread Vonleigh Simmons
Use ldd(1) to investigate what shlibs a binary needs, and check for
conflicts:
	This is what it outputs. Seems to be the same (although the numbers 
between parenthesis don't coincide, don't know if they should):

/usr/local/sbin/httpd:
libcrypt.so.2 => /lib/libcrypt.so.2 (0x280aa000)
libmm.so.13 => /usr/local/lib/libmm.so.13 (0x280c3000)
libc.so.5 => /lib/libc.so.5 (0x280c7000)
/usr/local/libexec/apache/libphp4.so:
libcrypt.so.2 => /lib/libcrypt.so.2 (0x28248000)
libm.so.2 => /lib/libm.so.2 (0x28261000)
Vonleigh Simmons

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


Re: Phantom /var full messages

2004-09-10 Thread Paul Schmehl
--On Saturday, September 11, 2004 8:30 AM +0400 Sergey Zaharchenko 
<[EMAIL PROTECTED]> wrote:
Actually, if the files in question are opened and unlinked, then they
have no `name' in the filesystem and find(1) won't help you.
Interesting.  I did a find /var -inum {inode_num} and got the name of the 
file.  (session.log, which *should* be hupped when it's turned over.)  I've 
posted on the snort list to see if anyone is aware of this or has seen the 
problem before.  In the meantime, I've commented out the log in the conf 
file so the server won't gag when I'm not paying attention to it.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with the ports collection

2004-09-10 Thread Travis Troyer
I just installed FreeBSD from the 5.2.1 ISO.  After installing
the necessities, I downloaded the latest ports.tar.gz from
freebsd.org, extracted the ports, and did a "make index" from
the ports directory.  At this point I did "make install" from
x11/kde3.  Since then I have installed firefox, gaim, and a
few other ports.  Then, I noticed that I didn't have kmail,
and found that it is part of the kdepim port, so I tried
installing it.  At some point it requires gpg-error.1, during
which I get:

===>   libgcrypt-1.2.0_1 depends on shared library:
gpg-error.1 - not found
===>Verifying install for gpg-error.1 in
/usr/ports/security/libgpg-error
===>  Vulnerability check disabled
>> libgpg-error-1.0.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
>> Attempting to fetch from
ftp://gd.tuwien.ac.at/privacy/gnupg/libgpg-error/.
Receiving libgpg-error-1.0.tar.gz (323724 bytes): 100%
323724 bytes transferred in 24.9 seconds (12.68 kBps)
===>  Extracting for libgpg-error-1.0
>> Checksum OK for libgpg-error-1.0.tar.gz.
===>  Patching for libgpg-error-1.0
===>   libgpg-error-1.0 depends on file:
/usr/local/bin/libtool15 - found
===>   libgpg-error-1.0 depends on shared library: intl - found
===>  Configuring for libgpg-error-1.0
cp: /usr/ports/security/libgpg-error/work/libgpg-error-1.0
/usr/ports/security/libgpg-error/work/libgpg-error-1.0/config.guess:
No such file or directory
*** Error code 1


When installing other ports, I find that I get similar errors,
involving a "config.guess" file. 

Trying various things, I decided to run "portsdb -Uu", and got: 

portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please
wait..Warning: Duplicate INDEX entry: freeciv-gtk2-1.14.1
 Done.
done
[Updating the portsdb  in /usr/ports ... -
11735 port entries found
.1000.2000.3000.4000.5000.6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
[BUG] Bus Error
ruby 1.8.2 (2004-07-29) [i386-freebsd5]

Abort (core dumped)



At this point I am completely clueless as to what to try next.
 I can't seem to install any ports, and I don't know how to
get my ports collection back to a usable state, or what I did
to break it in the first place.  Of course, I will be happy to
provide any addition information.  I would appreciate any help
that may be offered.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"