Re: Ntpd assistance

2004-09-22 Thread Mike Hogsett
Richard Lynch wrote:
Am I doing something wrong here?  My time seems to go out of sync after
my FreeBSD 4.10 box has been up for a couple of hours.  Any help would
be greatly appreciated.
After your machine has booted and run in multiuser mode for several minutes
run ntpdc to query ntpd about its status.  The command to see its status with
its time servers is 'peers', e.g.
;ntpdc
ntpdc> peers
 remote   local  st poll reach  delay   offsetdisp
===
*zeus.csl.sri.co 130.107.2.57 2 1024  377 0.00079  0.000651 0.01483
=plato.csl.sri.c 130.107.2.57 3 1024  377 0.00035 -0.001401 0.01483
=orion.csl.sri.c 130.107.2.57 3 1024  377 0.00032 -0.001799 0.01483
ntpdc>
It was posted here recenlty that if your security setting is at 1 (?),
then ntp can only change the clock by 1 second...
init(8) states secure level 2 or above.
 - Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 433au

2004-09-22 Thread Mike Hogsett
Mike Cochran wrote:
To one of the old DEC nerds:
Will an old digital personal workstation take a standard power supply, or do
they require a custom one?
Mike
If you need to replace the power supply you may consider
purchasing a whole 433a at ebay.  There's a 433 listed
currently at $31.
Do a search at ebay for 'dec pws'  The 600au w/ 1Gb RAM looks nice,
too bad the wife would kill me for buying it.  Oh well I 'spose I will
have to get by with my 433a.
 - Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Port: fontconfig

2004-09-09 Thread Mike Hogsett
Greetings list,
I am having a problem with fontconfig from ports.   I wanted
to update X11 to xorg on my alpha box.  I read the 20040723 entry
in /usr/ports/UPDATING and proceeded as instructed.
Now the port build processing is barfing on the build of
fontconfig.
[ I didn't have the actual error message from the alpha box
  since it is at home, but I reproduced it on a FreeBSD/i386
  machine ]
The error message is :
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:300: syntax error before `psfontinfo'
fcfreetype.c:759: `psfontinfo' undeclared (first use in this function)
fcfreetype.c:759: (Each undeclared identifier is reported only once
fcfreetype.c:759: for each function it appears in.)
gmake[2]: *** [fcfreetype.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.2.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.2.3'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/x11-fonts/fontconfig.
Does anyone have suggestions how I can get past this?  I have no
X11 installed on it now and the console is painful.
Host : DEC Alpha Personal Workstation 433a
OS   : FreeBSD/Alpha 4.10-RELEASE-p2
 - Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Blackberry & Sendmail

2004-08-03 Thread Mike Hogsett
This is not entirely on-topic for the FreeBSD list (except my
mail server is FreeBSD).
Does anyone know of a solution to allow secure mail forwarding to a
blackberry similar to the enterprise solutions for MS exchange,
and Lotus Notes?
Thanks
 - Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD beginner (NetBSD advanced)

2004-07-15 Thread Mike Hogsett
Wojciech Puchar wrote:
my questions:
Start here :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux-Opera problem

2004-07-01 Thread Mike Hogsett


> When I try and run linux-opera, i get this error.
> 
> [EMAIL PROTECTED] rehash
> [EMAIL PROTECTED] linux-opera
> ELF binary type "0" not known.
> ELF binary type "0" not known.
> /usr/X11R6/share/linux-opera/bin/opera: 1: Syntax error: "(" unexpected
> 
> what does that mean? What should I do?

Try doing (as root of course)

; kldload linux

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


Re: Ports Base

2004-06-30 Thread Mike Hogsett

> Wondering if you could copy the ports base of a FreeBSD server to a CD, then 
> copy the CD to another FreeBSD server of the same version.
> 
> I searched through many docs on CVSUP, but didn't find the answer to this 
> question. I simply want to streamline the constant building and rebuilding 
> of FreeBSD 4.10 servers. Each time I build one, I have to run the CVSUP to 
> update several ports, etc. This really extends the build time of a server.
> 
> I figured if I could simply copy the ports tree structure to CD, then copy 
> that to the other servers, I'd save some time. I don't have enough hardware 
> to keep a constant CVSUP mirror locally, I already looked into that.

I don't see any reason why this would not work.  If the machines are all
running the same version of FreeBSD I don't think there will be any
problem.  

This doesn't seem to me to be any different than building/installing
ports on host A and then mounting /usr/ports on host B from host A via
NFS and doing a make install of the already built ports.

 - Mike


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


Mail Server

2004-06-30 Thread Mike Hogsett

I am about to begin the process of building a replacement mail server
for our workgroup using FreeBSD and Sendmail.

In addition to receiving mail from our primary MX and sending mail out
our SMART_HOST, I would like the ability to enable our users to send and
receive email directly from this server while at remote locations.

My initial thought along the above lines is to enable smtps and/or
SSL/TLS for sendmail, and the imap-uw port for imaps/pops.

I have read section 21.10 in the FreeBSD handbook, but this only covers
SMTP Authentication.

I have also found and read
http://www.puresimplicity.net/~hemi/freebsd/sendmail.html and it appears
to cover most of what I need to do.

Additionally I want to integrate SpamAssassin into the mix.  I have
found, read, and implemented the SpamAssassin Milter instructions at
http://networking.ringofsaturn.com/Unix/spamassassin.php This appears to
work well.  Does anyone have any arguments about why I should do it this
way rather than the "invoke spamc via procmail" method we use now?

Lastly, this may seem silly, but how do I generate a certificate signing
request for my imaps/pops/sendmail servers?  I have generated a self
signed certificate and I can accept it and it appears to be working.
When I look at information regarding certificates at either Verisign or
Thawte I have only found information about web server certificates.  Is
there any effective difference between a cert used for Apache and
imaps/pops/sendmail?

If anyone has suggestions, experiences, or pointers to more information
I would greatly appreciate it.

Thanks,

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


Re: how-to tell sendmail to mail thru my ISP

2004-05-19 Thread Mike Hogsett

> I have dynamic IP address and ISP blocks inbound port 25 so any
> recipients email server that checks back before accepting says I an
> invalid sender. Going through my ISP email server should fix this.
> 
> How do I tell sendmail to send, relay my outgoing email through
> my ISP email server?

1) go to /etc/mail
2) type make
3) edit /etc/mail/.mc 
4) locate line containing "SMART_HOST"
5) remove `dnl' from the start of the line
6) change `your.isp.mail.server' with the name of your ISP's SMTP server.
6a) NOTE NOTE NOTE:  make sure your quotes around hostname are right first is ` and 
second is '
7) save file and exit
8) in /etc/mail type, make, make install, and make restart

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


Re: How To Copy A Group of Files To Different Name?

2004-05-18 Thread Mike Hogsett


> How can I copy a group of files to a different name.  I want to copy all 
> files starting with 'bacula*' to 'bacula*.old'.  So I have these four files:
> 
> blacklamb# ll bac*
> -r--r--r--  1 root  wheel   949 Apr 22 09:13 bacula-barcodes
> -rw-r-  1 root  wheel  5792 May 17 16:52 bacula-dir.conf
> -rw-r-  1 root  wheel   763 Apr 22 09:13 bacula-fd.conf
> -rw-r-  1 root  wheel  1909 May 17 16:31 bacula-sd.conf
>  
> I want to have copies of these files with '.old' appended to their 
> names.  I've tried 'cp -pv bac* bac*.old' but cp complains.  Because 
> it's only 4 files, I'll do each one independently but I'd like to know 
> how to do this "right" for future reference.


Well it may not be right, but there is more than one way to skin a cat.


if using bash as your shell you could do 


> for b in * 
> do
>  mv $b ${b}.old
> done




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


Re: The correct way to run "make"

2004-05-14 Thread Mike Hogsett

> Im giving up for now.
> Tried to build mozilla with ->
> make -DWITHOUT_MAILNEWS=yes -DWITHOUT_LDAP=yes -DWITHOUT_CHATZILLA=yes instal
> l
> and it still has the mail and chatzilla modules installed.
> Maybe Ill experiment with it later (like when Im sleeping)

If you are disabling all of that why not install firefox instead?
( /usr/ports/www/firefox/ )


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


NTPD

2004-05-13 Thread Mike Hogsett

Can someone shed light on the following error?

May 13 09:08:47 rr-spamd-0 ntpd[607]: ntpd 4.1.1b-a Wed May 12 13:55:12 PDT 2004 (1)
May 13 09:08:47 rr-spamd-0 ntpd[607]: bind() fd 5, family 2, port 123, addr 
130.107.1.31
, in_classd=0 flags=1 fails: Can't assign requested address


rr-spamd-0# uname -a
FreeBSD rr-spamd-0.csl.sri.com 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #0: Wed May 
12 16:34:45 PDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPARCY  sparc64
rr-spamd-0# 

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


Re: DHCP -> DNS producing error with printer

2004-05-12 Thread Mike Hogsett

> I just got a Brother printer with a built in print server.
> Im trying to set it up to work in my DHCP updating DNS scheme.
> Using the printer's default name, Im always getting this DNS error ->
> May 12 15:42:07 hivemind named[84]: owner name "BRN_448719.trini0.org" IN 
> (primary) is invalid - rejecting
> May 12 15:42:07 hivemind named[84]: error processing update packet (REFUSED) 
> id 46124 from [192.168.0.1].1265
> 
> If I were to change the printer's name to "printer", everything works fine.
> 
> Does anyone have any ideas why DNS doesn't like the hostname?
> Im trying to setup the printer in its default state before I start modifying 
> its configuration, so any help would be appreciated..

Blame Brother.  "_" is an invalid character in DNS.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Traceroute supporting ICMP ECHO

2004-05-12 Thread Mike Hogsett

> I'm using 4.7p1 here, and I've had all sorts of fun on occasion with
> traceroute and my various firewall/routers.  The default traceroute will
> not work since UDP traffic is apparently blocked on the return.  Opening up
> port ranges on my router just doesn't seem right.  However, Linux
> traceroute has a -I option (I think Windows tracert uses ICMP ECHO by
> default) which allows it to work through a home firewall router.  The
> FreeBSD port for mtr also works.
> 
> Is there anyone who has considered adding this capability to FreeBSD?

I think its already there. ( 4.9-RELEASE-p3 )

From traceoute(8)

   -P Send  packets  of specified IP protocol. The currently supported
  protocols are: UDP, TCP, GRE and ICMP. Other protocols may  also
  be  specified  (either  by name or by number), though traceroute
  does not implement any special knowledge of  their  packet  for-
  mats. This option is useful for determining which router along a
  path may be blocking packets based on IP  protocol  number.  But
  see BUGS below.

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


Re: Connecting to a headless system

2004-05-11 Thread Mike Hogsett

> I did get single user up, but I have limited commands and it won't
> allow me to adduser.??


Do this again.  When you get the shell prompt immediately issue the
command :

mount -a -t ufs

The /usr and other partitions are not likely to be mounted in single
user mode.  adduser is in /usr/sbin/ so isn't available until /usr is
mounted.  The comand above mounts all (-a) filesystems in the fstab with
file system type (-t) ufs.  This is very likely to get your /usr
partition mounted.

 - Mike


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


Re:

2004-05-11 Thread Mike Hogsett

> boot up and shutdown seem alot quicker than linux 
> 
> arden  

Yes.  I appreciate FreeBSD's short boot times, especially after I have
done a cvsup && make {build,install}{world,kernel}.

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


5.2.1, Sparc64, Install

2004-05-07 Thread Mike Hogsett

Is there a Sparc64 (Ultra5) specific install instructions document?

ta,

Mike


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


Re: 5.2.1-release iso images broken?

2004-03-12 Thread Mike Hogsett

> How do you do the MD5 hash of a whole CD?

( everything is a file ... )

If it is a physical CD and not an ISO image on another file system you
should be able to put the CD into the CD drive and run md5 on the CD
device's device node in /dev/

If the CD is an ISO image just run md5 on the file.

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


SATA Raid

2004-03-02 Thread Mike Hogsett

Can anyone recommend a well supported Serial ATA RAID card for FreeBSD?

I would like a mirrored drive with one hot spare.

Thanks

 - Michael Hogsett

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


Re: Silent boot?

2003-10-31 Thread Mike Hogsett

> Anyone know whether it'd be possible to cleanly disable printing the
> kernel boot messages (the bold white text)?  Meaning, short of
> commenting out the code that prints this, is there any way?

If you dont mind **NOT** having a console **AT ALL** you can comment out
the system console device (see below) in the kernel config and
rebuild/install a new kernel.

>From /usr/src/sys/i386/conf/GENERIC : 
...
device  sc0 at isa? flags 0x100
...

Advantage : no kernel message on console (in fact, no console! Doh!)
Disadvantage : makes single user mode difficult at best :P

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


Re: removing tripwire reports

2003-10-31 Thread Mike Hogsett

Read find(1).  find is your friend.

 - Mike


> 
> 
> 
> I have a need for a script that removes tripwire reports that are over 30 day
> s
> old.   my /var fills up quickly from them.   aany clue on how to write this?
> 
> - Noah
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Amanda or Bacula

2003-10-14 Thread Mike Hogsett

> The AMANDA docs suggest handling this situation by splitting the
> partition up into multiple tar dumps; each of which will fit on the
> tape.  (I'm currently in the process of tweaking my configs to try this
> for one of my partitions.)

That can work, but I dont like using tar in place of dump.  Dump's
incremental backup handling is better.  I handle this by limiting a
maximum size of a partition to no larger than a tape's raw
(e.g. uncompressed) capacity.


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


Re: Amanda or Bacula

2003-10-14 Thread Mike Hogsett

Yes!  For amanda, the tape must be able to store the compressed dump file
on one tape.

Worst case scenario is that the 120 Gbyte partition is filled with
uncompressable data making the dump file 120Gbytes.  Amanda will need a
tape drive which is capable of storing that on one tape.

 - Mike


> So to clarify just so that I understand correctly:
> 
> 1.  Each filesystem per system to be backed up qualifies as a dumpfile.
> 2.  Multiple dumpfiles per backup
> 3.  Multiple tapes per backup, as long as 1 dumpfile isn't larger than the
> tape.
> 
> One of my systems has a 120 gig drive with about 36gigs (and growing) of
> people's images, documents, etc on it (samba server).  My single tape drive
> is only 20 gigs.  I am assuming this will be a problem for Amanda unless I
> get a bigger tape drive.
> 
> Sincerely,
> 
> Rick Duvall
> - Original Message - 
> From: "Mike Hogsett" <[EMAIL PROTECTED]>
> To: "Rick Duvall" <[EMAIL PROTECTED]>
> Sent: Tuesday, October 14, 2003 10:23 AM
> Subject: Re: Amanda or Bacula
> 
> 
> >
> > > Is this a choice of personal preference, or does one actually work
> > > better than the other in my scenario?
> >
> > I replied earlier to someone else regarding what I do here for backups.
> >
> > My recommendation is to use amanda.  Mostly due to its maturity.  Amanda
> > can use multiple tapes (via a changer or multiple drives), but a single
> > dump file can not span two tapes (this is rarely a problem).
> >
> >  - Michael Hogsett
> >
> > Below is my response Stephane's question.
> >
> > > Date:Tue, 14 Oct 2003 09:49:22 PDT
> > > To:  "Stephane Raimbault" <[EMAIL PROTECTED]>
> > > cc:  [EMAIL PROTECTED]
> > > From:Mike Hogsett <[EMAIL PROTECTED]>
> > > Subject: Re: Backup Solutions
> > >
> > > > I am curious as to what people using FreeBSD use for a Backup
> Solution.  Are
> > > > there any Comercial software available for Tape Backup Solutions that
> run wel
> > > > l on FreeBSD?
> > > >
> > > > I'm looking at using a Dell PowerVault 110T LTO tape drive and was
> looking fo
> > > > r software to utilize to backup the 10 servers and growing in my
> server farm.
> > >
> > > I use amanda (/usr/ports/misc/amanda-*) on a Dual Xeon 2.8 Ghz machine
> w/
> > > 2Gbytes of RAM running FreeBSD 4.8.  The machine contains a 3ware ATA
> RAID
> > > card with 6 120Gbyte disks attached and concatinated into a single
> volume
> > > and is used for temporary holding space for the dump files.  The tape
> and
> > > tape changer device is a Dell PowerEdge 122T with an LTO tape drive
> > > connected via an Adaptec SCSI controller.  I use `mtx'
> > > (/usr/ports/misc/mtx) to control the tape changer.  To top it off the
> > > machine interfaces to the network using an Intel 1000baseSX ethernet
> over
> > > fiber network card which is sub-interfaced using VLANs onto all of the
> > > subnets in our switch infrastructure (this means backup traffic doesn't
> > > hit the router).
> > >
> > > This machine backs up approximately 200Gbytes per night.  This consists
> of
> > > 157 partitions accross 64 hosts.  The hosts are a combination of
> Solaris,
> > > Linux, FreeBSD, DEC (OFS/1), and AIX machines.  I get level zero dumps
> of
> > > each partition every 4 days and sometimes more frequently.
> > >
> > > Backups start at 7PM and typically run for about 6 to 8 hours.
> > >
> > > Hope that helps.
> > >
> > >  - Michael Hogsett
> >
> >
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup Solutions

2003-10-14 Thread Mike Hogsett

> I am curious as to what people using FreeBSD use for a Backup Solution.  Are 
> there any Comercial software available for Tape Backup Solutions that run wel
> l on FreeBSD?
> 
> I'm looking at using a Dell PowerVault 110T LTO tape drive and was looking fo
> r software to utilize to backup the 10 servers and growing in my server farm.


I use amanda (/usr/ports/misc/amanda-*) on a Dual Xeon 2.8 Ghz machine w/
2Gbytes of RAM running FreeBSD 4.8.  The machine contains a 3ware ATA RAID
card with 6 120Gbyte disks attached and concatinated into a single volume
and is used for temporary holding space for the dump files.  The tape and
tape changer device is a Dell PowerEdge 122T with an LTO tape drive
connected via an Adaptec SCSI controller.  I use `mtx'
(/usr/ports/misc/mtx) to control the tape changer.  To top it off the
machine interfaces to the network using an Intel 1000baseSX ethernet over
fiber network card which is sub-interfaced using VLANs onto all of the
subnets in our switch infrastructure (this means backup traffic doesn't
hit the router).

This machine backs up approximately 200Gbytes per night.  This consists of
157 partitions accross 64 hosts.  The hosts are a combination of Solaris,
Linux, FreeBSD, DEC (OFS/1), and AIX machines.  I get level zero dumps of
each partition every 4 days and sometimes more frequently.

Backups start at 7PM and typically run for about 6 to 8 hours.

Hope that helps.

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


Re: Broken /usr/lib on FreeBSD 4.7

2003-10-08 Thread Mike Hogsett

> I inadvertently broke the /usr/lib on my FreeBSD 4.7 box. Here's how
> this happened.



> How can I fix this?
> 
> Any tips or advice will be greatly appreciated

Yikes! I feel your pain.

I have never done this, but it may be possible to grab all
of the files from :

   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.7-RELEASE/bin

and restore your /usr/lib from there.  If you examine the install.sh file
at the above URL you will see that the bin.* files are are a split(1)'d
tar file.  You should be able to extract what you need from them.

If this does succeed I would recommend cvsup'ing to your release of choice
(RELENG_4_{7,8}) and rebuilding the world.

I wish you the best of luck.

 - Mike

P.S.  Please dont hold me responsible if the above doesn't work.  It was
my first thought and I have never tried this before.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ports : Mozilla / Mozilla-devel

2003-09-30 Thread Mike Hogsett

I have been pulling my hair out over this.  I installed a package several
days ago that required gettext.  The gettext in ports has been updated so
I had to deinstall the existing on and install the version from ports.

After that mozilla and mozilla-devel (and some other stuff) wont run
becuase libintl.so.4 no longer exists. (gettext from ports installs
libintl.so.5 now).

I pkg_delete'd mozilla and mozilla-devel and rebuilt (have tried both) but
even after they build and install they are still asking for libintl.so.4!!

How can this be?  How can either of these link against a library that is
no longer installed?

I rm -rf'd /usr/ports and cvsup'd back hoping to clear any cruft that may
have remained and rebuilt mozilla-devel, still no dice!

Anyone have a suggestion how I can get either of these ports to work
again?

 - Mike

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


Re: Why do you prefer FreeBSD???? Maybe Windows is more comfortable than FBSD?

2003-09-24 Thread Mike Hogsett


>   I think that WinXP more popular and more easy than FreeBSD.

You need to define "easy".

>From a GUI perspective, Yes many people will find Windows XP "easy".  This
is often attributable to the fact that many of these people have been
using Windows since atleast the Windows95 days.  For these people the GUI
is familiar and they are comfortable with it.  For them this means it is
"easy".

>From a maintenance and configuration perspective if find FreeBSD to be
"easy".

> If windows more popular and more program work on windows why do you use
> FreeBSD?

Because Windows does not fit my needs in all situations.  Say, for
example, I need to run a DNS server.  FreeBSD fits this need very well at
a highly competative price.

> I am beginner and I don't understand why a lot of people say that
> FreeBSD it's cool. Why?

Again.  "Cool" needs to be defined.  I find FreeBSD to be "Cool" because
it fits my (work-related) needs and I find it to be easy to maintain.

I find Windows to be "Cool" at home when I can run that new whizbang 3D
shoot-em-up game.

> What do you prefer FreeBSD or Windows???

This depends on the need (the problem) that you are using an Operating
System to solve.

I use FreeBSD for my core network services at the office.  At home on the
other hand I have a Windows XP box so that I can run the games I like to
play.

 - Mike

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


Re: Losing routes !!

2003-09-24 Thread Mike Hogsett

> 
> > I think the patch from the arp SA has broken routing for a few people.
> > 
> >  ---Mike
> 
> Any suggestions?  This is my backup server.  I would like to resolve this
> as soon as possible.  I don't want to have to re-install to 4.8-RELEASE.
> 
> The machine was running 4.8-RELEASE-p3 fine last week (and not 4.8-RELEASE
> as I indicated below).  Is it possible to blow away /usr/src and cvsup to
> 4.8-RELEASE-p3 rather than 4.8-RELEASE-p8?
> 

Ok.  I grabbed src/sys/netinet/if_ether.c from a 4.8-RELEASE-p7 box,
rebuilt and installed the kernel, and rebooted and it looks ok so far.
*phew*

 - Michael Hogsett

> 
> > At 02:11 PM 24/09/2003, Mike Hogsett wrote:
> > 
> > >I have a machine that has been running 4.8-RELEASE for months flawlessly.
> > >I recently CVSup'd to RELENG_4_8 (now running 4.8-RELEASE-p8).
> >
> > >The machine is losing routes.  Specifically its default route and a route
> > >to the lan of one of its own interfaces.  I can manually add the default
> > >route back, but it only lasts about 20 seconds until it mysteriously
> > >disappears.
> > >
> > >The machine has an Intel 1000baseSX card that is sub-interfaced using
> > >VLANs.  There are 9 vlan interfaces in use (vlan0 through vlan8).
> > >
> > >It consistently loses its default route and the route to the lan
> > >`connected' to vlan8.
> > >
> > >Any suggestions how I can diagnose what is happening?
> > >
> > >Thanks!
> > >
> > >  - Michael Hogsett
> > >___
> > >[EMAIL PROTECTED] mailing list
> > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >To unsubscribe, send any mail to "[EMAIL PROTECTED]
> g"
> ___
> [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: Losing routes !!

2003-09-24 Thread Mike Hogsett

> I think the patch from the arp SA has broken routing for a few people.
> 
>  ---Mike

Any suggestions?  This is my backup server.  I would like to resolve this
as soon as possible.  I don't want to have to re-install to 4.8-RELEASE.

The machine was running 4.8-RELEASE-p3 fine last week (and not 4.8-RELEASE
as I indicated below).  Is it possible to blow away /usr/src and cvsup to
4.8-RELEASE-p3 rather than 4.8-RELEASE-p8?

Thanks!

 - Michael Hogsett



> At 02:11 PM 24/09/2003, Mike Hogsett wrote:
> 
> >I have a machine that has been running 4.8-RELEASE for months flawlessly.
> >I recently CVSup'd to RELENG_4_8 (now running 4.8-RELEASE-p8).
> >
> >The machine is losing routes.  Specifically its default route and a route
> >to the lan of one of its own interfaces.  I can manually add the default
> >route back, but it only lasts about 20 seconds until it mysteriously
> >disappears.
> >
> >The machine has an Intel 1000baseSX card that is sub-interfaced using
> >VLANs.  There are 9 vlan interfaces in use (vlan0 through vlan8).
> >
> >It consistently loses its default route and the route to the lan
> >`connected' to vlan8.
> >
> >Any suggestions how I can diagnose what is happening?
> >
> >Thanks!
> >
> >  - Michael Hogsett
> >___
> >[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]"


Losing routes !!

2003-09-24 Thread Mike Hogsett

I have a machine that has been running 4.8-RELEASE for months flawlessly.
I recently CVSup'd to RELENG_4_8 (now running 4.8-RELEASE-p8).

The machine is losing routes.  Specifically its default route and a route
to the lan of one of its own interfaces.  I can manually add the default
route back, but it only lasts about 20 seconds until it mysteriously
disappears.

The machine has an Intel 1000baseSX card that is sub-interfaced using
VLANs.  There are 9 vlan interfaces in use (vlan0 through vlan8).

It consistently loses its default route and the route to the lan
`connected' to vlan8.

Any suggestions how I can diagnose what is happening?

Thanks!

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


Re: converting ext3 to ffs

2003-09-24 Thread Mike Hogsett

> Does anyone know if it's possible to convert an ext3 partition to an
> ffs partition? And if so, is it possible to do it without data loss?

dump(8) and restore(8)* may do the trick.  I would recommend dumping from
an os where ext3 is native (e.g. linux) and then restore on a os where ffs
is native (e.g. FreeBSD).

 - Mike


[*] umount, dump, disklabel, newfs, mount, restore

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


Re: du,df tools

2003-09-23 Thread Mike Hogsett

> first, why does 59375408 + 1348433 != 61337213
> df -k /home/henninb
> Filesystemkbytesused   avail capacity  Mounted on
>  61337213 59375408 134843398%/home/henninb

I believe your disk has 1% reserved space.  See newfs(8)

 -m free space %
 The percentage of space reserved from normal users; the minimum
 free space threshold.  The default value used is defined by
 MINFREE from , currently 8%.  See tunefs(8) for
 more details on how to set this option.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Skey Login, telnet & ssh

2003-09-16 Thread Mike Hogsett

I have enabled the skey one time passwords login feature to allow telnet
access to a machine.  Is there a way to require the skey login for telnet
but not for ssh?

> telnet -K ins
Trying 130.107.1.41...
Connected to ins.csl.sri.com.
Escape character is '^]'.

FreeBSD/i386 (ins) (ttyp1)

login: hogsett
s/key 97 in89044
Password: 

> ssh ins  
s/key 97 in89044
Password: 

Thanks

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


Re: question

2003-09-04 Thread Mike Hogsett

> What mean BSD in FreeBSD name?

Berkeley Software Distribution.  This was a distribution of a modified ATT
Unix that came out of University of California at Berkeley in the mid to
late 1970s.

For a family tree that will show how BSD is related to ATT Unix see :

http://www.levenez.com/unix/

 - Mike

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


Re: How do I change the extensions on a slew of files

2003-09-03 Thread Mike Hogsett

> from an sh type shell
> for i in *.inc
> do
> z=`echo $i | sed -e "s/inc/htm/g"`
> mv ${i} ${z}
> done

This won't give expected results for a file named "fooinc.inc".  It will
become "foohtm.htm".  I realize that based on the file names given in the
original email this doesn't appear to be an issue, but changing the sed
command to

  sed -e 's/\.inc$/\.html/'

may give better (more generally useful) results.  Also note the ' instead
of " so that the shell doesn't perform variable expansion within the sed
command text. The shell will ignore the $ and instead sed uses it to match
end of line or string in this case.

 - Mike




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


Re: how to run a program as a daemon

2003-09-03 Thread Mike Hogsett

> You can use /etc/ttys for this (despite the name).

Oh my!  How clever.  That had never occurred to me.  I chose the crontab
entry method to keep the daemon half of SpamAssassin running.  This is
more elegant.




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


Re: Problem with my FreeBSD

2003-09-02 Thread Mike Hogsett


Try (as root):

# XFree86 -configure

That *should* write a configuration file into root's home directory.

Then run :

# XFree86 -xf86config /path/to/the/new/config

If it works you can tweak it from there (e.g. bit depth, screen
resolution, refresh frequency, etc.).

If not... um...  your problem is beyond the scope of what I have time for
in this email at the moment.

 - Mike

> This is a multi-part message in MIME format.
> 
> --=_NextPart_000_3002_5e52_1afd
> MIME-Version: 1.0
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
>Hi,
> 
>I need your help, I bougth FreeBSD4.8 (Build Operating System: FreeBSD
>4.8 i386 [ELF] ) from FreeBSD Mall, but I have problems I can't
>configure my xwindow I'm attachement the log file.
>My video card is: Nvidia TNT2 64m
>My monitor is: LG studioworks 500G 15''
> 
>Please help me I will Thankfull
> 
>Regards,
>Ricardo
>  _
> 
>Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
>YupiMSN Compras: [1]Haz clic aquĆ­...
> 
> References
> 
>1. http://g.msn.com/8HMMES/2746??PS=
> 
> --=_NextPart_000_3002_5e52_1afd
> Content-Type: text/plain; name="XFree86.0.log"; format=flowed
> Content-Transfer-Encoding: 8bit
> Content-Disposition: attachment; filename="XFree86.0.log"
> 
> 
> XFree86 Version 4.3.0
> Release Date: 27 February 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: FreeBSD 4.8 i386 [ELF]
> Build Date: 23 March 2003
>   Before reporting problems, check http://www.XFree86.Org/
>   to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>  (++) from command line, (!!) notice, (II) informational,
>  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/XFree86.0.log", Time: Mon Sep  1 04:35:37 2003
> (==) Using config file: "/usr/X11R6/etc/X11/XF86Config"
> (==) ServerLayout "Simple Layout"
> (**) |-->Screen "Screen 1" (0)
> (**) |   |-->Monitor "My Monitor"
> (**) |   |-->Device "My Video Card"
> (**) |-->Input Device "Mouse1"
> (**) |-->Input Device "Keyboard1"
> (**) Option "AutoRepeat" "500 30"
> (**) Option "XkbRules" "xfree86"
> (**) XKB: rules: "xfree86"
> (**) Option "XkbModel" "microsoft"
> (**) XKB: model: "microsoft"
> (**) Option "XkbLayout" "us"
> (**) XKB: layout: "us"
> (==) Keyboard: CustomKeycode disabled
> (**) FontPath set to 
> "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/li
> b/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X1
> 1R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/
> fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
> (**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (==) ModulePath set to "/usr/X11R6/lib/modules"
> (--) Using syscons driver with X support (version 2.0)
> (--) using VT number 9
> 
> (II) Module ABI versions:
>   XFree86 ANSI C Emulation: 0.2
>   XFree86 Video Driver: 0.6
>   XFree86 XInput driver : 0.4
>   XFree86 Server Extension : 0.2
>   XFree86 Font Renderer : 0.4
> (II) Loader running on freebsd
> (II) LoadModule: "bitmap"
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Module bitmap: vendor="The XFree86 Project"
>   compiled for 4.3.0, module version = 1.0.0
>   Module class: XFree86 Font Renderer
>   ABI class: XFree86 Font Renderer, version 0.4
> (II) Loading font Bitmap
> (II) LoadModule: "pcidata"
> (II) Loading /usr/X11R6/lib/modules/libpcidata.a
> (II) Module pcidata: vendor="The XFree86 Project"
>   compiled for 4.3.0, module version = 1.0.0
>   ABI class: XFree86 Video Driver, version 0.6
> (II) PCI: Probing config type using method 1
> (II) PCI: Config type is 1
> (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:00:0: chip 8086,1a30 card , rev 04 class 06,00,00 hdr 
> 00
> (II) PCI: 00:01:0: chip 8086,1a31 card , rev 04 class 06,04,00 hdr 
> 01
> (II) PCI: 00:1e:0: chip 8086,244e card , rev 05 class 06,04,00 hdr 
> 01
> (II) PCI: 00:1f:0: chip 8086,2440 card , rev 05 class 06,01,00 hdr 
> 80
> (II) PCI: 00:1f:1: chip 8086,244b card 8086,4856 rev 05 class 01,01,80 hdr 
> 00
> (II) PCI: 00:1f:2: chip 8086,2442 card 8086,4856 rev 05 class 0c,03,00 hdr 
> 00
> (II) PCI: 00:1f:3: chip 8086,2443 card 8086,4856 rev 05 class 0c,05,00 hdr 
> 00
> (II) PCI: 00:1f:4: chip 8086,2444 card 8086,4856 rev 05 class 0c,03,00 hdr 
> 00
> (II) PCI: 00:1f:5: chip 8086,2445 card 8086,4856 rev 05 class 04,01,00 hdr 
> 00
> (II) PCI: 01:00:0: chip 10de,0110 card , rev b2 class 03,00,00 hdr 
> 00
> (II) PCI: 02:0a:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 
> 00
> (II) PCI: 02:0b:0: chip e159,0001 card 8086,0003 rev 00 class 07,80,00 hdr 
> 00
> (I

Re: how to stop the ddos ot dos attack ?

2003-08-28 Thread Mike Hogsett

> >i got a DoS attack, how i can stop it ?
> >
> >note:
> >i have a lan network in my home, and DSL connection which is connected 
> >to the
> >hub direct, and i have 3 pc's.
> >
> >thanks
> >
> 
> I use a firewall which allows a block of DoS IPs from any to any also
> can close ports easily. Plus, if you log, you can then monitor the further
> attempts

Unfortunately anything you do at the local end will not prevent bandwidth
from being consumed on your link.  Once it hits your local firewall to be
dropped the traffic has already consumed bandwidth on your link. 

This may or may not be a concern.  If the DOS is consuming a great deal of
bandwidth than it probably is a concern and you may try contacting the
abuse@ or other support addresses at your ISP and ask if they can filter
this traffic before it hits your link.

If you do want to consider a local firewall (which is a very good idea
indeed) you may consider using a FreeBSD box in bridging mode between the
DSL link and the local LAN.  This FreeBSD box can do layer 3 (IP)
filtering in bridging (layer 2 forwarding) mode.

Some references :
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/filtering-bridges/article.html

 - Mike

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


Re: Setting sysctl variables BEFORE the kernel boots and runs init?

2003-08-27 Thread Mike Hogsett

> I would like to be able to set certain sysctl variables in the kernel,
> preferably BEFORE the kernel finishes booting and runs init, etc. (or at
> the worst case, very shortly after init runs) I thought I remembered
> that there was a way to do this through the boot loader.  Can anyone
> enlighten me?  Thanks.

Although I haven't done this myself, I think a start may be reading the
man pages for loader(8), loader.conf(5) and boot(8).

 - Mike





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


Re: no root login after changing shell

2003-08-27 Thread Mike Hogsett


> > i wanted to change the shell for user root to bash.
> > in the freebsd online handbook i found this command:
> > 
> > # echo "/usr/local/bin/bash" >> /etc/shells
> > 
> > 
> > but what i didnt know at this moment, that i have to install bash
> > before.
> > so i logged of as user root and get now on login the following error:
> > 
> > su: /usr/local/bin/bash: No such file or directory
> > 
> > can anybody please help me ...
> > thanx
> 
> Been there, done that, I sympathize with you.
> The proper way to have done that would be:
> Install bash
> As root, type chsh
> That will open vi, or your configured editor.
> Then change the shell line to: /usr/local/bin/bash
> 
> Alternately, you can, as root, type:
> Chpass -s /usr/local/bin/bash root
> This aviods opening vi and the editing I mentioned above.
> 
> As far as recovering from this problem, I'm kinda a newbie myself, when
> I did that, I finally re-installed.  Maybe someone can point you to the
> easy way to fix it.

Reboot the machine.

At the `boot:' prompt do :

boot -s

When it asks for a shell accept /bin/sh (or specify it)

Mount all OS partitions (e.g. `mount -a -t ufs')

Fix the password file. (us vipw if you can)

reboot.

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


fxp0 only 300Kbits/sec ?

2003-08-05 Thread Mike Hogsett

I am having a strange problem.

I have this new Cisco Catalyst 2940T-24.  On it I have 6 FreBSD/x86 boxes.
The first 5 are running great.  The 6th is only getting 300Kbits/sec out
of its interface, but ... not right away after a reboot.  I rebooted the
host Saturday afternoon and I was again getting about 80Mbits/sec.
Saturday night's backups ran great, and fast.  So did Sunday's backups.
But last night's backups are still running.  My mrtg traffic graphs show
that it is only getting 300Kbit/sec out of its interface.  I confirmed
this with an FTP directly to the host a few minutes ago (after killing off
the backups).

Nothing is mentioned in /var/log/messages.  The switch claims the port is
running at 100Mbits, full-duplex, as does the output of
ifconfig. Suggestions?

 - Mike Hogsett

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


Re: FreeBSD NIS Server/Slave && DES

2003-06-19 Thread Mike Hogsett

> Hmmm.  Ok.  I edited both files to list des rather than md5, but when I
> run 'passwd -l root' on my local box as a test I still appear to be
> getting an md5 password in the local master.passwd file.
> 
> root:$1$/DW5l0iK$rVSJNci3lX3kfIa3w5bK50:0:0::0:0:Charlie &:/root:/bin/csh
> 
> Suggestions?

Sorry.  Operator Error right there in front of my face in /etc/login.conf

# Remember to rebuild the database after each change to this file:
#
#   cap_mkdb /etc/login.conf

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


Re: FreeBSD NIS Server/Slave && DES

2003-06-19 Thread Mike Hogsett

> > How do I configure FreeBSD to use DES?  Specifically if I run a FreeBSD
> > NIS master how do I get rpc.yppasswdd and yppasswd to play nice?
> 
> Look in /etc/login.conf:
> 
>   default:\
>   :passwd_format=des:\
> 
> Look in /etc/auth.conf:
> 
>   crypt_default   =   des

Hmmm.  Ok.  I edited both files to list des rather than md5, but when I
run 'passwd -l root' on my local box as a test I still appear to be
getting an md5 password in the local master.passwd file.

root:$1$/DW5l0iK$rVSJNci3lX3kfIa3w5bK50:0:0::0:0:Charlie &:/root:/bin/csh

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


FreeBSD NIS Server/Slave && DES

2003-06-19 Thread Mike Hogsett

The FreeBSD Handbook section 19.8.11 appears to be out of date.  The
output of the method shown to see if the FreeBSD box is using DES or MD5
has no resemblance to what I see on my box.

How do I configure FreeBSD to use DES?  Specifically if I run a FreeBSD
NIS master how do I get rpc.yppasswdd and yppasswd to play nice?

If I run yppasswd on my FreeBSD NIS client my password entry in our
password file on the NIS master ends up with an MD5 password so I can no
longer log into my Solaris NIS client.

 - Mike Hogsett




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


Re: ZIP Drive

2003-01-17 Thread Mike Hogsett

> mount -t msdos /dev/da0 /mnt
> msdos: /dev/da0: Invalid argument
> Why does this keep happening?? What am I doing wrong?

In the past I found that the zip disks had some odd partitioning.  I often
found the primary partition to be the 4th partition on the disk (the first
three being empty/non-existant/zero-size).

The first thing that sticks out to me above though is that you are not
attempting to mount a partition, but the raw disk.  Try mounting one of:

da0s1
da0s2
da0s3
da0s4  <-- I think it is probably this one.

 - Mike

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



Re: projects

2003-01-13 Thread Mike Hogsett

> > Shawn Said:
> >
> > I am currently tryin to learn sysadmin. is there a place were there
> > are projects that I can practice on my box..I have just been searching
> > the web for stuff to do with my box and have learned bits and
> > pieces..but I want a little more structure. I have bought a few books
> > but quickly tire of them just like the projects on the web because I
> > have to search for days on the > next step to learn how to do it.. I
> > would like something that is step by step and progressive between
> > steps...am I dreaming or is there something > out there???  Thanks

> Luke Said:
> As one who has done ( am still doing ) what you are looking for I suggest
> that the best way is to purchase the FreeBSD handbook ( or if you don't mind
> reading it over the web get the good oil there ) and go through the chapters
> one by one and learn to install/config a DHCP server Web server FTP server
> etc etc. All the books dedicated to Sys Admin work appear to be pretty
> tedious I thought and the best way is hands on playing with things with the
> books as a guide only. Take any old piece of garbage machine with a cheap
> hub and a second "client" machine and go for it. It can be fun when things
> are working the way you intended.

I would also recommend to treat your first many installs as throw away.
That is write them off up front, expect to reinstall.  This way you can
play with many aspects of the system without the fear of breaking it, you
have already decided it will be reinstalled.  After you have learned more
you can stop this behavior and keep it stable.  This has the added benefit
that you learn a great deal from breaking things... :)

What Luke recommends above is great (making up tasks to do such as
installing a web server).  You can build on that too.  Install an apache
web server with ssl, php4, and a mysql or postgresql database and use that
to install PHP nuke.

Set up a DNS server and learn about zone files, etc. and then run two, or
more, PHP nuke websites from one IP address.

You can go on and on with this.  It becomes alot more fun when you start
putting several things together and get your machine to do something cool.
The possibilities are endless.

 - Mike






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



Re: freebsd curiosity

2003-01-10 Thread Mike Hogsett

> I'm always AMAZED at how well FreeBSD (and OpenBSD) just recognize
> things immediately: no special drivers-CD-or-floppy needed.

The flip-side of this is that it is often very simple to lift a harddrive
with freebsd installed from one machine and place it in another and not
have the device driver nightmare that one has with Windows.

 - Mike

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



Re: NIS Server with amd.home

2003-01-08 Thread Mike Hogsett

> Hey,

Hi.

> I'm getting ready to setup a NIS server for a LAN, and I'd really like
> to use FreeBSD again.  However, the last time I did this with FreeBSD
> (4.6, so not that long ago), I couldn't get the server to build a map
> for the home dirs.  I tried an awk script in the Makefile that I saw
> online, but that didn't help.  It seemed like it just wouldn't build the
> map.  The only way I could get it to work was to create an amd.home with
> all of the users in it and put it on all of the client machines... This
> was too ugly.

Indeed.

> Can anyone help?

Perhaps.

This may or may not help, but here is the Makefile from /var/yp on our NIS
primary.  You'll likely need to scroll down and extract our amd.home rules
from it and integrate that into yours.

After that is the rc.conf entries for amd 

Good luck.

- Mike

#
# Makefile for the NIS databases
#
# $FreeBSD: src/usr.sbin/ypserv/Makefile.yp,v 1.28.2.3 2001/05/18 18:28:02 gshapiro 
Exp $
#
# This Makefile should only be run on the NIS master server of a domain.
# All updated maps will be pushed to all NIS slave servers listed in the
# /var/yp/ypservers file. Please make sure that the hostnames of all
# NIS servers in your domain are listed in /var/yp/ypservers.
#
# This Makefile can be modified to support more NIS maps if desired.
#

# If this machine is an NIS master, comment out this next line so
# that changes to the NIS maps can be propagated to the slave servers.
# (By default we assume that we are only serving a small domain with
# only one server.)
#
#NOPUSH = "False"

# If you want to use a FreeBSD NIS server to serve non-FreeBSD clients
# (i.e. clients who expect the password field in the passwd maps to be
# valid) then uncomment this line. This will cause $YPDIR/passwd to
# be generated with valid password fields. This is insecure: FreeBSD
# normally only serves the master.passwd maps (which have real encrypted
# passwords in them) to the superuser on other FreeBSD machines, but
# non-FreeBSD clients (e.g. SunOS, Solaris (without NIS+), IRIX, HP-UX,
# etc...) will only work properly in 'unsecure' mode.
# 
UNSECURE = "True"

# The following line encodes the YP_INTERDOMAIN key into the hosts.byname
# and hosts.byaddr maps so that ypserv(8) will do DNS lookups to resolve
# hosts not in the current domain. Commenting this line out will disable
# the DNS lookups.
B=-b

# Normally, the master.passwd.* maps are guarded against access from
# non-privileged users. By commenting out the following line, the YP_SECURE
# key will be removed from these maps, allowing anyone to access them.
S=-s

# These are commands which this Makefile needs to properly rebuild the
# NIS databases. Don't change these unless you have a good reason. Also
# be sure not to place an @ in front of /usr/bin/awk: it isn't necessary
# and it'll break everything in sight.
#
AWK = /usr/bin/awk
RM  = @/bin/rm -f
MV  = @/bin/mv -f
RMV  = /bin/mv -f
RCAT = /bin/cat
CAT = @$(RCAT)

UPDATE_DOMAIN = csl.sri.com

MKDB = /usr/sbin/yp_mkdb
DBLOAD = $(MKDB) -m `hostname`
MKNETID = /usr/libexec/mknetid
NEWALIASES = /usr/bin/newaliases
YPPUSH = /usr/sbin/yppush
.if !defined(UPDATE_DOMAIN)
DOMAIN = `/bin/domainname`
.else
DOMAIN = $(UPDATE_DOMAIN)
.endif
REVNETGROUP = /usr/libexec/revnetgroup
TMP = `echo $@.`

# It is advisable to create a separate directory to contain the
# source files used to generate your NIS maps. If you intend to
# support multiple domains, something like /src/dir/$DOMAIN
# would work well.
YPSRCDIR = /usr/local/nis/$(UPDATE_DOMAIN)
.if !defined(YP_DIR)
YPDIR = /var/yp
.else
YPDIR = $(YP_DIR)
.endif
YPMAPDIR = $(YPDIR)/$(DOMAIN)

# These are the files from which the NIS databases are built. You may edit
# these to taste in the event that you wish to keep your NIS source files
# seperate from your NIS server's actual configuration files. Note that the
# NIS passwd and master.passwd files are stored in /var/yp: the server's
# real password database is not used by default. However, you may use
# the real /etc/passwd and /etc/master.passwd files by:
#
#
# - invoking yppasswdd with `-t /etc/master.passwd' (yppasswdd will do a
#   'pwd_mkdb' as needed if /etc/master.passwd is thus specified).
# - Specifying the location of the master.passwd file using the
#   MASTER_PASSWD variable, i.e.:
#
#   # make MASTER_PASSWD=/path/to/some/other/master.passwd
#
# - (optionally): editing this Makefile to change the default location.
#
# To add a user, edit $(YPDIR)/master.passwd and type 'make'. The raw
# passwd file will be generated from the master.passwd file automagically.
#
ETHERS= $(YPSRCDIR)/ethers # ethernet addresses (for rarpd)
BOOTPARAMS= $(YPSRCDIR)/bootparams # for booting Sun boxes (bootparamd)
HOSTS = $(YPSRCDIR)/hosts
NETWORKS  = $(YPSRCDIR)/networks
PROTOCOLS = $(YPSRCDIR)/protocols
RPC   = $(YPSRCDIR)/rpc
SERVICES  = $(YPSRCDIR)/services
GROUP = $(YPSRCDIR)/group
ALIASES   = $(YPSRCDIR)/mail/aliases
NETGROUP  = $(YPSRCDIR)/netgroup
PASSWD

Dell PowerVault 122T

2003-01-08 Thread Mike Hogsett

Greetings,

Has anyone used a Dell PowerVault 122T tape loader with FreeBSD.
Specifically I am interested on how well the tape changing works.

 - Mike

P.S.  I would like to use the 122T with the LTO tapes, and Amanda to do
our backups.  I use two Sony AIT SDX-400C drives now.  I have been looking
at the 122T as a potential upgrade in capacity for our system.



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



Re: emacs

2003-01-07 Thread Mike Hogsett

Not true.  emacs20 and emacs21 are there too

 --> pwd
/usr/ports/editors
[beast] [hogsett] [/usr/ports/editors]
 --> ls -d emacs*
emacs   emacs20-dl  emacs21
emacs20 emacs20-mule-devel
[beast] [hogsett] [/usr/ports/editors]
 --> 

> How come emacs in the ports is only version 19.34b when "pkg_add -r
> emacs" gets me a newer version?
> My ports are up2date. I run FreeBSD-4.7-R
> 
> -- 
> dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
> ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: SMP kernel installation

2003-01-06 Thread Mike Hogsett

Sorry after re-reading my reply one thing I did not make clear

Install freebsd as you would with a uniprocessor machine, then boot that
install and do what I recommend below

 - Mike

> 
> You need to recompile the kernel with the SMP options turned on, install
> the kernel and reboot.  On a reasonable modern machine takes less than 10
> minutes.
> 
> See /usr/src/sys/i386/conf/GENERIC and the FreeBSD Handbook.
> 
>  - Mike
> 
> > Hi,
> > For a multiprocessor machine,to install FreeBSD,is
> > something extra needs to be done from what will be
> > done to install the OS for a uni processor machine?I
> > mean is there anything different to be installed for a
> > symmetric multi processor machine?
> > 
> > thanks
> > shubha
> > 
> > __
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: SMP kernel installation

2003-01-06 Thread Mike Hogsett

You need to recompile the kernel with the SMP options turned on, install
the kernel and reboot.  On a reasonable modern machine takes less than 10
minutes.

See /usr/src/sys/i386/conf/GENERIC and the FreeBSD Handbook.

 - Mike

> Hi,
> For a multiprocessor machine,to install FreeBSD,is
> something extra needs to be done from what will be
> done to install the OS for a uni processor machine?I
> mean is there anything different to be installed for a
> symmetric multi processor machine?
> 
> thanks
> shubha
> 
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



4.2

2003-01-06 Thread Mike Hogsett

For a reason that I have no ability to change I have a customer who needs
to install 4.2.  Can I check out RELENG_4_2 from cvsup and get the desired
results?  - or - Are 4.2 Install ISO available somewhere (not
ftp.freebsd.org).

TIA,

 - Mike

 


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



Re: FreeBSD Stability

2003-01-03 Thread Mike Hogsett

> I haven't seen FBSD 4.7 system with uptime > 1000 days, for quite
> obvious reasons.. Should I recommend everyone to install FBSD 2.2.8
> since it has good uptime records? :)

Sorry to step into the middle of a thread here, but to me it says that
FreeBSD has had, and likely continues to have, a very good development and
testing process for several years now, if not longer.  This is my
justification for using FreeBSD for all of my core services while my users
demand Linux on the desktop.


# uname -a
FreeBSD buzby 4.4-RELEASE FreeBSD 4.4-RELEASE #3: Thu Sep 20 13:16:52 PDT 2001 
root@buzby:/usr/src/sys/compile/PRI-NIS  i386
# uptime 
8:29PM  up 433 days, 11:24, 1 user, load averages: 0.01, 0.00, 0.00

 - Mike

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



Re: FreeBSD Handbook NIS/YP Instructions

2003-01-03 Thread Mike Hogsett

portmap is also required for NIS.

- Mike

> >From: Adam Stroud <[EMAIL PROTECTED]>
> >
> >Since NIS uses RPC,
> >do I need to configure inetd.conf to allow RPC on the NIS server and 
> >clients?
> >The handbook does not make any mention of editing the inetd.conf file.
> 
> inetd doesn't handle RPC.
> 
> Use the rc.conf settings suggested in the tutorial and the necessary rpc
> servers will be started at boot time by /etc/rc
> 
> Once you've got everything running, you can use
> ps -ax | grep rpc
> to see what rpc servers were started.  I don't actually remember what's
> started for NIS, although I believe rpc.statd at least needs to run.
> 
> -Bill
> 
> _
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: Dual booting FreeBSD 4.7 and Windows XP

2002-12-16 Thread Mike Hogsett


> No reason not to if you want to.  But, you don't need to if you're
> willing to put up with XP being labeled as '???' in the OS selection
> menu which the regular FreeBSd boot manager will give you.

I also thought the `???' mean "Why the fsck would you want to run that!"

:)




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



Re: Upload substantially slower than download

2002-12-16 Thread Mike Hogsett

> If the full-duplex might be related, how would I set it to half-duplex?

If they both live on a switch then full duplex is likely preferable.  If
they both live on a hub half duplex what you want.  Make sure both ends
are at the same duplex setting.  To manually set the 10/100 half/full
duplex settings read the ifconfig(8) man page, specifically the `media'
and `mediaopt' sections, and the driver man page for your card, in this
case the rl(4) driver.

e.g.  ifconfig rl0 inet 1.2.3.4 netmask 255.255.255.0 media 100baseTX
mediaopt half-duplex.

 - Mike

 



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



FreeBSD Stability

2002-12-16 Thread Mike Hogsett

[buzby] [hogsett] [~]
; uname -a
FreeBSD buzby 4.4-RELEASE FreeBSD 4.4-RELEASE #3: Thu Sep 20 13:16:52 PDT 2001 
root@buzby:/usr/src/sys/compile/PRI-NIS  i386
[buzby] [hogsett] [~]
; uptime
 4:22PM  up 415 days,  7:17, 1 user, load averages: 0.08, 0.02, 0.01
[buzby] [hogsett] [~]
; 

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



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Mike Hogsett

> I saw a test a few months ago of several low-end switches, and they 
> were all non-blocking with similar performance.  Pretty much a 
> commodity item at this point.

On refelection, makes me wonder why I spent $5000 on Cisco 2900 switches 5
years ago.

 - Mike



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



Netgraph / ng_fec / pseudo-device vlan

2002-12-13 Thread Mike Hogsett

I would like to know where I can find more netgraph documentation and
examples outside of the man pages.

I would also like to know if the pseudo-device vlan and interact with
netgraph and would be interested in anyone's experience with ng_fec.

Thanks!

 - Mike Hogsett

 P.S.  What I want to do is use ng_fec to combine two fxps then use the
   802.1Q trunking provided by the vlan support to sup-interface the
   combined fxps.


   fxp0\   /-vlan0
>-??--<-vlan1
   fxp1/   \-vlan2
\-vlan3
 \-vlanN


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



Re: Screen shots?

2002-12-12 Thread Mike Hogsett

> Can someone tell me how to take a screen shot using KDE3?

I am not sure about KDE3 specific things, but I have taken screen shots
with xv.  /usr/ports/graphics/xv

 - Mike Hogsett

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



Re: PCMCIA device timeouts

2002-12-11 Thread Mike Hogsett

> 
> Greetings,
> 
> I installed FreeBSD (4.7) on a laptop today.  I did a network install
> using a LinkSys PCMPC100 (shows up as ed1).  Install was flawless.
> Rebooted the machine, performed some additional port installs (over the
> network) and did a cvsup to RELENG_4_7.  Everything was fine.  I shutdown
> the machine and brought it home.
> 
> Now I am getting messages such as :
> 
> /kernel: ed1: device timeout
> 
> I also get a similar messages if I stick in my Cisco Aironet 350 PCMCIA
> wireless card.
> 
> It is not able to arp for its gateway.  tcpdump shows no traffic at all.

Although packets are leaving the interface.  If I run tcpdump on my main
box, and run a ping from the laptop I see both the echo request and reply
from the main box, but the laptop does not see them.

> (except originating from this host if I try a ping).
> 
> The LinkSys card shows link, but its activity light is on solid.  I have
> tried both PCMCIA slots.
> 
> Any suggestions greatly appreciated.
> 
>  - Mike
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message








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



PCMCIA device timeouts

2002-12-11 Thread Mike Hogsett

Greetings,

I installed FreeBSD (4.7) on a laptop today.  I did a network install
using a LinkSys PCMPC100 (shows up as ed1).  Install was flawless.
Rebooted the machine, performed some additional port installs (over the
network) and did a cvsup to RELENG_4_7.  Everything was fine.  I shutdown
the machine and brought it home.

Now I am getting messages such as :

/kernel: ed1: device timeout

I also get a similar messages if I stick in my Cisco Aironet 350 PCMCIA
wireless card.

It is not able to arp for its gateway.  tcpdump shows no traffic at all.
(except originating from this host if I try a ping).

The LinkSys card shows link, but its activity light is on solid.  I have
tried both PCMCIA slots.

Any suggestions greatly appreciated.

 - Mike

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



Wireless Sniffing/Auditing (Kismet)

2002-12-11 Thread Mike Hogsett

I just acquired a Libretto 70.  FreeBSD installed wonderfully onto it
Thanks Guys!.

I would like to set this box up as a wireless auditing box.  Does Kismet
work on FreeBSD?  Are there other tools that people would recommend?

Thanks

 - Mike Hogsett

 

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



DNS zones to NIS hosts file

2002-12-06 Thread Mike Hogsett

Any suggestions for a DNS zone to NIS hosts file conversion utility?  I
have several domain and several in-addr.arpa zones I would like to
generate a NIS hosts file from.

Thanks

 - Michael Hogsett
 

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



Re: Enabling root ftp access

2002-12-04 Thread Mike Hogsett

>   Silly question.  Using ProFTPD, how do I enable access by root via FTP?
>   I 
> need it only for short periods to be able to move and upload/update certain 
> files.  I understand the security risks and the server will only need to be 
> up for brief periods of time.  Anyone know how to do this?  Thanks.


I would recommend FTP by a user, ssh to the host as user, become root and
move the files.

 - Mike


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



top dumps core if specific errors in password file

2002-12-04 Thread Mike Hogsett

>Submitter-Id:  current-users
>Originator:    Mike Hogsett
>Organization:  SRI International Computer Science Laboratory
>Confidential:  no 
>Synopsis:  top dumps core if specific errors in password file
>Severity:  serious
>Priority:  medium
>Category:  bin
>Class: sw-bug
>Release:   FreeBSD 4.7-RELEASE-p2 i386
>Environment:
System: FreeBSD beast.csl.sri.com 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #2: Tue Nov 26 
16:48:30 PST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEAST i386

>Description:

If there is an incorrect entry in a NIS netgroup file & this netgroup file
is used to append specific NIS password database entries to the local
password database top will dump core at startup.

In gdb it shows top failed inside endpwent(3)

(gdb) where
#0  0x2810cbd8 in endpwent () from /usr/lib/libc.so.4
#1  0x2810d421 in endpwent () from /usr/lib/libc.so.4
#2  0x2810c1da in getpwent () from /usr/lib/libc.so.4
#3  0x804b28e in free ()
#4  0x804cb94 in clear ()
#5  0x8049389 in free ()

Since this error is appears to be within endpwent(3) I presume that
programs using this function may also be unstable.

>How-To-Repeat:

NIS netgroup file [NOTE: user3 entry incorrect] :

somegroup (,user2,),(,user2,),(user3)

master.password contains :

+@somegroup/tmp:/usr/bin/false

>Fix:

Well obviously fix the netgroup file error, but endpwent(3) should not
fail so severely.


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



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-03 Thread Mike Hogsett

Can't you just go down into /dev and do :


./MAKEDEV ad4 ad5 ad6 ad7

and gain access to the 4 drives on a second (supported) IDE controller?

 - Mike

> 
>  Hey people,
> 
> Here's the long and short of it. I have my main server unixhideout.com
> running samba. All my windows clients programs such as kaZAa and even
> their "My documents" save to /mirror /mirror2 /mirror3 and /mirror4 which
> are writable shares, that way we can reinstall windows weekly if need be
> (ha) but all important data is safe on FreeBSD. Its working really well
> for years now. Problem is as you can guess from the subject is i got 4 120
> gig hard drives in there, and i would like to have a CDROM and maybe even
> more disks as needed.
> 
> A: What is the hardware name of the device i am looking for that will
> allow more then 4 ide devices to one box.
> 
> B: do you know of a brand name i should be looking for that you recommend,
> or even a retailer.
> 
> *SCSI is expensive and IS better but at this time not an option so please
> stick with IDE in your suggestions.
> 
> -- 
> -mike
> [EMAIL PROTECTED]
>  Network administrator
> The unixhideout network
>  http://www.unixhideout.com
> 
> Need to get a hold of me?
> finger [EMAIL PROTECTED]
> 
> 
> -
> Free email that kicks ass from UnixHideout
>"The UnixHideout network"
> http://www.unixhideout.com/
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: Doom as a tool for system administration (unique to say the least)

2002-12-03 Thread Mike Hogsett

I ran this once when I first heard of it (on Redshat Linux).  I wandered
around for a bit then killed a few monsters.  It was amusing for about 10
seconds until I killed my window manager and was dropped to the console.

 - Mike

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> >> (12.03.2002 @ 1142 PST): Bsd Neophyte said, in 0.4K: <<
> > i thought this was pretty interesting and i figured i'd share it...
> > Doom as a tool for system administration
> > http://www.cs.unm.edu/~dlchao/flake/doom/
> >> end of "Doom as a tool for system administration (unique to say the least)
> " from Bsd Neophyte <<
> 
> You're right; it is certainly an amusing tool. Unless it's changed since
> I last looked at it months ago, it's Linux-only.
> 
> # Adam
> 
> 
> - --
> Adam Weinberger
> vectors.cx>>  [EMAIL PROTECTED]
> FreeBSD.org   <<  [EMAIL PROTECTED]
> Bayer Berkeley>>  [EMAIL PROTECTED]
> #vim:set ts=8: 8-char tabs prevent tooth decay.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (FreeBSD)
> 
> iD8DBQE97WAPo8KM2ULHQ/0RAuLPAKCmb4CIYnbPXYm0KEXczFz6q3HOrACbBBhf
> waJ5I/Pt/CAGNi1+p2Jhj/U=
> =AFwT
> -END PGP SIGNATURE-
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



PROBLEM FOUND WAS : Re: /usr/bin/top seg faulting

2002-12-03 Thread Mike Hogsett

> > flagg# top
> > Segmentation fault
> > flagg# 
> > 

I got a core file and ran gdb... I know almost nothing about gdb, but what
the heck.

(gdb) where
#0  0x2810cbd8 in endpwent () from /usr/lib/libc.so.4
#1  0x2810d421 in endpwent () from /usr/lib/libc.so.4
#2  0x2810c1da in getpwent () from /usr/lib/libc.so.4
#3  0x804b28e in free ()
#4  0x804cb94 in clear ()
#5  0x8049389 in free ()

Ok.  So this led me to a password file entry.

This host is a NIS client with 

+@vpnusers/tmp:/usr/bin/false

at the end of master.passwd (for the radiusd).

Some missing commas in the netgroup file...

Thanks for everyone's help.

 - Mike

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



Re: /usr/bin/top seg faulting

2002-12-03 Thread Mike Hogsett

> 
> > I think you have corrupted src. I am running basically the same source -
> > util.c from diff and not having any problems. I would clean out
> > /usr/src/contrib/top, recvsup, and rebuild everything.
> 
> You said "rebuild everything". Did you mean world/kernel or just top.  I
> cleaned out top and rebuilt it but it made no difference.
> 
> flagg# top
> Segmentation fault
> flagg# 
> 

Just as a side note regarding this host, everything else appears to be
running fine (apache, postgresql, radiusd, cvsupd, & syslogd are its
primary services, and the other obvious things like getty's and sshd,
etc. are fine).

And so there is not confusion...

flagg# which top
/usr/bin/top
flagg# ls -l `which top`
-r-xr-sr-x  1 root  kmem  32520 Dec  3 13:42 /usr/bin/top
flagg# 




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



Re: /usr/bin/top seg faulting

2002-12-03 Thread Mike Hogsett

> I think you have corrupted src. I am running basically the same source -
> util.c from diff and not having any problems. I would clean out
> /usr/src/contrib/top, recvsup, and rebuild everything.

You said "rebuild everything". Did you mean world/kernel or just top.  I
cleaned out top and rebuilt it but it made no difference.

 - Mike 

flagg# pwd
/usr/src/usr.bin/top
flagg# rm *
flagg# rm /usr/src/contrib/top/*
flagg# cvsup /etc/standard-supfile 
Connected to cvsup14.freebsd.org
Updating collection src-all/cvs
 Checkout src/contrib/top/ADVERTISEMENT
 Checkout src/contrib/top/Changes
 Checkout src/contrib/top/Configure
 Checkout src/contrib/top/DISCLAIMER
 Checkout src/contrib/top/FAQ
 Checkout src/contrib/top/INSTALL
 Checkout src/contrib/top/Make.desc.X
 Checkout src/contrib/top/Makefile.X
 Checkout src/contrib/top/Porting
 Checkout src/contrib/top/README
 Checkout src/contrib/top/boolean.h
 Checkout src/contrib/top/commands.c
 Checkout src/contrib/top/display.c
 Checkout src/contrib/top/display.h
 Checkout src/contrib/top/getans
 Checkout src/contrib/top/getopt.c
 Checkout src/contrib/top/install
 Checkout src/contrib/top/layout.h
 Checkout src/contrib/top/loadavg.h
 Checkout src/contrib/top/m-template
 Checkout src/contrib/top/machine.h
 Checkout src/contrib/top/metatop
 Checkout src/contrib/top/os.h
 Checkout src/contrib/top/patchlevel.h
 Checkout src/contrib/top/prime.c
 Checkout src/contrib/top/screen.c
 Checkout src/contrib/top/screen.h
 Checkout src/contrib/top/sigconv.awk
 Checkout src/contrib/top/top.X
 Checkout src/contrib/top/top.c
 Checkout src/contrib/top/top.h
 Checkout src/contrib/top/top.local.H
 Checkout src/contrib/top/username.c
 Checkout src/contrib/top/utils.c
 Checkout src/contrib/top/utils.h
 Checkout src/contrib/top/version.c
 Checkout src/usr.bin/top/Makefile
 Checkout src/usr.bin/top/machine.c
 Checkout src/usr.bin/top/sigdesc.h
 Checkout src/usr.bin/top/top.local.1
Finished successfully
flagg# pwd
/usr/src/usr.bin/top
flagg# make clean && make && make install
rm -f top.local.h top.x top.1 top commands.o display.o machine.o screen.o top.o 
username.o utils.o version.o top.1.gz top.1.cat.gz
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/../../contrib/top/commands.c
Making top.local.h from /usr/src/usr.bin/top/../../contrib/top/top.local.H
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/../../contrib/top/display.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/machine.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/../../contrib/top/screen.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/../../contrib/top/top.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/../../contrib/top/username.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/../../contrib/top/utils.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER-c 
/usr/src/usr.bin/top/../../contrib/top/version.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top 
-I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER -o top commands.o display.o 
machine.o screen.o top.o username.o utils.o version.o -ltermcap -lm -lkvm
Making top.x from /usr/src/usr.bin/top/../../contrib/top/top.X
cat top.x /usr/src/usr.bin/top/top.local.1 > top.1
gzip -cn top.1 > top.1.gz
install -s -o root -g kmem -m 2555   top /usr/bin
install -o root -g wheel -m 444 top.1.gz  /usr/share/man/man1
flagg# top
Segmentation fault
flagg# 

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



Re: /usr/bin/top seg faulting

2002-12-03 Thread Mike Hogsett

> # [EMAIL PROTECTED] / 2002-12-03 11:11:24 -0800:
> > I just cvsup'd, buildworld, installworld, etc. this morning to RELENG_4_7.
> > /usr/bin/top is segfaulting...
> > 
> > FreeBSD flagg.csl.sri.com 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #6: Tue
> > Dec 3 10:42:13 PST 2002
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FLAGG i386
> > 
> > -r-xr-sr-x  1 root  kmem  32520 Dec  3 03:04 /usr/bin/top
> > 
> > bash-2.05a$ top
> > Segmentation fault
> 
> have you updated the kernel as well? buildkernel/installkernel.
> ls -l /kernel will tell you if in doubt.

Yes (that was implied by `etc.' above)

bash-2.05a$ ls -l /kernel
-r-xr-xr-x  1 root  wheel  2048739 Dec  3 03:00 /kernel
bash-2.05a$ 

 - Mike


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



Re: /usr/bin/top seg faulting

2002-12-03 Thread Mike Hogsett

More info that may help...


bash-2.05a$ ktrace /usr/bin/top
Segmentation fault
bash-2.05a$ kdump 
  1028 ktrace   RET   ktrace 0
  1028 ktrace   CALL  execve(0xbfbffd6b,0xbfbffcac,0xbfbffcb4)
  1028 ktrace   NAMI  "/usr/bin/top"
  1028 ktrace   NAMI  "/usr/libexec/ld-elf.so.1"


> I just cvsup'd, buildworld, installworld, etc. this morning to RELENG_4_7.
> 
> 
> /usr/bin/top is segfaulting...
> 
> 
> FreeBSD flagg.csl.sri.com 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #6: Tue
> Dec 3 10:42:13 PST 2002
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FLAGG i386
> 
> -r-xr-sr-x  1 root  kmem  32520 Dec  3 03:04 /usr/bin/top
> 
> bash-2.05a$ top
> Segmentation fault
> 
> Help!
> 
> Thanks
> 
>  - Mike
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



/usr/bin/top seg faulting

2002-12-03 Thread Mike Hogsett



I just cvsup'd, buildworld, installworld, etc. this morning to RELENG_4_7.


/usr/bin/top is segfaulting...


FreeBSD flagg.csl.sri.com 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #6: Tue
Dec 3 10:42:13 PST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FLAGG i386

-r-xr-sr-x  1 root  kmem  32520 Dec  3 03:04 /usr/bin/top

bash-2.05a$ top
Segmentation fault

Help!

Thanks

 - Mike

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



Re: What is the difference between FreeBSD and OpenBSD...

2002-11-27 Thread Mike Hogsett

> What is the difference between FreeBSD and OpenBSD? 

I can't enumarate all the differences, but I know that OpenBSD does not
support SMP hardware.
 
> Which flavor of BSD is the most secure straight out of the box?

The one powered off.  I don't know sorry.

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



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

2002-11-26 Thread Mike Hogsett

> If I simply type "apple" in the "address bar" IE will prefix "apple"
> with "http://www."; and add the ".com" suffix, after failing to connect
> to just "apple".

I do not find this to be the case.  I have a machine (hogx.csl.sri.com)
and on my windows box if I enter "hogx" into the location field it never
connects to http://hogx/ despite the fact that both machines are in the
same domain (.csl.sri.com) and that the windows box is configured with
this domain as its default domain and as a domain to search in.



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



Re: spoof mac address

2002-11-26 Thread Mike Hogsett

> I want to be able to spoof a mac address of a nic in my machine so i can
> run a router(bsd) parralel to my router (LRP). The reason i want to
> spoof the mac address is because i don't want to call my isp and have
> them change my mac address. can someone tell me where to look or howto
> spoof a mac address in bsd?

ifconfig  ether DE:AD:BE:EF:DE:AD



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



Re: passwords in /etc/group

2002-11-22 Thread Mike Hogsett

Wow! An English right here on FreeBSD-Questions!

> On Fri, Nov 22, 2002 at 10:32:54AM -0800, Gary W. Swearingen wrote:
> > > What purpose do they serve ?
> > > A System Manager can put the users in the appropriate groups
> > > for their work.
> > > I have never seen them used on any Unix system I have worked on,
> > > and I seem to recall from some ancient documentation that they
> > > are more trouble than they are worth.
> > 
> > (Please put blank lines between paragraphs or use bullets or
> > indentation or something.  This isn't a Poetry 101 forum.  Thanks.)
> > 
> -Neither is it a forum for you to make silly snidy comments.
> 
> -The above is perfectly readable.
> 
> -And don't assume everyone is American and knows what the hell a
> Poetry 101 forum is (surely it should be Forum). And please don't begin
> an email with parenthetical comments. This is stylistically
> unforgiveable.
> 
> You might care to know that in the language of your forefathers a blank
> line is often ommitted between paragraphs.
> 
> Thanks.
> -- 
> Regards
>Cliff Sarginson 
>The Netherlands
> 
> [ This mail has been checked as virus-free ]
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



"No default realm defined for Kerberos!"

2002-11-20 Thread Mike Hogsett

How do I get rid of the annoying Kerberos message?

Thanks,

 - Mike
 
[beast] [hogsett] [~]
 --> telnet switch-a
Trying 130.107.2.200...
Connected to switch-a.csl.sri.com.
Escape character is '^]'.


User Access Verification

Password: Kerberos: No default realm defined for Kerberos!

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



Re: is there an alternate driver to pips-sc880 ?

2002-11-15 Thread Mike Hogsett

This may or may not be helpful :

http://www.epkowa.co.jp/english/linux_e/pips_dwn_e.html

 - Mike Hogsett

 
> (msg sent twice as I did not get feeback)
> hi, I have an Epson Stylus Color 880 which I want to run through 
> apsfilter (or any other server) for lp but:
> 
> # /usr/ports/print/pips-sc880 : make
> ===>  pips-sc880-2.1 is forbidden: Momentally. Because of copyright 
> violation noted by EPkowa co..
> 
> I've installed an older version of pips-sc880 but no way to get my 
> printer printing (it just reacts by a little noise and movement when 
> requested). Do you know of any other driver that could do ?
> 
> Thank you in advance
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: Thanks guys

2002-11-13 Thread Mike Hogsett

I don't think that FreeBSD-Questions is the forum for this discussion.

 - Michael Hogsett

> Erik writes:
> 
> > Have you read any of the license agreements normally
> > accompanying commercial software?  The big companies
> > generally don't guarantee a bloody thing about the
> > software, least of all that it will work correctly.
> 
> Yes, they do, and generally they will support what they sell.  If they
> don't, it soon ceases to sell.  The extensive disclaimers in licensing
> agreements are mainly to protect against liability, not to avoid providing
> support.
> 
> Additionally, many vendors charge for support beyond a certain minimum.
> While this is not included with the original purchase, at least it is
> available--the same cannot be said for most open-source software.
> 
> > Just because you demand it doesn't mean they will
> > even acknowledge that the bug exists, let alone fix it.
> 
> They will, and they do.  Most vendors know who is paying their bills.
> 
> > You can make demands on open source programmers
> > too.  It won't do you any good, but you can do it.
> 
> And that's why open-source software is risky for important applications and
> large organizations.
> 
> > You can't make the big companies fix their software
> > either.
> 
> Yes, you can.  They want your money, and they know they'll stop getting it
> if you are dissatisfied with support.
> 
> > For proof of this consider Microsoft and all the
> > viruses targeting Outlook Express.
> 
> Microsoft didn't write the viruses, and the viruses are not bugs, so I don't
> see the relevance of this comment.
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: retrieving data from a failing drive

2002-11-11 Thread Mike Hogsett

> Is there any way I can force the FS to be marked clean, or to mount a
> dirty filesystem (possibly in read-only mode)?

Read the mount(8) man page, specifically `-f' and `-r' options.
I hope you have backups!

 - Mike

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



Re: Easter Eggs

2002-11-11 Thread Mike Hogsett


> > void die_you_gravy_sucking_pig_dog();

I believe this function can be traced back quite a few years to the
original Berkeley releases.



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



Re: Root password

2002-11-08 Thread Mike Hogsett


>boot -s
>--  wait for the boot --
>fsck -a
>mount -u /
>mount -a

Better here would be :
   
 mount -a -t ufs

in case there are NFS mounts in the fstab.

>swapon -a
>passwd root
>  follow the prompts

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



Re: Root password

2002-11-08 Thread Mike Hogsett

The passwd program.

>   Somehow I managed to load FBSD and not have a root password.  How do I
>   setup a root password from a command line?

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



Re: /usr/ports/print/ghostscript-{gnu,afpl}

2002-11-08 Thread Mike Hogsett

Ok.  I have got it.

[beast] [hogsett] [/usr/ports/distfiles/ghostscript]
 --> ls /usr/ports/distfiles/ghostscript/eplaser-3.0.4-651.tgz 
/usr/ports/distfiles/ghostscript/eplaser-3.0.4-651.tgz

I removed it and it downloaded it again.  Same deal, checksum mismatch.

 - Mike
 
> make sure you got eplaser-3.0.4-651.tgz correctly...
> Try deleting eplaser-3.0.4-651.tgz and letting a download of the file occur
> 
> Andrew
> - Original Message ----- 
> From: "Mike Hogsett" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 08, 2002 5:37 PM
> Subject: /usr/ports/print/ghostscript-{gnu,afpl}
> 
> 
> > 
> > >> Checksum mismatch for ghostscript/eplaser-3.0.4-651.tgz.
> > 
> > 
> > Suggestions?  ( cvsup'd /usr/ports this morning )
> > 
> >  - Mike
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> > 

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



/usr/ports/print/ghostscript-{gnu,afpl}

2002-11-08 Thread Mike Hogsett

>> Checksum mismatch for ghostscript/eplaser-3.0.4-651.tgz.


Suggestions?  ( cvsup'd /usr/ports this morning )

 - Mike

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



Re: NIS gods angry

2002-11-07 Thread Mike Hogsett


> Thanks for the replies, guys, it's (freakin' finally) working.

Thank the NIS Gods.

> I don't know if it was the extra blank line before  the  +: in 
> /etc/master.passwd was the culprit

It is likely.

> or the weird characters in 
> /var/yp/ypservers.  I did some reading to try and find out if 
> /var/yp/ypservers was supposed to be garbled/encrypted but I could find out 
> anything useful.  Hopefully, I haven't borked some security by entering plain

On my NIS master :

buzby# pwd
/var/yp/
buzby# file ypservers 
ypservers: Berkeley DB 1.85 (Hash, version 2, native byte-order)
buzby# 

Good luck,

 - Mike
 

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



Re: NIS gods angry

2002-11-07 Thread Mike Hogsett

> Definitely sounds like a problem with the + line in the passwd file.
> Run vipw, and verify that
> 
> +:
> 
> is at the bottom.  If it still doesn't work, try truss'ing "id -u
> zoomba" and verify that it's reading the NIS files and doing network
> calls.


Don't forget to add

 +:::

to /etc/group also.

 - Mike Hogsett

 

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



Re: Junior hacker assignment :o

2002-11-05 Thread Mike Hogsett


Look in /usr/src/sys/kern/kern_shutdown.c

static void
shutdown_halt(void *junk, int howto) {
...
}

Looks interesting.

 - Mike

> Hi,
> 
> --- Mike Hogsett <[EMAIL PROTECTED]> wrote:
> > Well whatever function the kernel is in while it
> > loops, polling the
> > keyboard asking "press any key to reboot" could have
> > additional logic for
> > a countdown timer to reboot.
> 
> Great!
> 
> > How and where to do this?  I don't know.
> 
> Not so great ;)
> 
> Thanks a lot,
> Carlos.
> 
> __
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/

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



Re: Junior hacker assignment :o

2002-11-05 Thread Mike Hogsett

> - Original Message -
> From: "Carlos Carnero" <[EMAIL PROTECTED]>
> To: "DaleCo Help Desk" <[EMAIL PROTECTED]>; "FreeBSD Questions"
> <[EMAIL PROTECTED]>
> Sent: Tuesday, November 05, 2002 2:07 PM
> Subject: Re: Junior hacker assignment :o
> 
> 
> > Hello,
> >
> > --- DaleCo Help Desk <[EMAIL PROTECTED]> wrote:
> > > I suppose you want to read the code in
> > > /usr/src/sbin/shutdown/shutdown.c
> >
> > in the (appropiately named? :) function
> > die_you_gravy_sucking_pig_dog() rebooting means
> > sending init a INT signal... I'll heck init (and
> > that's kernel turf right?)
> >
> > Thanks a lot,
> > Carlos.
> >
> Is that 'check init' or 'hack init'?
> 
> 
> I might just alter shutdown so it took an
> additional argument to -r along the lines
> of   shutdown -r  [when-die] [when-resurrect]
> 
> 
> .but I'm just a converted Windoze Luser and
> amateur sysadmin, so you're getting beyond me
> here.  If the OS is shut down, then the kernel's shut down,
> right, and how's it gonna count seconds 'til Resurrection Day?

Well whatever function the kernel is in while it loops, polling the
keyboard asking "press any key to reboot" could have additional logic for
a countdown timer to reboot.  How and where to do this?  I don't know.

Good Luck,

 - Mike










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



Re: network config or apache config or neither?

2002-11-05 Thread Mike Hogsett

Hmm.  Looks to me that they need to change:

www.hamanndonald.com10800 INCNAME   stimpy

to

www.hamanndonald.com10800 INCNAME   stimpy.hamanndonald.com

or to

www.hamanndonald.com10800 INA   198.88.146.57



> $ host -all hamanndonald.com
> rcode = 0 (Success), ancount=2
> Found 1 addresses for ns2.peak.org
> Found 1 addresses for ns.peak.org
> Trying 206.163.129.2
> Server failed, trying next server: Query refused
> Trying 198.88.144.2
> hamanndonald.com10800 INSOA ns.peak.org
> hostmaster.peak.org(
> 2002101102  ;serial (version)
> 21600   ;refresh period
> 900 ;retry refresh this often
> 360 ;expiration period
> 43200   ;minimum TTL
> )
> hamanndonald.com10800 INNS  ns.peak.org
> hamanndonald.com10800 INNS  ns2.peak.org
> hamanndonald.com10800 INA   198.88.146.57
> hamanndonald.com10800 INMX  5 stimpy.hamanndonald.com
> stimpy.hamanndonald.com 10800 INA   198.88.146.57
> www.hamanndonald.com10800 INCNAME   stimpy
> hamanndonald.com10800 INSOA ns.peak.org
> hostmaster.peak.org(
> 2002101102  ;serial (version)
> 21600   ;refresh period
> 900 ;retry refresh this often
> 360 ;expiration period
> 43200   ;minimum TTL
> )
> 
> I don't know if this means the entry for www.hamanndonald.com is actually a
> usable entry or not. I do know that when I set a browser to
> http://hamanndonald.com the web page comes up, if I use www.hamanndonald.com
> ( I get the "cannot find page"). The actual name of the machine that
> handles the internet traffic is named stimpy...
> 
> Is this an issue with the DNS entry?
> Is this a problem with my apache config?
> Is this a problem with some other network setting in FreeBSD?
> 
> Help?
> 
> Jeff.
> 
> Jeff D. Hamann
> Hamann, Donald & Associates, Inc.
> PO Box 1421
> Corvallis, Oregon USA 97339-1421
> Bus. 541-753-7333
> Cell. 541-740-5988
> [EMAIL PROTECTED]
> www.hamanndonald.com
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: cheat sheet? apache, mod_ssl, mod_php, mysql

2002-11-05 Thread Mike Hogsett

Sorry to jump into the middle of this thread, but I have recently
installed Apache 1.3x, mod_php4, and mysql on a 4.7 box.  I simply
installed apache from the ports, mod_php from the ports and mysql from the
ports.  The mod_php port asks what support you want built in before
building, an option there was mysql support.  It all just worked.  I did
have to tweak my httpd.conf file a bit but what I had to edit/enter was
given to me by the mod_php4 build output.

 - Mike

> /usr/ports/databases/mysqlserver323 doesn't seem to
> build any shared objects.. :-(
> 
> Could I get the same results by preloading
> the daemon (program) file?
> 
> KDK
> 
> From: "Barry Byrne" <[EMAIL PROTECTED]>
> To: "DaleCo Help Desk" <[EMAIL PROTECTED]>; "Roger Williams"
> <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Tuesday, November 05, 2002 10:39 AM
> Subject: RE: cheat sheet? apache, mod_ssl, mod_php, mysql
> 
> 
> > You could try adding something like this in your apache startup
> file:
> >
> > LD_PRELOAD="/usr/local/mysql/lib/mysql/libmysqlclient.so";
> > export LD_PRELOAD
> >
> > Modify for your mysql lib location and add these two lines before
> the call
> > to start httpd.
> >
> > Cheers,
> >
> > Barry
> >
> > --
> > Barry Byrne, IT Manager,
> > WBT Systems, Block 2, Harcourt Centre
> > Harcourt Street, Dublin 2, Ireland
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:owner-freebsd-questions@;FreeBSD.ORG]On Behalf Of DaleCo
> Help
> > > Desk
> >
> > > Good list, but where's MySQL?
> > >
> > > My current point of failure is that apache
> > > can't load mod_php4 because it hasn't
> > > been built with MySQL symbols/support
> > >
> > > Using the supplied docs got me this far,
> > > but I've been stumped with this one
> > >
> > > KDK
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: how do you get a binary

2002-11-01 Thread Mike Hogsett

> How can you get a precompiled binary version of FreeBSD for the x86
> platform? Is it available through downlod? [EMAIL PROTECTED]

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

Specifically :

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

if you want to download it.

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



Re: installation question

2002-11-01 Thread Mike Hogsett

I don't really think it makes much of a difference.  Support for the card
will depend much more on the version of X you have installed and whether
that version supports the card (assuming you will be running X).  If it is
just for the system console I don't believe it will matter at all, unless
downtime is a consideration.  If it is I would combine the card install
with the 4.7 upgrade reboot downtime.

 - Mike

> I've got a 'new' old video card that i want to put in my bsd box. Should I
> wait until I've upgraded to 4.7 before i do it or should I do that prior to
> upgrading?
> Opinions? Reasons?
> 
> thanks,
> Charles Pelletier
> Tech. Coordinator
> St Luke's School
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: Apache,PHP and FreeBSD

2002-11-01 Thread Mike Hogsett

> To find something in the ports collection,
> do this:
> 
> $cd /usr/ports
> $make search key=(keyword)
> 
> ...in your case, 'php' or 'mod_php'
> should have done the trick.

Although in cases of libraries (or similar ports) where many other ports
depend on it this can return way too many results.  In these cases

   $make search name=(name)

may workbetter.

 - Mike


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



Re: Apache,PHP and FreeBSD

2002-11-01 Thread Mike Hogsett

/usr/ports/www/mod_php4/

> I want to host (or whatever) the site myself. I think it would be a
> good learning experience for me. I know where apache is in the ports
> but where is php?
> 
> On Fri, 1 Nov 2002 17:48:17 -0500
> david <[EMAIL PROTECTED]> wrote:
> 
> > On Friday 01 November 2002 15:32, Bryan Cassidy wrote:
> > > Hello everyone. I have been messing around with html lately and think its
> > > pretty cool. I want to start using PHP with apache and buy my own domain.
> > > My question is this: What is a good site to get domains from that has a
> > > reasonable amount of space and doesnt cost too much? Does anyone know of
> > 
> > I'm confused, are you wishing to buy a webhosting account or run it yoursel
> f?
> > 
> > > any good tutorials online for PHP,Apache and FreeBSD? Of course I will be
> > > using this on my freebsd machine so docs or tutorials about this related 
> to
> > > freebsd would be nice. I am going to start working on this tomorrow s
> > > ometime so I would appreciate some info. thanks
> > 
> > Setting it up? It's fairly straight forwarding installing from ports and 
> > configuring httpd.conf and php.ini to your likeing. 
> > 
> > 
> > >
> > > -
> --
> > > E-Mail: Bryan Cassidy <[EMAIL PROTECTED]>
> > > Operating System: FreeBSD 4.6.2
> > > Gaim: bsdsys
> > > Yahoo Messenger: bsdsys
> > >
> > > Please do not simply Reply-To: Bryan Cassidy
> > > <[EMAIL PROTECTED]> It is OK to Cc: me as long as you send the
> > > Reply back To: the original mailing lists. I have put alot of time in
> > > setting up filters so please don't simply reply to me unless I tell
> > > you to or send you one directly.
> > >
> > >_     
> > >
> > >   |  ___| __ ___  ___| __ ) ___||  _ \
> > >   |
> > >   | |_ | '__/ _ \/ _ \  _ \___ \| | | |
> > >   |
> > >   |  _|| | |  __/  __/ |_) |__) | |_| |
> > >   |_|  |_|  \___|\___|//|/
> > >
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-questions" in the body of the message
> > 
> > 
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> -
> --
> E-Mail: Bryan Cassidy <[EMAIL PROTECTED]>
> Operating System: FreeBSD 4.6.2
> Gaim: bsdsys
> Yahoo Messenger: bsdsys
> 
> Please do not simply Reply-To: Bryan Cassidy
> <[EMAIL PROTECTED]> It is OK to Cc: me as long as you send the
> Reply back To: the original mailing lists. I have put alot of time in
> setting up filters so please don't simply reply to me unless I tell
> you to or send you one directly.
> 
>_      
>   |  ___| __ ___  ___| __ ) ___||  _ \  
>   | |_ | '__/ _ \/ _ \  _ \___ \| | | |
>   |  _|| | |  __/  __/ |_) |__) | |_| | 
>   |_|  |_|  \___|\___|//|/ 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Re: License freebsd?

2002-11-01 Thread Mike Hogsett

There is not cost for FreeBSD, at all.  Use it for whatever you want or
need.

> I was thinking of setting up a server unix n every one else to use os
> with server inviroment and have paying customers wants to carge to
> license software.  does freeBSD?

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



Re: 2 drives + 2 IDE channels = better?

2002-10-29 Thread Mike Hogsett

> Is is better to run a 2nd drive on another IDE channel or on the same
> bus?  Eg. IDE channel 1 = ad0 (main OS), IDE channel 2 = ad1 (other data
> - maybe MySQL and websites?)

Yes I would recommend this, but I would also recommend not having a CD
drive on the same bus as a heavily used disk (unless the CD is rarely
used).

I would also recommend putting /usr/src and /usr/obj on different disks to
speed up makeworld (if that is important to you).

 - Mike



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



  1   2   >