Re: We want tu use your company name and logo

2006-03-03 Thread Aaron Peterson
On 3/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I don't see the point in all this FreeBSD, Linux wars just give the man an
 answer and walk away he wants to sell FreeBSD Daemon logos, the Penguin
 Logos, and the slackware logo he has a right to do so as long as he asks
 the realative partys for permission. I find it lame and a waste of time to
 have all these Linux and FreeBSD wars and both OS'es have there place

I haven't seen anything to indicate a war, just an indication that
someone thinks there is a thing called Slackware FreeBSD Linux that
they want to sell logo clothing for, and some other folks that find it
hilarious.

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


Re: We want tu use your company name and logo

2006-03-03 Thread Aaron Peterson
On 3/3/06, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Ercan Pamuk wrote:

   Esteemed competent,

   I am Ercan Pamuk.I live in Turkey.I am a computer expert and a partner
   of the SkyTech computer which actives in Turkey.In our company we work
   on setting up the Linux systems and their technical supporting.

 Very good.  I am nobody in particular and live in the USA, where I use
 FreeBSD in my business and in my home.  Peace be unto you.

   In our company we want to sell T-shirts,glasses,caps that are
 products of
   FreeBSD Linux which we give them system supporting in our company.
   We want to use Slackware FreeBSD Linux Logos at this products which
   we want to sell.This work plays a part in advertising you and your
 products.
   At the same time this work causes to be loved and used your products and
   also increases the requests of your products.

 Your e-mail brightened the day of many FreeBSD users; as your primary
 language is not English, there were a few grins about the following
 statements:

 products of FreeBSD Linux

--- Linux and FreeBSD and distinct entities (e.g. $linux !=
 $FreeBSD).
 Although they are both Unix-like operating systems, saying FreeBSD Linux
 is something of a contradiction in terms to FreeBSD users.

 We want to use Slackware FreeBSD Linux Logos at this products

--- again, these are distinct entities, so you probably wanted to
 say:

 We want to use Slackware, FreeBSD, and Linux logos on the products
 that we want to sell.


   Is there a problem selling T-shirts,glasses,caps in Turkey by using your
   company name and logo?


 There could be some problems, but no one at [EMAIL PROTECTED]
 has the power to answer you authoritatively.  We do appreciate you
 asking, though; respect for the intellectual property of others is part
 of the FreeBSD tradition, and you might have noticed if you have read
 the BSD licenses and copyrights.

 In regard to your specific question, see:

 http://www.freebsd.org/art.html#USE

for more information about the various logos, their owners
 and licensing.

   Thanks...

   Yours respectfully

 And to you, also.

 Kevin Kinsey

Rock on d00d, well said :-)

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


Re: how to tell what ran what

2006-02-15 Thread Aaron Peterson
On 2/15/06, Glenn McCalley [EMAIL PROTECTED] wrote:

 - Original Message -
 From: Björn König [EMAIL PROTECTED]
 To: Glenn McCalley [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Sent: Wednesday, February 15, 2006 11:13 AM
 Subject: Re: how to tell what ran what


  Glenn McCalley schrieb:
 
   Is there a way to find out -which- -process- calls another process?
 
  Each process is associated with a parent; look at the ppid column:
 
 ps axo user,pid,ppid,command
 
  Björn
 
 
 Thanks, I stated the question poorly.  My fault.
 Is historical info available and is it available by file name?

 I trying to find out (for example) what (unknown) program ran another
 (known) program between 0900 and 1000 yesterday - something like that.

 I've got a customer sending our emails that he shouldn't - I don't know
 which customer it is.  The program that sends the mail is running as a cgi
 so it all shows up as user nobody.

 If I can get a list of what programs, path and file name, called sendmail
 over (say) the last 24 hours, one of them should jump off the page with an
 unreasonable level of activitiy.

 Thanks!
 Glenn.

Perhaps I'm missing something, but if a script is being called via CGI
it would need to be called by a process running as user nobody in
your case (like a web server).  In which case, you probably will never
know who called it, but you might get their IP address from the web
server access logs as has already been mentioned...  If you have a
server with multiple accounts for say, shared web hosting, you should
definitely grep through their scripts for something like mail to
look for the person who installed scripts with mailing functions... 
anyhow, wish you luck :-)

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


Re: freebsd hosting

2006-01-26 Thread Aaron Peterson
I have leased a dedicated host for several years with mikro-data.net
who is located in Kentucky and been very happy with their pricing,
service and responsiveness.  Basically, I just told them what version
of FreeBSD I wanted on the server and they loaded it.  They sent me
the root password and they haven't touched it again except at my
request.  It's worked out great for me.  They are very friendly to
open-source communities, so if you tell them you heard about them from
me on the freebsd-questions mailing list, they might even give you a
discounted rate.  I recieved a discounted rate when I heard about them
through the local LUG anyway...  I don't get any perks for any of
this, in case you're wondering.

I would send questions about rates to [EMAIL PROTECTED] if you're
interested.

Aaron

On 1/26/06, Nathan Vidican [EMAIL PROTECTED] wrote:
 Robin Becker wrote:
  I'm sure this must be a FAQ, but couldn't find much about it. My company
  has a need to do some dedicated hosting for a client application.
  Googling provides many adverts, but how is one to make sense of all the
  competing offers.
 
  For whatever reason my boss seems to think we should do some kind of
  linux hosting. I disagree because I'm old and tired and don't want to
  struggle with rpms or debs or whatever.
 
  I need recommendations for good reliable freeBSD hosting. The brief
  calls for two geographically separated machines. Probably we require
  modern python cgi, but perhaps not root access.

 Check:
 http://www.freebsd.org/commercial/

 --
 Nathan Vidican
 [EMAIL PROTECTED]
 Windsor Match Plate  Tool Ltd.
 http://www.wmptl.com/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: pf, pfil hooks and if_bridge

2005-12-28 Thread Aaron Peterson
On 28 Dec 2005 08:45:06 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Aaron Peterson [EMAIL PROTECTED] writes:

  I was reading about the new if_bridge driver, and the ability of any
  packet filter to interface with it that uses pfil hooks.  But I can't
  seem to find any documentation that says whether pf is such a packet
  filter?  Would someone enlighten me if pf is useable with the new
  if_bridge driver?


  $ grep 'pfil\.h' /usr/scratch/ncvs/src/sys/contrib/pf/*/*
  /usr/scratch/ncvs/src/sys/contrib/pf/net/pf_ioctl.c,v:#include net/pfil.h
  $

 So, the answer is yes.

Thanks, I think it's likely I would not have figured that out on my own :-)

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


pf, pfil hooks and if_bridge

2005-12-27 Thread Aaron Peterson
I was reading about the new if_bridge driver, and the ability of any
packet filter to interface with it that uses pfil hooks.  But I can't
seem to find any documentation that says whether pf is such a packet
filter?  Would someone enlighten me if pf is useable with the new
if_bridge driver?

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


Re: Firefox 1.5 complains that it is already running

2005-12-27 Thread Aaron Peterson
On 12/27/05, Rob [EMAIL PROTECTED] wrote:
 Hi,

 I compiled Firefox 1.5 from ports but when attempting to start it I get
 the error message:

 Firefox is already running, but is not responding.  To open a new
 window, you must first close the existing Firefox process, or restart
 your system.

 I could not find any Firefox or Mozilla type of process running.
 I am starting it from a terminal and I get no error messages there.
 Ending Xorg and then starting it again does not help.

 Finally Firefox was compiled with -o -pipe -mtune=pentium4, so I doubt
 if there would be any problem with the build.

 Thank you.

 Rob Lytle

 ps.  Mozilla runs OK, but I had to turn off java and javascript, and
 also block pop-up windows in order to stop the occasional 100% cpu
 usage and zombie processes.

There is probably a file named lock somewhere under the .mozilla
directory in you home directory.  Usually these are left behind when
firefox has exited uncleanly.  Remove the lock file and all should
be back to normal...

Aaron

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


Re: default password of toor

2005-12-22 Thread Aaron Peterson
reboot
at boot prompt type boot -senter
will boot in single user mode
at prompt type mount -a
then if / is mounted read only, perhaps
mount -u -rw /
passwd root
type in new password
CTL-D

Alternately, you can boot from a cd mount and chroot to your os /
passwd root
etc...

Aaron
On 12/22/05, Imran Imtiaz [EMAIL PROTECTED] wrote:
 what is the default password of toor cause i have forgotton my roots password 
 so any one could help me in recovering ?

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

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


Re: Can you run Xen on FreeBSD?

2005-12-20 Thread Aaron Peterson
On 12/20/05, Aaron Peterson [EMAIL PROTECTED] wrote:
 On 12/20/05, Nikolas Britton [EMAIL PROTECTED] wrote:
  On 12/20/05, Kevin Crenshaw [EMAIL PROTECTED] wrote:
   Xen supports installation on Red Hat and Suse Linux.  Does this mean that
   Xen will run on FreeBSD using linux binary compatibility?  Does anyone 
   have
   a recommendation for Virtualization software to run on FreeBSD?
  
 
  I don't see why not, it's what we do with VMware. Why not try and port
  Xen to FreeBSD, you have the source code.

 I'm under the impression that Xen doesn't run on anything.  It is a
 hypervisor that loads before any other OS, and uses the first
 virtual machine (which could easilly be freebsd as far as I know) to
 translate system and network calls for all the other virtual machines.

 Aaron

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


Re: Can you run Xen on FreeBSD?

2005-12-20 Thread Aaron Peterson
On 12/20/05, Aaron Peterson [EMAIL PROTECTED] wrote:
 On 12/20/05, Kevin Crenshaw [EMAIL PROTECTED] wrote:
  Thanks for your reply.  I'll look into it.
 
  Kevin
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Nikolas Britton
  Sent: Tuesday, December 20, 2005 8:28 PM
  To: Kevin Crenshaw
  Cc: freebsd-questions@freebsd.org
  Subject: Re: Can you run Xen on FreeBSD?
 
  On 12/20/05, Kevin Crenshaw [EMAIL PROTECTED] wrote:
   Xen supports installation on Red Hat and Suse Linux.  Does this mean that
   Xen will run on FreeBSD using linux binary compatibility?  Does anyone
  have
   a recommendation for Virtualization software to run on FreeBSD?
  
 
  I don't see why not, it's what we do with VMware. Why not try and port
  Xen to FreeBSD, you have the source code.

 Also, Xen currently requires any guest OS to be running a modified
 kernel.  Suse and Redhat support for Xen means that they ship with
 this modified kernel so they can be installed as a guest OS.  They
 might also ship with the Xen hypervisor and have some way to install
 Suse or Redhat as VM 1 (the controlling virtual machine).  If you're
 asking if one can run FreeBSD as a guest, I'm guessing the answer is
 yes.

 In the upcoming year, intel and AMD are releasing new virtualization
 technology built into their CPUs.  When this happens, Xen will be able
 to use any x86 OS without modification supposedly.

 Just some extra information I picked up at Ohio Linuxfest this year
 that I thought might help you on your quest :-)

 Aaron

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


Re: next question: dvd-burner.

2005-12-14 Thread Aaron Peterson
On 12/14/05, Micah [EMAIL PROTECTED] wrote:
 Gary Kline wrote:
I'm adding a DVD burner to my planned new platform.
Since this is new technology, how careful do I have to
be?  In other words, does FreeBSD support most burners?
Looks like the DVD/CDRW burner is a NEC...  I'll 2-check.
 
thanks in advance,
 
gary

yes, most modern dvd burners support a standardized instruction set. 
some brands implement additional extensions, but basic functionality
should work out of the box for most of them...

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


Re: _still_ looking for FreeBSD dvd ripping software...

2005-12-11 Thread Aaron Peterson
  In the windows world I used dvd decrypter.  It output .iso files directly,
  and it supported removing macrovision (and most importantly) removing
  prohibited user actions ( PUA / PUO ).
 
  I cannot find anything like this for FreeBSD.  I asked previously, and was
  shown sysutls/dvdbackup.  This program is extremely limited, has no
  macrovision or PUA functionality, _and_ does not output ISO files.  I know
  I can take its output and re-form it back to an ISO, but I bet it is not
  the same as a direct ISO.  And a perfect copy is important to me.
 
  So, does anyone know of any _decent_ way to rip a dvd _directly_ to an ISO
  on FreeBSD, and that also supports advanced features like I mention above?
 
  (a linux program that could be run under binary compatibility would be
  fine with me ...)


 lxdvdrip works well. And ShrinkTo5 should be ported over to linux soon.
 once that happens we should have a very good program to use.

Ripping a dvd to an image that can be burned to a writable dvd is not
a cut and dried procedure for a number of reasons.  I have used a
number of tools on bsd to get the job done in various circumstances. 
The tools I've used include vobcopy, mplayer/mencoder, transcode (for
tcrequant), mjpeg-tools (for mplex), dvdauthor, and growisofs.  I have
also used dvdrip with some success.  Hope this information moves you
in the right direction.

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


Re: console characters/keyboard

2005-12-08 Thread Aaron Peterson
On 12/8/05, Glenn Dawson [EMAIL PROTECTED] wrote:
 At 07:17 PM 12/7/2005, Aaron Peterson wrote:
 I have been working with a database recently that contained values
 with special characters.  A lower case n with a tilde over it for
 instance.  Anyway, during the conversion of the database from mysql to
 sqlite these special characters got corrupted.  I ended up fixing them
 by hand since there weren't many, but during the process I realized
 these things:
 
 1) My console does not print these characters, but empty box
 characters instead
 
 2) I have no good way of entering these characters (that I know of)
 with my standard keyboard layout and language settings.
 
 So the obvious questions follow:
 
 1) Can I somehow alter my console or add fonts so these characters are
 displayed properly
 
 2) I ended up writing a perl program and giving it html entities to
 decode back to the special character and insert into the database, but
 this is very roundabout.  How can I set my FreeBSD box up to be able
 to enter such characters manually?

 You can produce whatever character you like by using the alt key and
 the number pad.

 Hold down alt and type the ascii value (in base 10) on the number
 pad.  When you release the alt key, the character will be sent as if
 it had been typed.  Note that this only works with the number pad.

I suppose keeping Xorg from intercepting these key combinations and
doing nothing with them is more complicated...  (I just get beeps, no
characters) Any clues on that?

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


console characters/keyboard

2005-12-07 Thread Aaron Peterson
I have been working with a database recently that contained values
with special characters.  A lower case n with a tilde over it for
instance.  Anyway, during the conversion of the database from mysql to
sqlite these special characters got corrupted.  I ended up fixing them
by hand since there weren't many, but during the process I realized
these things:

1) My console does not print these characters, but empty box characters instead

2) I have no good way of entering these characters (that I know of)
with my standard keyboard layout and language settings.

So the obvious questions follow:

1) Can I somehow alter my console or add fonts so these characters are
displayed properly

2) I ended up writing a perl program and giving it html entities to
decode back to the special character and insert into the database, but
this is very roundabout.  How can I set my FreeBSD box up to be able
to enter such characters manually?

Thanks in advance for any assistance,
Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nessus no longer open source

2005-10-13 Thread Aaron Peterson
On 10/13/05, Dinesh Nair [EMAIL PROTECTED] wrote:
...snip...
 this may also be a call for new blood to assist in the continuation of nessus 
 2.
...snip...

I would tend to take it that way.

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


Re: Converting from IPFW to IPFILTER

2005-10-10 Thread Aaron Peterson
On 10/10/05, Brian E. Conklin [EMAIL PROTECTED] wrote:

 So I am assuming because IPFW is built into the kernel with a default to
 deny option, I will need an IPFW rule allowing everything? Or, can I change
 my rc.conf to have IPFIREWALL_ENABLE=NO?


IPFW can be compiled static into the kernel, or it can be loaded as a
module.  My understanding is that when loading as a module, default
deny is your only option.  If you compile into the kernel with
options IPFFIREWALL_DEFAULT_TO_ACCEPT then you get the obvious
results.  This is all in the handbook by the way:

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

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


Re: Converting from IPFW to IPFILTER

2005-10-10 Thread Aaron Peterson
On 10/10/05, Aaron Peterson [EMAIL PROTECTED] wrote:
 Thanks. The problem is it is on a production machine that I can not have down
 for any length of time. So recompiling the kernel to remove IPFW support, and
 then configuring, troubleshooting, and tweaking IPFILTER would have access
 down too long. I'd prefer to switch back and forth from the command line
 while I get IPFILTER configured and working correctly. Then on my next
 quarterly BUILDWORLD, I can also recompile the kernel to remove IPFW support.

You can add an ipfw rule (#1 for instance) allowing all traffic.
However if you use other protocols besides IP on your network, this
might have unexpected side effects.  My understanding is that the
default deny policy drops everything that isn't IP traffic, and there
is no way to allow it using rules at that point.  Someone please
correct me if I'm wrong.  A default accept policy with a deny all
rule functions similarly, still allowing all non IP traffic.  If you
don't forsee this causing problems, you should be fine with a single
allow all rule until your change window arrives.

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


Re: unable to do su from user to become super user

2005-10-10 Thread Aaron Peterson
On 10/10/05, Damon Blom [EMAIL PROTECTED] wrote:
 Hi
 FreeBSD presario.com 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Oct  9 22:44:53
 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  amd64
I cannot go from user to super user.

By default on FreeBSD, users must be a member of the group wheel in
order to su to root.

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


Re: freebsd and vmware?

2005-09-21 Thread Aaron Peterson
On 9/21/05, Yuan Jue [EMAIL PROTECTED] wrote:
 On Tuesday 20 September 2005 15:23, mgedv online wrote:
  is 5.4, 6.0 or 7x supported to run under vmware on
  a logical partition?
 
  has anyone successfully setup such a configuration?

 A. if you want to install FreeBSD using vmware in Windows, the answer is YES

 B. if you want to install vmware in FreeBSD in order to run other OS, my
 suggestion is looking back in the mailing list.

http://www.vmware.com/support/guestnotes/doc/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.4 + VMware

2005-09-20 Thread Aaron Peterson
I've had problems loading/booting FreeBSD 5.4 in a virtual machine. 
If I start in the default mode, it crashes VMware.  If I start with
ACPI disabled it crashes VMware.  If I start in Safe Mode it works
great.  So...  I want to learn about what is different about booting
in Safe Mode from the default boot options.  That way I can further
troubleshoot and find the culpret hopefully.  Thanks for any
information regarding this issue.

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


Re: FreeBSD 5.4 + VMware

2005-09-20 Thread Aaron Peterson
 On Sep 20, 2005, at 1:37 PM, Aaron Peterson wrote:

  I've had problems loading/booting FreeBSD 5.4 in a virtual machine.
  If I start in the default mode, it crashes VMware.  If I start with
  ACPI disabled it crashes VMware.  If I start in Safe Mode it works
  great.  So...  I want to learn about what is different about booting
  in Safe Mode from the default boot options.  That way I can further
  troubleshoot and find the culpret hopefully.  Thanks for any
  information regarding this issue.

On 9/20/05, Tom Pepper [EMAIL PROTECTED] wrote:
 Aaron:

 You're on the right track.  Both FreeBSD and VMWare are marginally
 aware of each other, though it is possible if you do enough digging
 to get 5.x virtual machines limping along inside both GSX and ESX.
 However, expect to see strange behavior in a number of applications,
 and problems with CPU usage in applications that should be idle,
 since freebsd's nanosleep() call eats CPU when running under these
 platforms.

 You can boot FreeBSD in standard mode by instructing the VMware host
 to not use ACPI in each config file (in ESX it's usually called
 vmware.vmx per-config) and adding the following two lines before
 restarting the instance:

 acpi.present = false
 monitor_control.disable_apic = TRUE

 it's easiest then, once you have an installation working, to use a
 product like virtualcenter to template and clone the working instance
 out to other hosts.

I am trying to run FreeBSD 5.4 on ESX, since I seem to have left that
information out in earlier posts.  I really appreciate the
information, I wasn't aware of any configuration directives like these
for vmware.  I am left with a couple other questions that you or
someone might be able to help me with.

Why does nanosleep() eat CPU when running under these platforms?

I was able to get FreeBSD running on a virtual host before hearing
your suggestion by adding hint.apic.0.disabled=0 to
/boot/loader.conf.  I'm sure this does basically the same thing as
your suggestion, except in the FreeBSD kernel instead of in the
virtual host configuration.  I wonder what the pros and cons are of
doing one or the other?

In your opinion, is it worth running FreeBSD 5.4 on ESX in light of
the quirks you've noticed?

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


Re: Many name - same IP

2005-09-19 Thread Aaron Peterson
On 9/19/05, Carstea Catalin [EMAIL PROTECTED] wrote:
 How make www.blogger.com ( for example ) to have many sub-domains with same 
 IP.
 Ex:
 blog1.blogspot.com - 66.102.155.101
 blog2.blogspot.com - 66.102.155.101
 blog3.blogspot.com - 66.102.155.101
 --
 this 66.102.155.101 is IP of host blogspot.blogspot.com
 ...
 it is about apache with tag virtual host ?

First, the authoritative DNS servers for your domain must be
configured to resolve all of the sub-domains to the specified IP
address.  Otherwise your server will never recieve any communication
to begin with.  Then to set up virtual hosting with apache, if you
want one vhost to service all the sub-domains, I believe you can use
the ServerAlias directive in your VirtualHost definition like so:

ServerName blogspot.com
ServerAlias *.blogspot.com

Or set up separate vhost definitions for each sub-domain if you want
them to point to different web directories on your server.

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


Re: Many name - same IP

2005-09-19 Thread Aaron Peterson
On 9/19/05, Carstea Catalin [EMAIL PROTECTED] wrote:
 i must setup in zone file
 
 blog1 CNAME blogspot
 blog2 CNAME blogspot
 blog3 CNAME blogspot
 
 and in httpd.conf
 
 virtualhost blog1.blogspot:80
 directory blog1
 /virtualhost
 
 virtualhost blog2.blogspot:80
 directory blog2
 /virtualhost

I believe you will want something more like the following:

NameVirtualHost  66.102.155.101:80

VirtualHost 66.102.155.101:80
ServerName blog1.blogspot.com
DocumentRoot /var/www/blog1
/VirtualHost

VirtualHost 66.102.155.101:80
ServerName blog2.blogspot.com
DocumentRoot /var/www/blog2
/VirtualHost

There is plenty of documentation about Name Based Virtual Hosts on the
apache.org website.  You should look there for further information. 
If you use IRC, you can also look for help on irc.freenode.net
#apache.

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


Re: how to rename a file with !, ?, and other strange chars?

2005-09-17 Thread Aaron Peterson
On 9/17/05, Gary Kline [EMAIL PROTECTED] wrote:
 
 I scarfed up a slew of php files that are around 100 bytes
 in strlen and with \  and other non-shell-friendly bytes.
 Is there a way to use perl to chop off the first N bytes?
 
 For example, a file many be named 1\
 2xyz\?3=Test.php.  What's the most logical way to
 perl this file to Test.php?

a script you run as:

% script.pl *

from the directory these files are in might look like:

foreach $old (@ARGV) {
  $new = $old;
  $new =~ s/\W//g;
  rename $old, $new;
}

That would remove all non word characters in the filename.  Perl
defines word characters as A-Z 0-9 and underscores.

or you could do something like this:

foreach $old (@ARGV) {
  $old =~ /(\w+\.php)/;
  rename $old, $1;
}

which catches any series of one or more word characters, a period, and
php in the variable $1.

There are lots of options, sounds like  you need a book on perl
maybe...  There is good online documentation here:

http://perldoc.perl.org/perl.html

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


Re: IPFW lockout.

2005-09-04 Thread Aaron Peterson
On 9/4/05, Grant Peel [EMAIL PROTECTED] wrote:
 
 Hi all,
 
 I have a small problem on one of my dev boxes. I have a bod bootup ipfw
 rulset and I find myself locked out of the machine.
 
 There will be a technician at the NOC on Tuesday that will be able to 
 assist
 me.
 
 My question is: Will he/she be able to simply reboot, logon as root as
 normal?
 
 - and then -
 
 disable IPFW in rc.conf ... or will the loopback rule not being present
 cause more mahem than I think it will?
 
 -Grant


Local logins should work as expected.
Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Four (even five) problems/queries on my FreeBSD installation

2005-09-02 Thread Aaron Peterson
 1. I installed KDM to make the computer a little more
 userfriendly, but now I can't run things as su. Emacs
 refuses to start for instance, and when I am trying to
 adjust things in Login Manager (in KControl) it asks me for
 the root password, I enter it, and then I bounce back. What
 is the problem? I still can run emacs as lars, but not as
 superuser. (I can su in a terminal window of course)

It is likely that the permissions for your X server deny new windows
to be opened except by the user who is running X.  So if the problem
you are describing is that you start X/KDE as a normal user, then open
a shell window and su to root and try to run Emacs as root, it likely
will not work.  You should however be able to run Emacs fine as the
same user you started X/KDE with.  You can try something like xhost
+ if you are in a fairly secure environment, or look at the man page
for xhost to find other options.  I don't know why KControl would
act that way, but I bet it is unrelated to your problems with Emacs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Re: WinXP administration guide for unix guru

2005-08-22 Thread Aaron Peterson
On 8/22/05, Joshua Weaver [EMAIL PROTECTED] wrote:
 What are the symptoms that you need administrator privileges? The default
 security scheme, even with the SP2 behemoth installed, require an
 administrator or power user to install the printer, but a user can print to
 it.  Is this just a postfix or pdl printer installed with a local tcp/ip
 port or are you connecting to a shared network printer off a samba machine?
 Is the sky really blue and will I get flamed for replying to a windows
 question? Only time will tell

I want to see a postfix printer :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp security

2005-08-15 Thread Aaron Peterson
On 8/15/05, stephen honea [EMAIL PROTECTED] wrote:
 I read http://www.freebsddiary.org/ftp-anonymous.php to try and secrue my ftp 
 server.
 The author sugested to add a line to my fstab:
 
 /dev/ad2s2f   /home/ftp/incoming ufs  rw,SUIDDIR2   2
 
 however i don't have the file ad2s2f in my /dev directory
 
 # DeviceMountpoint  FStype  Options DumpPass#
 /dev/ad0s1b noneswapsw  0   0
 /dev/ad0s1a /   ufs rw  1   1
 /dev/ad0s1e /tmpufs rw  2   2
 /dev/ad0s1f /usrufs rw  2   2
 /dev/ad0s1d /varufs rw  2   2
 /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
 #/dev/ad0s  /ftp/incoming   ufs rw,SUIDDIR  2   2
 
 [root]/etc-
 
 i don't really understand the fstab but I gather
 ad0s1 is the drive and a-f is the partitions created at boot time
 
 basicly i am trying to sticky a directory mounted by fstab

yes, if you didn't create a partition  /dev/ad2s2f then you can't
mount it or put it in fstab because it doesn't exist.  I think you are
mistaken that you are trying to turn on the sticky bit since you don't
need a separate partition for that by itself.  There are other
security features that go along with mounting the filesystem with the
SUIDDIR option. An excerpt from man mount:

  suiddir
 A directory on the mounted file system will respond to
 the SUID bit being set, by setting the owner of any new
 files to be the same as the owner of the directory.  New
 directories will inherit the bit from their parents.
 Execute bits are removed from the file, and it will not
 be given to root.

 This feature is designed for use on fileservers serving
 PC users via ftp, SAMBA, or netatalk.  It provides secu-
 rity holes for shell users and as such should not be used
 on shell machines, especially on home directories.  This
 option requires the SUIDDIR option in the kernel to work.
 Only UFS file systems support this option.  See chmod(2)
 for more information.

This requires planning ahead on your filesystem though, so that you
have space to create a separate partition for /home/ftp/incoming in
your case.  You could add another hard disk, or perhaps find a way to
rearrange your existing space.  It is usually easiest to set this stuf
up at install time though...

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


Re: ftp security

2005-08-15 Thread Aaron Peterson
On 8/15/05, stephen honea [EMAIL PROTECTED] wrote:
 I read http://www.freebsddiary.org/ftp-anonymous.php to try and secrue my ftp 
 server.
 The author sugested to add a line to my fstab:
 
 /dev/ad2s2f   /home/ftp/incoming ufs  rw,SUIDDIR2   2
 
 however i don't have the file ad2s2f in my /dev directory
 
 # DeviceMountpoint  FStype  Options DumpPass#
 /dev/ad0s1b noneswapsw  0   0
 /dev/ad0s1a /   ufs rw  1   1
 /dev/ad0s1e /tmpufs rw  2   2
 /dev/ad0s1f /usrufs rw  2   2
 /dev/ad0s1d /varufs rw  2   2
 /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
 #/dev/ad0s  /ftp/incoming   ufs rw,SUIDDIR  2   2
 
 [root]/etc-
 
 i don't really understand the fstab but I gather
 ad0s1 is the drive and a-f is the partitions created at boot time
 
 basicly i am trying to sticky a directory mounted by fstab

Matter of fact, it looks like you can turn this option on for a
directory with the chmod command without it being it's own separate
partition/filesystem...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple (very) Bash problem

2005-08-12 Thread Aaron Peterson
On 8/12/05, tg webb [EMAIL PROTECTED] wrote:
 In SuSe 9.1 and in the shell, Bash works fine until I attempt make.  It
 responds with unknown command.  I know I'm missing something obvious but
 what?  Any help gratefully received

It's a mystery why you're asking about SuSe here, but the obvious
answer could be that make doesn't exist on that system.  Lots of
Linux distributions that are binary package based (RPM, etc) don't
install a development environment by default.  I don't know how people
survive in a world without make, but apparently some do.

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


remote syslogging

2005-08-12 Thread Aaron Peterson
in /etc/rc.conf:

syslogd_enable=YES
syslogd_flags=-a 172.24.169.44/32:* -a 172.24.169.46/32:*

---

in syslog.conf:

!*
+chsfirewall1
local6.notice   /var/log/firewall/chsfirewall1.log

+chsfirewall2
local6.notice   /var/log/firewall/chsfirewall2.log



$ ls -l /var/log/firewall

total 0
-rw---  1 root  wheel  0 Aug 12 15:23 chsfirewall1.log
-rw---  1 root  wheel  0 Aug 12 15:33 chsfirewall2.log

-

in /etc/hosts

172.24.169.44   chsfirewall1
172.24.169.46   chsfirewall2

-

$ tcpdump -i fxp0 -w firewall.bin udp and dst port 514

15:58:57.151625 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 149
15:58:57.151763 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 149
15:58:57.151889 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 147
15:58:57.152014 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 147
15:58:57.152141 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 149
15:58:57.166549 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 149
15:58:57.166688 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 152
15:58:57.166817 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 149
15:58:57.166965 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 149
15:58:57.167194 IP chsfirewall1.blackjack  xavier.syslog: UDP, length: 148
15:58:59.086044 IP chsfirewall2.blackjack  xavier.syslog: UDP, length: 148
15:58:59.086179 IP chsfirewall2.blackjack  xavier.syslog: UDP, length: 148
15:58:59.086306 IP chsfirewall2.blackjack  xavier.syslog: UDP, length: 148
15:58:59.109459 IP chsfirewall2.blackjack  xavier.syslog: UDP, length: 149

ethereal outpug for the same traffic:

Frame 2226 (191 bytes on wire, 96 bytes captured)
Ethernet II, Src: 00:04:38:6f:42:04, Dst: 00:50:8b:6c:5d:eb
Internet Protocol, Src Addr: 172.24.169.44 (172.24.169.44), Dst Addr:
172.26.35.21 (172.26.35.21)
User Datagram Protocol, Src Port: blackjack (1025), Dst Port: syslog (514)
Syslog message: LOCAL6.NOTICE:  13445 08/12/2005 16:09:20 t...

No. TimeSourceDestination   Protocol Info
   2227 0.922397172.24.169.44 172.26.35.21  Syslog
  LOCAL6.NOTICE:  13445 08/12/2005 16:09:20 t...

Frame 2227 (190 bytes on wire, 96 bytes captured)
Ethernet II, Src: 00:04:38:6f:42:04, Dst: 00:50:8b:6c:5d:eb
Internet Protocol, Src Addr: 172.24.169.44 (172.24.169.44), Dst Addr:
172.26.35.21 (172.26.35.21)
User Datagram Protocol, Src Port: blackjack (1025), Dst Port: syslog (514)
Syslog message: LOCAL6.NOTICE:  13445 08/12/2005 16:09:20 t...

No. TimeSourceDestination   Protocol Info
   2228 2.841247172.24.169.46 172.26.35.21  Syslog
  LOCAL6.NOTICE:  6129 08/12/2005 16:05:34 tE...

Frame 2228 (190 bytes on wire, 96 bytes captured)
Ethernet II, Src: 00:04:38:6f:42:04, Dst: 00:50:8b:6c:5d:eb
Internet Protocol, Src Addr: 172.24.169.46 (172.24.169.46), Dst Addr:
172.26.35.21 (172.26.35.21)
User Datagram Protocol, Src Port: blackjack (1025), Dst Port: syslog (514)
Syslog message: LOCAL6.NOTICE:  6129 08/12/2005 16:05:34 tE...

No. TimeSourceDestination   Protocol Info
   2229 2.841382172.24.169.46 172.26.35.21  Syslog
  LOCAL6.NOTICE:  6129 08/12/2005 16:05:42 tE...

Frame 2229 (190 bytes on wire, 96 bytes captured)
Ethernet II, Src: 00:04:38:6f:42:04, Dst: 00:50:8b:6c:5d:eb
Internet Protocol, Src Addr: 172.24.169.46 (172.24.169.46), Dst Addr:
172.26.35.21 (172.26.35.21)
User Datagram Protocol, Src Port: blackjack (1025), Dst Port: syslog (514)
Syslog message: LOCAL6.NOTICE:  6129 08/12/2005 16:05:42 tE...

No. TimeSourceDestination   Protocol Info
   2230 2.841509172.24.169.46 172.26.35.21  Syslog
  LOCAL6.NOTICE:  6129 08/12/2005 16:05:47 tE...

Frame 2230 (190 bytes on wire, 96 bytes captured)
Ethernet II, Src: 00:04:38:6f:42:04, Dst: 00:50:8b:6c:5d:eb
Internet Protocol, Src Addr: 172.24.169.46 (172.24.169.46), Dst Addr:
172.26.35.21 (172.26.35.21)
User Datagram Protocol, Src Port: blackjack (1025), Dst Port: syslog (514)
Syslog message: LOCAL6.NOTICE:  6129 08/12/2005 16:05:47 tE...

No. TimeSourceDestination   Protocol Info
   2231 2.864662172.24.169.46 172.26.35.21  Syslog
  LOCAL6.NOTICE:  6129 08/12/2005 16:05:48 tE...

Frame 2231 (191 bytes on wire, 96 bytes captured)
Ethernet II, Src: 00:04:38:6f:42:04, Dst: 00:50:8b:6c:5d:eb
Internet Protocol, Src Addr: 172.24.169.46 (172.24.169.46), Dst Addr:
172.26.35.21 (172.26.35.21)
User Datagram Protocol, Src Port: blackjack (1025), Dst Port: syslog (514)
Syslog message: LOCAL6.NOTICE:  6129 08/12/2005 16:05:48 tE...

...

Nothing in /var/log/firewall/chsfirewall1.log or chsfirewall2.log

I must be missing something...

Re: [nycbug-talk] Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-12 Thread Aaron Peterson
 Even if you boot from the USB CD, there is a chance that FreeBSD load
 won't recognize the USB chipset, so you won't be able to choose the
 source for the installation media.

Unless of course, once you get the installer booted you choose a
network install source :-)

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


Re: Any suggestions for a MTA for a new admin?

2005-08-12 Thread Aaron Peterson
I have used sendmail some, postfix to its limits, and currently am
using courier-mta.  I'm using courier because it is an all in one
solution for webmail, mta, pop3, and imap.  It also easilly does mail
services for multiple domains with a number of configurable backends
(filesystem, database, etc...)

I really don't know which one is best.  I liked sendmail and postfix
alot.  courier-mta fit all my needs at the time though...

Having said that, it was a HUGE undertaking to set it up because it
was an all in one solution with many parts.  However, I finally got it
done, and seldom have to touch it for anything now.

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


Re: threading - good, bad, ugly?

2005-08-11 Thread Aaron Peterson
On 8/11/05, Dmitry Mityugov [EMAIL PROTECTED] wrote:
 On 8/11/05, Aaron Peterson [EMAIL PROTECTED] wrote:
  On 8/10/05, Kris Kennaway [EMAIL PROTECTED] wrote:
   On Wed, Aug 10, 2005 at 09:22:10PM -0400, Aaron Peterson wrote:
It used to be that lots of people told me threaded applications didn't
run efficiently on FreeBSD because the native threading libraries were
not very efficient.  I remember some work being done on them for the
5.x series though, and am wondering if this is still any issue to be
concerned about at all?  MySQL performance was the thing people harped
on the most IIRC...  Anyway, I was just curious about the status of
this.  Perhaps there was never any issue and it was all talk.  I
wouldn't know :-)
  
   Most of this discussion is only applicable to 4.x and older and does
   not consider the fundamentally different thread library in 5.x, which
   was rewritten to avoid the problems of the older version.
  
   Kris
 
  Sounds like I shouldn't have any problems then since I'm all upgraded
  to 5.3 and 5.4 for the servers I manage.  Do you know of any
  performance comparisons for MySQL performance between FreeBSD 5.x and
  other operating systems one might run MySQL on?
 
 This article http://software.newsforge.com/article.pl?sid=04/12/27/1243207
 compares performance of mySQL on OpenBSD 3.6, NetBSD 2.0, FreeBSD 5.3
 and 4.10, Solaris Express (build 69) and Linux 2.4 and 2.6.
 
 --
 Dmitry Mityugov, St. Petersburg, Russia
 I ignore all messages with confidentiality statements
 
 We live less by imagination than despite it - Rockwell Kent, N by E
 

Thank you, that was exactly the type of thing I was looking for...
Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tunneling / IPSec

2005-08-11 Thread Aaron Peterson
I've recently been through the relatively simple process of setting up
IPSec IP in IP tunnels between two FreeBSD boxes using gif interfaces
for the tunneling portion, native IPSec and the racoon port.

Best I can tell, this only works between two devices whose IP
addresses are directly accessable to each other (no NAT).

I'm wondering if there is an easy way to make this same tunnel work
through NAT, and/or if there is some other easy to implement
alternative that works through NAT.  I was thinking of tunneling the
encrypted IP packets over a TCP connection maybe.  But my thoughts
aren't always the right ones :-)  Is there a pseudo-interface that
allows tunneling over a tcp connection in a similar way to the gif
interface?

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


threading - good, bad, ugly?

2005-08-10 Thread Aaron Peterson
It used to be that lots of people told me threaded applications didn't
run efficiently on FreeBSD because the native threading libraries were
not very efficient.  I remember some work being done on them for the
5.x series though, and am wondering if this is still any issue to be
concerned about at all?  MySQL performance was the thing people harped
on the most IIRC...  Anyway, I was just curious about the status of
this.  Perhaps there was never any issue and it was all talk.  I
wouldn't know :-)

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


Re: threading - good, bad, ugly?

2005-08-10 Thread Aaron Peterson
On 8/10/05, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Wed, Aug 10, 2005 at 09:22:10PM -0400, Aaron Peterson wrote:
  It used to be that lots of people told me threaded applications didn't
  run efficiently on FreeBSD because the native threading libraries were
  not very efficient.  I remember some work being done on them for the
  5.x series though, and am wondering if this is still any issue to be
  concerned about at all?  MySQL performance was the thing people harped
  on the most IIRC...  Anyway, I was just curious about the status of
  this.  Perhaps there was never any issue and it was all talk.  I
  wouldn't know :-)
 
 Most of this discussion is only applicable to 4.x and older and does
 not consider the fundamentally different thread library in 5.x, which
 was rewritten to avoid the problems of the older version.
 
 Kris

Sounds like I shouldn't have any problems then since I'm all upgraded
to 5.3 and 5.4 for the servers I manage.  Do you know of any
performance comparisons for MySQL performance between FreeBSD 5.x and
other operating systems one might run MySQL on?

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


Re: Command Not Found error message

2005-07-30 Thread Aaron Peterson
On 7/30/05, Gerard Seibert [EMAIL PROTECTED] wrote:
 When running 'portsclean' from CRON, this message is sent to the root
 mailbox. In fact, there are several of them in the mailbox. I do not
 know what it means.
 
 /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:31: command not found: uname -rm
 uname(1) could be broken - cannot parse the output:
 make: not found
 ** Error occured reading /usr/local/etc/pkgtools.conf:
 uninitialized constant PkgConfig::OS_PLATFORM
 
 When I run the 'uname -rm' command from the command line, it produces
 this output.
 
 5.4-RELEASE I386
  
 --
 Gerard E. Seibert
 [EMAIL PROTECTED]

You might need to define your path in your crontab file with something
like this:

PATH=${PATH}:/usr/bin

(because uname is in /usr/bin)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bash prompt

2005-07-18 Thread Aaron Peterson
On 7/17/05, Alex Yarmol [EMAIL PROTECTED] wrote:
 How I can chage my bash prompt to this:
 
 [EMAIL PROTECTED] directory-name(e. g. alex for /usr/home/alex)]$
 
 I assume that I need to do that:
 
 export PS1='[EMAIL PROTECTED] \(here i don't know what to do, i assume, that I
 need to write \p or \P, but it's not working)]\$

\w lowercase should give you the full path
\W uppercase gives the last component of the path, so given:

[EMAIL PROTECTED] /]$ cd /usr/local/etc
[EMAIL PROTECTED] etc]$

which tend to prefer to the full path, but you didn't ask what I prefer :-)
Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Change of FQDN

2005-07-18 Thread Aaron Peterson
 Just a quick question, I need to change the domain name of a machine
 running 5.4. I see that it is set when the machine boots up but I can't
 find out where is is set.
 
 Rob

Generally in /etc/rc.conf

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


Re: Change of FQDN

2005-07-18 Thread Aaron Peterson
On 7/18/05, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 Aaron Peterson [EMAIL PROTECTED] writes:
 
  hostname=www.mydomain.com
 
 Say I have two Ethernet ports and I'd like to be gary.mydomain.com on
 one and gary2.mydomain.com or gary.mydomain2.com on the other; then
 what?
 
 A computer's domain name is set in several places -- not always the
 same values.  Most commonly they're in DNS servers and /etc/hosts and,
 of course, the computer's kernel as set by the hostname command (eg,
 using /etc/rc.conf's hostname variable).  But since there's only one
 hostname setting, which can't always match all the others, it's
 never made sense to me to set hostname to any public Internet domain
 name.  (And I never have, IIRC.)
 
 And according to BCP-32, at http://www.rfc-editor.org/rfc/rfc2606.txt,
 localhost is the traditional top-level domain name pointing to the
 loop back IP address (which I think of as the 127/24 network), and it
 should be used to help keep broken DNS software from using any bogus
 domain on the Internet except well-known ones like localhost.
 
 Though the hostname command allows use of a top-level domain, other
 software doesn't (eg, sendmail), so it seems that a good domain is
 something.localhost, where something may be localhost, which
 might avoid some problems with broken software, or something more
 creative and maybe assigned uniquely to each of a group of computers.
 It is not used in the public (or maybe even a private) DNS system,
 except as an identifier for log files.
 
 Am I missing something?  It's quite likely.  What other software
 than sendmail needs my single hostname and when?

Setting your public dns names on your dns servers and possibly in
/etc/hosts is probably a better option depending on your goals.  An
arbitrary hostname has been fine for me in all cases.  Do whatever
accomplishes your goals.

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


Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Aaron Peterson
On 7/14/05, Björn König [EMAIL PROTECTED] wrote:
 Rick Preston wrote:
 
  I was going to offer something more complicated, thanks for the tip.
  I came to realize that both our ideas require shutting down the
  system.  What would be the safest way to do that with out causing
  potential damage to the system, without root access?
 
 Turn it off. It's not safe, but the only way that I know unless you
 don't have a user that is member of the group 'operator'. These users
 are allowed to use the 'shutdown' command with root privileges:
 
   ls -l /sbin/shutdown
 -r-sr-x---  1 root  operator  10148 Jul 11 14:12 /sbin/shutdown
 
 Björn

I was under the impression that if you had physical access to the
console and a default init setup, ctrl-alt-delete would reboot even if
one wasn't logged in...  perhaps I'm mistaken though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keeping RELEASE_4_10 current?

2005-07-13 Thread Aaron Peterson
login as root...

pkg_add -r cvsup-without-gui

rehash

cat /usr/share/examples/cvsup/standard-supfile | sed
's/CHANGE_THIS/cvsup3/'  /etc/cvsupfile

cat /usr/share/examples/cvsup/ports-supfile | sed
's/CHANGE_THIS/cvsup3/'  /etc/cvsupfile

cvsup /etc/cvsupfile

cd /usr/ports/sysutils/portupgrade  make install clean  rehash

pkgdb -F  portsdb -uU  portupgrade -arR
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: root passwd

2005-07-07 Thread Aaron Peterson
On 7/7/05, शंतनु (Shantanoo) [EMAIL PROTECTED] wrote:
 On 7/7/05, billy gates [EMAIL PROTECTED] wrote:
  can you help me to get root passwd without boot loader?(may be software for 
  windows or linux)
 
 password is stored as the md5 of the string. can't be reverse engineered.
 
 Regards,
 Shantanoo

Of course, you can change the root password if you have physical
access to the machine.  Boot into single user mode, mount -a, and
use the passwd command to make a new password.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Some doubts to start

2005-07-05 Thread Aaron Peterson
On 7/5/05, Efren Bravo [EMAIL PROTECTED] wrote:
 Hello list,
 
 How you will realize I'm new in unix. I've been reading about freeBSD
 and I wish to know what is the meaning of:
 
 1-Font Server.
 2-NFS Server and NFS Server
 3-Ports
 
  From freeBSD can I start a graphical environment like KDE and GNome.
 Which of them would be recommended?
 
 Best regards

A font server is what it sounds like.  It is a daemon that runs in a
centralized location where you can install fonts and serve them out to
multiple networked clients.

A NFS server is a file server similar to MS Windows file sharing.  NFS
is in common use on Unix.

Ports are a collection of 3rd party packages that you can compile and
install via pre-written scripts on BSD.  Generally you download a
ports tree which is a directory tree full of these scripts.  You
find the one you want to install, cd to it's directory and type
something like make  make install and it is downloaded compiled
and installed in an automated fashion.

There is more information on all of these things in the online FreeBSD
handbook found here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

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


GBDE - howto 2 factor auth?

2005-06-30 Thread Aaron Peterson
I've found a few placed where Poul-Henning Kamp mentions that gbde
will accept any byte string as a passphrase and that the design of
gbde also makes 2 factor authentication possible.  I took that to
understand that I might be able to use a file of random data from a
usb key (something I have) and a text passphrase (something I know) to
encrypt my partitions (which I also think Poul mentions somewhere).  I
can't find any documentation on how this might be accomplished though.
 The closest thing I've found was a mailing list message from a couple
years ago where someone had written a script to collect the
information and run it through md5 to create a single text string that
could be used on the command line with gbde and the -P/-p switches. 
With this md5 method, it seems (to my uneducated mind) that I'd be
taking all the randomness in the file and my passphrase and turning it
into a single fixed length string of lower case letters and numerals. 
Seems like there would be a better way.  Plus you're putting the
completed passphrase on the commandline where it can potentially be
seen/copied by ps, etc...

Does anyone else know the way this was intended to work?  Can I just
pipe the contents of a file to gbde and then it still prompts me for
text that it combines to use for my passphrase?  That would be nice if
it were that simple.

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


Re: Test messages to -questions (was: juste a test do not answer)

2005-06-30 Thread Aaron Peterson
On 6/30/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 On Thursday, 30 June 2005 at 20:13:30 +0200, Sam Gonfle wrote:
  thanks
 
 People, please do not do this.  It's an incredible waste of time and
 bandwidth.  We have the test@ list for exactly this purpose.
 
 Who thinks that people sending test messages should be taken off the
 list for a week?
 
 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 The virus contained in this message was detected by LEMIS anti-virus.
 
 Finger [EMAIL PROTECTED] for PGP public key.
 See complete headers for address and phone numbers.

I prefer tying them to a post and flogging them.  Just my two cents :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hauppauge WinTV bt878 card

2004-11-20 Thread Aaron Peterson
I'm running 5.3, loaded the bktr module, and installed fxtv.  I get
video, but no audio.  I was able to get audio without patching the audio
out from the tv card to the line in on the soundcard with linux by
compiling a driver into the kernel for the built in audio device on the
tv card.  I don't know exactly how this works on freebsd though and
would like to get some sound going with the tv picture :)

Additionally, i would like to use mplayer/mencoder and can't seem to get
that working either.  I can't even get video there it seems...

I tried:

mplayer tv://4 -tv driver=bsdbt848:channel=4 

but just got a big blue screen

If anyone has done all this and could offer me some hints I would be
most grateful!

-- 
The zen of unix involves typeey typeey not clicky clicky.  --Rich Bowen


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


Compaq DL380 Woes Continue

2004-06-16 Thread Aaron Peterson
Everything worked great until I recompiled the kernel.  I used the
GENERIC config file edited in two ways:

I removed all the cpu lines at the top except for cpu I686_CPU since
this machine has dual p3 733s.  Secondly, I uncommented options SMP
and options APIC_IO to enable SMP per the comment above the options.

When I reboot, early in the kernel boot I get:

Changing APIC ID for IO APIC #0 from 0 to 8 on chip
Programming 35 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0

Then it hangs indefinitely.  Any ideas?  I can reboot, and hit any key
to give loader options, unload, load /kernel.old, boot and it
boots fine from the old single proc kernel still.  I really want to make
use of the extra processor though, it would seem a waste not to.

Aaron


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


Can't boot install cd (Compaq DL380)

2004-06-15 Thread Aaron Peterson
hah, had to transcribe this whole thing with pen and paper since I
couldn't think of any other way to copy it.  I put the install cd in for
FreeBSD 4.10, turn on the server, hit [Enter] to boot immediately
instead of going to command prompt.  in the Kernel Configuration menu, I
just skip and boot the default kernel.  It finds devices that scroll
accross the screen, network cards:

NMI ISA a0, EISA ff
RAM parity error, likely hardware failure

Fatal Trap 19: non-maskable interrupt while in kernel mode
instruction pointer = 0x8:0xc02f56a6
stack pointer   = 0x10:0xc084bf20
frame pointer   = 0x10:0xc084bf34
code segment= base 0x0, limit 0xf, type 0x16
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, IOPL = 0
current process = 0 (swapper)
interrupt mask  = net tty bio cam
trap number = 19
panic: non-maskable interrupt trap
Uptime: 0s

This is a Compaq DL380 server (dual P3 733s and ECC RAM).  I've swapped
out each memory module with a known good memory module one by one, and
every configuration still generates this error.  OpenBSD and Redhat seem
to run just fine on this machine too.  What can I do?  I don't
understand what is generating this error exactly so I don't know where
to start.

The install cd for FreeBSD 4.9 generated the same error.  The install cd
for 5.1 hangs without error messages.  if it is important for me to give
you more information about that I will go test it again and write down
the screen contents.  What i really want is 4.10 though.

Aaron


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


Re: Can't boot install cd (Compaq DL380)

2004-06-15 Thread Aaron Peterson
 Hi!
 
 Well, ok, I assume that you got a Dl 380 Generation 1, with the white
 case, and also 4U form factor, that has an ida RAID controller as
 PCI-card.

That is correct.

 I had one of those running with FreeBSD 4.7, later updated to 4.8-stable
 with cvsup.
 Ok, I had only one CPU in, and I had the OS type in SETUP set to NT4. Do
 not set to
 linux or SCO, that could impose problems.

I checked the OS setting in Setup.  It was set to NT, however changing
it to anything besides NT only seemed to change one of the PCI boards
from using IRQ 5 to use IRQ 10 instead.  I don't think that would make
the difference anyway, but what do I know. Any other ideas?

Aaron


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


Re: Can't boot install cd (Compaq DL380)

2004-06-15 Thread Aaron Peterson
On Tue, 2004-06-15 at 10:01, Aaron Peterson wrote:
 hah, had to transcribe this whole thing with pen and paper since I
 couldn't think of any other way to copy it.  I put the install cd in for
 FreeBSD 4.10, turn on the server, hit [Enter] to boot immediately
 instead of going to command prompt.  in the Kernel Configuration menu, I
 just skip and boot the default kernel.  It finds devices that scroll
 accross the screen, network cards:
 
 NMI ISA a0, EISA ff
 RAM parity error, likely hardware failure
 
 Fatal Trap 19: non-maskable interrupt while in kernel mode
 instruction pointer   = 0x8:0xc02f56a6
 stack pointer = 0x10:0xc084bf20
 frame pointer = 0x10:0xc084bf34
 code segment  = base 0x0, limit 0xf, type 0x16
   = DPL 0, pres 1, def32 1, gran 1
 processor eflags  = interrupt enabled, IOPL = 0
 current process   = 0 (swapper)
 interrupt mask= net tty bio cam
 trap number   = 19
 panic: non-maskable interrupt trap
 Uptime: 0s
 
 This is a Compaq DL380 server (dual P3 733s and ECC RAM).  I've swapped
 out each memory module with a known good memory module one by one, and
 every configuration still generates this error.  OpenBSD and Redhat seem
 to run just fine on this machine too.  What can I do?  I don't
 understand what is generating this error exactly so I don't know where
 to start.
 
 The install cd for FreeBSD 4.9 generated the same error.  The install cd
 for 5.1 hangs without error messages.  if it is important for me to give
 you more information about that I will go test it again and write down
 the screen contents.  What i really want is 4.10 though.
 
 Aaron

Turns out, it didn't like that I had put a NIC in the bottom PCI slot on
the riser card.  I moved it up a slot, and presto worko.  How might I
have known the problem was related to the PCI NIC from the kernel output
above?
-- 
Aaron Peterson [EMAIL PROTECTED]


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


Re: perl coding ?

2004-04-21 Thread Aaron Peterson
 An temp field $dup-counter contains an counter that is
 suffixed with x as in 23x  have no idea how big of an
 number the counter can grow to. The suffix is all ways
 one position but has different alpha values.

 How do I separate $dup-counter into two new  fields?
 $dup-number  and  $dup-sufix

 This will do it:

 $dup-number = substr($dup-counter, 0, length($dup-counter) - 1);
 $dup-suffix = substr($dup-counter, -1, 1);

or alternately:

($dup-number,$dup-suffix) = $dup-counter =~ /(\d+)(\w+)/;

the regex could be loosened or made more strict as needed...
aaron
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Postfix - Sasl - mysql

2004-04-07 Thread Aaron Peterson

  I added the cyrus-sasl2 port (also chose support for it in
 postfix port)
  WITH_MYSQL.
 
  No go.
 
  I added the following lines to
 /usr/local/lib/sasl2/smtpd.conf (found this
  in another faq/tutorial, so it may be incorrect)
 
  sasl_pwcheck_method: auxprop
  sasl_auxprop_plugin: sql
sql_engine: mysql
mech_list: login plain crammd6 digestmd5
  sql_user: postfix-user
  sql_passwd: thepassword
  sql_database: postfix
  sql_statement: SELECT password FROM mailbox WHERE username = '%u'
  sql_verbose: yes

I used those instructions, although I modified some for my specific
configuration.  the username field in my database is
[EMAIL PROTECTED] however.  I had to create a plain-text password
field that i modified the php scripts to create as part of the normal
process of things because the auxprop plugin alone didn't understand
anything but plain text.  you can use the PAM sasl plugin from what I
understand, and configure pam to use mysql with it's native plugin in
order to use encrypted passwords in the mysql database.  I haven't looked
at this stuff in a while, so my memory isn't so clear and things may have
changed...

Here's my working smtpd.conf:

# smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login

sql_engine: mysql
sql_hostnames: localhost
sql_user: postfix-user
sql_passwd: thepassword
sql_database: postfix
sql_select: select pass_plain from mailbox where username='[EMAIL PROTECTED]'

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


Re: Enabling linux compatibility

2004-03-22 Thread Aaron Peterson
 When I installed my system, it asked if I wanted to enable linux
 compatibility, and I said no. Now I think I may need it, and am
 wondering if I need to do anything special to enable it, other than
 setting

 linux_enable=YES

 in /etc/rc.conf.

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


You will need to install one of the linux-base packages from ports.  the
plain vanilla one is the most stable in my experience...

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


audio playback during processor intense activity

2004-03-20 Thread Aaron Peterson
I have a Dell workstation with dual P3 933 Xeons, 256M ECC RDRAM, 2 18G
Ultra160 SCSI drives.  It is loaded with FreeBSD 4.9, and the only thing
I've changed about the kernel configuration is the 2 options to turn on
SMP capability.  During processor intensive activities like encoding mpeg4
from dvd with mencoder, xmms audio playback frequently jitters for lack
of a better term.  I never experienced this with my 2.4GHz Celeron
machine, with normal pc hardware (DDR, ATA disk, etc).  I'm wondering if
there's something I can tweak, perhaps with sysctl, that will improve my
situation.  I was under the impression that a dual cpu would load balance
processor usage better, and at the very least i could run mencoder on one
processor and everything else on the other.  Is this likely to be caused
by some other system hardware?  I'm using a Sound Blaster Live card, which
I think should be well supported by now and is not a bottom of the line
sound card.

As a side note, it is interesting to me that when watching top, the
mencoder xmms processes (as well as all the other processes) seem to jump
back and forth between processors.  Why would they do that?  So sometimes
xmms and mencoder end up on the same processor...  I'm sure I will see
this problem with other applications as well, this is just my real world
situation at the moment...

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


Re: John The Ripper?

2004-03-18 Thread Aaron Peterson
 Does anyone know the best way to execute john the ripper against freebsd
 password files?  I'm testing the strength of my own passwords and have
 never
 used this software for.  The way it looks to me, I need to obtain a
 dictionary file, or pound on the keyboard to have john start guessing
 passwords.

you will need a merged (old style) password file to give john, and i
believe there are some easy programs you can run as root to accomplish
this (although i don't know their names off hand).  What i mean is
generally these days most unix like systems have a password file without
actual password hashes in them that are world readable, and a separate
file/db containing the password hashes for each account that is only
readable by root.  they must be merged into one file for john to crack. 
then i think it's a simple as typing 'john passwordfile' if you want brute
force rather than dictionary.

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


Re: FreeBSD - Linux / Unix ?

2004-03-17 Thread Aaron Peterson
 Hey there,
 I am a FreeBSD user, I have a debate with someone about FreeBSD.
 And I would like you to answer our little debate, FreeBSD is:
 A.  Linux
 B.  Unix
 C.  Something else ( Tell us what ;P )

It's evolved from the original Unix.

http://www.freebsd.org/cgi/cvsweb.cgi/src/share/misc/bsd-family-tree?rev=1.79content-type=text/x-cvsweb-markup
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how does linux emulation work?

2004-03-11 Thread Aaron Peterson
I'm under the impression that linux.ko provides linux kernel emulation,
and linux binary base libraries are installed in /compat/linux/ for linux
binaries to use in linux emulation mode.  when you execute a linux binary
(recognized by branding in the binary) it runs chrooted to /compat/linux/
so it uses the linux libraries, and that's that.  is there more too it
than that?  is there any reason i cant copy my distro of choice from a
fresh installation into /compat/linux/, load linux.ko and be on my way
with it?

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


Re: sasl2--saslauthd--pam--mysql issue

2004-03-09 Thread Aaron Peterson
 If I set pwcheck_method to auxprop and authenticate against sasldb2
 which has a single user of [EMAIL PROTECTED] in it, along with it's
 password, I can auth just fine from mozilla, where I told it my user
 name was [EMAIL PROTECTED].

 However, if I change it from auxprop to saslauthd, which calls pam,
 which does a mysql lookup instead, it fails. It opens the correct
 database and table, and selects the right fields, but it asks for a
 username of ste, instead of [EMAIL PROTECTED], so it doesn't find
 the password, and fails.

 Why is it only asking for ste, and how do I get it to ask for the
 right value?

If you have plain text passwords in your MySQL database, you don't need
PAM to look them up.  SASL2 has this ability natively.  In any case,
perhaps my smtpd.conf will help you in the right direction.  Documentation
for SASL/SASL2 with MySQL is terrible, if you can find any at all I've
found.

$ cat smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login

sql_engine: mysql
sql_hostnames: localhost
sql_user: mailuser
sql_passwd: password
sql_database: postfix
sql_select: select pass_plain from mailbox where username='[EMAIL PROTECTED]'

the [EMAIL PROTECTED] at the end of the select statement is probably the magic
you're looking for if you don't use PAM.

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


Re: xterm

2004-03-05 Thread Aaron Peterson
   I use  xterm  a lot and I always set the font size to
 tiny  which requires (to my current knowledge) an additional
 action (this action is particularly reprehensible to me because
 it requires that I use both hands, one on the mouse and one on
 the keyboard) after the window is opened.  Is there anyway I
 can specify this along with the  xterm  invocation, say by
 setting an environment variable appropriately?

you might check into setting options for xterm in the .Xdefaults file of
your home directory...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


.Xdefaults info (global xterm resizing continued)

2004-03-05 Thread Aaron Peterson
sorry to start a new thread.  i accidentally deleted all my mail from the
main thread.

check out man xrdb and the following links

https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20020202104217

http://www.saao.ac.za/unix/node73.html

(these were at the top of my search results on google for the term
.Xdefaults.  Often you can find all the information you need using
google.)

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


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Aaron Peterson
 Have you compiled the following in your kernel?

 device  pcm
 device  sbc

or alternatively add this to your /boot/loader.conf

snd_ich_load=YES

then run kldload snd_ich.ko as root...

adding to loader.conf makes the proper sound driver load at boot, the
kldload command loads it from the command line so you don't have to
reboot.

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


Re: Curious sound problem in 5.2.1-R

2004-03-03 Thread Aaron Peterson
 or alternatively add this to your /boot/loader.conf

 snd_ich_load=YES

 then run kldload snd_ich.ko as root...

 adding to loader.conf makes the proper sound driver load at boot, the
 kldload command loads it from the command line so you don't have to
 reboot.

 Thanks Aaron, that's all I needed to do.  If you don't mind, how does
 a mere mortal determine that the snd_ich.ko is the module for an Intel
 ICH5 82801EB sound chip?

i'm quite sure i figured it out the long way.  However, it was quick and
dirty, and should work on any system I think...

1) I installed, xmms (or any program to play audio I think would work)
2) ran a short shell script as follows:

cd $MODULES_DIRECTORY  # /modules on 4.x and /boot/kernel on 5.x
for f in snd_*; do kldload $f; done #this loads every possible sound module

3) play music with xmms
4) while music is playing execute the following:

cd $MODULES_DIRECTORY
for f in snd_*; do kldunload $f; done #this unloads all snd modules,
however the one in use fails :)

5) kldstat # to view current loaded modules.

I'm sure I could just have looked it up somewhere, but I'm backwards.
Aaron

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


Re: ReiserFS Support in FreeBSD?

2004-02-27 Thread Aaron Peterson
-snip-
 Im assuming is supports ext3.

 Via ext2fs backwards-compatibility, yes.

The ext2 support that can be custom compiled into the freebsd kernel is
definitely sufficient to mount and read data from ext2 formatted
partitions.  i have heard though, and perhaps someone on this list might
confirm or discredit this notion, that attempting to use ext2 support (not
journal aware) for writing on an ext3 (with journal) partition can ruin
the journals on the filesystem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


setting up a printer - best method?

2004-02-27 Thread Aaron Peterson
I've read the handbook on setting up bsd style printers, and i've used
cups some before i started using freebsd.  the bsd style printing
mechanism looks complicated to me, i didn't have consistent success with
cups.  i'm interested in what method is generally the easiest and what
method is the best. the two printers i will deal with most are a parallel
port panasonic laser printer i have at home that i would like to set up as
a shared network printer (shared through my bsd box with other bsd boxes
and a windows XP laptop) so all my home computers can use it, and a big
lexmark laser printer at work that is networked (has an ethernet card in
the printer).  would somebody with experience setting up printing for bsd
machines give me some direction, suggestions, or pointers? (links to
useful articles-howtos are always welcome)  and perhaps, what is outlined
in the handbook is the best way to go.  i just wanted to ask.

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


Re: Proftp

2004-02-24 Thread Aaron Peterson
I prefer putting:

ScoreboardFile  /var/run/proftpd.scoreboard

in /usr/local/etc/proftpd.conf, personally

and touching the file did seem to solve that particular error message for
me.  However, this was not a particularly intuitive solution, and I'm not
sure why the port is set up to require the manual step of either creating
the directory for the default location of the scoreboard file or moving
it.  Even after this, the default rc.d script from ports doesn't seem to
work for me.  Instead of figuring it out, i just ran proftpd the manual
way you did from the command line with:

/usr/local/libexec/proftpd

and that started the daemon.

I haven't done it yet, but probably rewriting the init script more simply
so that it does only what worked for me at the command line would solve
that problem.

 I've decided to install proftpd from ports since (it is said) to be more
 robust than the FBSD ftpd daemon.

 I went to /usr/ports/ftp/proftpd. The port downloaded, compiled, and
 appeared to install correctly. I edited /etc/rc.conf to make sure that
 the /usr/local/etc/rc.d/proftpd.sh would run at boot time. I checked
 file proftpd.conf to make sure it was in standalone mode.

 However, it does not start. If I manually run the command
 /usr/local/libexec/proftpd start, I receive this error message:

   error opening scoreboard: no such file or directory

 According to the man page, there should be a file called
 /var/run/run/proftpd/proftpd.scoreboard but I see that it does not exist
 on my machine. I tried creating it with the touch command, but  that
 doesn't really do anything useful. In fact, I know from running
 Slackware that this should be a binary file, not an empty file, so I
 didn't have much hope that this would solve anything.

 I also tried starting Proftp from /etc/inetd.conf, but that was also
 unsuccessful. Again, I received the same error about the missing
 scoreboard.

 At this point, I'm stumped, so I hope that somebody who has succeeded in
 getting Proftp working on FBSD has some advice.

 TIA,
 Robert
 ___
 [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]


filesystem permissions using dump on live filesystem

2004-02-23 Thread Aaron Peterson
i put a user in the operator group in /etc/group:

wkstn% pw groupshow operator
operator:*:5:root,alpete

and attempted to dump a live filesystem:

wkstn% dump -L -0u -f /mnt/storage/incoming/dump_test.dmp /usr
/sbin/mksnap_ffs: Permission denied
dump: Cannot create /usr/.snap/dump_snapshot: No such file or directory

wkstn%

wkstn% ls -la /usr
total 58
drwxr-xr-x  20 root  wheel  512 Feb 14 20:32 ./
drwxr-xr-x  20 root  wheel  512 Feb 20 00:58 ../
drwxrwxr-x   2 root  operator   512 Feb 13 18:59 .snap/
 --snip--

wkstn% cd /usr/.snap
wkstn% touch test.tmp
touch: test.tmp: Permission denied
wkstn%

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


Re: filesystem permissions using dump on live filesystem

2004-02-23 Thread Aaron Peterson
 i put a user in the operator group in /etc/group:

-snip-

 and attempted to dump a live filesystem:

-snip-

 what am i missing here?

nevermind.  i had to log out and log back in.  that solved me problems. 
now my only question is why does one have to log out and log in for
addition to a new group to take effect?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I have a dream, of a help/manual/doc system, which is simple to use?

2004-02-22 Thread Aaron Peterson
 The website for freebsd is www.freebsd.org and on the main page you can
 find the handbook which leads to www.freebsd.org/handbook

 --
 Alex

and of course the manual pages that install with each of the some 1
add on programs.  man program name
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Embarrassing typo [was: Re: New]

2004-02-20 Thread Aaron Peterson
 On Thu, 19 Feb 2004 16:19:25 +0100
 Benjamin Walkenhorst [EMAIL PROTECTED] wrote:

 FreeBSD is very similar to windows, in many ways, from a user's point
 of view.

 I'm sorry, FreeBSD is in not quite similar to windows. What I meant to
 say was: very similar to Linux, from a user's point of view

 Kind regards,

 Benjamin

Hah, that is a very funny mistake. :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Embarrassing typo [was: Re: New]

2004-02-20 Thread Aaron Peterson
 It does make for interesting analysis as a type
 of Freudian slip, though

i was able to resist the temptation myself, but i was just waiting for
somebody here to say it :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My fault or just Spam

2004-02-18 Thread Aaron Peterson
unfortunately, it's likely it's your fault for using email, hehe...  at
least one of the recent windows viruses steals addresses from the address
books of infected machines and sends out mail to/from those addresses. 
It's likely that someone that had your address in their address book was
infected and your email address got abused as a result.  i have definitely
felt the pain of that over the last month, as i'm sure many others have. 
i can't even avoid the pain of using windows by not using windows anymore.
 i have to convince everyone i know not to use windows :)

aaron

 I've fairly recently setup a mail server to:

 1) learn about email and server configurations and all that goes along
 with administrating it.

 2) And being able to recieve loads of email from freebsd-questions without
 fear of restriction on any other account (i.e. loss of email that I want
 to save).

 Anyhow, within the month that I've had my server running I've been
 recieving numerous emails that are obviously malicious to Windows users
 (i.e. contain an attachment with some random-letters.exe and nonsense
 about a patch). In short my concern is not that me or my wife will run
 this, sense we don't use Windows, but whether these emails are just spam
 or if it is my fault.

 If said emails are just spam, fine. Not to say that I like spam but it
 gives me a reason to learn how to setup a spam filter and/or tarpit. The
 reason I worry that it's not just spam is that there are only 2 accounts,
 mine and my wifes, and she doesn't use her's except to email me and I've
 only used mine to setup freebsd-questions and email her. So why would I be
 getting spam? So then I think maybe it's my fault.

 What I mean by my fault is, is my machine being used to relay spam and
 then I am getting bounces from the poor people recieve this crap? I really
 would hate for this to be the case. Even if said emails are not my fault
 how do I assure that I am not relaying spam unbeknown to me?

 This is a sample header from one such email. Now I'm not too sure how to
 take this.

 Return-Path: [EMAIL PROTECTED]
 Received: from mail.themango.org ([unix socket])
  by mail.themango.org (Cyrus v2.2.3) with LMTP; Tue, 17 Feb 2004
 16:06:23 -0600
 X-Sieve: CMU Sieve 2.2
 Received: from centennialrd.net (unknown [196.32.150.6])
  by themango.org (Postfix) with ESMTP id B2194450F2
  for [EMAIL PROTECTED]; Tue, 17 Feb 2004 16:06:21 -0600 (CST)
 Received: from qexstrg (jp [196.32.129.120])
  by centennialrd.net (8.12.10/8.12.10) with SMTP id i1HLwZHp022746;
  Tue, 17 Feb 2004 17:58:36 -0400
 Date: Tue, 17 Feb 2004 17:58:35 -0400
 Message-Id: [EMAIL PROTECTED]
 From: Technical Bulletin [EMAIL PROTECTED]
 To: MS User [EMAIL PROTECTED]
 SUBJECT: Newest Microsoft Patch
 Mime-Version: 1.0
 Content-Type: multipart/mixed; boundary=bicnhrvs

 My configuration is FreeBSD 5.2.1, Postfix + Cyrus

 Thanks for any help,

 Luke
 ___
 [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: Internet connection sharing

2004-02-15 Thread Aaron Peterson
/etc/rc.conf

 I am new to FreeBSD. I am evaluating it as a possible replacement for my
 in house desktops and ultimately a replacement for my redhat Internet
 server.

 I installed 4.9 without a hitch and decided to go ahead and install 5.2 in
 order to avoid potential upgrade issues mentioned on the BSD wed site.

 I am having problems with internet connection sharing. The computer is
 seeing my network but is not seeing the Internet through my gateway
 computer. I think that I may have incorrectly entered the gateway IP
 during install. I have checked the FAQ and HandBook for the name and
 location of the file that contains the Gateway IP with no success.

 Can you please help me locate this file so I can confirm my settings.

 Thanks


 Lance Earl
 DallyPost, Inc.
 208-548-2721
 ___
 [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]


slice editor in sysinstall

2004-02-15 Thread Aaron Peterson
after the install, can i run a curses based slice/partition editor like
those used in sysinstall without actually running sysinstall?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


irssi, ld-elf.so.1, and perl something

2004-02-13 Thread Aaron Peterson
/usr/libexec/ld-elf.so.1: irssi: Undefined symbol Perl_eval_pv

this is the error i'm receiving when i try to run irssi installed from
ports.  it used to work and has broken recently, perhaps through some
complication with buildworld or portupgrade -arR.  In any case, i'm
running fbsd 4.9 with a generic kernel (minus cpu i386, 486, and 586). 
Since i noticed this problem, i've rebuilt the world and the kernel,
rebuilt perl, and rebuilt irssi.  no luck.  i'm not sure what this error
means exactly, perhaps that information is key to solving my problem :)

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


Re: Licencing

2003-05-27 Thread Aaron Peterson
  I work for Department National Defence in Canada.  I am aquiring 
  on using your OS to load on 6 or 4 stand alone computers.  The purpose 
  of these computers is to teach our naval personnal a basic unix 
  knowledge for some of our systems.  How much would it cost to use this 
  software on each computer? Is there any licencing agreement or terms I 
  would have to follow?

 FreeBSD is distributed free of charge for any uses.  Redistribution is
 also allowed under a very liberal license, although it sounds like
 you're not interested in that.

I will give the very appropriate three cheers for free here :)
aaron
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]