Re: Where is 4.5, 4.6, etc. on the FTP sites ?

2003-09-18 Thread JacobRhoden
On Thu, 18 Sep 2003 03:37 pm, Josh Brooks wrote:
 But on the outside chance that older versions (4.5, 4.6, 4.6.1) are
 _actually_ not on the ftp servers, can someone explain why, and where I
 can get them from ?

You could just install 4.8-RELEASE, then use cvsup to 'downgrade' the source 
to any date you like, or any 4.x you like (:

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


Re: xv flag to not create ~/dir/dir/.xvpics/

2003-09-18 Thread JacobRhoden
On Thu, 18 Sep 2003 12:19 pm, Peter Leftwich wrote:
   All I ever wanted was a file explorer similar to Microsoft Explorer
   (latest) or ACDSee32 (www.acdsystems.com I think).  In Unix.  Too much
   to ask?

  I had a gtk app that displayed thumbnails as you went thru the directory
  structure, is that what you are looking for? It was gqview and is in the
  ports. Thumbnail display is an option from the menubar

 Great post!  Thank you.  I had actually tried this or a similar app before
 and was dismayed that the thumbnails were not in a grid (rather, they are
 in a single, uniform column) but there are SO MANY great features that I'll
 settle!!!  Awesome.  You can rename, delete, move, bulk move, etc also.
 Thanks again, you made my day.

Woah!!! Wow freebsd has some useful graphics programs *grin*!!! I have been 
struggling along using the gimp open doalogue box preview thing to browse my 
photos, this is soo much better.

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


openssh upgrade help

2003-09-18 Thread Paul JURCO
Hi,
I have FreeBSD 5.0-RELEASE-p7 and i'm trying to patch openssh.
I used cvsup to get latest sources for RELENG_5_0.
#cd /usr/src/secure/lib/libssh
#make depend  make all install
Warning: Object directory not changed from original
/usr/src/secure/lib/libssh
make: don't know how to make
/usr/src/crypto/openssh/openbsd-compat/basename.h. Stop
#make depend
#make all
Warning: Object directory not changed from original
/usr/src/secure/lib/libssh
make: don't know how to make
/usr/src/crypto/openssh/openbsd-compat/basename.h. Stop

How can I upgrade openssh in this conditions?

Thank you,
Paul JURCO


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


Re: Where is 4.5, 4.6, etc. on the FTP sites ?

2003-09-18 Thread Josh Brooks

I am not here to go into a lengthy justification as to why I need the
older ones (damn, I just knew the answers would all be but why would you
not just upgrade)

The point is, why are they not on the ftp sites anymore ?

I suspect there is no good reason for it at all - just a totally arbitrary
decision to remove things that didn't hurt anyone to keep around.

I think i am going to go remove all the faucet handles in my bathrooms.
Sound strange ?  It is not any more of a pointless and arbitrary removal
of functionality than what was removed from the ftp sites.



On Thu, 18 Sep 2003, JacobRhoden wrote:

 On Thu, 18 Sep 2003 03:37 pm, Josh Brooks wrote:
  But on the outside chance that older versions (4.5, 4.6, 4.6.1) are
  _actually_ not on the ftp servers, can someone explain why, and where I
  can get them from ?

 You could just install 4.8-RELEASE, then use cvsup to 'downgrade' the source
 to any date you like, or any 4.x you like (:

 _
 JacobRhoden - http://rhoden.id.au/


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


Re: Where is 4.5, 4.6, etc. on the FTP sites ?

2003-09-18 Thread Dan Nelson
In the last episode (Sep 17), Josh Brooks said:
 I am not here to go into a lengthy justification as to why I need the
 older ones (damn, I just knew the answers would all be but why would
 you not just upgrade)
 
 The point is, why are they not on the ftp sites anymore ?
 
 I suspect there is no good reason for it at all - just a totally
 arbitrary decision to remove things that didn't hurt anyone to keep
 around.
 
 I think i am going to go remove all the faucet handles in my
 bathrooms. Sound strange ?  It is not any more of a pointless and
 arbitrary removal of functionality than what was removed from the ftp
 sites.

Do you have to pay for the space taken up by your faucet handles?

Try www.freebsdmirrors.org for a list of sites that have the disk space
to keep old releases.

-- 
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: PRERELEASE kernel: top command gives rubbish output !?!

2003-09-18 Thread Jonathan Chen
On Thu, Sep 18, 2003 at 11:12:32AM +0900, Rob Lahaye wrote:
 
 Francis A. Vidal wrote:
  Did you do a 'make installworld' after you installed the new kernel
  (4.9-PRERELEASE)? 
 
 Just double checking: 'make installworld' involves being very
 careful with my /etc files and the use of mergemaster etc.
 Right?

No. make installworld is after a make installkernel, which is preceded
by a make buildkernel, ... etc. Hmm. Why don't you read the Handbook for
more complete details.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum and SoftUpdates

2003-09-18 Thread bsd
Greg 'groggy' Lehey writes:
That's because there's nothing to say about them. 

What was the cause of the panic? 

Greg, 

Thanks for following up.  I realise my original post was rather scanty on 
detail, but I was just wondering about the specific combination of 
vinum/softupdates.  Since you indicate that this combination should not be a 
problem in itself, I will need to dig deeper. 

Unfortunately I have only heard about the problems on these servers after 
the fact.  I will need to rebuild their kernels with debugging, etc, as I 
did on my own box previously, and then wait for another crash and see what 
gdbmods reveals. 

I'll be in touch when I have something more useful in the way of clues. 

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


Build of libgnomecanvas fails - help

2003-09-18 Thread Odhiambo Washington

Hello heroes,


I am trying for 2 good months to get evolution working but it fails while
building libgonecanvas. FreeBSD-5.1

Could there be some help, please?


===  Building for libgnomecanvas-2.2.1
gmake  all-recursive
gmake[1]: Entering directory 
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1'
Making all in libgnomecanvas
gmake[2]: Entering directory 
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/libgnomecanvas'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory 
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/libgnomecanvas'
Making all in glade
gmake[2]: Entering directory 
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/glade'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
-I. -I. -I.. -I..  -I..  
-DG_LOG_DOMAIN=\GnomeCanvas\   -I/usr/local/include/atk-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include 
-I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/include/libglade-2.0  
  -I/usr/local/include  -O -pipe
-mcpu=pentiumpro -c glade-canvas.c
rm -f .libs/glade-canvas.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DG_LOG_DOMAIN=\GnomeCanvas\ 
-I/usr/local/include/atk-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include 
-I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/include/libglade-2.0 
-I/usr/local/include -O -pipe
-mcpu=pentiumpro -c glade-canvas.c  -fPIC -DPIC -o .libs/glade-canvas.lo
glade-canvas.c:43: syntax error before set_aa
glade-canvas.c: In function `glade_module_register_widgets':
glade-canvas.c:84: `glade_standard_build_widget' undeclared (first use in this 
function)
glade-canvas.c:84: (Each undeclared identifier is reported only once
glade-canvas.c:84: for each function it appears in.)
gmake[2]: *** [glade-canvas.lo] Error 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/glade'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/graphics/libgnomecanvas.


-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)

Yeah, but you're taking the universe out of context.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dummynet Pipes

2003-09-18 Thread Sunil Sunder Raj
Hi,

Check this out

pipe 1 config bw 512kbit/s
queue 1 config pipe 1
add 150 queue 1 all from 78.77.76.21 to any
pipe 2 config bw 512kbit/s
queue 2 config pipe 2
add 151 queue 2 all from any to 78.77.76.21
Regards
SSR

From: Colin Watson [EMAIL PROTECTED]
Reply-To: Colin Watson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dummynet Pipes
Date: Fri, 12 Sep 2003 15:04:16 +0100
I've got a question about dummynet pipes, basically I've installed two 
rules per user to control their traffic flow:

add 150 pipe 15 ip from 78.77.76.21 to any out
pipe 15 config bw 512Kbit/s queue 10
add 160 pipe 16 ip from any to 78.77.76.21 in
pipe 16 config bw 512Kbit/s queue 10
However, the first (outbound traffic) rule is not kicking in. And the users 
can upload at whatever capcity is on the backbone. Just wondering if I've 
configured it correctly, or if something is missing - Any help appericated.

Colin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Attention NRIs! Banking worries? 
http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips.

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


Re: Is FreeBSD up to this job?

2003-09-18 Thread David L
This is just a long shot, but have you had a look at Freevo?

www.freevo.org

It runs on FreeBSD

David
 Hi gang,
  I was looking at purchasing a jukebox recently for a poolhall. When
 all is said and done, I found a refurbished 100 cd jukebox which I
 thought was really nice, until I heard the price - $4500. This is on
 par with a lot of older refurbished models, and the price can double
 for newer ones! So, the gears in my head started turning, and I
 mentally devised a plan to build my own jukebox that does more then
 your standard juke for a lot less money. Though I am unfortunately
 more of a Windows guy, I am thinking of turning to FBSD for this job.

 My plan is to build a custom jukebox looking enclosure like everyone
 is used to seeing in bars, poolhalls, etc. In place of the CD changer
 I'd like to have a full PC (Thinking XP2800, 1GB RAM, 500Gb SATA RAID)
 built inside, connected to a CD changer that I can control. This way I
 can offer more then just CDs, but mp3s and videos as well. I'd like to
 pick up a nice vid card (Say an ATI Radeon 9xxx Pro series with S-Video
 out) and setup the S-Video side to stream videos/xmms mp3/cd
 visualizations to 6 TVs spread throughout the place.
 In place of the normal song selection screen you normally see, I'd like
 to place a 17 or 19 LCD that only display 4-8 CD covers  song lists
 at a time.
 Here's what I need to do:
 *Build a catalog of all music and videos on harddrive and CDs in
 changer, automatically 1-2 times a day or on demand.
 *Output video to a monitor which shows only the music list. For
 CD's/mp3s it will show the CD cover and a songlist. Typical jukebox
 style with CD's being numbered as well as song (EG. say NOFX's War on
 Errorism is listed as CD 22 and the song Mattersville is track 12,
 they'd enter 2212 as the song request). Show anywhere from 4-8 CD's and
 song info at a time (depending on screen size)
 *Interface with several buttons to control display. A set of NEXT PREV
 buttons which flip through the virtual catalog, and another set
 entitled Music and Videos which switch display
 *When pressing the Videos button, I'd like to be able to see the
 screen switch to a similar style as the above, only showing a
 screenshot of the video, artist name, song title, and album.
 *Tell FBSD to listen to a bill validator
 (http://www.videocan.com/bill_validator.html - currently waiting for
 info from them about interface) for credit inputs, and display it as an
 overlay on the screen (Let's say $1 buys 3 songs or 2 videos - display
 would show that)
 *Once it's determined that there's credits in the machine have FBSD
 listen to a keypad (telephone pad style) for input in the style of
 , first 2 being album number, second 2 track number.
 *Queue up and keep track of songs to play. mp3s/CDs will launch a
 visualization studio to display the music vis to the TVs, or launch
 videos to play on TVs.
 *When there's no activity, it will enter a screensaver mode where it
 changes screens on monitor.
 Stuff I'm thinking about adding but isn't necessary - search function,
 user inserted CDs (which lock CDtray until song/cd is through playing).

 Although I'm fairly certain FBSD can handle this, I wanted to ask the
 experts, to see if I'm right. I'm hoping to have a real easy to operate
 jukebox, so I don't want to have to many buttons, keyboards, etc there
 to confuse people. And if at all possible, I don't want to make mention
 that I'm using FBSD/PC hardware/etc inside (well, except for some
 powered by FreeBSD stickers on the back hehe).
 Let me know your thoughts! If I go forward with this, it's at least 2
 years away, but I think the idea is fairly sound.

 Thanks,
   Jeremy Pavleck
 ___
 [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]


Radeon 8500 LE 128mb

2003-09-18 Thread David L
Has anyone had any success with dual head on this card ( that is, one monitor 
on the vga output and another on the dvi output )?

usually if I do pciconf -v -l with one monitor hooked up only and to the vga 
port, I get 

[EMAIL PROTECTED]:0:0:  class=0x03 card=0x00041681 chip=0x514c1002 rev=0x00 
hdr=0x00
vendor   = 'ATI Technologies'
device   = 'R200 Radeon 8500 / 8500LE'
class= display
subclass = VGA

as you can see it has the drm driver attached. 

If I start with both monitors plugged in I get this:

[EMAIL PROTECTED]:0:0:  class=0x03 card=0x00041681 chip=0x514c1002 rev=0x00 
hdr=0x00
vendor   = 'ATI Technologies'
device   = 'R200 Radeon 8500 / 8500LE'
class= display
subclass = VGA

what happened with the driver? The text in the console also looked blurry.
If I go to startx  I get a no screens found error.

Does anyone know about this, had any experience, now where to look, or wether 
this is more a freebsd current type question?

Any help whatsoever would be greatly appreciated, I really want to get dual 
screen happening

Thanks in advance

David

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


remote administration of upgrades

2003-09-18 Thread Voracity.net Administrator
Hello, I am concerned about the recent ssh and
sendmail security 
bulletins and would like to patch, but I have a few
questions.  The 
server that I administer runs FreeBSD 4.8, and I only
have ssh access to 
it, not physical console access.  Additionally, it's a
production web 
server and so it would be nice if upgrades went off
with as little 
disruption as possible.

Anyway, I used cvsup to grab the RELENG_4_8 sources
with the fixes.  I'm 
now faced with the choice of doing make world (which
I have never 
done) or just recompiling ssh and sendmail and
installing them only.

- All of the instructions for make world that I've
read involve 
shutting down into single-user mode, am I corrent that
this is not 
possible over ssh?  Is there a way to accomplish the
install step 
remotely?  I have already recompiled and successfully
installed a 
customized kernel remotely, and that was gut-wrenching
enough waiting 
the minute or so while it rebooted with fingers
crossed.  :-)

- Assuming that is not possible, I will just recompile
the individual 
parts, following the instructions in the bulletin. 
However, I still 
don't want to fubar sshd and then not be able to
connect to fix it. 
When I run kill `cat /var/run/sshd.pid` will that
kill only the 
listening daemon (leaving any already-established
sessions open) or will 
it kill all connections and everything related to
sshd?  I was hoping 
that I could kill just the listening sshd, restart the
new one, and test 
it by connecting, all without severing the old known
working 
connections... at least I'd have an out if something
went wrong.  And 
likewise, if I wanted to restart sshd (for example,
after changing the 
config file) can I safely kill the sshd.pid process
without killing the 
current sessions, just in case restarting sshd doesn't
work?

Thanks.



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


randomize execution the a script?

2003-09-18 Thread Gil Agno Virtucio
Hi. I want to randomize the execution of a shell script. 
Can i use cron to do this? or are there other available 
tools that i can use to do this?

thank you very much.

** Get your free E-Mail account at WWW.DIGITELONE.COM **
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cat a directory

2003-09-18 Thread Karlsson Mikael HKI/SOSV
I've noticed along time that it's possible to cat a directory. I just
don't see the point of it being possible to do so since it only returns
jibrish.

I know that in Linux for example cat returns an error message like this:
cat: mail/: Is a directory. I also noticed that in both FreeBSD and
Linux less returns the same error message. But vi and vim on the other
hand returns fully readable and understandable text in both FreeBSD and
Linux.

What I just wanted to ask was if it's absolutely necessary for cat to be
able to work on directories. Or if it would be possible to simply add a
check to cat that tests if the file being opened is a directory and
then exits with an error message if that is the case.

The biggest problem for me as a Unix help-person at a company is to
always explain to newbies and less experienced users not to cat
directories as it usually scrambles or locks the whole terminal and as
they then turn to me to undo their mistakes. These small simple things
give our users bad thoughts about FreeBSD and often drives them to use
other OSs!


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


Closed ports (services)

2003-09-18 Thread Michael A. Alestock
Hi there,

 I had a question... I was running DAYTIME (port 13) and POP3
(port 110 - Qpopper) services with no problems up until lastnight.  For
some reason I think the SA-03:11 (sendmail) and SA-03:12 (SSH) patches I
installed have done something to those ports.  If I do a 'netstat -an'
it'll show that those ports are listening, but when I try to telnet to
them remotely I get a connection refused message for the POP3/Qpopper
port, but a timeout error with the daytime port.  I do get a connection
when I telnet to localhost of those two ports.
 I have a firewall that allows connections to those two ports
but I haven't touched the config for that in a while.
 I did notice that I got an error while applying the SA-03:11
(Sendmail) patch.  I couldn't completely install it.  Do you think that
might have something to do with my problem??  Any ideas???

Thanks

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


Re: randomize execution the a script?

2003-09-18 Thread Rob Lahaye

Gil Agno Virtucio wrote:
 Hi. I want to randomize the execution of a shell script. Can i use cron 
 to do this? or are there other available tools that i can use to do this?

See 'man 6 random' and 'man sleep'.
Then try doing something like this in the background:

#!/bin/sh
while true
do
   random -e 60
   randomNumber=$?
   sleep $randomNumber
   do shell script here
done

Where '60' means, maximum 60 seconds between two script calls.

There might be better or nices ways of doing this :).

Rob.

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


XF86Config weirdness

2003-09-18 Thread Joan Picanyol
[please honour Mail-Followup-To:, not subscribed]

Hi,

When I add the following lines to my XF86Config file, I can't startx
anymore (Fatal error: could not open default font fixed).

FontPath /usr/X11R6/lib/X11/fonts/100dpi
FontPath /usr/X11R6/lib/X11/fonts/75dpi
FontPath /usr/X11R6/lib/X11/fonts/CID
FontPath /usr/X11R6/lib/X11/fonts/PEX
FontPath /usr/X11R6/lib/X11/fonts/TTF
FontPath /usr/X11R6/lib/X11/fonts/Type1
FontPath /usr/X11R6/lib/X11/fonts/URW
FontPath /usr/X11R6/lib/X11/fonts/jmk
FontPath /usr/X11R6/lib/X11/fonts/latin2
FontPath /usr/X11R6/lib/X11/fonts/lfpfonts-fix
FontPath /usr/X11R6/lib/X11/fonts/lfpfonts-var
FontPath /usr/X11R6/lib/X11/fonts/webfonts
FontPath /usr/X11R6/lib/X11/fonts/cyrillic
FontPath /usr/X11R6/lib/X11/fonts/URW

How should I use my fonts?

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


Re: Partitioning advice (/usr and /home)

2003-09-18 Thread Sunil Sunder Raj
Hi,
No one want the /usr partition to get full. You don't know what users may 
put in the /home partition. So the best option will be create two partitions 
with about 25% to /usr and 75% to the other.

Regards
SSR


From: Guilmot Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Partitioning advice (/usr and /home)
Date: Mon, 15 Sep 2003 13:15:47 +0200
Michael Vondung wrote:
 I'm trying to figure out a decent partitioning layout for a
 workstation. The system has an ~80GB disk. After /, /var, /tmp and
 swap, I have 70GB left. I'm wondering how to split these between /usr
 and /home. Ironically, it is more space than I seem to need. The box
 has only one user (me), I do not have a fast enough connection to
 download large amounts audio or video files. I plan to run the KDE3
 desktop environment with most of its applications (this is still well
 under 1.5GB), assorted other software, Wine, two or three Windows
 apps if they'll run.

 I'm torn between various options here, and would appreciate your
 input:

 35GB for each, /usr and /home
 25GB for /home and 45GB for /home
 70GB for both together (no /home partition)

 Or something completely different? I'd like this to be spacey
 enough so that I won't run out of room at some point in the future,
 but 35GB for /usr seems unrealistically much (there won't be mail on
 this system, it's fed by an IMAP server on a different machine). Then
 again, 35GB for /home seems just as unrealistically much.

 Backup matters aside, is there a significant advantage of having a
 separate /home partition at all? If not, just skipping /home and
 using 70GB for /usr (including /usr/home) might be the most practical
 and flexible approach?

 Thanks.
This might sound stupid, but I did it like this:

Whole partition on /usr, and I made the home directories as:

/usr/home/$USER instead of /home/$USER

And I did not make a special partition for /usr/home, since I did not know
how much space I would need.
Maybe you could try that out too ...
Kind regards,

Guilmot Mike

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Interact with peers. Learn from experts. 
http://server1.msn.co.in/sp03/teched/index.asp Be tech-empowered!

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


Setting up a cvsup server

2003-09-18 Thread Wayne Pascoe
Hi all, 

Can anyone give me any pointers to setting up a server for all my other
boxen to cvsup from ? 

What I'd like to do is have one box cvsup from the main freebsd cvsup
servers, but then for all my other boxen to be able to update both ports
and source from this central server.

The reason that I want to do this is that I've just upgraded openssh on
all of my machines twice this week. This has meant updating the ports
tree twice over 30 machines and this is a bit of a hit both on the
freebsd servers and my own pipes. 

If anyone can advice on this, I would be truly greatful.

Regards,

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


RE: randomize execution the a script?

2003-09-18 Thread Charles Howse
 Gil Agno Virtucio wrote:
  Hi. I want to randomize the execution of a shell script. 
 Can i use cron 
  to do this? or are there other available tools that i can 
 use to do this?
 
 See 'man 6 random' and 'man sleep'.
 Then try doing something like this in the background:
 
 #!/bin/sh
 while true
 do
random -e 60
randomNumber=$?
sleep $randomNumber
do shell script here
 done
 
 Where '60' means, maximum 60 seconds between two script calls.
 
 There might be better or nices ways of doing this :).

I don't happen to have random installed on my system, however jot is
installed with the base system, and will generate random numbers quite
well.  For example 'jot -r 1 1 60' will generate a single random number
between 1 and 60.

Won't randomNumber=$? Just return 0 if the previous command completes
successfully?
Shouldn't it be:
randomNumber=`random -e 60`
Or better yet randomNumber=`jot -r 1 1 60`


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


Re: randomize execution the a script?

2003-09-18 Thread Rob Lahaye

Charles Howse wrote:
 
 I don't happen to have random installed on my system, however jot is

It's in /usr/games/random of FreeBSD 4.8.

 Won't randomNumber=$? Just return 0 if the previous command completes
 successfully?
 Shouldn't it be:
 randomNumber=`random -e 60`

No. In 'man 6 random', it says:

 random [-er] [-f filename] [denominator]

 -e  If the -e option is specified, random does not read or write any-
 thing, and simply exits with a random exit value of 0 to
 denominator - 1, inclusive.

So you must capture its exit value for the random number :).

R.

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


Install Problems

2003-09-18 Thread radu
My actual computer, an AMD Duron is actually split on three OS:
Windows XP, Mandrake Linux, Slackware Linux
I want to check the FREE BSD 5.1 on it but, before, I tested it on my old PC
-
That is a Pentium based P133, 16 Mo memory, 3 G dd, Windows 95
I firstly gave all the disk to BSD and starting the install.
You mention that you need at least 5 Mo for install and 4 Mo to work.
It could be in theory. With my 16 Mo after some 17 hours I gave up.
The font75DPI package is one that never lasts.
So I decided to make a compatibilty test with Windows 95.
I made a new partitioning, some 800 Mo for Win95, the rest for BSD.I 
installed Win95
I choosed a minimum install, I was trapped choosing Linux 
applications, quite long, ending with an error.
I re-started, avoiding Linux appli. Install operated in a reasonable 
short time.
--
But, my actual problem is:

After install and rebooting I could'nt access BSD neither Windows.
I tried, after reinstalling Win, all the modes of booting.
MBR, does'nt work in neither OS
No change of boot area: freeze all systems, a message displayed : error 
in intializing OS.
The best results: SBR. It displays on booting F1 Dos, F2 BSD
But function keys F1 and F2 are simply screaming and do'nt have any 
effect. Frozen.
I'm working with an AZERTY keyboard.
That's my real problem, the long install pb is obviously due to memory size.
And second question: Why Install does'nt make an emergency diskette boot 
facility ?
You have BSD installed, no way to make it work because a BSD problem.
Thanks for your attention and eventual solution ( I am a beginner in BSD 
pbs )

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


BSD graphic interface

2003-09-18 Thread Alastair G. Hogge
Hello all,

I'm interested in playing around with some graphics programming in FreeBSD but  
not under XFree86. Are there any graphics interfaces/APIs for the console? 
I'm looking for something that is most definitely BSDL'd. Another plus would 
be a C++ designed API

Does anyone have any information that might be helpfull?

Thanks in advance
-Alastair

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


RE: randomize execution the a script?

2003-09-18 Thread Charles Howse
  I don't happen to have random installed on my system, however jot is
 
 It's in /usr/games/random of FreeBSD 4.8.
 
  Won't randomNumber=$? Just return 0 if the previous command 
 completes
  successfully?
  Shouldn't it be:
  randomNumber=`random -e 60`
 
 No. In 'man 6 random', it says:
 
  random [-er] [-f filename] [denominator]
 
  -e  If the -e option is specified, random does not 
 read or write any-
  thing, and simply exits with a random exit value of 0 to
  denominator - 1, inclusive.
 
 So you must capture its exit value for the random number :).

Good enough!  Thanks for the info!  :)


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


netstat options

2003-09-18 Thread dick hoogendijk
I want a kind of list you get with (linux) netstat -atun

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local AddressForeign Address   State  
tcp   0   0 0.0.0.0:32768  0.0.0.0:*   LISTEN  
tcp   0   0 0.0.0.0:32769  0.0.0.0:*   LISTEN  
tcp   0   0 0.0.0.0:9930.0.0.0:*   LISTEN  
tcp   0   0 0.0.0.0:5150.0.0.0:*   LISTEN  
tcp   0   0 0.0.0.0:9950.0.0.0:*   LISTEN  
tcp   0   0 0.0.0.0:37 0.0.0.0:*   LISTEN

I'm trying to find out why my courier mta gives me a  connection
refused on a 'telnet localhost 25' Courier is running; mail is received
and delivered. Still I get these 'refused' messages..

So, if anybody knwo how to get a list like above in FreeBSD-4.8?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: how to enable auto power off

2003-09-18 Thread Charles Howse
 In your kernel config:
 device  apm0at nexus? flags 0x20
 
 Add to rc.conf (before you boot the new kernel):
 apm_enable=yes
 
 Now to power off, use 'shutdown -p now'. See also apm(4).
 
 - Original Message - 
 From: Tadimeti Keshav [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, September 17, 2003 8:33 PM
 Subject: how to enable auto power off
 
 
  Guys,
  I have a D815EPEA intel based motherboard. My
  dual-boot Redhat 9.0 setup can automatically shutdown
  and power off. But freeBSD can't do that (yet).
 
  Are there any flags I need to set in rc.conf or what
  do I need to set to recompile the kernel?
  I use freeBSD 4.5.
  THanks

I read man 4 apm and man apm and they both refer to laptops.
I also would like to get auto power-off working on my desktop system.
Will the instructions you gave work for my system?


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


How DBA solved overload problem ?

2003-09-18 Thread Supote Leelasupphakorn
To all,

   As a newly DBA, I really don't know how I deal with
this problem. My problem is not so long ago, my database
server seem to overloaded. It take me a time to find
the cause of problem. I realize that some program don't
queried wiht inappropriated SQL statement. I mean they're
not efficient one.

AS DBA how do you solved this problem?

Thanks in advance,


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how

2003-09-18 Thread ëéòäùë ÁÎÄÒÅÅ×ÉÞ
How to boot FreeBSD by Windows XP loader?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


XFree86 -- Gamma Correction

2003-09-18 Thread Michael Vondung
Hello, all,

I successfully managed to install the FreeBSD nVidia video drivers, but ran
into a problem that is apparently X related: How does one tune the gamma
correction? man XFree86 suggests the command line option -gamma value,
where value is a number between 0.1 and 10.0, 1.0 being the default. I
tried to start X with startx -gamma 2.0, but right after displaying the
nVidia logo, X drops back to the command line. The error message says,
/usr/X11R6/bin/xterm: bad command line option '-gamma'. The XFree86 version
is 4.3.0 (compiled from ports).

What am I doing wrong, and where would I look for more information? Also, if
a working option can be found, is there a place where I can put this so that
it is automatically used and I don't have to type it in manually every time
X is started?

(At this point I actually miss the nice GUI-interface to tweak the card that
comes with nVidia's XP drivers. :)

Thanks!

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


Re: Patching SSH

2003-09-18 Thread Matthew Seaman
On Wed, Sep 17, 2003 at 04:01:40PM -0800, Jon Reynolds wrote:
 I have SSH installed with the base install of 4.7. I downloaded the
 patch and followed the directions: cd /usr/src - patch  /path/to/patch.
 when I issue that command it asks me which file I would like to patch I
 type in buffer.c and it tells me this file cannot be found. What file do
 I need to patch if not buffer.c?

If that is an otherwise unpatched 4.7-RELEASE system, then there are
more security patches to apply than just the latest fun'n'games with
openssh.

The simplest way to get a fully patched source tree is to use cvsup(1)
with a sup-file like this (should be substantially the same as
/usr/share/examples/cvsup/standard-supfile):

*default host=cvsup7.us.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4_7
*default delete use-rel-suffix
*default compress

src-all

Then either do a complete build,install world+kernel or just rebuild
the selected parts of the source tree as intructed in the security
advisories.

Cheers,

Matthew


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


pgp0.pgp
Description: PGP signature


Re: XFree86 -- Gamma Correction

2003-09-18 Thread Alastair G. Hogge
On Thursday, 18 September 2003 21:34, Michael Vondung wrote:
 Hello, all,

 I successfully managed to install the FreeBSD nVidia video drivers, but ran
 into a problem that is apparently X related: How does one tune the gamma
 correction? man XFree86 suggests the command line option -gamma value,
 where value is a number between 0.1 and 10.0, 1.0 being the default. I
 tried to start X with startx -gamma 2.0, but right after displaying the
 nVidia logo, X drops back to the command line. The error message says,
 /usr/X11R6/bin/xterm: bad command line option '-gamma'. The XFree86
 version is 4.3.0 (compiled from ports).

 What am I doing wrong, and where would I look for more information? Also,
 if a working option can be found, is there a place where I can put this so
 that it is automatically used and I don't have to type it in manually every
 time X is started?
Hmm looking at man startx I think that you need to add -- to the command 
line to inform startx that the following switchs/options are for the X server 
and not startx. Try startx -- -gamma 2.0

 (At this point I actually miss the nice GUI-interface to tweak the card
 that comes with nVidia's XP drivers. :)
/usr/ports/sysutils/nvclock might be interesting. Build it, install it and run 
nvclock_gtk

 Thanks!
No worries.
Hope all that was helpfull
-Alastair

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


Re: OT: cvs/CVSROOT permissions

2003-09-18 Thread Matthew Seaman
On Wed, Sep 17, 2003 at 05:14:20PM -0700, Andrew Stuart wrote:
 I know this really isnt the place for this question, but in the past
 many OT questions have been answered.

No good deed goes unpunished.
 
 I am working on a local cvs repo, and everytime someone commits to
 CVSROOT for one reason or another, it removes the execute privilages
 off of the 'processing' scripts. I can go back in and chmod +x each
 file after every commit (which isnt that often) but that gets lame 
 after a while, not to mention im not always around.
 
 So the question really is, does anyone know of an automagic solution
 other then a cron job to keep the scripts +x?

For all things cvs(1), run (don't walk) to http://cvsbook.red-bean.com/

I believe the answer to your question is at:


http://cvsbook.red-bean.com/cvsbook.html#CVS_keeps_changing_file_permissions__why_does_it_do_that_

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


purging ports

2003-09-18 Thread Christer Solskogen
When I got a port installed, but it gets deleted from the ports; it there
a way of uninstalling those installed ports automagickly?


-- 
Med vennlig hilsen / Best regards
Christer Solskogen
http://dtz.cjb.net - http://carebears.mine.nu

Cheap, but not as cheap as your girlfriend!
-Spider Jerusalem

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


Problem with USB printer HP LaserJet 1300

2003-09-18 Thread Sergey Zaikov
   Hello, [EMAIL PROTECTED]

I have a USB printer HP LaserJet 1300. My FreeBSD detected it as ugen device
instead ulpt device.
ugen0: Hewlett-Packard hp LaserJet 1300, rev 1.10/1.00, addr 2
What is wrong?

uname -a:
FreeBSD acc.acc.tula.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #3: Thu Aug 28 15:43:53
MSD 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Z  i386

usbdevs -v:
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
 port 1 powered
 port 2 addr 2: self powered, config 1, hp LaserJet 1300(0x1017),
Hewlett-Packard(0x03f0), rev 1.00


Bye!

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


Boot loader configuration for FreeBSD 5.1

2003-09-18 Thread Nikhil Kale
Hi,
  I have installed FreeBSD 5.1 /dev/hda3 on my computer.
I also have linux installed on /dev/hda1 partition
While installing FreeBsd, I chose 'leave MBR untouched' option, and configured Lilo 
boot loader to
boot into /dev/hda3 for FreeBSD.

 When I select FreeBSD, it shows me the FreeBSD boot prompt which gives me options like
  1. Boot FreeBSD [default]
  2. Boot with ACPI disabled
  ... and so on

  I am facing a problem, sometimes when I press 2 for booting with ACPI disabled, the 
system just hangs. The console freezes and even pressing 'Ctrl+Alt+Del' doesnt
do anything. I simply have to hardboot.
 This happens inconsistently .. say about 3 times out of 5.
  How can I prevent this
Also, How can I change my default boot option in my FreeBSD boot loader to boot into 
option 2-Boot with ACPI disabled?

Any kind of information would help.
Thanks,
Nikhil.

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


Upgrading OpenSSH ...

2003-09-18 Thread Shrikant
Hi ,

II am trying to upgrade OpenSSH whihc is default in freeBSD .
I am trying it using /usr/ports/security/openssh

all the installation went good way .
I rebooted my system to the frsh installation of SSH to come into action ,But when i 
gave 
#ssh -V   
it showed me the same old version 

Any solution about how to go about the upgradation  will be appreciated .


Shrikant


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


Re: how to enable auto power off

2003-09-18 Thread Lowell Gilbert
Charles Howse [EMAIL PROTECTED] writes:

 I read man 4 apm and man apm and they both refer to laptops.
 I also would like to get auto power-off working on my desktop system.
 Will the instructions you gave work for my system?

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


upgrading libssh and rtld

2003-09-18 Thread lemon
hi,

with respect to upgrading openssh on various boxes, i note that the 
advisory[0] details killing and restarting sshd in order to bring the 
new one into play.

the base sshd is dynamically linked against libssh, the version of which 
doesn't appear to change over the upgrade.

my question is this: does the rtld notice the change in library and 
reload it, or will it re-use the pre-upgrade one already in memory? the 
latter suggests only a reboot will bring the new library into play, 
especially if the work is being carried out over ssh, and so keeping an 
sshd in play at all times.

i can't see any stuff in the rtld-elf source to suggest that it'll 
notice a change in library files, but my understanding of the linker is 
pretty flimsy.

regards, l.

[0]
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:12.openssh.asc
--
[EMAIL PROTECTED]   +44 020 8742 0755   http://www.aldigital.co.uk/
system administrivia c6 h8 o7  http://www.thebunker.net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 802.11g and FreeBSD based access point ...

2003-09-18 Thread Vledder, Hans
Hi Greg,

 I seem to have difficulty explaining things to you.  The wireless NIC
 alone costs more than the entire router.  How can your approach be
 cheaper?

The NIC's are about $69 here, the routers however start at $200. So for
little over $79 i should be in business ...

 You sent this message to a mailing list.  This disclaimer doesn't make
 any sense.

I know, please explain this to our exchange server. It's a company policy on
all outgoing mail, inserted at the server level.

Regards,
Hans
-Original Message-
From: Greg 'groggy' Lehey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 11:04 PM
To: Hans Vledder
Cc: [EMAIL PROTECTED]
Subject: Re: 802.11g and FreeBSD based access point ...


[Format recovered--see http://www.lemis.com/email/email-format.html]

Broken quoting.

On Wednesday, 17 September 2003 at 12:30:15 +0200, Hans Vledder wrote:
 On  Wednesday, September 17, 2003 4:49 AM, Greg 'groggy' Lehey wrote:
 On Tuesday, 16 September 2003 at 14:10:29 +0200, Hans Vledder wrote:
 On  Saturday, September 13, 2003 9:18 PM, Greg Lehey wrote:
 Last weekend I bought a couple of 802.11b/g wireless routers (AirLink,
 I think).  These boxes contain an access point, a four-port Ethernet
 switch and an additional downlink Ethernet port.  They're intended as
 cable or ADSL gateways, accessed by the downlink port.  You can
 configure the downlink port to access the other networks by NAT or
 directly, and you can run a mini-firewall if you want.  It can also
 function as a DHCP server.  These boxes cost me $80 at Fry's, the same
 price as a basic 802.11b access point.

 This weekend I went back to Fry's looking for Atheros-based wireless
 cards.  The cheapest I could find cost $100.

 Based on that, it's not clear why you would want to build an AP from a
 wireless card.

 Well, this to avoid having to deal with a 'swiss army knife' type
 of box, just like the one you're describing. Nowadays these boxes
 have everything in them, and the single thing that they apparently
 can't do is bake bread.  I'd like to put all I need between my
 local network and the wireless network into a FreeBSD box.

 Even if it costs you significantly more?

 Good point, although I have this whole stack of $10 HP Vectra P/166
 machines that my core lan setup consists off. All I need basically,
 is a wireless NIC.

I seem to have difficulty explaining things to you.  The wireless NIC
alone costs more than the entire router.  How can your approach be
cheaper?

 The contents of this e-mail are intended for the named addressee
 only.

You sent this message to a mailing list.  This disclaimer doesn't make
any sense.

 It contains information that may be confidential. Unless you are the
 named addressee or an authorized designee, you may not copy or use
 it, or disclose it to anyone else.

This message will be archived forever.

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


-- 
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 

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


Antwort: Boot loader configuration for FreeBSD 5.1

2003-09-18 Thread wolfgang . frick

Hi,

Insert in /etc/loader.conf  this line

hint.acpi.0.disabled=1




**
Diese Nachricht ist ausschliesslich fuer den bezeichneten  Adressaten 
oder dessen Vertreter bestimmt. Beachten Sie bitte, dass jede Form der
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder 
Weitergabe des Inhaltes der Email nicht gestattet ist. Sollten Sie nicht
der vorgesehene Adressat dieser Email oder dessen Vertreter sein, so
bitten wir Sie, sich mit dem Absender der Email in Verbindung zu setzen
und anschliessend diese Email und saemtliche Anhaenge zu loeschen.

This message is exclusively for the person addressed or their
representative. Any form of the unauthorized use, publication,
reproduction, copying or disclosure of the content of this e-mail is
not permitted. If you are not the intended recipient of this message
and its contents, please notify this sender immediately and delete
this message and all its attachments subsequently.
**

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


Antwort: Boot loader configuration for FreeBSD 5.1

2003-09-18 Thread wolfgang . frick

Sorry,

Insert in /boot/loader.conf  this line

hint.acpi.0.disabled=1




**
Diese Nachricht ist ausschliesslich fuer den bezeichneten  Adressaten 
oder dessen Vertreter bestimmt. Beachten Sie bitte, dass jede Form der
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder 
Weitergabe des Inhaltes der Email nicht gestattet ist. Sollten Sie nicht
der vorgesehene Adressat dieser Email oder dessen Vertreter sein, so
bitten wir Sie, sich mit dem Absender der Email in Verbindung zu setzen
und anschliessend diese Email und saemtliche Anhaenge zu loeschen.

This message is exclusively for the person addressed or their
representative. Any form of the unauthorized use, publication,
reproduction, copying or disclosure of the content of this e-mail is
not permitted. If you are not the intended recipient of this message
and its contents, please notify this sender immediately and delete
this message and all its attachments subsequently.
**

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


Kernel from RELENG_4 as of 13-OCT-2003 broken?

2003-09-18 Thread Heinrich Rebehn
Hi list,

i upgrade my sources every night from CVS using the RELENG_4 tag.
The changes from 13-OCT seem to have broken something.
When i booted the newly compiled kernel and tried to do a
cd /usr/src; make -j4 buildworld

the system froze after some 10 minutes and i had to press RESET.
No errors were reported. This happended twice.
Apart from that, the system seemed to run normal.
I then booted the kernel as of 10-OCT and buildworld was ok.
The changes were:

P share/examples/cvsup/cvs-supfile
P share/examples/cvsup/ports-supfile
P share/examples/cvsup/refuse
P share/examples/cvsup/refuse.README
P sys/kern/uipc_mbuf.c
P sys/netinet/ip_output.c
P sys/sys/mbuf.h
Are there any known issues with this?

I am attaching dmesg output and will happily supply more info if required :-)

Regards,

Heinrich Rebehn
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
   3937 Feb 10  2003 a2ps-print.el
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 
done
m 555   rarpd Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-PRERELEASE #4: Thu Sep 11 13:49:53 CEST 2003
[EMAIL PROTECTED]:/export/huge/usr/obj/usr/src/sys/ANTSRV1
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Athlon(TM) XP1800+ (1544.67-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 1073659904 (1048496K bytes)
avail memory = 1041371136 (1016964K bytes)
Preloaded elf kernel kernel at 0xc0371000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00f1770
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: AcerLabs M5247 PCI-PCI(AGP Supported) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: ATI model 5046 graphics accelerator at 0.0 irq 11
atapci0: AcerLabs Aladdin ATA100 controller port 0xb400-0xb40f at device 4.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xa400-0xa47f mem 0xe880-0xe880007f 
irq 15 at device 9.0 on pci0
xl0: Ethernet address: 00:50:04:3c:aa:1c
miibus0: MII bus on xl0
xlphy0: 3Com internal media interface on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: 3Com 3c905C-TX Fast Etherlink XL port 0xa000-0xa07f mem 0xe800-0xe87f 
irq 10 at device 10.0 on pci0
xl1: Ethernet address: 00:04:76:28:70:0e
miibus1: MII bus on xl1
xlphy1: 3c905C 10/100 internal PHY on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
twe0: 3ware Storage Controller port 0x9800-0x980f mem 
0xe700-0xe77f,0xe780-0xe78f irq 11 at device 12.0 on pci0
twe0: 8 ports, Firmware FE7X 1.05.01.034, BIOS BE7X 1.08.00.040
ahc0: Adaptec 2940 Ultra SCSI adapter port 0x9400-0x94ff mem 0xe680-0xe6800fff 
irq 9 at device 13.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
chip1: AcerLabs M15x3 Power Management Unit at device 17.0 on pci0
orm0: Option ROMs at iomem 
0xc-0xcafff,0xcc000-0xcc7ff,0xd-0xd0fff,0xd4000-0xd47ff on isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 39266MB IC35L040AVVN07-0 [79780/16/63] at ata0-master UDMA33
acd0: CDROM LTN382 at ata0-slave PIO4
Waiting 15 seconds for SCSI devices to settle
twed0: Unit 0, RAID0, Normal on twe0
twed0: 478742MB (980465408 sectors)
twed1: Unit 2, RAID5, Normal on twe0
twed1: 293215MB (600505600 sectors)
twe0: command interrupt
sa0 at ahc0 bus 0 

RE: how to enable auto power off

2003-09-18 Thread Charles Howse
  I read man 4 apm and man apm and they both refer to laptops.
  I also would like to get auto power-off working on my 
 desktop system.
  Will the instructions you gave work for my system?
 
 Assuming it supports APM, sure.

OK, I just checked the BIOS, and it does have Power Management support,
and when I boot, I also see 'ACPI function enable' in the post msgs.  I
realize that ACPI is not supported in FBSD  5.x.  I'm running 4.8-p4.

I've never used Power Management on any of my computers, so this is new
territory for me.
I would assume that I need to set Power Management to 'enabled' in BIOS,
or no?

If yes, (and I realize you can't know my other PM options) should the
defaults be OK?
Any particular option that you know of that I should pay special
attention to?  I don't have the MB manual for this box.


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


Re: sshd patch

2003-09-18 Thread Matthew Seaman
On Wed, Sep 17, 2003 at 08:42:39PM -0500, McClain Looney wrote:
 Hello,
 
 I followed the instructions to patch my sshd for SA03:12, only to find my 
 version string still doesn't match the one in the advisory.
 
 Am I correct in assuming it should read OpenSSH_3.5p1 FreeBSD-20030917 ?
 
 It currently reads SSH-1.99-OpenSSH_3.5p1 FreeBSD-20030201.  What could be 
 causing this? Is a make clean required before the depend?

The patches
(eg. ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:12/buffer46.patch)
as described in the advisory are intended to be the minimum required
in order to fix the vulnerability.  That's done so that the same
patches can be applied to as many different versions of FreeBSD as
possible.  Consequently, they don't modify the version numbers either
in the $FreeBSD$ CVS tags or of OpenSSH it self (in
src/crypto/openssh/version.h).  You can tell that just be a simple
eyeball inspection of the patch.

This is generally the case with security advisories, as a) it's part
of the modu operandi of the x.y-RELEASE branches and b) time being of
the essence, the smaller the number of patches that have to be
developed and tested, the better.  However, it's not an absolute rule:
some security advisories have resulted in version number bumps on some
of the branches.

If you want to pull down sources with all of the latest version
numbers, use cvsup(1),  ie. Option 1) in the Solution section of the
advisory.  However, you probably have succeeded in patching your
system and are now not vulnerable, although there's no way to tell
that remotely other than by trying to exploit the bug.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: remote administration of upgrades

2003-09-18 Thread Matthew Seaman
On Thu, Sep 18, 2003 at 01:30:13AM -0700, Voracity.net Administrator wrote:
 Anyway, I used cvsup to grab the RELENG_4_8 sources
 with the fixes.  I'm 
 now faced with the choice of doing make world (which
 I have never 
 done) or just recompiling ssh and sendmail and
 installing them only.

Unless you have remote console access to your machine, you would be
well advised to just reinstall those parts of the system as detailed
in the security advisories.

If you need remote console access, the cheapest way to do it is via a
null-modem serial cable link from a neighbouring machine at your
hosting center.  See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html
and
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-advanced.html
 
 - All of the instructions for make world that I've
 read involve 
 shutting down into single-user mode, am I corrent that
 this is not 
 possible over ssh?  Is there a way to accomplish the
 install step 
 remotely?  I have already recompiled and successfully
 installed a 
 customized kernel remotely, and that was gut-wrenching
 enough waiting 
 the minute or so while it rebooted with fingers
 crossed.  :-)

It depends how risk averse you are.  Shutting down all of the servers
(except sshd, of course) and kicking off any other users is *almost*
as good as taking the system down to single user mode, and 99 times
out of 100 you can successfully run 'make installworld' from that
state, and then do all of the other stuff required to update the
system before rebooting.

However, avoiding program crashes and so forth is not actually the
principal problem that rebooting to single user mode helps you avoid.
Rebooting into single user mode lets you test that your newly compiled
kernel actually works before you go ahead an install the matching
world.  Should your kernel not boot up, it is possible to back out to
the previous kernel from the boot loader screen.  Backing out an
installworld like that is basically impossible.
 
 - Assuming that is not possible, I will just recompile
 the individual 
 parts, following the instructions in the bulletin. 
 However, I still 
 don't want to fubar sshd and then not be able to
 connect to fix it. 
 When I run kill `cat /var/run/sshd.pid` will that
 kill only the 
 listening daemon (leaving any already-established
 sessions open) or will 
 it kill all connections and everything related to
 sshd?  I was hoping 
 that I could kill just the listening sshd, restart the
 new one, and test 
 it by connecting, all without severing the old known
 working 
 connections... at least I'd have an out if something
 went wrong.  And 
 likewise, if I wanted to restart sshd (for example,
 after changing the 
 config file) can I safely kill the sshd.pid process
 without killing the 
 current sessions, just in case restarting sshd doesn't
 work?

Yes, absolutely.  A 'kill -HUP `cat /var/run/sshd.pid`' will restart
the main instance of sshd(8), whilst leaving any sshd's forked to
manage login sessions alone.  You should test that you can login
remotely to the updated sshd from a second window before you log out
of the first session.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: How DBA solved overload problem ?

2003-09-18 Thread Bill Moran
Supote Leelasupphakorn wrote:
To all,

   As a newly DBA, I really don't know how I deal with
this problem. My problem is not so long ago, my database
server seem to overloaded. It take me a time to find
the cause of problem. I realize that some program don't
queried wiht inappropriated SQL statement. I mean they're
not efficient one.
AS DBA how do you solved this problem?
You're hitting up against, what I feel is one of the most common
and most difficult to solve problems out there.
The best solution is to fix the SQL statements.  Unfortunately,
it's quite possible that you won't be able to fix the application
that's causing the problem, becuase it's closed-source and
written by someone else.  At that point, you're up against the
frustrating chore of convincing the application designer to
fix their lousy code, which is often impossible.
In the end, it seems that most people end up buying faster,
more expensive hardware to make up for lousy application design.
It's a damn shame, but that's what seems to happen a lot.
--
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: Setting up a cvsup server

2003-09-18 Thread Matthew Seaman
On Thu, Sep 18, 2003 at 11:02:56AM +0100, Wayne Pascoe wrote:
 Hi all, 
 
 Can anyone give me any pointers to setting up a server for all my other
 boxen to cvsup from ? 
 
 What I'd like to do is have one box cvsup from the main freebsd cvsup
 servers, but then for all my other boxen to be able to update both ports
 and source from this central server.
 
 The reason that I want to do this is that I've just upgraded openssh on
 all of my machines twice this week. This has meant updating the ports
 tree twice over 30 machines and this is a bit of a hit both on the
 freebsd servers and my own pipes. 
 
 If anyone can advice on this, I would be truly greatful.

Simple: just install the net/cvsup-mirror port.  It will run you
through an interactive installation script to help you configure
things.  Since you're setting up a private mirror, you shouldn't use
cvsup-master.freebsd.org. (In fact, you shouldn't use that server
anyhow without permission from the powers that be.) The other cvsup
servers are generally fine for this purpose.  If you're going to run
the mirroring frequently, do check with the admins of the server
you want to use first.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: how

2003-09-18 Thread Heinrich Rebehn
  wrote:
How to boot FreeBSD by Windows XP loader?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
1. Use a more meaningful subject line. You will get more answers if you do.
2. Searching with Google freebsd windows dual boot gave the following link 
(among others):

http://www.experts-exchange.com/Operating_Systems/Open_BSD/Q_20560610.html

This seems to be a good starting point.

Kind Regards,

	Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Basic printer setup (repost)

2003-09-18 Thread Jesse Sheidlower

I sent this yesterday, but it seems not to have gone
through--apologies if it's a duplicate.

I've never gotten around to setting up printing from   
my FreeBSD machine--the discussion in the Handbook is 
rather frightening--and now that I've decided I should
probably give it a try, I find that the Handbook doesn't
even let me get started.

I have two situations for this computer (a laptop
running FreeBSD-4.8). I have a home network that
has an older (non-Ethernetted) HP LaserJet 6MP; this  
is attached to the network via an AsanteTalk AppleTalk-   
Ethernet bridge. The Macs on the network (OSX and 8.6)
can all see the printer. What do I need to do to print
to this printer from my FreeBSD machine when it's on
the network?

In the second case, I just have a desktop printer-- some HP
Deskjet color thing, the 990 I think--that only has a USB
connection. The Handbook doesn't mention USB printing at all.

In both cases I'm not looking to do anything fancy,
none of this user-accounting or header-pages stuff.
I just want to be able to send jobs to the printer
and have them come out. I guess I'd also be curious
how to select one or the other, or more if they were
added to the network. Thanks for any pointers on
how to accomplish this.

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


Re: netstat options

2003-09-18 Thread dick hoogendijk
On Thu, 18 Sep 2003 07:10:24 -0500
Peter Elsner [EMAIL PROTECTED] wrote:

 You're probably getting the connection refused because you didn't
 enable telnet in /etc/inetd.conf.
 
 It's turned off by default.  Has nothing to do with netstat.
 
 Peter Elsner
 
 
 At 01:01 PM 9/18/2003 +0200, you wrote:
 I want a kind of list you get with (linux) netstat -atun
 
 Active Internet connections (servers and established)
 Proto Recv-Q Send-Q Local AddressForeign Address   State
 tcp   0   0 0.0.0.0:32768  0.0.0.0:*   LISTEN
 tcp   0   0 0.0.0.0:32769  0.0.0.0:*   LISTEN
 tcp   0   0 0.0.0.0:9930.0.0.0:*   LISTEN
 tcp   0   0 0.0.0.0:5150.0.0.0:*   LISTEN
 tcp   0   0 0.0.0.0:9950.0.0.0:*   LISTEN
 tcp   0   0 0.0.0.0:37 0.0.0.0:*   LISTEN
 
 I'm trying to find out why my courier mta gives me a  connection
 refused on a 'telnet localhost 25' Courier is running; mail is
 received and delivered. Still I get these 'refused' messages..
 
 So, if anybody knwo how to get a list like above in FreeBSD-4.8?

I'm getting the connection refused *not* because telnet is not running.
I'm not that stupid you know ;-))

What I wanted to know is the equivalent for the LINUX netstat -atun
which gives the output above (on the LINUX server). I want to test my
FreeBSD machine the same way but netstat -atun gives me an output I
don't want (on fbsd).

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading libssh and rtld

2003-09-18 Thread Matthew Seaman
On Thu, Sep 18, 2003 at 01:12:33PM +0100, lemon wrote:
 hi,
 
 with respect to upgrading openssh on various boxes, i note that the 
 advisory[0] details killing and restarting sshd in order to bring the 
 new one into play.
 
 the base sshd is dynamically linked against libssh, the version of which 
 doesn't appear to change over the upgrade.
 
 my question is this: does the rtld notice the change in library and 
 reload it, or will it re-use the pre-upgrade one already in memory? the 
 latter suggests only a reboot will bring the new library into play, 
 especially if the work is being carried out over ssh, and so keeping an 
 sshd in play at all times.
 
 i can't see any stuff in the rtld-elf source to suggest that it'll 
 notice a change in library files, but my understanding of the linker is 
 pretty flimsy.

Hmmm... good question.  As far as I can tell from the rtld-elf
sources, the runtime loader follows the usual unix paradigm of open(2)
followed by mmap(2) of the shared libraries in question.  ld-elf.so.1
is invoked anew for every dynamically linked process that gets
exec(3)'d.

That means that any program started after the shared library has been
updated will mmap(2) the latest version.  Processes already running
end up with a file descriptor on the old version, although there's no
way to access that data from the filesystem.  (This is similar to a
cunning bit of Unix trickery, where a file is open(2)'d and then
unlink(2)'d, often used to provide temporary filespace that's
absolutely private to the process.)

So, yes, restarting sshd(8) after applying the patches, recompiling
and re-installing will nullify the vulnerability.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


RE: how to enable auto power off

2003-09-18 Thread Charles Howse
  I would assume that I need to set Power Management to 
 'enabled' in BIOS,
  or no?
 
 No.  At least not on the machines I've set up lately.  You 
 need 'device
 apm' (the hints have never been needed on my machines) and
 'apm_enable=YES', but that's it.

Excellent, thanks for the info!
 
 -Warren Block * Rapid City, South Dakota USA

Good Morning from Jackson, TN USA!



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


version string scare with new patched ssh (newbie)

2003-09-18 Thread Josh Brooks

Hi,

I have a 4.5-RELEASE system with the original, stock /usr/src/secure.

I followed the SA directions, and they worked like a charm - I patched the
source, all hunks succeeded, and install/restart worked fine.

However, when I run:

/usr/sbin/sshd -\?

I see:

sshd version OpenSSH_2.9 FreeBSD localisations 20011202

Is this correct ?  Part of me thinks it is because I don't have a new
sshd, just a patched version of the old 4.5-RELEASE one ... but I am not
so sure.

So can someone confirm that that version string is ok ?

thanks.



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


sendmail SA only mentions 4.7 and above ... ?

2003-09-18 Thread Josh Brooks

Hi,

What should I do to update sendmail on my 4.5, 4.6, and 4.6.1 systems ?

Will the patch work properly there, or should I follow a different tact ?

ALSO

I seem to remember the last time we had a sendmail vulnerability, there
were binaries available, and we could just do something like:

install -s -o root -g smmsp -m 2555 sendmail-4.6-i386-crypto.bin
/usr/libexec/sendmail/sendmail

and then restart sendmail.  Do those exist this time around ?

If so, where are they ?  If not, why not ?

thanks!




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


Re: yahoo, hotmail, etc

2003-09-18 Thread Moti Levy
yahoopops.sourceforge.net

- Original Message - 
From: synrat [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 9:21 AM
Subject: yahoo, hotmail, etc


 I was wondering if anyone is aware of any scripts
 or programs that can retrieve mail from different
 webmail sources.

 thanx in advance
 ___
 [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: Cat a directory

2003-09-18 Thread Dan Nelson
In the last episode (Sep 18), Karlsson Mikael HKI/SOSV said:
 What I just wanted to ask was if it's absolutely necessary for cat to
 be able to work on directories. Or if it would be possible to simply
 add a check to cat that tests if the file being opened is a
 directory and then exits with an error message if that is the case.

The source is in /usr/src/bin/cat; add some code to stat the file and
fail if it's a directory.
 
 The biggest problem for me as a Unix help-person at a company is to
 always explain to newbies and less experienced users not to cat
 directories as it usually scrambles or locks the whole terminal and
 as they then turn to me to undo their mistakes. These small simple
 things give our users bad thoughts about FreeBSD and often drives
 them to use other OSs!

I find that hard to believe.  Do you also want to block catting of
executables, gzipped files, jpeg files, database files, and audio
files?  No OS does that by default.  Maybe you should teach them how to
reset their terminals when they cat binary data; ^Jreset^J should work,
assuming your TERM variable is set right.

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


Re: Upgrading OpenSSH ...

2003-09-18 Thread Simon Barner
Hi,

 II am trying to upgrade OpenSSH whihc is default in freeBSD .
 I am trying it using /usr/ports/security/openssh
 
 all the installation went good way .
 I rebooted my system to the frsh installation of SSH to come into action ,But when i 
 gave 
 #ssh -V   
 it showed me the same old version 
 
 Any solution about how to go about the upgradation  will be appreciated .

I think you were using the base system's ssh installation before (which
is located in /usr ). When you installed the OpenSSH port, you got a second
installation in /usr/local.

Please use `which ssh' and `which sshd' in order to confirm this
assumption. If it is true, then you have the following options:

1. Switch to the ports ssh - since you already installed the port, you
only need to remove your ssh stuff in /usr, e.g. /usr/bin/ssh,
/usr/sbin/sshd, (kill the sshd before deleting it, but this will only
work if you are not currently logged in via ssh :-)...

Additionally, you have to tell the system to use the sshd in /usr/local,
so you should add the following line to /etc/rc.conf

sshd_program=/usr/local/sbin/sshd

In order to preserve your settings from the base system, you should
carefully merge the configuration files in /usr/local/etc/ssh with your old
ones in /etc/ssh.

You should also put NO_OPENSSH=true into /etc/make.conf in order to
exclude OpenSSH from the following buildworlds.

2. Patch your base system's ssh as described here:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:12.openssh.asc

You should also delete the port in order to prevent future confusion

3. Delete the ssh port, and re-install it with PREFIX=/usr. This will
overwrite your base system's ssh, but I don't know whether this solution
is supported, and I don't think that it is the cleanest one...

NO_OPENSSH=true in make.conf is of course also required.

I'd recommend to employ either option 1 or 2.

Regards,
 Simon


signature.asc
Description: Digital signature


Re: What do you use for terminal?

2003-09-18 Thread Jett Tayer
i use aterm and gnome terminals under X.
am using gnome2 though.




 Hello,

 Excuse me if this seems a bit off but I was just wondering what you pro's
 use as a graphical Terminal Emulator in *nix? Is there anything similar to
 the features of Vandyke SecureCRT for Windows? You know, one that you can
 create Logon Scripts (in app, without using shell scripts), save Sessions,
 etc.. ?

 Thanks in advance.

 Regards,

 chael
 ___
 [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: Setting up a cvsup server

2003-09-18 Thread Ruben de Groot
On Thu, Sep 18, 2003 at 11:02:56AM +0100, Wayne Pascoe typed:
 Hi all, 
 
 Can anyone give me any pointers to setting up a server for all my other
 boxen to cvsup from ? 
 
 What I'd like to do is have one box cvsup from the main freebsd cvsup
 servers, but then for all my other boxen to be able to update both ports
 and source from this central server.
 
 The reason that I want to do this is that I've just upgraded openssh on
 all of my machines twice this week. This has meant updating the ports
 tree twice over 30 machines and this is a bit of a hit both on the
 freebsd servers and my own pipes. 
 
 If anyone can advice on this, I would be truly greatful.
 
What I do is use the standard cvs-supfile example to mirror the 
entire cvs repository locally in /home/ncvs
The other servers on the network use cvs checkout to update their sources.


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

-- 
The world is coming to an end.  Please log off.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fbsd fibre channel SANs

2003-09-18 Thread Jerry McAllister
 
 In the last episode (Sep 17), Eric said:
  I'm trying set up a cluster of freebsd fileservers sharing a common
  set of volumes/drives/raids over netatalk to a bunch of OS 9 clients.
  Each fileserver has a Qlogic 2100 fibre channel card connected to a
  switch. Also connected to the switch are several fibre channel raid
  controllers, with raids attached to them. I have no problem mount and
  using the raid volumes on the freebsd servers.
  
  What I'd really like to do is mount the same volume on two or more
  servers, which I can do, but one server does not know about the other
  server's changes to the disk. I'm sure this results in files being
  overwritten since each server thinks it owns the disk. I'm sure
  things like softupdates compund my problem even more.
 
 You would need a shared storage filesystem; GFS is the only one I know
 of, and that's Linux-only.

  Is there a way to have two machines share a disk, and communicate
  between them (over the network?) the changes? I've seen AFS, and it's
  mostly what i'm trying to do, but it doesn't work with OS 9 clients.
  I want an OS 9 client to be able to pick a server in the cluster
  (from their chooser) and be presented with the same shared volumes,
  regardless of the chosen server. Any help??
 
 AFS looks like it replicates files onto multiple servers, so if one
 goes down the data is still available somewhere else.  The servers do
 not share backend filesystems.

Don't you just wish OpenAFS for FreeBSD (and some of the others) was 
finished and ready to go.  That would be so wonderful.

jerry

...
 
 -- 
   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: xv flag to not create ~/dir/dir/.xvpics/

2003-09-18 Thread S

On Wed, 17 Sep 2003, Vlad D. Markov wrote:
 On Tue, 16 Sep 2003 20:44:16 -0400 (EDT)
 Peter Leftwich [EMAIL PROTECTED] wrote:
  The option vsmap is asking for an image browser.  The program need not
  necessarily cache thumbnails on the hard disk.  Perhaps this is a wish
  list item for xv developers or a sign to shop for other alternatives.
 
  All I ever wanted was a file explorer similar to Microsoft Explorer
  (latest) or ACDSee32 (www.acdsystems.com I think).  In Unix.  Too much
  to ask?
 
 I had a gtk app that displayed thumbnails as you went thru the directory
 structure, is that what you are looking for? It was gqview and is in the
 ports. Thumbnail display is an option from the menubar

-Great post!  Thank you.  I had actually tried this or a similar app before
-and was dismayed that the thumbnails were not in a grid (rather, they are
-in a single, uniform column) but there are SO MANY great features that I'll
-settle!!!  Awesome.  You can rename, delete, move, bulk move, etc also.
-Thanks again, you made my day.
-
---
-Peter Leftwich
-

GImageView displays thumbs in a grid, and seems to do the other things
mention. It also has experimental 'drag and drop' which works well with
GIMP.

It's in the ports.

Regards,
S


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


Re: fbsd fibre channel SANs

2003-09-18 Thread Tillman Hodgson
On Thu, Sep 18, 2003 at 10:42:13AM -0400, Jerry McAllister wrote:
  AFS looks like it replicates files onto multiple servers, so if one
  goes down the data is still available somewhere else.  The servers do
  not share backend filesystems.
 
 Don't you just wish OpenAFS for FreeBSD (and some of the others) was 
 finished and ready to go.  That would be so wonderful.

Oh, would that be *great*.  I've never even been able to get any of the
snapshots running, as my i386 machines are all -STABLE and it doesn't
like compiling on sparc64.

-T


-- 
Always listen to experts. They'll tell you what can't be done and why.
Then do it.
- Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help

2003-09-18 Thread George Parotidis
Hello my name is George Parotidis and I have a problem with FreeBSD 5.1.
The problen is when I type startx in Terminal mode it beggins loading and then 
says:Fatal Error no screens found.
Maybe some one can help me?Than you.



   P.S. I have a Pentium 1 200MHz 80M of Memory.



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


Re: XF86Config weirdness

2003-09-18 Thread Stijn Hoop
On Thu, Sep 18, 2003 at 11:44:54AM +0200, Joan Picanyol wrote:
 [please honour Mail-Followup-To:, not subscribed]
 
 Hi,
 
 When I add the following lines to my XF86Config file, I can't startx
 anymore (Fatal error: could not open default font fixed).
 
 FontPath /usr/X11R6/lib/X11/fonts/100dpi
 FontPath /usr/X11R6/lib/X11/fonts/75dpi
 FontPath /usr/X11R6/lib/X11/fonts/CID
 FontPath /usr/X11R6/lib/X11/fonts/PEX
 FontPath /usr/X11R6/lib/X11/fonts/TTF
 FontPath /usr/X11R6/lib/X11/fonts/Type1
 FontPath /usr/X11R6/lib/X11/fonts/URW
 FontPath /usr/X11R6/lib/X11/fonts/jmk
 FontPath /usr/X11R6/lib/X11/fonts/latin2
 FontPath /usr/X11R6/lib/X11/fonts/lfpfonts-fix
 FontPath /usr/X11R6/lib/X11/fonts/lfpfonts-var
 FontPath /usr/X11R6/lib/X11/fonts/webfonts
 FontPath /usr/X11R6/lib/X11/fonts/cyrillic
 FontPath /usr/X11R6/lib/X11/fonts/URW
 
 How should I use my fonts?

Add

FontPath /usr/X11R6/lb/X11/fonts/misc

also. X absolutely _needs_ some fonts out of this directory (ie the 'fixed'
font as you discovered).

--Stijn

-- 
What would this sentence be like if it weren't self-referential?


pgp0.pgp
Description: PGP signature


Re: Build of libgnomecanvas fails - help

2003-09-18 Thread Joe Marcus Clarke
On Thu, 2003-09-18 at 03:41, Odhiambo Washington wrote:
 Hello heroes,
 
 
 I am trying for 2 good months to get evolution working but it fails while
 building libgonecanvas. FreeBSD-5.1
 
 Could there be some help, please?

Most likely, you have an old glade include directory somewhere.  Look
for a libglade or glade directory without a version number, and delete
it.

Joe

 
 
 ===  Building for libgnomecanvas-2.2.1
 gmake  all-recursive
 gmake[1]: Entering directory 
 `/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1'
 Making all in libgnomecanvas
 gmake[2]: Entering directory 
 `/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/libgnomecanvas'
 gmake[2]: Nothing to be done for `all'.
 gmake[2]: Leaving directory 
 `/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/libgnomecanvas'
 Making all in glade
 gmake[2]: Entering directory 
 `/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/glade'
 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
 -I. -I. -I.. -I..  -I..  
 -DG_LOG_DOMAIN=\GnomeCanvas\   -I/usr/local/include/atk-1.0
 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
 -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2
 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include 
 -I/usr/X11R6/include/pango-1.0
 -I/usr/X11R6/include -I/usr/local/include/freetype2 
 -I/usr/X11R6/include/libglade-2.0-I/usr/local/include  -O -pipe
 -mcpu=pentiumpro -c glade-canvas.c
 rm -f .libs/glade-canvas.lo
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DG_LOG_DOMAIN=\GnomeCanvas\ 
 -I/usr/local/include/atk-1.0
 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
 -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2
 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include 
 -I/usr/X11R6/include/pango-1.0
 -I/usr/X11R6/include -I/usr/local/include/freetype2 
 -I/usr/X11R6/include/libglade-2.0 -I/usr/local/include -O -pipe
 -mcpu=pentiumpro -c glade-canvas.c  -fPIC -DPIC -o .libs/glade-canvas.lo
 glade-canvas.c:43: syntax error before set_aa
 glade-canvas.c: In function `glade_module_register_widgets':
 glade-canvas.c:84: `glade_standard_build_widget' undeclared (first use in this 
 function)
 glade-canvas.c:84: (Each undeclared identifier is reported only once
 glade-canvas.c:84: for each function it appears in.)
 gmake[2]: *** [glade-canvas.lo] Error 1
 gmake[2]: Leaving directory 
 `/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1/glade'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 `/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.2.1'
 gmake: *** [all-recursive-am] Error 2
 *** Error code 2
 
 Stop in /usr/ports/graphics/libgnomecanvas.
 
 
 -Wash
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: netstat options

2003-09-18 Thread Nathan Kinkade
On Thu, Sep 18, 2003 at 02:36:58PM +0100, Matthew Seaman wrote:
 On Thu, Sep 18, 2003 at 03:24:29PM +0200, dick hoogendijk wrote:
   At 01:01 PM 9/18/2003 +0200, you wrote:
 
   Active Internet connections (servers and established)
   Proto Recv-Q Send-Q Local AddressForeign Address   State
   tcp   0   0 0.0.0.0:32768  0.0.0.0:*   LISTEN
   tcp   0   0 0.0.0.0:32769  0.0.0.0:*   LISTEN
   tcp   0   0 0.0.0.0:9930.0.0.0:*   LISTEN
   tcp   0   0 0.0.0.0:5150.0.0.0:*   LISTEN
   tcp   0   0 0.0.0.0:9950.0.0.0:*   LISTEN
   tcp   0   0 0.0.0.0:37 0.0.0.0:*   LISTEN
 
  What I wanted to know is the equivalent for the LINUX netstat -atun
  which gives the output above (on the LINUX server). I want to test my
  FreeBSD machine the same way but netstat -atun gives me an output I
  don't want (on fbsd).
 
 If all you want are the tcp sockets, then
 
 % netstat -an -p tcp
 
 otherwise: 
 
 % netstat -an -f inet
 
 will give you all of the network sockets, but not the unix domain
 sockets.
 
   Cheers,
 
   Matthew

If you are simply interested in tcp ports with listening sockets
you might try using sockstat(1).

$ sockstat -l4

... should show you all listening IPv4 sockets.

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


pgp0.pgp
Description: PGP signature


Re: 5.1 crashes with USB to IDE

2003-09-18 Thread Bjorn Dittmer-Roche
On Wed, 17 Sep 2003, Kris Kennaway wrote:

 On Wed, Sep 17, 2003 at 07:41:55PM -0400, Bjorn Dittmer-Roche wrote:
  Hey all,
 
  I've got a USB to IDE converter which, if I try and put it to use
  for any amount of time, causes my 5.1 release system to hang in various
  ways, and it either leaves me with a completely locked system or with
  disks that won't sync (meaning, amount other things, that I can't shutdown
  properly).

 Try again with current (new ATA driver) or stick to 4.x.

Sadly, the problem happened last night when the drive wasn't even plugged
in. The only thing the incidents have in common is lots of disk activity
(My main drive is IDE). A new ATA driver would probably be a very good
thing as far as that goes, but I've had bad luck with current.  (last time
I tried current, using nfs caused my machine to crash! On second thought,
it was the same machine so maybe it was the same problem?). I think if 5.1
release is so unstable, current is probably not for me. Back to 4.8, I
guess


bjorn


 Kris

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


Re: How DBA solved overload problem ?

2003-09-18 Thread Jan Grant
[cc list cut]

On Thu, 18 Sep 2003, Supote Leelasupphakorn wrote:

 To all,

As a newly DBA, I really don't know how I deal with
 this problem. My problem is not so long ago, my database
 server seem to overloaded. It take me a time to find
 the cause of problem. I realize that some program don't
 queried wiht inappropriated SQL statement. I mean they're
 not efficient one.

 AS DBA how do you solved this problem?

 Thanks in advance,

It depends on your database to some extent; but basically, you need to
gather information. Assuming privacy and monitoring concerns have been
dealt with (hey, it happens), you ideally need to find a way to crank up
your DB's logging levels so that it records query statistics. You're
looking for particularly expensive queries. The usual crop of tools
(explain) can help you to tune your datyabase (eg, via index creation,
materialised views, etc.) or track down users to impart clue. From that
you should be able to identify the applications that are the source of
your problems.

You're probably better off directing specific questions at support
mailing lists for the DB in question.

jan

PS. If the DB in question is postgresql, you may find that complex query
performance is highly erratic due to the genetic planner kicking in.
Either turn up the number of generations it uses by an order of
magnitude or so, or turn it off.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Just because I have nothing to hide doesn't mean I have nothing to fear.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dependencies

2003-09-18 Thread Brian Henning
Greetings:

I am trying to figure out the dependencies for the j2sdkee13 port.

I was looking through the Makefile and the distinfo file but i didn't see
anything info.



i know it needs the bsd-jdk131-patches file and javavmwrapper-1.4 among others.

any ideas?

thanks,

brian

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


Re: XFree86 -- Gamma Correction

2003-09-18 Thread Rob Lahaye

Michael Vondung wrote:
 Hello, all,
 
 I successfully managed to install the FreeBSD nVidia video drivers, but ran
 into a problem that is apparently X related: How does one tune the gamma
 correction? man XFree86 suggests the command line option -gamma value,
 where value is a number between 0.1 and 10.0, 1.0 being the default. I
 tried to start X with startx -gamma 2.0, but right after displaying the
 nVidia logo, X drops back to the command line. The error message says,
 /usr/X11R6/bin/xterm: bad command line option '-gamma'. The XFree86 version
 is 4.3.0 (compiled from ports).

Use xgamma instead. It allows you to change gamma on a running X.
man xgamma will tell you more.

Rob.

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


Re: BSD graphic interface

2003-09-18 Thread Vulpes Velox
On Thu, 18 Sep 2003 23:15:53 +1000
Alastair G. Hogge [EMAIL PROTECTED] wrote:

  libsdl (http://www.libsdl.org/index.php) can write to the console, and
  also works with C++.
 Yeah I'm aware of LibSDL and I was thinking of using it. But decided against 
 it because of the GLPL. If there's some similar with a BSD license that would 
 great. If not...how would I start a project like it?
 
 The reason I'm interested is because I want try and provide a different GUI 
 for installation. Just so newbies have the choice of sysinstall or 
 whatever...

Actually LGPL would not be much of a problem. LGPL unlike GPL, does not require
the project it is being used in to be GPL.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how

2003-09-18 Thread Peder Blom
On Thu, 18 Sep 2003 14:15:25 +0300
ëéòäùë ÁÎÄÒÅÅ×ÉÞ [EMAIL PROTECTED] wrote:

 How to boot FreeBSD by Windows XP loader?


The FAQ at www.freebsd.org has info on how to use the nt loader to dual
boot with FreeBSD. It worked for me with win2k.






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


Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts

2003-09-18 Thread Edwin D. Vinas
Hi,
 
I've stumbling with all the mailing lists about this problem and I hope somebody will 
give a kind advise. Here's my LAN setup:

|   |  ||  |
WinXP1  WinXP2   WinXP3   WinXP4   FreeBSD
 
WinXP3 is my Internet Sharing Machine connected to my ISP.
I can browse the web using all the WinXPs but I cannot access the web via FreeBSD.
FreeBSD's IP address follows the 192.198.0.x format just like the other WinXPs.
When I check the FreeBSD, i can see its IP address and Subnet Mask etc via ifconfig.
I can even change the IP address+ Gateway (which is WinXP2's IP add) using
ifconfig or /stand/sysinstall. I even manually edited rc.conf, and even changed the 
setting to DHCP etc etc etc.
 
My diagnosis tells that I cannot ping any WinXP machine in the LAN. But I can ping 
myself (FreeBSD) locally. When I run netstat -rn, It seems the network card is ok. 
When I run tcpdump, I didn't show any output. By the way, this network card is CNet 
PRO200. I was thinking it was not recognize or supported by the FreeBSD-4.8. When I 
checked FreeBSD-4.8's Hardware Compatibility Lit, I didn't see any CNet PRO200 but 
I saw a CNet/PRO which I suppose are just the same. So, I recompiled my Kernel again 
just in case FreeBSD didn't recognize this newly installed Cnet LAN card. But, nothing 
changed after Kernel recompilation. (But I did not change any option in the Generic 
kernel; just re-compiled it).
 
The output when I ping WinXP3: ping: sendto: Host is down. 
It's not true coz Im typing this email right in the WinXP3 machine. I cannot also ping 
FreeBSD's  IP add from the WinXP internet sharing server. The dmesg shows the 
following: pci0 unknown card (vendor=0x1106 dev=0x3059) at 17.5 irq 5.
 
By the way, this machine where FreeBSD is installed also has WinXP which works fine 
when in Windows. So Im sure my LAN card is really ok. It's only a problem of FreeBSD.
 
 
What should I do? I don't want to make FreeBSD machine as my Internet sharing server 
as of now (although its the best option). Im testing/running a Unix program that needs 
to be connected to the Internet via Windows XP gateway.
 
Please help me make my FreeBSD be part of my LAN
 
-Edwin


best regards,

\___\__\___/__/ Edwin D. Viñas http://edwin.ontheweb.com
 \___\__\_/__/  Electronics and Communications Engineer
  \___\__\___/__/   Mobile: +639202612660
   \___\__\_/__/E-mail: [EMAIL PROTECTED]
PH  \___\_/ The Brain is as vast as the Universe.

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


deinstalling / reinstalling apache

2003-09-18 Thread H. Bartel
Hi everybody,

how can I deinstall apache-1.3.27_4 so that I can do a fresh install of it? I can't 
make it run, so I want to start all over again and see if I did something wrong.
There is a file in /var/db/pkg/apache-1.3.27_4/ with the name +DEINSTALL which seems 
to be an executable, but I can't execute it. What does the + mean? Is this file what 
I need?

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


problems upgrading from 4.4

2003-09-18 Thread Markus Hallström

Hi

a friend asked me to update his FreeBSD-box, but i stumbled across some
problems pretty soon. i cvsuped and started make buildworld and this is
what happens:


=== gnu/usr.bin/perl/x2p/find2pl
rm -f find2perl.1 find2perl.PL
/usr/src/gnu/usr.bin/perl/x2p/find2pl/EXTERN.h /u
sr/src/gnu/usr.bin/perl/x2p/find2pl/INTERN.h
/usr/src/gnu/usr.bin/perl/x2p/find2
pl/XSUB.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/XSlock.h
/usr/src/gnu/usr.bin/pe
rl/x2p/find2pl/av.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/bytecode.h
/usr/src/gn
u/usr.bin/perl/x2p/find2pl/byterun.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/cc_ru
ntime.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/cop.h
/usr/src/gnu/usr.bin/perl/x2
p/find2pl/cv.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/dosish.h
/usr/src/gnu/usr.b
in/perl/x2p/find2pl/embed.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/embedvar.h /us
r/src/gnu/usr.bin/perl/x2p/find2pl/fakethr.h
/usr/src/gnu/usr.bin/perl/x2p/find2
pl/form.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/gv.h
/usr/src/gnu/usr.bin/perl/x
2p/find2pl/handy.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/hv.h
/usr/src/gnu/usr.b
in/perl/x2p/find2pl/intrpvar.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/iperlsys.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/keywords.h
/usr/src/gnu/usr.bin/perl/x2p/f
ind2pl/mg.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/nostdio.h
/usr/src/gnu/usr.bin
/perl/x2p/find2pl/objXSUB.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/objpp.h
/usr/s
rc/gnu/usr.bin/perl/x2p/find2pl/op.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/opcod
e.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/patchlevel.h
/usr/src/gnu/usr.bin/perl
/x2p/find2pl/perl.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/perlio.h
/usr/src/gnu/
usr.bin/perl/x2p/find2pl/perlsdio.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/perlsf
io.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/perlvars.h
/usr/src/gnu/usr.bin/perl/
x2p/find2pl/perly.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/pp.h
/usr/src/gnu/usr.
bin/perl/x2p/find2pl/pp_proto.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/proto.h /u
sr/src/gnu/usr.bin/perl/x2p/find2pl/regcomp.h
/usr/src/gnu/usr.bin/perl/x2p/find
2pl/regexp.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/regnodes.h
/usr/src/gnu/usr.b
in/perl/x2p/find2pl/scope.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/sv.h
/usr/src/
gnu/usr.bin/perl/x2p/find2pl/thrdvar.h
/usr/src/gnu/usr.bin/perl/x2p/find2pl/thr
ead.h /usr/src/gnu/usr.bin/perl/x2p/find2pl/unixish.h
/usr/src/gnu/usr.bin/perl/
x2p/find2pl/util.h links config.h config.sh config_h.sh regcomp.c
regexec.c mini
perlmain.c writemain writemain.sh cflags cflags.sh myconfig find2perl
rm -rf lib ext Porting hints build
=== gnu/usr.sbin
/bin/sh: -c: line 1: syntax error near unexpected token `;'
*** Error code 2

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

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

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

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

Stop in /usr/src.
[root/stfu] /usr/src #

I tried google but really almost everything i found had to do with linux
and wmware heh.

any hints and pointers?

(plz cc me since im not subscribed to the list)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts

2003-09-18 Thread Josh Paetzel
On Thu, Sep 18, 2003 at 09:06:19AM -0700, Edwin D. Vinas wrote:
 Hi,
  
 I've stumbling with all the mailing lists about this problem and I hope somebody 
 will give a kind advise. Here's my LAN setup:
 
 |   |  ||  |
 WinXP1  WinXP2   WinXP3   WinXP4   FreeBSD
  
 WinXP3 is my Internet Sharing Machine connected to my ISP.
 I can browse the web using all the WinXPs but I cannot access the web via FreeBSD.
 FreeBSD's IP address follows the 192.198.0.x format just like the other WinXPs.
 When I check the FreeBSD, i can see its IP address and Subnet Mask etc via 
 ifconfig.
 I can even change the IP address+ Gateway (which is WinXP2's IP add) using
 ifconfig or /stand/sysinstall. I even manually edited rc.conf, and even changed the 
 setting to DHCP etc etc etc.
  
 My diagnosis tells that I cannot ping any WinXP machine in the LAN. But I can ping 
 myself (FreeBSD) locally. When I run netstat -rn, It seems the network card is ok. 
 When I run tcpdump, I didn't show any output. By the way, this network card is 
 CNet PRO200. I was thinking it was not recognize or supported by the FreeBSD-4.8. 
 When I checked FreeBSD-4.8's Hardware Compatibility Lit, I didn't see any CNet 
 PRO200 but I saw a CNet/PRO which I suppose are just the same. So, I recompiled 
 my Kernel again just in case FreeBSD didn't recognize this newly installed Cnet LAN 
 card. But, nothing changed after Kernel recompilation. (But I did not change any 
 option in the Generic kernel; just re-compiled it).
  
 The output when I ping WinXP3: ping: sendto: Host is down. 
 It's not true coz Im typing this email right in the WinXP3 machine. I cannot also 
 ping FreeBSD's  IP add from the WinXP internet sharing server. The dmesg shows the 
 following: pci0 unknown card (vendor=0x1106 dev=0x3059) at 17.5 irq 5.
  
 By the way, this machine where FreeBSD is installed also has WinXP which works fine 
 when in Windows. So Im sure my LAN card is really ok. It's only a problem of FreeBSD.
  
  
 What should I do? I don't want to make FreeBSD machine as my Internet sharing server 
 as of now (although its the best option). Im testing/running a Unix program that 
 needs to be connected to the Internet via Windows XP gateway.
  
 Please help me make my FreeBSD be part of my LAN
  
 -Edwin
 
 
 best regards,
 
 \___\__\___/__/ Edwin D. Vi?as http://edwin.ontheweb.com
  \___\__\_/__/  Electronics and Communications Engineer
   \___\__\___/__/   Mobile: +639202612660
\___\__\_/__/E-mail: [EMAIL PROTECTED]
 PH  \___\_/ The Brain is as vast as the Universe.
 

The output of dmesg and ifconfig would be helpful in diagnosing this.  I suppose 
that's major PITA though considering you're LAN isn't working.  At the very least, 
the first entry that comes up with ifconfig would be very helpful.

Josh

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


Re: deinstalling / reinstalling apache

2003-09-18 Thread Josh Paetzel
On Thu, Sep 18, 2003 at 06:29:49PM +0200, H. Bartel wrote:
 Hi everybody,
 
 how can I deinstall apache-1.3.27_4 so that I can do a fresh install of it? I can't 
 make it run, so I want to start all over again and see if I did something wrong.
 There is a file in /var/db/pkg/apache-1.3.27_4/ with the name +DEINSTALL which 
 seems to be an executable, but I can't execute it. What does the + mean? Is this 
 file what I need?
 
 Thanks a lot,
 Holger

pkg_info | grep apache will tell you the exact name of the apache package you have 
installed, you can then pkg_delete it.

Josh

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


Re: dependencies

2003-09-18 Thread Peder Blom
On Thu, 18 Sep 2003 10:46:42 -0500
Brian Henning [EMAIL PROTECTED] wrote:

 Greetings:
 
 I am trying to figure out the dependencies for the j2sdkee13 port.
 
 I was looking through the Makefile and the distinfo file but i didn't
 see anything info.
 
 
 
 i know it needs the bsd-jdk131-patches file and javavmwrapper-1.4
 among others.
 
 any ideas?
 
 thanks,
 
 brian


Cd to the directory as usual and do a make readme. The resulting
README.html file should include the dependencies.




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


tcp sendspace

2003-09-18 Thread Antoine Jacoutot
Hi !

I just wanted to know if setting:
net.inet.tcp.sendspace=65535
was a bad idea ?
I'm not sure about all the consequences this could have, if any...
Thanks in advance.

Antoine

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


Re: Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts

2003-09-18 Thread Edwin D. Vinas
hi josh,
 
see dmesg, ifconfig and netstat below... hope you can help me now. -edwin
 
IFCONFIG

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500

inet 192.168.0.6 netmask 0xff00 broadcast 192.168.0.255

inet6 fe80::280:adff:fe00:591a%dc0 prefixlen 64 scopeid 0x1 

ether 00:80:ad:00:59:1a

media: Ethernet autoselect (100baseTX)

status: active

lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500

faith0: flags=8002BROADCAST,MULTICAST mtu 1500

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384

inet6 ::1 prefixlen 128 

inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 

inet 127.0.0.1 netmask 0xff00 

ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500

sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552


DN

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500

inet 192.168.0.6 netmask 0xff00 broadcast 192.168.0.255

inet6 fe80::280:adff:fe00:591a%dc0 prefixlen 64 scopeid 0x1 

ether 00:80:ad:00:59:1a

media: Ethernet autoselect (100baseTX)

status: active

lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500

faith0: flags=8002BROADCAST,MULTICAST mtu 1500

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384

inet6 ::1 prefixlen 128 

inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 

inet 127.0.0.1 netmask 0xff00 

ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500

sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552

DMESG

Copyright (c) 1992-2003 The FreeBSD Project.

Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994

The Regents of the University of California. All rights reserved.

FreeBSD 4.8-RELEASE #0: Fri Feb 18 21:38:56 PHT 2000

[EMAIL PROTECTED]:/usr/src/sys/compile/CNETPRO

Timecounter i8254 frequency 1193182 Hz

CPU: AMD Duron(tm) processor (699.51-MHz 686-class CPU)

Origin = AuthenticAMD Id = 0x631 Stepping = 1

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR

AMD Features=0xc044RSVD,AMIE,DSP,3DNow!

real memory = 268369920 (262080K bytes)

avail memory = 255897600 (249900K bytes)

Preloaded elf kernel kernel at 0xc051d000.

Pentium Pro MTRR support enabled

md0: Malloc disk

Using $PIR table, 7 entries at 0xc00fdf00

npx0: math processor on motherboard

npx0: INT 16 interface

pcib0: Host to PCI bridge on motherboard

pci0: PCI bus on pcib0

agp0: VIA Generic host to PCI bridge mem 0xe800-0xebff at device 0.0 on pci0

pcib1: PCI to PCI bridge (vendor=1106 device=b099) at device 1.0 on pci0

pci1: PCI bus on pcib1

pci1: NVidia model 0110 graphics accelerator at 0.0 irq 10

dc0: Davicom DM9102A 10/100BaseTX port 0xd000-0xd0ff mem 0xef00-0xefff irq 
11 at device 9.0 on pci0

dc0: Ethernet address: 00:80:ad:00:59:1a

miibus0: MII bus on dc0

ukphy0: Generic IEEE 802.3u media interface on miibus0

ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

isab0: PCI to ISA bridge (vendor=1106 device=3074) at device 17.0 on pci0

isa0: ISA bus on isab0

atapci0: VIA 8233 ATA100 controller port 0xd400-0xd40f at device 17.1 on pci0

ata0: at 0x1f0 irq 14 on atapci0

ata1: at 0x170 irq 15 on atapci0

uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 11 at device 17.2 on pci0

usb0: VIA 83C572 USB controller on uhci0

usb0: USB revision 1.0

uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub0: 2 ports with 2 removable, self powered

uhci1: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 11 at device 17.3 on pci0

usb1: VIA 83C572 USB controller on uhci1

usb1: USB revision 1.0

uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub1: 2 ports with 2 removable, self powered

uhci2: VIA 83C572 USB controller port 0xe000-0xe01f irq 11 at device 17.4 on pci0

usb2: VIA 83C572 USB controller on uhci2

usb2: USB revision 1.0

uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub2: 2 ports with 2 removable, self powered

pci0: unknown card (vendor=0x1106, dev=0x3059) at 17.5 irq 5

fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0

fdc0: FIFO enabled, 8 bytes threshold

fd0: 1440-KB 3.5 drive on fdc0 drive 0

atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0

atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0

kbd0 at atkbd0

psm0: PS/2 Mouse irq 12 on atkbdc0

psm0: model IntelliMouse, device ID 3

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

sc0: System console at flags 0x100 on isa0

sc0: VGA 16 virtual consoles, flags=0x300

sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0

sio0: type 16550A

sio1 at port 0x2f8-0x2ff irq 3 on isa0

sio1: type 16550A

ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0

ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode

plip0: PLIP network interface on ppbus0

lpt0: Printer on ppbus0

lpt0: Interrupt-driven port

ppi0: Parallel I/O on ppbus0

ad0: 29325MB Maxtor 6E030L0 [59582/16/63] at ata0-master UDMA100

acd0: DVD-ROM DVD-ROM DVD-16X6S at ata0-slave PIO4

Mounting root from ufs:/dev/ad0s2a

ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; 

AlphaStation 200/4

2003-09-18 Thread Danny
Hello All,

I am still not understanding the problem I am encountering while installing FreeBSD 
5.1 on my AlphaStation 200/4.  I have tried both the SRM version 7.0 and 6.5 firmware 
but have yet to succeed in seeing the Configuration GUI.  When I boot the CDROM image, 
the boot process looks normal, OSF Pal successful, kernel begins loading, looks like a 
disk probe is running, and then  I get the prompt to Hit Enter or wait the 10 seconds 
for the autoboot, the machine starts booting, I then get a CPU halt with an Error Code 
= 5, and then the processor reboots and I begin the same process over and over again.  
I have tried to find an explanation of why this might be happening through the 
documentation and other mailing list but I can not seem to find any specific 
information regarding this behavior.  Any and ALL help would be greatly appreciated.  
I am at a loss.  Thanks.  Danny___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CVS tag blocks repository access

2003-09-18 Thread Guy Van Sanden
Help

I 'accidently' created a numeric tag in CVS by using:
cvs commit -r2.0 file
This would, according to the man page, set my revision to 2.0, but it
also created a sticky tag with that name. 
Now I cannot check in anything any more.

Removing the tag with 
cvs tag -d
or cvs rtag -d fails:
tag `2.0' must start with a letter

Does anyone know a clean way out of this?

Thanks very much

Guy

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


Re: How DBA solved overload problem ?

2003-09-18 Thread Sean Chittenden
As a newly DBA, I really don't know how I deal with this
 problem. My problem is not so long ago, my database server seem to
 overloaded. It take me a time to find the cause of problem. I
 realize that some program don't queried wiht inappropriated SQL
 statement. I mean they're not efficient one.
 
 AS DBA how do you solved this problem?

In PostgreSQL, I flip on the following settings and then periodically
scan PostgreSQL's the log file (/var/log/pgsql):

log_duration = true
log_pid = true
log_statement = true
log_timestamp = true

It's tedious, but with grep on your side, it's not an impossible task
or even a super hard one... just a bit tedious if you don't keep up
with your developers.  I've found doing this on the devel machines
produces better bang for the buck than on the production DB's (though
I still do it there occasionally).  Once a query is found, I typically
launch a big 'ole fashion egrep -r with a reasonably unique part of
the query and am normally pretty successful in finding the culprit.
Sometimes you'll have to use sockstat to find what machine and what
PID you're dealing with, but that's something I have to do rarely.
-sc


PS Don't spam so many lists in the future, just -databases or just
-questions would've been sufficient (the more topical the list the
better).

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


mysql cert release?? ..exploitable or not ???

2003-09-18 Thread Brent Bailey
The other day i thought i saw something mentioned about an recent exploit
in mysql.  Is this the case ?? or was it something else ?

thanx
-- 
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http://www.bmyster.com
[EMAIL PROTECTED]
207-247-8330



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


Re: tcp sendspace

2003-09-18 Thread Chuck Swiger
Antoine Jacoutot wrote:
I just wanted to know if setting:
net.inet.tcp.sendspace=65535
was a bad idea ?
Probably not.

I'm not sure about all the consequences this could have, if any...
Are you trying to solve a problem or tune network performance, or are you just 
asking what happens if you twiddle this particular knob?  :-)

There's a formula involving network latency and bandwidth which is relevant; 
that, plus the amount of traffic (how many connections) determines how much RAM 
the larger network buffer size could/will take up.  You haven't told us what the 
machine is being used for, either-- network tuning a fileserver talking to 
clients on the LAN can be quite different than tuning a webserver feeding 
clients using 56K modems.

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


Re: netstat options

2003-09-18 Thread dick hoogendijk
On Thu, 18 Sep 2003 14:36:58 +0100

 % netstat -an -p tcp
 
 otherwise: 
 
 % netstat -an -f inet
 
 will give you all of the network sockets, but not the unix domain
 sockets.

Thanks. This is exactly waht I was looking for.. ;-)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: deinstalling / reinstalling apache

2003-09-18 Thread H. Bartel
On 09/18/2003 11:46 AM [EMAIL PROTECTED] (Josh Paetzel) wrote:

pkg_info | grep apache will tell you the exact name of the apache 
package you have 
installed, you can then pkg_delete it.

Hi,

after done so, I get the following:
pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly 
specified?)
To delete Apache user permanently, use 'pw userdel www'

Is this normal? Should I go ahead and do so?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Request

2003-09-18 Thread Anna Treece
I know this is a weird request, but i'm desperate here.  My husband is
stationed in Iraq.  His access to websites is VERY limited.  He can get to
freebsd.org but cannot get to our home page which has pictures of his son
(he last saw his son when he was 6mo old).  the site is www.treece.org/sean
to prove that I'm telling the truth here.

I need to know if there is ANY way that you will let me send you a picture
of my son to post to ANYWHERE on your site so that my husband can see what
he looks like now (Sean turns 1 on the 27th).  I would love to be able to
keep him up to date w/pictures more so than right now.

I try to email them to him, but it's very unreliable and half the time email
is down for them.

I apologize that this has nothing to do with FreeBSD (my husband is the
Linux/Unix guru in the family).  Please let me know.  I can always try
cnn.com too.  He can get to their site also.


Anna Treece
Resolv LLC
[EMAIL PROTECTED]
920-730-1300 x102

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


Re: Ipfw on the fritz?

2003-09-18 Thread Josh Paetzel
On Thu, Sep 18, 2003 at 05:21:36PM +, Mark wrote:
 - Original Message -
 From: Josh Paetzel [EMAIL PROTECTED]
 To: Mark [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, September 18, 2003 2:54 AM
 Subject: Re: Ipfw on the fritz?
 
  On Thu, Sep 18, 2003 at 12:21:58AM +, Mark wrote:
 
   Eek, I just got these eery messages in /var/log/messages:
  
 
  The following thread may be of interest to you:
 
  http://lists.freebsd.org/pipermail/freebsd-ipfw/2003-June/000215.html
 
 Thank you for the thread. But a bad situation just got worse; all of a
 sudden I got these too:
 
 Sep 18 17:45:06 asarian-host /kernel: drop session, too many entries
 Sep 18 17:45:06 asarian-host /kernel: drop session, too many entries
 Sep 18 17:45:16 asarian-host /kernel: drop session, too many entries
 Sep 18 17:45:16 asarian-host /kernel: drop session, too many entries
 
 Too many entries? I have net.inet.ip.fw.dyn_max set to 1000. And there are
 certainly not a 1000+ dynamic rules. Well, thinking out loud, there would be
 if OUCH! cannot remove rule. :(

Looks like that is what is happening here.

 
 Is there an ipfw patch somewhere, so I can rebuild the kernel? I do not wish
 to perform a cvsup, as that tends to make the system unstable. But if I can
 compile a new kernel on a Vmware box, and then copy over /kernel to the real
 server, well, that I dare give a try.
 
 Thanks,
 
 - Mark

I don't know if an ipfw patch exists or not.  I'm tempted to say there probably 
isn't, but I could be way off base there.  I don't know what you mean about cvsup 
making the system unstable, I've had very good luck tracking RELENG_4_8, which is 
nothing more than 4.8-RELEASE with bug fixes.  As far as running a new kernel, you 
can't run a new kernel on an old userland, that will break numerous things on your 
system. :-/

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


Re: deinstalling / reinstalling apache

2003-09-18 Thread Josh Paetzel
On Thu, Sep 18, 2003 at 07:37:13PM +0200, H. Bartel wrote:
 On 09/18/2003 11:46 AM [EMAIL PROTECTED] (Josh Paetzel) wrote:
 
 pkg_info | grep apache will tell you the exact name of the apache 
 package you have 
 installed, you can then pkg_delete it.
 
 Hi,
 
 after done so, I get the following:
 pkg_delete: couldn't entirely delete package (perhaps the packing list is 
 incorrectly specified?)
 To delete Apache user permanently, use 'pw userdel www'
 
 Is this normal? Should I go ahead and do so?


Another thing that could be going on here is pkg_delete isn't deleting 
/usr/local/etc/apache/httpd.conf because it's been changed.  Manaully removing it 
will be the best course of action if you want to start with a completely fresh slate.

Josh

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


P4 Motherboard

2003-09-18 Thread Chern Lee
Hey guys,

Can I get some examples of recent P4 motherboards you're successfully
using with FreeBSD.

Thanks,

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


Re: deinstalling / reinstalling apache

2003-09-18 Thread H. Bartel
On 09/18/2003 12:41 PM [EMAIL PROTECTED] (Josh Paetzel) wrote:

Another thing that could be going on here is pkg_delete isn't deleting 
/usr/local/etc/apache/httpd.conf because it's been changed.  Manaully 
removing it 
will be the best course of action if you want to start with a completely 
fresh slate.

Seems like Apache is all gone now. Ready for a fresh and clean install. Hope this will 
work out like I want it ;)
Thanks for your help,
Holger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcp sendspace

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

On Thursday 18 September 2003 19:26, Chuck Swiger wrote:
  was a bad idea ?

 Probably not.

Good :)

 Are you trying to solve a problem or tune network performance, or are you
 just asking what happens if you twiddle this particular knob?  :-)

I'm trying to tune network performance.

 There's a formula involving network latency and bandwidth which is
 relevant; that, plus the amount of traffic (how many connections)
 determines how much RAM the larger network buffer size could/will take up. 

The boxes I'm talking about have between 512 and 1 Go of RAM.

 You haven't told us what the machine is being used for, either-- network
 tuning a fileserver talking to clients on the LAN can be quite different
 than tuning a webserver feeding clients using 56K modems.

Well, I'm building some servers that are not in production yet, but will be 
soon,
They're all going to be intensively accessed, either with samba shares (inside 
the LAN -- users homedir and other shares) or http (from optical fiber 2MB 
connection) from the internet.

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

iD8DBQE/afITY3Hnhkr+5cQRAiauAJ95uOhVn3fgBJaLvILzUY7wfabkVACbBSBH
1EV5Zy+ptPazA7xUAheE4Kc=
=Yk+M
-END PGP SIGNATURE-

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


svgalib program is setuid root but still can't seem to allocate graphics console

2003-09-18 Thread Chris Pressey
Hi,

I'm trying to write some code that uses /usr/ports/graphics/svgalib. 
I've started off with the first example program on:

  http://www.svgalib.org/jay/beginners_guide/beginners_guide.html

As root, I can compile and run it fine, and I get the message:

  [svgalib: allocated virtual console #10]

And if I try to run it as a normal user, I get:

  svgalib: Cannot get I/O permissions.

This is expected, because the program is not setuid root.  So as root I
chmod u+s it, but then when I run it as a normal user I get:

  You must be the owner of the current console to use svgalib.
  Not running in a graphics capable console,
  and unable to find one.
  Using RAGE driver, 8192KB.   ChipID:35 MemType:6
  Rage: BIOS reports base frequency=28.636MHz  Denominator= 31
  svgalib 1.4.3
  You must be the owner of the current console to use svgalib.
  Not running in a graphics capable console,
  and unable to find one.
  Not running in a graphics capable console,
  and unable to find one.

This is on ttyv0, btw.  I'm running X on ttyv9.

I've googled for the past hour or so, but have been unable to find
anything particularly enlightening in regards to why (most pages refer
to Linux, and I've yet to find one that gives any advice beyond chmod
u+s.)

TIA for any help you can send my way!

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


Problem with shutting down/rebooting

2003-09-18 Thread Markus Svensson
Hi all!

I'm having a bit of a problem with my FreeBSD 5.1-R-p5 machine.
If I issue the command shutdown -h now, the system starts it's
shutdown process. This is the output I get:

writing entropy file
saving firewall state tables
syslogd exiting on signal 15
waiting (max 60 sec) for system process vnlru to stopstopped

After this, the machine stops responding and just sits there forever,
never unmounting the filesystems and halting.

Anyone has any idea as to what's going on here?
Oh, and the problem first came up, IIRC, after switching the vga card in
the machine (from nVidia to ATi).

Thanks in advance!

MvH
Markus Svensson
[EMAIL PROTECTED]
--
Britain and France had to choose between war and dishonor. They chose
dishonor. 
- Prime Minister Winston Churchill 


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


device drivers

2003-09-18 Thread jason
   I hope this is the right list, I have a nforce 2 board and have
drivers that aren't working.  I read the nforce was based ond the amd
chipset so I tried to use /sys/pci/agp_amd.c as a blueprint and modified
it according to the data in /src/pci/agp_nvidia.c.  I am maybe half done
and learned enough to know not to expect this thing to work.  I would
like some more documentation and help if aviliable.  I read the
developers and architecure handbooka and a few examples on the web.
   I know enough to be dangerous, I have been told.  I would like to
write a driver that comforms to all the new standards like newbus(does
this apply for agp?), avoiding GAINT(I need more info on this),smp(since
nvidia likes a universal driver architecure this would be helpfull for
the nforce 3 and opteron), etc...  I have been getting some tech support
from Mathew Dodd on the questions lets where I was just tring to get 3d
working with a non-nvidia card.  It seems I am the only one with a nf2
mobo and and ati video card who wants to do some gaming and can't.  He
added agp_nvidia.c to freebsd and I think ether he gave up on me, or the
driver does not work and he gave up on it.  So I am back to tring to
write a driver myself.
   I emailed nvidia a couple of times for documentation and the only
response I ever got was an automated conformation.  Big help they were,
but if any else here has their ear maybe they could inquire?
Thanks,
Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Canon s200x, how to setup?

2003-09-18 Thread Alex Zivenko
How to setup yhis printer on FreeBSD?
Canon S200x, new model...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ideas To Save Failing System?

2003-09-18 Thread Drew Tomlinson
- Original Message - 
From: Lowell Gilbert [EMAIL PROTECTED]
To: Drew Tomlinson [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 1:32 AM
Subject: Re: Ideas To Save Failing System?


 Drew Tomlinson [EMAIL PROTECTED] writes:

  Is there anything I can do to save this machine?  I'm afraid if I
power it
  off, the disk will be corrupt and it probably won't boot.  I'd
really like
  to make a backup and then replace the disk.  Any ideas?

 If you *don't* power it down, you should *still* be afraid that disk
 will be corrupt and it won't boot.

I was but wanted to get what I could.

 If it's networked, try backing up using that.

I thought about that too but no commands were working.

 It's possible that you'll have more success reading the disk if you
 take it out and put it in another machine (using a different drive
 cable, just to be sure), but not likely.

While I was trying various things, the power went out.  I thought I was
in trouble but fortunately the system came back up without error and
hasn't had an error since.  I have to wonder what might really be
corrupt but everything is working. I guess so far I got lucky!  :)

Thanks,

Drew

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


Re: firewall

2003-09-18 Thread Bob Hall
On Thu, Sep 18, 2003 at 08:54:30AM +0800, Robert Storey wrote:
 On Wed, 17 Sep 2003 14:29:22 -0400
 Bob Hall [EMAIL PROTECTED] wrote:
 
 Apologies humbly offered. Apparently, I'm getting confused by reading

My fault. I'm too impatient.

 the tons of documentation I've been looking at. For now, option No. 1
 will do - I just want to get kernel ppp working with a firewall enabled.
 So far, I've gotten ppp working, but only with the firewall disabled.

Good. Use that as a starting point. Revert back to the cofiguration 
that worked, and we'll add a firewall.

With option 1, your box is not a gateway. However, if you use the box 
as a gateway later, you will need NAT. If you are using pppd, you'll 
need to implement NAT in the firewall. In that case, you'll need the 
IPFIREWALL and IPDIVERT options. If you have already recompiled with 
them, don't change that. They won't hurt you now and you'll need them 
later. 
 
  You also need 
  options IPFIREWALL
  for any of the three options.
 
 Now that's interesting. I did indeed read that in FreeBSD Unleashed,
 but The Complete FreeBSD says If you wish you can build a kernel with
 firewall support...but you don't need to build a new kernel. You can
 load the KLD /boot/kernel/ipfw.ko instead: #kldload ipfw
 So I tried that, and it told me it was already loaded.

What did kldstat return?

Lehey can do lots of things with FBSD that I don't know how to do.
I've never tried loading IPFW as a dynamic module. I've seen posts 
from people who've tried it and had problems. Your milage will vary. 
My belief is that you connect to the internet often enough that you 
don't gain anything by using a dynamic module. You might as well load 
IPFW at bootup.
 
 OK, that part I knew, but what setting should I use? Just leave it
 blank? When I try ifconfig -a it always gives me an address in the
 format 168.95.xx.xx where x can be any number. 

Start with the OPEN firewall. If there are no firewall rules, the 
rules can't cause problems. Once you know that the firewall is working, 
you can switch to client or simple. If you have a problem at that point, 
you've isolated the problem to your ruleset.

Before using an open firewall, make sure that /etc/hosts.allow is 
configured to allow only localhost and machines on your LAN to 
establish connections. Anything external to your LAN should be 
blocked, at least until your firewall is no longer OPEN.
ALL : localhost 127.0.0.1 : allow
ALL : box1.lan.net 192.168.0.1 : allow
... 
portmap : 192.168.0.0/255.255.255.250 : allow
ALL : ALL : deny
or something similar.

 Again, thank you for your help. Sorry for my stupidity, but I am

As a beginner, you have no right to claim stupidity. You are only 
entitled to vague feelings of incompentence. It will take a couple 
of years of having the computer constantly make you look like a fool 
to develop and sharpen those feelings into true stupidity. 

Until then, use the force.

 probably the only FreeBSD user within 100 miles of where I live - on one
 around here who I can ask.

I don't personally know any FBSD users, other than myself. My geek 
friends are into Linux. 

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


Witch database do you recommend?

2003-09-18 Thread Paredes Sánchez Martín A.
Hi:

I want to begin to explore the SQL world in FreeBSD.

I read somewhere that PostgreSQL has more in the enterprise than MySQL,
so my first choice is PostgreSQL. But I like to hear some advise an
reasons on why should I use -SQL?.

If I going to spend some time in learning a SQL, I like that this be a
good one.

maps

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


  1   2   >