The FreeBSD Diary: 2002-10-20 - 2002-11-09

2002-11-10 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list

Moving my home server to completely different hardware

2002-11-10 Thread Eelke Blok
Hi all, I'm running a home server, which acts as an IP-forwarding machine for my home network, does some webserving, mail, etc. It's currently based on a Pentium 120, but I plan to move it to an AMD Athlon.About the only thing that will remain the same is the hard drive and the two NICs in the

Re: Help with lost partition info.

2002-11-10 Thread Matthew Seaman
On Sat, Nov 09, 2002 at 04:04:56PM -0800, Derrick MacPherson wrote: I lost my partition info during an upgrade. I never actually wnet ahead with the upgrade, yet but I guess I overwrote the info that says whre my partitions are mounted, and I'm unsure whichi is which.. I don't want to map / to

Now portupgrade -R ruby_static-1.6.7.2002.09.12_1 to ruby_static-1.6.8.p2 fails as well!

2002-11-10 Thread Kevin Golding
Someone, quite probably Stacey Roberts, once wrote: Just an update to this here. I thought I might as well not bother with trying to upgrade this port, but to simply deinstall it and reinstall - hoping that the newer version would get fetched: n# make deinstall clean === Cleaning for

Re: How to stop SPAMMER??!

2002-11-10 Thread Jack L. Stone
At 12:16 AM 11.10.2002 -0600, W. D. wrote: At 21:17 11/9/2002, Jack L. Stone wrote: At 03:04 AM 11.10.2002 +0100, Gustaf Sjoberg wrote: On Sat, 09 Nov 2002 15:13:09 -0600 W. D. [EMAIL PROTECTED] wrote: either block incomming port 25 connections or set the smtserver to require authentication.

Net connection problem: sis, miibus

2002-11-10 Thread Paul Everlund
Hi all! I have a friend who decided to try FreeBSD 4.6.2 and it works just fine except one thing, his connection to the internet. He has a sis network card, which is compiled into the kernel, with miibus that is required. He gets a connection just fine, for about half a minute, then it doesn't

make pid files

2002-11-10 Thread Neil Doody
Is there a way to create pid files for applications you start, if the application doesn't have a configuration option within itself to create one ? Im guessing using some kind of regex with grep to capture the pid/error number when you run it ? Though im not really that good with that stuff.

xhost: unable to open display

2002-11-10 Thread Henk
llo all, I use ssh to connect to My.FreeBSD.Machine from My.Main.Machine running FreeBSD and xdm. xwin is running properly on My.Main.Machine. When trying to run mozilla on My.FreeBSD.Machine I get the error: Gtk-WARNING **: cannot open display: When running xhost I get the following error:

Printing to Win2K share printer with apsfilter via samba fails

2002-11-10 Thread Stacey Roberts
Hello, I've installed apsfilter-7.2.3, and despite successfully printing the test page, I am unable to get anything to print either from an application (opera / AbiWord), nor command line. Checking printer status: # lpc status all hp845c: queuing is enabled printing is enabled no

Fatal Trap 9

2002-11-10 Thread Neil Doody
As you might know, ive been suffering from error 11's, trap 12's and filesystem boo-boo's. Now ive just got this one and the server rebooted, which is new. Nov 10 15:39:50 admin /kernel: Fatal trap 9: general protection fault while in kernel mode Do you think that still could be to

Re: xhost: unable to open display

2002-11-10 Thread Matthew Seaman
On Sun, Nov 10, 2002 at 04:04:01PM +0100, Henk wrote: I use ssh to connect to My.FreeBSD.Machine from My.Main.Machine running FreeBSD and xdm. xwin is running properly on My.Main.Machine. When trying to run mozilla on My.FreeBSD.Machine I get the error: Gtk-WARNING **: cannot open display:

Re: trouble with perl writing to pipes :(

2002-11-10 Thread Joan Picanyol i Puig
* Matthew Seaman [EMAIL PROTECTED] [20021108 12:40]: On Fri, Nov 08, 2002 at 10:46:43AM +0100, Joan Picanyol i Puig wrote: I'm noticing some weird behaviour having perl writing to pipes (they eat my output): [...] You may find that appropriate use of the $| special variable (or equivalently

Re: Can Do10548

2002-11-10 Thread Gustaf Sjoberg
wow, this annoys me. it's just the reasons listed in this later that makes me hate spam so much. suddenly i feel like.. hitting something. hard. sorry for the rant, couldn't help myself. On Sun, 10 Nov 2002 10:29:50 -2000 John Zimmer [EMAIL PROTECTED] wrote: [...] Because there is no charge

Re: How to stop SPAMMER??!

2002-11-10 Thread Warren Block
On Sat, 9 Nov 2002, W. D. wrote: At 19:49 11/9/2002, Steve Wingate wrote: 2. Are you the recipient of spam or is your box being used as a relay? Relay. If your system is an open relay, close it. I have no idea how to do that with qmail--a web search will help. In fact, if your system is

sudo in syslog.conf

2002-11-10 Thread Gustaf Sjoberg
Hi, what would an entry in syslog.conf look like if i want to send all information on sudo attempts to /dev/console? any ideas? ;-) thanks in anticipation, Gustaf Sjoberg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message

Can Do10548

2002-11-10 Thread John Zimmer
If your interested in putting your product or service in front of millions of prospective clients or buyers READ ON! What is the most cost effective form of advertising for the very small all the way up to the largest of companies? Commercial Email! Why? Because there is no charge for

USRobotics Wireless

2002-11-10 Thread Pierrick Brossin
Hi, Anyone using a U.S.Robotics Wireless card under Fbsd 4.7 ? I'm interested in buying one card for my laptop ! http://www.usr-emea.com/products/p-networking-product.asp?prod=net-pc-cardloc=emea It's in the Hardware Notes but I would prefer that someone who actually uses a card like this

Re: Recovering /etc/passwd (was: REASON #7919 NOT to do things asroot!)

2002-11-10 Thread Dirk-Willem van Gulik
On Sun, 10 Nov 2002, Greg 'groggy' Lehey wrote: # pwd_mkdb -p /etc/master.passwd /etc/passwd doesn't get used much any more. The real files are /etc/pwd.db and /etc/spwd.db. See the man page for pwd_mkdb for more details. And the files in /var/backups/ used by the periodic script have

Re: Printing to Win2K share printer with apsfilter via samba fails

2002-11-10 Thread Warren Block
On 10 Nov 2002, Stacey Roberts wrote: Printer entry created by apsfilter setup in /etc/printcap: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\

Re: Recovering /etc/passwd (was: REASON #7919 NOT to do things as root!)

2002-11-10 Thread Jack L. Stone
At 08:23 PM 11.10.2002 +0100, Dirk-Willem van Gulik wrote: On Sun, 10 Nov 2002, Greg 'groggy' Lehey wrote: # pwd_mkdb -p /etc/master.passwd /etc/passwd doesn't get used much any more. The real files are /etc/pwd.db and /etc/spwd.db. See the man page for pwd_mkdb for more details. And

RE: How to stop SPAMMER??!

2002-11-10 Thread Derrick Ryalls
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG] On Behalf Of Warren Block Sent: Sunday, November 10, 2002 10:50 AM To: W. D. Cc: [EMAIL PROTECTED] Subject: Re: How to stop SPAMMER??! On Sat, 9 Nov 2002, W. D. wrote: At 19:49

DHCP

2002-11-10 Thread Daniel HARTMANN
Hi How to have DHCP in version 4.7 like it was in 4.5. By default it is not anymore installed. Thanks Dany_H ;-) attachment: winmail.dat

coloring up my life

2002-11-10 Thread Morten Grunnet Buhl
Hey guys, So I like working in the console, is there any other way? But I find that all that black and white really gets kind of boring in the long run. So I want to start coloring everything up nice and pretty. I have started on my shell (tcsh) and ls. This is where my knowledge on this subject

general questions about patches ports [nethack]

2002-11-10 Thread Eric Timme
(no answers off ports, so thought I'd give it a try on questions) In an effort to get some experience with ports I've been working in my spare time on making a local entry in the tree that lets you apply a variety of nethack enhancing, generally accepted patches (namely the hell patch, dump

Re: Permissions user/group scheme for webserver?

2002-11-10 Thread Lee Nelson
This is an excellent question, and it's also an enduring problem. It's easy enough to make all files owned by user:nobody, but the problem is that CGI's executing as nobody can go off and read other peoples files! To counter this, I run all CGI's as suid the user. But this requires Apache's

Re: GD2 without X11 from ports

2002-11-10 Thread Morten Grunnet Buhl
Jez Hancock ([EMAIL PROTECTED]) wrote: root@dev /usr/ports/graphics/gd2# make -DWITHOUT_XPM -DWITHOUT_X11 -DWITH_LZW So far so good, GD2 is built without the X11 libs. However when I move on to install the port: the 'make install' command still attempts to install the X libs. Can anyone

Re: coloring up my life

2002-11-10 Thread Alessandro de Manzano
On Sun, Nov 10, 2002 at 10:37:06PM +0100, Morten Grunnet Buhl wrote: the long run. So I want to start coloring everything up nice and pretty. I have started on my shell (tcsh) and ls. This is where my knowledge on this subject ends. So my question is, does anyone else have

Apache Help

2002-11-10 Thread Bryan Cassidy
Ok here is the deal. I've been trying to get apache to work on my FreeBSD 4.6.2 box. Here is what I was told I should do to install apache/php http://lith.hn.org/apache.php I know it install this way but want to make sure it is the correct way to install apache/php on freebsd. The domain name I am

Re: Adding additional HD space

2002-11-10 Thread Marco Radzinschi
The 10 GB Hard Disk should have a BIOS Limitation jumper that will make the BIOS think it is a 508 MB drive. Set that jumper, and the system should boot. Once you have that drive in there, you could create the file system structure on it however you want, but place the / and /boot partitions

Re: DHCP

2002-11-10 Thread david
On Sunday 10 November 2002 16:23, Daniel HARTMANN wrote: Hi How to have DHCP in version 4.7 like it was in 4.5. By default it is not anymore installed. Yes it is.. add ifconfig_interface=DHCP to your rc.conf Thanks Dany_H ;-) To Unsubscribe: send mail to [EMAIL PROTECTED] with

In search of the ultimate .muttrc

2002-11-10 Thread BSD Freak
Hi all, I have just started recently using mutt and love it. I know there are heaps of sites that have sample .muttrc configuration files but I am looking for one specifically for use with this listanyone willing to share theirs? -Thanks in advance

Re: Printing to Win2K share printer with apsfilter via samba fails

2002-11-10 Thread Stacey Roberts
Hi Warren, On Sun, 2002-11-10 at 19:27, Warren Block wrote: On 10 Nov 2002, Stacey Roberts wrote: Printer entry created by apsfilter setup in /etc/printcap: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END

Re: BIND

2002-11-10 Thread Mark
Briliant! That is exactly what the doctor ordered! :) Thank! - Mark - Original Message - From: Michal Mertl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Mark [EMAIL PROTECTED] Sent: Sunday, November 10, 2002 9:54 PM Subject: Re: BIND Configuration of bind 8.x to stop outside world

Intel 845 graphics

2002-11-10 Thread Marc Dodsworth
Hi I'm trying to get XFree86 4.2.0_1.1 trying to run on a motherboard with an Intel's intregrated video. The board is an Intel 845GRGL using the Intel 845G chipset for Pentium IV. After reading through some messages relating to the Intel 810 video I have included the Device AGP option in to

RE: Adding additional HD space

2002-11-10 Thread Mike Loiterman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The 10 GB Hard Disk should have a BIOS Limitation jumper that will make the BIOS think it is a 508 MB drive. Set that jumper, and the system should boot. I thought so too. I tried setting it, but I couldn't get it to boot. I guess the drive

HELP. KDE3 locks up system,

2002-11-10 Thread Michael E Mercer
Hello all, Once KDE3 locks up system, nothing can be done except to hit the power button. I rebuilt the world and kernel based on todays cvsup and it still locks up 4.7-STABLE KDE 3.0.4 This is actually my second attempt at sending this email, because the system locked up while I was

Mounting Files -- Help Plz :)

2002-11-10 Thread RD
Wuzzup guys, I'm running 2 boxes with freebsd. One with pure-ftpd and the other runs my apache/php/mysql. My ftp is an old compaq prolient workgroup server p pro 200mhz. My webserver is a p3 - 500mhz. My question -- What is the best way to mount or link to the files from box to box? When

Load averages exceed 1 - but all seems well!

2002-11-10 Thread Brian Astill
Running fvcool -e -i works just fine for me in keeping my Athlon CPU cool, BUT the output from TOP, shows: last pid: 2890; load averages: 1.10, 1.07, 1.00 up 1+02:45:27 23:20:20 66 processes: 2 running, 64 sleeping CPU states: 1.2% user, 98.4% nice, 0.4%

Re: Mounting Files -- Help Plz :)

2002-11-10 Thread Duncan Anker
On Mon, 2002-11-11 at 10:12, RD wrote: Wuzzup guys, I'm running 2 boxes with freebsd. One with pure-ftpd and the other runs my apache/php/mysql. My ftp is an old compaq prolient workgroup server p pro 200mhz. My webserver is a p3 - 500mhz. My question -- What is the best way to

Re: Load averages exceed 1 - but all seems well!

2002-11-10 Thread Greg 'groggy' Lehey
On Sunday, 10 November 2002 at 23:30:44 +1030, Brian Astill wrote: Running fvcool -e -i works just fine for me in keeping my Athlon CPU cool, BUT the output from TOP, shows: last pid: 2890; load averages: 1.10, 1.07, 1.00 up 1+02:45:27 23:20:20 66 processes: 2 running, 64 sleeping

RE: Mounting Files -- Help Plz :)

2002-11-10 Thread RD
Tx duncan, Let me see if I got this right... File server will be the box with ftp - right? Then I can expand my webservers in the future to 2 or more boxes to handle the load -- right? -Original Message- From: Duncan Anker [mailto:d.anker;au.darkbluesea.com] Sent: Sunday, November 10,

sysutils/cpuburn lives up to its name

2002-11-10 Thread Ray Kohler
The subject explains it pretty well -- last night I ran burnK7 from the cpuburn port and my system is toast. Now I'm trying to figure out just what it was I killed so I can replace it. About 40 seconds into the run, the system switched the power off. Now it won't switch back on again. ACPI was

missing atapicam.h ??

2002-11-10 Thread Iain
Hi, I am trying to get ATAPI SCSI emulation working on 4.6.2 so that I can use cdrecord. I applied the following patches: atapicam-20021031.diff cam_xpt.c.diff atapicam-STABLE-config-20021031.diff but now when I run make depend there is a header file missing: eagle# make depend rm -f

Re: In search of the ultimate .muttrc

2002-11-10 Thread Nathan Kinkade
On Mon, Nov 11, 2002 at 09:30:46AM +1100, BSD Freak wrote: Hi all, I have just started recently using mutt and love it. I know there are heaps of sites that have sample .muttrc configuration files but I am looking for one specifically for use with this listanyone willing to share

Re: How to stop SPAMMER??!

2002-11-10 Thread W. D.
Hi Stephen, I hope you don't mind, I've CC'd the list as well: Guys: I locked myself out of my server using the hosts.allow script below. I couldn't get in with SSH, FTP, and *ALL* email was blocked. I changed back to the old hosts.allow and I can get back in, but so are the slimy spammers. It

Re: How to stop SPAMMER??!

2002-11-10 Thread Kevin D. Kinsey, DaleCo, S.P.
From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] From: W. D. [EMAIL PROTECTED] Subject: Re: How to stop SPAMMER??! Well, now we see why the file comments suggest that wrapping sshd is *not* such a good idea.. Get the IP block of the system(s) from which you are remotely

[OT] Reverse ssh through firewall?

2002-11-10 Thread Jacob Rhoden
Hi Guys, If I have two machines (one at work, and one at home) and one of them has all ports firewalled (I can ssh from work to home, but not home to work). Is there a way to open ssh on the home machine and have my work computer connect to it (so that i have access to my work machine from

Re: logos freebsd

2002-11-10 Thread Matthew Seaman
On Mon, Nov 11, 2002 at 01:43:39AM -0300, João Alberto Rampim de Oliveira wrote: have you logo of the Freebsd in high-resolution to send me? You can use the standard /usr/share/examples/BSD_daemon/beastie.eps file to generate beastie images at whatever resolution you desire. Use something like

Ô¶³ÌË«½ÊÏßÊÓƵÊÕ·¢Æ÷

2002-11-10 Thread xzhtgs
HT-SJ1500ʹÓõçÄÔÎåÀàË«½ÊÏß´«ËÍÊÓƵÐźţ¬ÌرðÊÊÓÃÓÚÖÇÄÜ´óÂ¥×ÛºÏ ²¼Ïß¼à¿Øϵͳ»òÆäËûÔ¶³Ì¼à¿Ø¼°ÓÐÑÏÖع¤Òµ¸ÉÈÅÔ´µÄ³¡ºÏʹÓã¬Æä¼Û¸ñµÍ¡¢ ¿¹¸ÉÈÅÐÔÇ¿£¬Í¼ÏóÖÊÁ¿ºÃ¡¢¾àÀë¿É´ï2000Ã×,¼ÓÖм̿ɴïÊýǧÃ×£¬Ê¹ÓÃÒ»¸ù ËĶÔË«½ÊÏß¼´¿Éͬʱ´«ËÍÊÓƵ¡¢ÒôƵ¡¢½âÂëºÍµçÔ´»òËÄ·ͼÏó.