KDE4 package

2013-04-09 Thread Joshua Lokken
Hello, yesterday, I was happily installing kde4 from packages with:

pkg_add -r kde4

with $PACKAGESITE set to:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/

I had to kill the install at the end of the work day, and when I attempt to
finish installing this morning, I get (and can verify via FTP) 'file not
found or no access'.  So, the kde4 package(s) was/were moved during the
night?  Any help is welcome, thanks.


JRL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sparc64 nfs client locking: Operation not supported

2005-03-18 Thread Joshua Lokken
Hello,

I'm booting an UltraSparc machine with tftp over NFS.  The boot server is 
i386 running 5.4-PRERELEASE, the UltraSparc nfs root is 5.3-RELEASE.

On the server, I'm running:

mountd (-r)
nfsd (-u -t -n 4)
rpcbind
rpc.statd
rpc.lockd

The Ultra will boot fine, however, whenever I attempt to create an account,
set a passwd, etc (anything that requires a file lock), I get an error telling
me Operation not supported.  Thus, I have only a root account with a
null password 80

rpcinfo(8) shows:

   program version(s) netid(s) service owner
10  2,3,4 local,udp,tcprpcbind superuser
15  3,1   tcp,udp  mountd  superuser
13  3,2   tcp,udp  nfs superuser
100024  1 tcp,udp  status  superuser
100021  4,3,1,0   tcp,udp  nlockmgrsuperuser

and the Ultra kernel is built with:

options BOOTP# User bootp to obtain IP address/hostname
options BOOTP_NFSROOT# NFS mount root filesystem w/ bootp info
options BOOTP_NFSV3  # NFSv3 for mount root
options BOOTP_COMPAT # Workaround for broken bootp daemons
options BOOTP_WIRED_TO=hme0  # Use interface hme0 for BOOTP

I didn't find anything recent on the web to suggest that this shouldn't work;
I may have missed something in configuring the setup.  Any advice is welcome.

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


Re: FreeBSD Sound not working

2005-01-08 Thread Joshua Lokken
 Miguel Mendez [EMAIL PROTECTED] wrote:
 On Sat, 8 Jan 2005 11:55:00 -0300 (ART)
 E. J. Cerejo wrote:
 
 Hi,
 
  I upgraded to FreeBSD 5.3 with a clean install and now I can't get the 
  sound to work on my machine, I have Creative AudioPCI (ES1371, ES1373), 
  this card under 4.x stable use to work fine with
 ^^
  device sound
  device snd_emu10k1
 
 That's not the driver for the es137x, you need
 
 device snd_es137x

 Do I still need the device sound in the kernel file?

From the FreeBSD Handbook, 7.2 Setting Up the Sound Card:

The first thing to do is adding the generic audio driver sound(4) 
 to the kernel, for that you will need to add the following line to 
 the kernel configuration file:

   device sound

[snip]

 Then we have to add the support for our sound card.


Which is where 'device snd_es137x' comes in, so yes, you
do still need to add that line to your kernel conf _if_ you want
sound support built in to the kernel.  If not, you can add the
appropriate line to /boot/loader.conf to load the module at
boot time.

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


Re: portupgrade failure

2005-01-08 Thread Joshua Lokken
On Sat, 08 Jan 2005 18:29:51 +0100 (CET), Marco Beishuizen
[EMAIL PROTECTED] wrote:
 
 Hi,
 
 I tried to upgrade firefox with portupgrade, but it fails with the
 following error:
 
 [EMAIL PROTECTED]# portupgrade firefox
 Updating the ports index ... Generating INDEX.tmp - please wait..^Cfailed to 
 generate INDEX!
 index generation error
 /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:482:in `open_db': database file 
 error (PortsDB::DBError)
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:634:in `port'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:822:in 
 `all_depends_list'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!'
  from /usr/local/sbin/portupgrade:674:in `main'
  from /usr/local/sbin/portupgrade:207:in `initialize'
  from /usr/local/sbin/portupgrade:207:in `new'
  from /usr/local/sbin/portupgrade:207:in `main'
  from /usr/local/sbin/portupgrade:1845
 
 Does anyone know what the problem is?

You may be able to make this problem go away by doing:

# cd /usr/ports
# make fetchindex


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


Re: burning 5.3-RELEASE CDs

2005-01-07 Thread Joshua Lokken
On Fri, 7 Jan 2005 02:31:37 -0600 (CST), Scott Bennett
[EMAIL PROTECTED] wrote:
 On Thu Jan  6 09:58:55 2005 Jerry McAllister [EMAIL PROTECTED]
 wrote:
 
   On Wed, 05 Jan 2005 18:55:10 -0700 Danny MacMillan
  [EMAIL PROTECTED] wrote:
 
  On Wed, Jan 05, 2005 at 06:35:43PM -0600, Scott Bennett wrote:
On Wed, 05 Jan 2005 12:37:41 -0700 Danny MacMillan
   [EMAIL PROTECTED] wrote:
  
   This is not intuitive, but you do not want to use the make a
   bootable CD function of Sonic RecordNow! to make a bootable CD.
  
On what basis is the above statement made if you haven't used
   Sonic RecordNow! ?  It certainly looks to me as though the green
   button is the *only* way to burn an image (not counting making an
   exact copy of
  
  On the basis of your characterizing the little green button as being
  for making a bootable CD, and my understanding of that function in
  alternative software.  In short:  I misunderstood.  I apologize for
  the misdirection.
  
   Oh.  That was because, if one places the cursor over the green
  button, a box appears temporarily bearing a line that says, Click
  here to make this CD/DVD bootable.  And, as noted in a different
  posting in this thread, that button brings up a browser panel for
  choosing an image file (but not displaying .iso files among the
  choices) to burn in making the bootable disk.
 
 Just an additional note for clarity:   If I understand - and I don't
 have the rest of the thread so I may be missing something - you want
 to make a bootable CD of one of the ISO images.
 
 In that case, you do NOT want to use any of the options on your local
 machine to create a bootable CD because the ISO image is already a
 bootable image.   It needs merely to be written raw to the media.
 
 When your utility asks if you want to create a bootable CD, it is
 asking if you want it to add a boot record for it and the other pointers
 to the file to make it bootable.   Since the FreeeBSD ISO already has
 that stuff in it, you don't want it done again.  So, choose the options
 that just write the data image directly to the CD with no additions.
 
 No, no.  This is wrong.  You missed the explanation I posted regarding
 Sonic RecordNow!, as well as an earlier one by Robin Becker.  The green
 button is the only way to tell the application that the file(s) it is to
 burn is/are image file(s), and it doesn't know that .iso files are a type
 of image file, so it doesn't list them in its browser unless you tell it
 to display *all* files in the chosen directory.

Obviously, this Sonic RecordNow? software isn't working well for you.
Have you considered any of the alternatives that burn isos without
problems; Nero, Alcohol, Fireburner ?

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


Re: clearing space

2005-01-07 Thread Joshua Lokken
On Fri, 07 Jan 2005 13:05:42 +, Peter Risdon
[EMAIL PROTECTED] wrote:
 On Fri, 2005-01-07 at 07:53 -0500, Marty Landman wrote:
  Let's say I want to
 
  mv /sbin /usr/sbin
  mv /root /usr/root
 
  How problematic can this become? I can anticipate at least having to revise
  perl scripts that reference the sendmail path, although
 
  ln -s /usr/sbin/sendmail /sbin/sendmail
 
  will avoid having to 'fix' source code, right?
 
 How about:
 
 #mv /sbin /usr/sbin
 #ln -s /usr/sbin /sbin
 #mv /root /usr/root
 #ln -s /usr/root /root

Or just stop logging in as root, setup a user account for 
admin tasks, and learn to use sudo ;) 


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


Re: slow sendmail starting on a lan

2005-01-07 Thread Joshua Lokken
On Thu, 6 Jan 2005 19:50:39 -0600, Vulpes Velox [EMAIL PROTECTED] wrote:
 Here I am running into is this... sendmail is taking for ever to start
 on a box. My main server has no problem, but this box takes a long
 time starting sendmail.
 
 Here are the related config files and ect for the box it is slow on.
 The only difference is a this one has a few less services enabled on
 it than server and the server has actual nameservers configured. This
 box uses a dns proxy/cache on the server for dns.
 
 Any ideas?
 
 /etc/hosts
 ::1 localhost localhost.
 127.0.0.1   localhost localhost.
 
 /etc/nsswitch.conf
 group: nis files
 hosts: nis files dns
 networks: files
 passwd: nis [unavail=continue] files
 shells: nis files
 
 ypcat of hosts
 192.168.0.3 fennec fennec.
 192.168.0.2 vixen42 vixen42.
 
 /etc/resolve.conf
 nameserver  192.168.0.2
 
 /etc/rc.conf
 defaultrouter=192.168.0.1
 hostname=fennec
 ifconfig_xl0=inet 192.168.0.3  netmask 255.255.255.0
 inetd_enable=YES
 linux_enable=YES
 moused_enable=YES
 nfs_client_enable=YES
 nfs_server_enable=YES
 sshd_enable=YES
 usbd_enable=NO
 nis_client_enable=YES
 rpcbind_enable=YES
 nisdomainname=Vulpes
 inetd_enable=YES
 #lpd_enable=YES

This may be completely irrelevant, but I don't see
sendmail_enable=YES in /etc/rc.conf


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


Re: make sudo failed

2005-01-07 Thread Joshua Lokken
On Fri, 07 Jan 2005 12:48:42 -0500, Marty Landman 
 
 
 # make build  make install  rehash  which sudo
 /usr/sbin/sysctl: not found
 /usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n
 kern.osreldate returned non-zero status
  sudo-1.6.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
  Attempting to fetch from http://www.sudo.ws/sudo/dist/.
 fetch: http://www.sudo.ws/sudo/dist/sudo-1.6.6.tar.gz: Not Found
  Attempting to fetch from ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/.
 fetch: ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/sudo-1.6.6.tar.gz: File
 unavailable (e.g., file not found, no access)
  Attempting to fetch from ftp://ftp.stikman.com/pub/sudo/.
 Receiving sudo-1.6.6.tar.gz (333074 bytes): 100% (ETA 00:00)
 333074 bytes transferred in 112.4 seconds (2.89 kBps)
 ===  Extracting for sudo-1.6.6_1
 md5: not found
 *** Error code 127
 
 Stop in /usr/ports/security/sudo.
 
 

Marty, did you move /sbin back to its original place in the
file tree?


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


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread Joshua Lokken
On Fri, 07 Jan 2005 14:58:22 -0500, Duane Winner [EMAIL PROTECTED] wrote:
 
 
 gustaaf wijnands wrote:
 
  Just a couple more questions:
  If I keep my ports tree cvsup'd every day, I'm going to have:
  openoffice-1.1.3  needs updating (port has 1.1.3_1)
 
  We generally do a portupgrade -a to upgrade ports unless
  /usr/ports/UPDATING affects us. How can I get around the openoffice
  discrepency since a portupgrade -a will always try build it again and
  end up failing?
 
 
  portupgrade -a -x openoffice-1.1.3 ??
 
 
 I must be losing it. I looked at the man page twice and didn't see that
 -x switch. Must be Friday or something.
 Thanks -- that does it.
 
 -DW

However, please note the response that mentions using 
HOLD_PKG in /usr/local/etc/pkgtools.conf; that'll save
you from having to use -x at all. 


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


Re: FreeBSD trashed after installing Win98SE in lower partition - what to do?

2005-01-07 Thread Joshua Lokken
On Fri, 7 Jan 2005 10:42:37 -0600, John [EMAIL PROTECTED] wrote:
 My questions have to do with the mess I have left after trying to do
 a dual-boot system with Win98SE and FreeBSD 4.9+.
 
 After running the FreeBSD system for nearly a year, and loving it,
 I finally got around to digging up the media I needed to do the
 Win98SE install, and my FreeBSD partition is now unbootable.  This,
 obviously, is very disturbing.

You can install the GAG boot manager:

http://gag.sourceforge.net/

and then tell it to boot into either Win98SE or FreeBSD.
It'll work fine with whatever state your existing MBR is in,
within reason.

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


Re: Free BSD

2005-01-06 Thread Joshua Lokken
On Thu, 06 Jan 2005 11:27:29 -0700, Tom Vilot [EMAIL PROTECTED] wrote:
 Duane Winner wrote:
 
  No way, Beavis, that's golf balls you're thinking of. They put
  people's heads in bowling balls, dumbass.
 
 
 Beavis! Your balls are filthy. Too the ball washer  *now* .

But you just keep on responding :(


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


Re: FreeBSD 4.10 and finding dependant packages

2005-01-05 Thread Joshua Lokken
On Mon, 03 Jan 2005 14:59:24 -0800, Jordan Michaels
[EMAIL PROTECTED] wrote:
 So, my questions is simple: What do I need to do to figure out what
 packages require apache to be installed? I've worked with SuSE's YAST
 tool and RPM's (and tools that manage RPM's... like YAST), but what's
 the BSD way to go about this? 

You can manage software quite well with the ports collection.

This is a good place to get an idea of how packages and ports differ,
and how to use them.

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

Then you can use portupgrade to keep your installed ports and
dependencies up-to-date.  It'll save you some headache.

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


Re: install.cfg disklabel customization question

2005-01-05 Thread Joshua Lokken
On Tue, 4 Jan 2005 17:23:05 -0600, Curtis Almond [EMAIL PROTECTED] wrote:
 I would like to be able to do the following
 
 1. Create a / partition of x size
 2. Create a swap partition of x size
 3. Create a /usr partition of x size
 4. Create a ufs partition of the rest of the disk but it is not mounted at 
 boot.
 
 What I have thus far is:
 # label disk 1
 # IDE
 ad0s2-1=ufs 3969000 /
 ad0s2-2=swap 3969000 none
 ad0s2-3=ufs 3969000 /usr
 ad0s2-4=ufs 0 /usr100
 
 Anyone know how to make /usr100 not mounted at boot time?

Don't put it in /etc/fstab.  Then you can use mount(8) to mount it
when you need to.


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


Re: Sun revokes FreeBSD license for Java

2005-01-05 Thread Joshua Lokken
On Wed, 5 Jan 2005 11:01:22 -0800, Paul Krill [EMAIL PROTECTED] wrote:
 I was doing some browsing on the Web, looking for something else, and
 bumped into this. It seems like a lot of people already know.
 
 Jorn Argelo [EMAIL PROTECTED]
 01/05/2005 10:59 AM
 
To: Paul Krill [EMAIL PROTECTED],
 freebsd-questions@FreeBSD.org, [EMAIL PROTECTED]
cc:
Subject:Re: Sun revokes FreeBSD license for Java
 
 
 On Wed, 5 Jan 2005 10:53:07 -0800, Paul Krill wrote
  This is Paul Krill of Infoworld magazine. I would like to speak with
  someone at FreeBSD regarding issues with Sun. I am at 415-978-3228
  or email me with a number where I can call you. Thanks.
 
 Where did you get this information?

What information?  This post is very lacking in details.  What is it?
If you're the poster, what's your point?  Why -questions?
If it's just something I don't get, please clue me in.


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


Re: Sun revokes FreeBSD license for Java

2005-01-05 Thread Joshua Lokken
On Wed, 5 Jan 2005 11:08:44 -0800, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Wed, Jan 05, 2005 at 01:05:03PM -0600, Joshua Lokken wrote:
  On Wed, 5 Jan 2005 11:01:22 -0800, Paul Krill [EMAIL PROTECTED] wrote:
   I was doing some browsing on the Web, looking for something else, and
   bumped into this. It seems like a lot of people already know.
  
   Jorn Argelo [EMAIL PROTECTED]
   01/05/2005 10:59 AM
  
  To: Paul Krill [EMAIL PROTECTED],
   freebsd-questions@FreeBSD.org, [EMAIL PROTECTED]
  cc:
  Subject:Re: Sun revokes FreeBSD license for Java
  
  
   On Wed, 5 Jan 2005 10:53:07 -0800, Paul Krill wrote
This is Paul Krill of Infoworld magazine. I would like to speak with
someone at FreeBSD regarding issues with Sun. I am at 415-978-3228
or email me with a number where I can call you. Thanks.
  
   Where did you get this information?
 
  What information?  This post is very lacking in details.  What is it?
  If you're the poster, what's your point?  Why -questions?
  If it's just something I don't get, please clue me in.
 
 http://www.freebsdfoundation.org/press/20041221-newsletter.shtml

Thank you.

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


Re: Dumb OpenOffice install error

2005-01-05 Thread Joshua Lokken
On Wed, 05 Jan 2005 11:41:30 -0800, Remington [EMAIL PROTECTED] wrote:
 Anyone seen this or know to fix it. CVSup last night
 
 cd /usr/ports/editors/openoffice-1.1
 make install
 
 10 hours later
 
 Local Script Particel Zip (c) 2000 Sun Microsystems
 mkdir -p ../unxfbsd.pro/01/normal
 rm -f ../unxfbsd.pro/01/normal/*
 rm: No match.
 lzip -p . -e ../unxfbsd.pro/misc/lzip.log -l 01 -f openoffice.lst
 -d ../unxfbsd.pro/01 -n OfficeOSL -e ../unxfbsd.pro/01/Logfile.txt
 -C ../unxfbsd.pro/01/checksums.txt
 
 Local Script Particel Zip (c) 2000 Sun Microsystems
 
 WARNING! Project(s):
 gtk
 
 not found and couldn't be built. Correct build.lsts.
 
 -
 ===  Installing for openoffice-1.1.3_1
 ===   openoffice-1.1.3_1 depends on file: /usr/local/bin/perl5.8.5 -
 found
 ===   openoffice-1.1.3_1 depends on executable: pkg-config - found
 ===   Generating temporary packing list
 ===  Checking if editors/openoffice-1.1 already installed
 ./install: not found
 *** Error code 127
 
 Stop in /usr/ports/editors/openoffice-1.1.

There's a thread on this list from yesterday that states plainly that
OpenOffice does not build on FreeBSD 5.3:

Not on 5-STABLE it doesn't. The lzip build tool crashes a couple of
times during the build and the make install fails with:

   /usr/X11R6/bin/Xvfb :1001 -screen 0 800x600x24  /dev/null 21
 echo $!  /usr/ports/editors/openoffice-1.1/work/.Xvfb.pid
   ./install: not found
   *** Error code 127

   Stop in /usr/ports/editors/openoffice-1.1.


However, it does build on 4.11-STABLE.

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


Re: Dumb OpenOffice install error

2005-01-05 Thread Joshua Lokken
On Wed, 5 Jan 2005 20:52:16 +, Simon Burke [EMAIL PROTECTED] wrote:
 On Wed, 5 Jan 2005 13:58:24 -0600, Joshua Lokken
 [EMAIL PROTECTED] wrote:
 
  There's a thread on this list from yesterday that states plainly that
  OpenOffice does not build on FreeBSD 5.3:
 
 
  However, it does build on 4.11-STABLE.
 
 
 I have OpenOffice 1.1.3 running on 5.3. All that i neded to get it to
 build from ports was to install jdk14 before, as it tires to use the
 linux java which doesnt work. Unless things have changed in the past
 month or so??
 --
 Theres no place like ::1

Not sure; I don't run 5.3; It was mentioned yesterday that, specifically,
OpenOffice from the ports will not build on 5.3-STABLE.


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


Re: Supermicro Hardware and FreeBSD

2005-01-05 Thread Joshua Lokken
On Wed, 05 Jan 2005 13:58:47 -0700, Tom Vilot [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 Besides ... with a name like hardcodeharry, I would expect a little more
 intelligence; a little more willingness to dig into things. A slight
 tendency to ask the question: how can I hack this code to work, and how
 would I contribute those modifications to the BSD team?
 
 But I see none of that.
 
 In short: troll.
 
 Anyone with a reasonable desire to use any of the *nixes would have
 enough smarts to know:
 
 1. check the hardware compatibility lists to determine whether or not
 the hardware you want to run is going to work with the particular *nix
 you want to use. This is no different between BSD and Linux, Solaris, etc.
 
 2. Don't expect every damn piece of hardware out there to work out of
 the box with an older version of the kernel for the given *nix. This is
 NOT WINDOWS (thank god) and just because you have a particular piece of
 hardware doesn't mean it's going to work. It is your responsibility to
 know this and to work with it.
 
 3. Ask questions politely in the appropriate forums, and be civil.
 Failing to do so is probably not going to get your question answered.
 
 I for one was drafting a post for this list thanking *everyone* on it
 for being the kind of terrific help they are when  Boris' post appeared.
 The kind of discourse I see on this list (and on other BSD oriented
 lists) is a huge and welcome contrast to the childish banter I see on
 most of the Linux (and MacOS and Windows) discussion lists out there. It
 is like  the kind of professional enthusiasm I remember on the BeOS lists.
 
 As a result ... please pardon me if I am intolerant of behavior and
 attitudes that sound to me like that which I left behind when I put
 FreeBSD on my laptop and two servers 

Very well said, Tom, and accurate.  Thank you.

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


MySQL

2005-01-05 Thread Joshua Lokken
From: Joshua Lokken [EMAIL PROTECTED]
Date: Wed, 5 Jan 2005 18:16:40 -0600
Subject: Re: MySQL
To: Leon [EMAIL PROTECTED]
Cc: Questions freebsd-questions@freebsd.org

On Wed, 05 Jan 2005 16:03:08 -0500, Leon [EMAIL PROTECTED] wrote:
 Hi,

 I have a 5.3 version of FreeBSD.
 I want to install MySQL

 Can you please tell me what version of MySQL I should install?
 And where can I get installation and configuration instruction?

 Thanks,
 Leon.


While I certainly don't mind being mailed off-list, I'll assume
that you intended to submit this question to the FreeBSD
questions mailing list.  I have forwarded it appropriately.

I would recommend you use the ports collection to install
MySQL and any other software that you need.  In order to
ensure that you have the most recent ports collection,
you should learn to use cvsup.  There is excellent information
on this in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

I believe that versions 3.23, 4.0, 4.1, and even a version of 5
of MySQL exist in the ports collection.  I have experience only
with 4.1, so I can't attest to which you _should_ use, also I don't
know what your intended use is, but 4.1 should be just fine.

Once you have the ports collection up-to-date, you can
install MySQL by doing:

# cd /usr/ports/databases/mysql41-server
# make install clean

HTH,

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


Re: make installworld - permission denied

2005-01-05 Thread Joshua Lokken
On Wed, 5 Jan 2005 20:14:13 -0800, Mark [EMAIL PROTECTED] wrote:
 Urgh, it was all going so well. I suppose it had to happen:
 
 I did as the hallowed handbook commanded:
 
 #make buildworld
 #make buildkernel KERNCONF=L004
 #make installkernel
 
 I rebooted into single user mode:
 
 #mount -a
 #cd /usr/src
 #mergemaster -p
 #make installworld
 (setting of variables omitted, i'm typing from the screen!)
 /tmp/install. make -f Makefile.inc1 reinstall
 make: Permission denied
 
 ***Error code 126
 Stop in /usr/src
 
 ***Error code 1
 Stop in /usr/src

After you boot into single-user mode, you should do:

# fsck -p
# mount -u /
 ^^^  to remount / read-write
# mount -a -tufs
...
...

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


Re: Native 5.3 port of OpenOffice?

2005-01-04 Thread Joshua Lokken
On 04 Jan 2005 07:40:23 +0100, Peter N. M. Hansteen [EMAIL PROTECTED] wrote:
 Kris Kennaway [EMAIL PROTECTED] writes:
 
  Yes, it's in the ports tree.  I don't think we've ever included a
  linux openoffice port - are you perhaps thinking of staroffice, for
  which a freebsd binary is not produced by sun?
 
 There's been quite a few reports of people having trouble getting past
 the java tools install which is needed to build the port. Unless that
 challence is interesting in itself, it's probably more convenient to
 download and install a binary package from somewhere in the general
 direction of http://download.openoffice.org/1.1.4/index.html

Java is a beast in that you need to download the necessary files
manually and that it takes awhile to build, however, it's not as
daunting as some would have you believe.  If you follow the 
instructions, it'll build just fine.  I installed jdk14 and openoffice-
1.1.3 Sunday on a 4.11-STABLE machine in four hours.  It works
well so far, and I did not encounter any unforseen headaches.

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


Re: Troubles with your OS on my hardware

2005-01-04 Thread Joshua Lokken
On Mon, 3 Jan 2005 19:20:44 +0300 (MSK), Arseny Solokha
[EMAIL PROTECTED] wrote:
 Hello! I'm ArsenyI bought FreeBSD 5.2.1 on 2 CD from your distributor - 
 www.linuxcenter.ru. And I have troubles with this system.
 1. I have videocard Sapphire RADEON 9200 SE and I cannot start X-server with 
 my videocard. X-server returns a messages such as 'Cannot connect with 
 device', 'Missing device' or 'Missing driver'.
 2. I have optical mouse A4Tech WOP-35 and X-server don't work with this 
 mouse. But it's work with classical mechanic mouse. Laser mouses also doesn't 
 support, does it?
 3. When I install this OS can I install on this HDD other OSes (e.g. Windows)?
 4. I have try to install this OS on virtual machine managed by VMware 
 Workstation 4.0.2 build 5592 under WinXP. Firstly, when I checked packs for 
 installation, installer tryed to copy 'expat'. It copyed 1024 KB @ 1kbps and 
 installer was down. I reply this operation few times then loader return me a 
 message like this: 'Primary master failed'. Of course, OS doesn't loading now.
 
 I bought my money for this CDs because I need to work and 
develop programs in this OS but I cannot do it! I need a workable
system there and now, ON MY HARDWARE!!! Please solve this 
problem!

5.2.1-RELEASE has met with the end of its life:

The branches supported by the FreeBSD Security Officer have been
updated to reflect recent EoL (end-of-life) events.  The new list is
below and at URL: http://www.freebsd.org/security/ .  FreeBSD 5.2.1
has `expired' and is no longer supported effective January 1, 2005.
Also note that FreeBSD 4.9 ceased to be supported on November 1, 2004,
while FreeBSD 4.8 will continue to be supported until March 31, 2005.

As another poster recommended, you should check for any conflicts
regarding VMWare.  Also, you may want to try installing the OS on its
own partition on the hard disk, rather than complicating your situation
with VMWare.

You are not likely to get help by demanding that someone fix your
problem.  This is 'our' OS (including you); we all do our part, and the
software comes with absolutely no guarantees.  If you did some
Googling, you would find that many, many people have had problems
similar to yours.  The answers to your questions are out there, but
you may need to do some homework.

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


Re: Native 5.3 port of OpenOffice?

2005-01-04 Thread Joshua Lokken
On Tue, 4 Jan 2005 21:04:24 +0100, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 On Tue, Jan 04, 2005 at 09:17:13AM -0800, Tabor Kelly wrote:
  Dave Horsfall wrote:
  On Tue, 4 Jan 2005, Peter N. M. Hansteen wrote:
  
  
  direction of http://download.openoffice.org/1.1.4/index.html
  
  
  And if you follow the ports route instead, just how many more bloody hoops
  do we have to jump through?
 
  I did it, and it wasn't hard, just confusing. It is confusing because
  you need to know that:
 
  1. You need the linprocfs mounted to make java/linux-sun-jdk14
  2. You need to install java/jdk14 before you try to build OpenOffice
  (even though this is not listed as a dependency).
 
  Note: this is from my memory, which is not always 100% what it should be.
 
 Installing native jdk14 isn't that hard, as long as you follow the
 instructions to the letter.
 
 I've tried to compile openoffice from scratch using the port (it worked
 before), but this time it bombed near the end with a program 'lzip'
 dumping core because it was fed a wrong package list (?). I tried to
 track the problem down, but it was too deeply hidden within the OO
 build process, so I finally gave up and fetched the binary package which
 works perfectly. This was 2 weeks ago; perhaps OO compiles perfectly now?

It does; at least, it did on Sunday afternoon ;) 


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


Re: make install clean question

2005-01-04 Thread Joshua Lokken
On Tue, 4 Jan 2005 20:53:06 +0100, Olof Andersson [EMAIL PROTECTED] wrote:
 Hi!
 
 I'm a newbie with a problem. I tried to install phpmyadmin from the
 ports. When I ran the make install clean for the first time I got a
 screen where I could make a couple of choices. I chose to install with
 something called mysqli. The make install process stopped and I got
 this message:
 
 anderssons1# make install clean
 
 You may use the following additional build option:
 
WITH_SUPHP=yes   Install appropriately for use with
 the www/suphp port [default: no]
 
 Unknown extension mysqli.
 *** Error code 1
 
 Stop in /usr/ports/databases/phpmyadmin.
 
 I tried to run the make install clean again to be able to not select
 the mysqli but I only get the same message again. I tried to find
 information on how to reset the install but did not succeed. I have
 FreeBSD 5.3.
 
 Can someone help me? Thanks in advance.

Both of these should do that:

# make rmconfig

or,

# rm /var/db/ports/portname/options 


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


Re: Help Please

2005-01-03 Thread Joshua Lokken
On Mon, 3 Jan 2005 11:09:39 -0800 (PST), [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 ANYONE:
 
 I have a huge problem.  Our systems admin at my work went nuts and locked
 us out of our BSD 5.0 server.  He has disabled anyone's su privs.

Did he have good reason for the above action?


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


Re: Hostname lookups? (tcpdump output)

2004-12-30 Thread Joshua Lokken
On Thu, 30 Dec 2004 18:23:49 +0100, Florian Hengstberger
[EMAIL PROTECTED] wrote:
 Active Internet connections
 Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
 tcp4   0  0  lazarus.49201  hpat989.external.http  TIME_WAIT
 tcp4   0  0  lazarus.49199  66.102.9.104.http  ESTABLISHED
 tcp4   0  0  localhost.smtp *.*LISTEN
 udp4   0  0  localhost.49158localhost.ntp
 udp4   0  0  localhost.ntp  *.*
 udp4   0  0  lazarus.ntp*.*
 
 Secondly: I'm only running ntp and ssh (and mozilla), why is a socket
 listening on the smtp port?

Sendmail is part of the base system, and will listen on the smtp
port unless instructed not to in /etc/rc.conf:

sendmail_enable=NO
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO

That will completely disable sendmail.

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


Re: Is mplayer port broken ?

2004-12-30 Thread Joshua Lokken
On Thu, 30 Dec 2004 21:44:33 +0100, Xinizul Xinizul [EMAIL PROTECTED] wrote:
 Hello all:
 
 I'm trying to make the port mplayer using make install clean
 mechanism in my FreeBSD 5.3
 
 I get the following message:
 
 ---
 
  Attempting to fetch from ftp://ftp.mplayerhq.hu/MPlayer/Skin/.
 fetch: ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2: size
 mismatch: expected 221757, actual 221736
  Attempting to fetch from ftp://ftp.lug.udel.edu/MPlayer/Skin/.
 fetch: ftp://ftp.lug.udel.edu/MPlayer/Skin/Blue-1.4.tar.bz2: Operation timed 
 out
  Attempting to fetch from
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/.
 fetch: 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/Blue-1.4.tar.bz2:
 size mismatch: expected 221757, actual 221736
  Couldn't fetch it - please try to retrieve this
  port manually into /usr/ports/distfiles/mplayer and try again.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/mplayer-skins.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/mplayer.
 
 ---
 
 Could someone help me to workaround this or to notify to the
 maintainer about this issue ?

Feel free to let the maintainer of the port know; the email
address is in the Makefile.  You can build it without the
skins by doing:

# make -DWITHOUT_SKINS install clean

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


Re: Is mplayer port broken ?

2004-12-30 Thread Joshua Lokken
On Thu, 30 Dec 2004 22:44:09 +0100, Xinizul Xinizul [EMAIL PROTECTED] wrote:
 I will use this solution.
 
 Downloading the tar from the URL posted above gives me the same bad result.
 
 I'll let the port mantainer it know then.

Please note the response from Kent Stewart about updating your 
ports collection.  While the solution I proposed will 'get you where
you want to go', Kent's advice will likely make things easier for you
in the long run.  It's always important to keep the ports tree and your
INDEX up-to-date.

For more information on how to use cvsup, see:

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


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


Re: Installing Apache 2.0

2004-12-29 Thread Joshua Lokken
On Wed, 29 Dec 2004 10:23:15 -0600, Andrew L. Gould [EMAIL PROTECTED] wrote:
 On Wednesday 29 December 2004 09:55 am, Fernando Matzdorf wrote:
  Help!!
  I recently downloaded version 2.0 of the Apache server from their
  website, and I tried to install it to my system using pkg_add but was
  unsuccessful (maybe it's not a package but I can't tell). I
  downloaded it on a Windows XP computer, burned it to a cd, then tried
  to install it on my FreeBSD computer, because configuring my WinModem
  on FreeBSD is practically impossible.

 You should become familiar with the online handbood and with FreeBSD's
 ports system, which makes the installation of thousands of applications
 quite easy.  You will find that Apache2 is included in the ports.  The
 section of the handbook regarding the installation of applications can
 be found here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

You may also want to spend the time and money to pick up a
modem that will work with FreeBSD, as you will need an internet
connection to effectively use the ports collection.

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


Re: freebsd on 2nd drive?

2004-12-29 Thread Joshua Lokken
On Wed, 29 Dec 2004 20:15:11 +0200, Cezar Fistik [EMAIL PROTECTED] wrote:
 Hi ice,
 
 Yes you certainly can do as you planned, although I'm not sure if GAG works
 when run from a floppy.

GAG *is* a floppy, and will work from the floppy just fine.  You can
(optionally) choose to run it from the hard disk.

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



Re: FreeBSD's Visual Identity: Outdated?

2004-12-29 Thread Joshua Lokken
On Wed, 29 Dec 2004 15:17:29 -0600, Nikolas Britton [EMAIL PROTECTED] 
 This is one of main point I'm trying to make in all of these talks. How
 are they ever going to know it's out there and when they do make first
 contact don't you think we should greet them in a professional manner?
 
 Sorry if I mangled the message a bit when I cut out all the fluff.

I was under the impression that cross-posting to multiple lists was
discouraged.  Can we just pick one?  It's not uninteresting, just so
redundant...

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


less -f

2004-12-29 Thread Joshua Lokken
Hello,

# uname -a
FreeBSD voyager.swabbies.local 5.2.1-RELEASE-p13 
FreeBSD 5.2.1-RELEASE-p13 #0: Sat Dec 11 19:35:53 PST 2004
[EMAIL PROTECTED]:/usr/obj/usr/home/src/sys/VOYAGER  i386


I was reading a reply to the thread,
Pop-up or plugin or script for folder change that said:

Just like everything else, a directory *is* just a file.
 Go ahead, use vi or most[1] to look inside!

and

[1]:
 I think less (more is really less here) is less willing
 to cooperate on directories than most.

So, I did man less(1), and found this:

-f or --force
   Forces non-regular files to be opened.  (A non-regular file is a
   directory or a device special file.)  Also suppresses the  warn-
   ing message when a binary file is opened.  By default, less will
   refuse to open non-regular files.

However,:

 ls -l ~netmin | grep mydir
drwxr-xr-x  2 netmin  netmin   512 Dec 29 10:45 mydir

 less -f ~netmin/mydir
/home/netmin/mydir is a directory

Can someone explain this behavior to me?  I admit that I may
not understand the -f flag wholly, however, this seems in direct
contradiction with the man page.

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


Re: freebsd on 2nd drive?

2004-12-29 Thread Joshua Lokken
On Wed, 29 Dec 2004 17:40:53 -0500, Haulmark, Chris [EMAIL PROTECTED] wrote:
 Someone broke the silence:
  it...n00bish. They would completely freak out at the sight of turning
  on the computer and not seeing the XP startup screen.
 
 I just use the BIOS to change back and forth with the hard drives.  Just 
 have to go into the habit of switching back to the first hard drive after a 
 shutdown or reboot for your family.

In order to make it absolutely transparent to the parents,
it sounds like leaving the BIOS set to:

  1) FDD
  2) HDD0

then booting from the GAG floppy when you want to use
FreeBSD would be the simplest.

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


Re: local ports (Mozilla Calendar)

2004-12-28 Thread Joshua Lokken
On Tue, 28 Dec 2004 11:06:30 -0700, Tom Vilot [EMAIL PROTECTED] wrote:
 Is there a way to quickly make a local port or a local package that
 I can then use to do things like:
 
 make package
 make uninstall
 pkg_delete

I don't know if there's a 'quick' way, but you can do
# cd /usr/ports/category/portname

And, if the port is not installed on your system, you can
do:

# make package

and it'll build and install the port on your machine, and
put a binary package in /usr/ports/packages/All.


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


Re: pppd and NAT

2004-12-28 Thread Joshua Lokken
On Tue, 28 Dec 2004 23:33:28 +0300, Igor Pokrovsky [EMAIL PROTECTED] wrote:
 On Tue, Dec 28, 2004 at 11:07:32PM +0300, Igor Pokrovsky wrote:
  Does anyone knows if it's possible to do NAT with pppd.
  I know it's possible with ppp, but pppd didn't reveal me any clue.
 
 Sorry for replying to my own message. I found the solution -
 it is possible to use natd and ipfw to do the job.
 If anyone is interested I can send complete solution.

Also, from man ppp(8):

The -nat flag does the equivalent of a ``nat enable yes'', enabling ppp's
 network address translation features.  This allows ppp to act as a NAT or
 masquerading engine for all machines on an internal LAN.  Refer to
 libalias(3) for details on the technical side of the NAT engine.  Refer
 to the NETWORK ADDRESS TRANSLATION (PACKET ALIASING) 
 section of this manual page for details on how to configure NAT in ppp.

[snip] and...

Supports NAT or packet aliasing.  Packet aliasing (a.k.a. IP masquerad-
 ing) allows computers on a private, unregistered network to access the
 Internet.  The PPP host acts as a masquerading gateway.  IP addresses 
 as well as TCP and UDP port numbers are NAT'd for outgoing packets 
 and de-NAT'd for returning packets.

[snip] and...

NETWORK ADDRESS TRANSLATION (PACKET ALIASING)
 The -nat command line option enables network address translation (a.k.a.
 packet aliasing).  This allows the ppp host to act as a masquerading
 gateway for other computers over a local area network.  Outgoing IP pack-
 ets are NAT'd so that they appear to come from the ppp host, and incoming
 packets are de-NAT'd so that they are routed to the correct machine on
 the local area network.  NAT allows computers on private, unregistered
 subnets to have Internet access, although they are invisible from the
 outside world

So, you can do NAT with ppp, as well ;)   HTH,

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


Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-28 Thread Joshua Lokken
On Tue, 28 Dec 2004 22:30:13 +0100, Anthony Atkielski
[EMAIL PROTECTED] wrote:
 Bill Moran writes:
 
 BM 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html
 BM
 BM Unfortunatly, this document doesn't fully explain how /usr/local/etc/rc.d
 BM has changed, but it's a good start nonetheless.  More can be gleaned
 BM by following the links to other man pages, and reading the various
 BM /etc/rc scripts themselves.
 
 I've looked at this and lots of other stuff, and I've tried lots
 of things, and I still can't get it to work.  Any chance that someone
 who has a working rc configuration for starting Apache 2.x automatically
 could show me what to place in which files, so I can build them myself?
 Supposedly the ports version of the product sets up these files.

I have apache2 working fine on FreeBSD 5.2.1-RELEASE-p13.
In /etc/rc.conf I have a line that reads:

apache2_enable=YES

and in /usr/local/etc/rc.d, I have:

-rwxr-x--x  1 root  wheel   183 Dec 28 13:55 000.apache2libs.sh
-rwxr-x--x  1 root  wheel  2047 Dec 28 13:55 apache2.sh

Apache2 starts normally at boot time.

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


Re: Looking for 'ideal' web-server partitions

2004-12-28 Thread Joshua Lokken
On Tue, 28 Dec 2004 22:33:04 +0100, Kiffin Gish [EMAIL PROTECTED] wrote:
 I want to create a web server for a few personal web sites (virtual named
 hosts) using Apache, Perl, PHP and MySQL. Maybe later using mod_perl and
 ssl.
 
 No mail servers or other complicated stuff, just a plain-vanilla web server
 for the general public and an average visitor traffic of below 1000 per day.
 
 I have 40G to use up on an AMD Sempron 1300+ with 512MB and was just
 wondering what would be a good way to divvy up the partitions. I was
 thinking something like this:
 
 SWAP1024M
 /   1057M
 /db 6.3G
 /usr24G
 /var4.2G
 /www42G
 
 I've heard arguments for and against a separate /db and/or /tmp partition as
 well as using a /home. Also I see that there is a /usr/local/www directory
 already so perhaps the /www partition is not required. Is a separate /db
 partition really needed?
 
 I'm pretty confused and would like to setup my web server the right way once
 and for all. Are there any standard recipes and/or guides to figuring this
 out or is it just a bunch of guess work?
 
 How does this look?

A root partition of 128M ought to be just fine, though you may 
want to put /tmp on a slice of its own.  It looks like you plan
to put databases and htdocs on slices of their own as well, so
/var can be much smaller; I generally use a 256M /var slice,
and have had no problems with space for logging.

24GB is a nice, fat /usr slice.  You could easily trim that back,
since again, it appears you plan to store db and www on unique
slices.  Maybe something like:

SWAP 1024M
/   128M
/tmp  256M
/var256M
/usr10G (?)
/dbwhatever size you like
/www whatever size you like

HTH,

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


Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-28 Thread Joshua Lokken
On Tue, 28 Dec 2004 23:43:08 +0100, Anthony Atkielski
[EMAIL PROTECTED] wrote:
  Thanks ... but what exactly do these two .sh files contain?

# cat /usr/local/etc/rc.d/000.apache2libs.sh
case $1 in
start)
/sbin/ldconfig -m /usr/local/lib/apache2
;;
stop)
;;
*)
echo 
echo Usage: `basename $0` { start | stop }
echo 
exit 64
;;
esac

# cat /usr/local/etc/rc.d/apache2.sh
#
# $FreeBSD: ports/www/apache2/files/apache.sh,v 1.10 2004/11/13
18:23:34 clement Exp $
#

# PROVIDE: apache2
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: FreeBSD shutdown

#
# Add the following lines to /etc/rc.conf to enable apache2:
# apache2_enable (bool):  Set to NO by default.
# Set it to YES to enable apache2
# apache2ssl_enable (bool):   Set to NO by default.
# Set it to YES to start apache with SSL   
# (if IfDefined SSL exists in httpd.conf)
# apache2limits_enable (bool):Set to NO by default.
# Set it to yes to run `limits $limits_args`
# just before apache starts.
# apache2_flags (str):Set to  by default.
# Extra flags passed to start command.
# apache2limits_args (str):   Default to -e -C daemon
# Arguments of pre-start limits run.
#
. /etc/rc.subr

name=apache2
rcvar=`set_rcvar`

start_precmd=apache2_precmd
restart_precmd=apache2_checkconfig
reload_precmd=apache2_checkconfig
command=/usr/local/sbin/httpd
pidfile=/var/run/httpd.pid
required_files=/usr/local/etc/apache2/httpd.conf

[ -z $apache2_enable ]apache2_enable=NO
[ -z $apache2ssl_enable ] apache2ssl_enable=NO
[ -z $apache2_flags ] apache2_flags=
[ -z $apache2limits_enable ]  apache2limits_enable=NO
[ -z $apache2limits_args ]apache2limits_args=-e -C daemon

load_rc_config $name

checkyesno apache2ssl_enable  \
apache2_flags=-DSSL $apache2_flags

apache2_checkconfig()
{
echo Performing sanity check on apache2 configuration:
${command} -t
}

apache2_precmd() 
{
if test -f /usr/local/sbin/envvars
then
. /usr/local/sbin/envvars
fi
if checkyesno apache2limits_enable
then
eval `/usr/bin/limits ${apache2limits_args}` 2/dev/null
else
return 0
fi

}

sig_reload=SIGUSR1

extra_commands=reload
run_rc_command $1


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


Re: x86 files

2004-12-28 Thread Joshua Lokken
On Tue, 28 Dec 2004 19:25:31 -0500, Julian Sy [EMAIL PROTECTED] wrote:
 Hey, my names Julian and I seem to be having a problem on your site. I
 see all the other platforms but I can't find the freebsd files for x86
 platforms. In supported platforms it says, with the exception of x86,
 since most of the information on the remainder of the site already
 pertains to that platform
 However, I can't find anywhere on the site for the files to x86
 platforms. I'm just stupid, can you just send me a link to the file
 through this email.

You can install over ftp or fetch the isos from a number of ftp sites:

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

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


Re: FreeBSD's Visual Identity: Outdated?

2004-12-24 Thread Joshua Lokken
Great suggestions, everyone!  Now, can we PLEASE move this thread off
of -questions.  It doesn't belong here.  Thank you.

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


Re: sendmail running on localhost 25?

2004-12-24 Thread Joshua Lokken
On Fri, 24 Dec 2004 03:26:15 -0700, James [EMAIL PROTECTED] wrote:
 Hello,
 
 Use:
 sendmail_enable=none
 
 This will disable all sendmail processes.
 
Please don't top-post.  Also, the above is deprecated, and the 
pertinent documentation shows the following:

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO

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


Re: Is this new hard drive going to be useless with freebsd?

2004-12-24 Thread Joshua Lokken
On Fri, 24 Dec 2004 21:42:32 +0530, Subhro [EMAIL PROTECTED] wrote:
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Mark Jayson Alvarez
  Sent: Friday, December 24, 2004 20:27
  To: freebsd-questions@freebsd.org
  Subject: Is this new hard drive going to be useless with freebsd?
 
 
  Good day,
 
  I currently have this setup at home and its
  working fine with FreeBSD 4.10.
 
  Motherboard:  Jetway 830CH
  Hard Drive:   10 Gb Samsung
  Video Card:   SiS on-board
  Processor:AMD Athlon 1200 Mhz  (this is not an
  Athlon XP)
  Memory:   256 mb PC100 SDRAM
 
  I bought a new 80 Gb Seagate 7200 rpm Hard Drive and
  installed it on the primary master my pc.
  The access mode for my hard drive Primary Master:
  ST380011A in BIOS which shows these choices is set to
  Auto:
 
 CHS
 LBA
 Large
 Auto
 
  I boot into FreeBSD 5.3 cd and proceed with the
  installation. Some time after choosing the X-User in
  the installation method, it ended up failing to
  install some packages(perl and xorg). Still, it says,
  Congratulations... FreeBSD is now installed... (and
  I'm really hoping that nothing went wrong with the
  base system, and thinking to just install perl and
  xorg later).
 
  I removed the cd, and boot the pc. The kernel boots
  silently until this error message showed up:
 
 
  ad0 Warning_Read_DMA UDMA ICRC error(retrying request)
  LBA=1518639
  ad0: Failure_Read_DMA status=51READY,DSC,ERROR
  error=84 ICRC, ABORTED LBA=1518639
  spec_getpages:(ad0s1a) I/O read failure:(error=5)
  bp0xc65fe2ec vp0xc16f7d68
  size: 32768,resid:32768,a_count:37268, valid: 0x0
  nread:0, reqpage:7, pindex:61, pcount:8
  vm_fault:pager read error, pid 55(sh)
  pid 55(sh),uid 0:exited on signal 11
  Dec 24 17:28:39 init: /bin/sh on /etc/rc terminated
  abnormally, going to single user mode
  Enter full pathname of shell or RETURN for /bin/sh:
 
 I suspect a bad Drive Cable. Could you tell us about how you have installed
 the drives? I mean master slave-configuration,etc

Or it could be a problem with the broken DMA on 5.3 that
countless others have posted to this list about?


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


Re: Using Exim with FBSD 5.3

2004-12-24 Thread Joshua Lokken
On 24 Dec 2004 11:33:53 +0100, Peter N. M. Hansteen [EMAIL PROTECTED] wrote:
 comm/JT [EMAIL PROTECTED] writes:
 
  Just a quick question, I was wondering if anyone had some documentation to
  fully move from sendmail to exim on a 5.3 machine. I have tried this and
  seemed to have failed, just wondering if I am using an old and outdated
  document.
 
 In my experience, it should be pretty straightforward. There are a
 couple of things which are not done automagically by the port, IIRC -
 
 * adding the lines
 
  exim_enable=YES
  sendmail_enable=NONE
 
  to /etc/rc.conf

Although this is deprecated.  Please use the following rather
than sendmail_enable=NONE:

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO 


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


Re: portupgrade vs. portmanager

2004-12-24 Thread Joshua Lokken
On Fri, 24 Dec 2004 09:02:30 -0800, Jay O'Brien [EMAIL PROTECTED] wrote:
 RW wrote:
 
  On Friday 24 December 2004 07:38, Michael C. Shultz wrote:
 
 On Thursday 23 December 2004 11:16 pm, Jay O'Brien wrote:
 
 Michael C. Shultz wrote:
 
 On Thursday 23 December 2004 10:01 pm, Jay O'Brien wrote:
 
 I'm running 5.3 RELEASE and trying to learn. I did a ports cvsup.
 Following the Dru Lavigne article on portupgrade at
 http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html?page
 =1 I installed portupgrade and then ran portsdb -Uu. It errored
 out, telling me that I shouldn't use my refuse file that stopped
 the non- english docs and ports from being loaded on my HD.
 
 In trying to understand this issue, I found portmanager, and it
 looks like it would perform the same function as portupgrade.
 
 My questions: Is there a way around the refuse file prohibition,
 perhaps with portmanager? Does portmanager replace portupgrade?
 
 portmanager doesn't require the INDEX files to keep ports up to
 date, so the refuse file is a non issue with it.
 
 -Mike
 
 Sounds good. What's the downside, if any, to using portmanager
 instead of portupgrade?
 
 All of your ports will be built with the correct dependencies, they will
 work better leaving you less to complain about in the mail lists and so
 you will become bored.  Because everything is working exactly as it
 should you may begin to think you are a Maytag repair man, nothing much
 to do, just always setting around waiting for something to break.
 
 
  I don't use portmanager myself, but isn't it the case that portmanager
  rebuilds not just ports that have newer versions in the ports tree, but also
  all ports that recursively depend on those ports.
 
  I just updated kdehier with portupgrade in about a minute. The whole of KDE
  depends on kdehier, so presumably portmanager would have taken several days,
  and kdehier isn't particularly unusual. I would see that as a major 
  downside.
 
  When it's necessary UPDATING will suggest running portupgrade  -rf to force
  rebuilding. That kind of UPDATING entry is in a small minority, which
  suggests to me that most of the problems with ports don't stem from the
  sequence of their updating, so I can't see how portmanager is any kind of
  magic-bullet.
 
   
 So portmanager rebuilds whether it needs it or not, and portupgrade
 only rebuilds when there is a later distribution of the software? The
 distinction between the two is not clear to me.

I believe that what the responder was trying to get across is
that portmanager handles the dependencies for you, where
portupgrade will only handle dependencies if you spcify the
appropriate flags on the command line, such as:

# portupgrade -rR
 
 This is my first try to update ports, and I want to set up a procedure
 for updating that I can follow in the future.

I've used portupgrade much more than portmanager.  Portupgrade
has never steered my wrong, when I have read /usr/src/UPDATING
and followed the proper procedures.

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


Re: does FreeBSD support nvidia ethernet?

2004-12-24 Thread Joshua Lokken
On Fri, 24 Dec 2004 19:38:51 +0300, alexei kozlov [EMAIL PROTECTED] wrote:
 Hello, Gurus.
 
 I have EPOX 8rda3 motherboard based on nvidia2  chipset with 2 ethernet
 interfaces.
 One is well known -- rtl8139. It works (great).
 The other is based on nvidia chipset. And I do not know what to do to
 activate it in FreeBSD. What driver support this ethernet interface.

I believe the appropriate driver lives in:

/usr/ports/net/nvnet


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


Re: Using Exim with FBSD 5.3

2004-12-24 Thread Joshua Lokken
On Fri, 24 Dec 2004 13:17:57 -0500, Joe Altman [EMAIL PROTECTED] wrote:
 On Fri, Dec 24, 2004 at 10:31:40AM -0600, Joshua Lokken wrote:
   comm/JT [EMAIL PROTECTED] writes:
  
Just a quick question, I was wondering if anyone had some documentation 
to
fully move from sendmail to exim on a 5.3 machine. I have tried this and
seemed to have failed, just wondering if I am using an old and outdated
document.
 snip
 
  Although this is deprecated.  Please use the following rather
  than sendmail_enable=NONE:
 
  sendmail_enable=NO
  sendmail_submit_enable=NO
  sendmail_outbound_enable=NO
  sendmail_msp_queue_enable=NO
 
 Where do you see this:
 
 sendmail_enable=NONE labelled as deprecated? That doesn't appear to
 be the case, in the documentation I have accessed.

I 'see this' in man rc.sendmail(8):

sendmail_enable
(str) If set to ``YES'', run the sendmail(8) daemon at system
boot time.  If set to ``NO'', do not run a sendmail(8) daemon to
listen for incoming network mail.   This does not preclude a
sendmail(8) daemon listening on the SMTP port of the loopback
interface.  The ``NONE'' option is deprecated and should not be
used.  It will be removed in a future release.


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


Re: Using Exim with FBSD 5.3

2004-12-24 Thread Joshua Lokken
On Fri, 24 Dec 2004 14:05:30 -0500, Joe Altman [EMAIL PROTECTED] wrote:
 On Fri, Dec 24, 2004 at 12:31:37PM -0600, Joshua Lokken wrote:
  On Fri, 24 Dec 2004 13:17:57 -0500, Joe Altman [EMAIL PROTECTED] wrote:
   On Fri, Dec 24, 2004 at 10:31:40AM -0600, Joshua Lokken wrote:
 comm/JT [EMAIL PROTECTED] writes:

  Just a quick question, I was wondering if anyone had some 
  documentation to
  fully move from sendmail to exim on a 5.3 machine. I have tried 
  this and
  seemed to have failed, just wondering if I am using an old and 
  outdated
  document.
   snip
   
Although this is deprecated.  Please use the following rather
than sendmail_enable=NONE:
   
sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO
  
   Where do you see this:
  
   sendmail_enable=NONE labelled as deprecated? That doesn't appear to
   be the case, in the documentation I have accessed.
 
  I 'see this' in man rc.sendmail(8):
 
  sendmail_enable
  (str) If set to ``YES'', run the sendmail(8) daemon at system
  boot time.  If set to ``NO'', do not run a sendmail(8) daemon to
  listen for incoming network mail. This does not preclude a
  sendmail(8) daemon listening on the SMTP port of the loopback
  interface.  The ``NONE'' option is deprecated and should not be
  used.  It will be removed in a future release.
 
 You mean this man rc.sendmail?
 
 RC.SENDMAIL(8)  FreeBSD System Manager's Manual

Yes, man rc.sendmail(8).  I guess I'm really not sure what your
malfunction is, Joe.  What do you not understand about
'deprecated' and 'will be removed in a future release'?  BTW, I
really don't care to discuss it any further; if you have any 
additional information for the OP, by all means, give it.
Otherwise, have a happy holiday, and drop it.


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


Re: mkfifo: No such file or directory

2004-12-24 Thread Joshua Lokken
On Fri, 24 Dec 2004 21:08:19 +, Frank Staals [EMAIL PROTECTED] wrote:
 I am running 5.3 Stable, how can I configure FreeBSD that I can use the
 printer on the windows pc

Please read the official documentation:

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

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


Re: Switching FreeBSD machines

2004-12-23 Thread Joshua Lokken
On Wed, 22 Dec 2004 20:50:12 -0500, RL [EMAIL PROTECTED] wrote:
  It is a P4 2.8GHZ, 256MB RAM, 80GB Serial ATA hard-drive.  I might
 just start from scratch.  I just got a bad feeling I will run into
 problems. The biggest pain in the ass was getting Java to work on my
 old system.  Besides that, I don't have any critical on my old system
 that I wouldn't mind starting from scratch again.

Yes, apparently folks have had alot of trouble with java.  Just
to give you a confidence boost, I very recently built jdk14 on
a 5.3-RELEASE machine *by the instructions*, and it built
without problems, and apps were able to find it afterwards.
If that's all that's keeping from starting from scratch, don't
worry about java; it's not that bad.

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


Re: help with installing Java

2004-12-23 Thread Joshua Lokken
On Wed, 22 Dec 2004 17:03:05 -0500, Zachary Huang [EMAIL PROTECTED] wrote:
 I am still trying to install Java (to FreeBSD 4.8), which is needed
 for Tomcat.  Are the instructions at
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x60.html
 outdated?
 
 If you follow the instructions, you cannot find the file
 j2sdk-1_3_1_10-linux-i386.bin at sun.com.
 
 so 1). where can I find this file? or
 
 2). are there other instructions on the web to go a different route? thanks.

Is there any reason you can't use jdk14 ?

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


Re: ipfw - a detailed howto

2004-12-23 Thread Joshua Lokken
On Thu, 23 Dec 2004 18:30:50 +0100, Florian Hengstberger
[EMAIL PROTECTED] wrote:
 hi!
 Can anybody recommend an in deep guide to ipfw?

Yes.  'man ipfw(8)'
If that's not in-depth enough for you, I don't know what would
be ;) 


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


Re: Desperate for Help

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 02:47:19 +0100, J65nko BSD [EMAIL PROTECTED] wrote:
 On Tue, 21 Dec 2004 17:24:02 -0500, alfredo perez
 [EMAIL PROTECTED] wrote:
  Heloo list
 
  I have been trying to set up my FreeBSD 5.3 to get my emails with no
  results. I have installed and set up Mutt, Ssmtp and Fetchmail. None of
  them are working properly. I have no idea where to start first. I have
  already read the man pages and followed several how-tos I found on the
  internet but no results. I was wondering if any of you know of a web
  site with steps that I can follow to sep up my Mutt, fetchmail and
  ssmtp. I dont want to give up on this!!!
 
  THANKS
 
 Start with fetchmail. You need a .fetchmailrc file in your home
 directory. Some examples
 
 poll pop.domain2.com  protocol POP3 timeout 60 no dns
user loginname password 'poppassword' is homedirowner here,
options fetchall fetchlimit 0
 
 poll pop3.domain.com protocol POP3
user [EMAIL PROTECTED] password poppasswd is homedirowner here,
options fetchall
 
 As you can see some ISP's require only your login name, others require
 [EMAIL PROTECTED]. You can run fetchmail -v to see where you
 get stuck.
 
 This is an example for googles gmail, using SSL
 
 poll pop.gmail.com protocol POP3  timeout 60 no dns
   user gmailname password gmailpassword ssl  is homdirowner here,
   options fetchall fetchlimit 0
 
 If you are new to all this MTA, MUA and SMTP thing, you could consider
 to use Pine. mutt is nice but as a beginner Pine is probably easier to
 understand and configure than mutt.

Ah!  If you want to learn to use Mutt, learn to use Mutt.  Now that
you've got an idea of how to setup fetchmail, you'll want to create
a ~/.muttrc file.  There are many, many sample .muttrc files online;
Google is your friend.  This is the example I worked from when 
I first setup Mutt:

http://www.hserus.net/muttrc.html

All I had to do to get Mutt working with ssmtp was to tell Mutt to
use ssmtp in ~/.muttrc

set sendmail=/path/to/ssmtp

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


Re: what can i delete from /usr

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 14:31:43 UT, goose bla [EMAIL PROTECTED] wrote:
 hello,,
 
 please. i have not big hdd,, and i need to make free place. what can i
 remove from /usr  and system will be OK ?
 
 example:
 
 /usr/ports/distfiles/   - i can remove all files.
 
 in /usr/ports i can do
 rm -rf \*/work/
 
 i can remove
 /usr/src/sys/i386/compile/*after reboot with new kernel.
 
 can i remove /usr/src/sys/amd64 or /alpha  if a have i386 platform ?

Yes.  In fact, if you have tuned your kernel to your liking, you
can just as well do:

# rm -r /usr/src/sys

And if you don't plan to rebuild the system anytime soon, you
could remove even more:

# rm -r /usr/src/*

Other candidates for removal on my /usr partition are:

/usr/games   - this server don't need no stinking games!
/usr/sup- I keep my cvsup stuff elsewhere

And, you can remove old cruft from /usr/obj, like:

# chflags -R noschg /usr/obj
# rm -rf /usr/obj/*

HTH,

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


Re: what can i delete from /usr

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 16:42:58 +, Frank Staals [EMAIL PROTECTED] wrote:
 goose bla wrote:
 
 hello,,
 
 please. i have not big hdd,, and i need to make free place. what can i
 remove from /usr  and system will be OK ?
 
 example:
 
 /usr/ports/distfiles/   - i can remove all files.
 
 in /usr/ports i can do
 rm -rf \*/work/
 
 
 
 I bet you install your ports by doing a 'make install', if you do, you
 can probably better make an 'make install distclean' with the distclean
 option turned on, it automatically removes the ~/work/ directory's and
 the distfiles in /usr/ports/distfiles/. If you want to keep your
 distfiles you can just do 'make install distclean'
^^^
Ack!  If you want to keep your distfiles, you can just do:

# make install clean
 

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


Re: VIM

2004-12-22 Thread Joshua Lokken
On Tue, 21 Dec 2004 13:56:18 -0500, Leon [EMAIL PROTECTED] wrote:
 Hi,
 
 I have installed a VIM editor.
 When I create a new file with this editor, I can't type anything.
 What is wrong.

Probably nothing.  If you are, indeed, new to the vi editor, then you
have a steep learning curve ahead of you, and you'll want to do some
reading and use one of the many vi tutorials online to get your head
around how this editor works, because it is absolutely not intuitive.
Some good starting points are:

'man vi(1)'
http://www.unb.ca/documentation/UNIX/tips/vim/
http://www.apmaths.uwo.ca/~xli/vim/vim_tutorial.html
http://www.lecb.ncifcrf.gov/~toms/vi.html

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


Re: best newsgroup?

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 10:21:46 -0500, Pervert Files
[EMAIL PROTECTED] wrote:
 Hello,
 
 What is the best newsgroup to read freebsd question. 
 muc.lists.freebsd.questions doesn't seem to be updating 
 with anything on my news provider.

Well, a google search on 'freebsd questions archives' shows:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-September/059184.html
http://archive.pilgerer.org/mharc/html/freebsd-questions/

-- 
Joshua Lokken
Open Source Advocate
___
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 get it online

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 10:20:21 -0600, Bagus [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I hope this mailing list can help. I just installed freebsd 5.3-Release onto
 a new hard drive and I can't seem to get it online with my dhcp cable modem
 thru a linksys hub. Later it will be moving to a static ip, so any help with
 that transition now would be helpful too, but for now I have the machine at
 home and need to install software on it.
 
 If I give a
 ifconfig
 fxp0: flags =8802 bradcast, simplex, multicast mtu 1500
 options =8VLAN_MTU
 ether 00:a0:c9:e6:11:b1
 media: Ethernet autoselect (100baseTX full-duplex)
 status:active
 there'splip0 and lo0 as well...
 
 ping freebsd.org
 ping: cannot resolve freebsd.org: Host name lookup failure.
 
 As an aside, I'm stunned this isn't a FAQ or part of the freebsd manual:
 How to get your computer online. Really I'd rather not be posting this
 question to a mailing list. It seems so basic, yet I can't find an answer
 out there. If anyone has any references, I'd appreciate it.

Hostname lookup failure sounds like a dns problem to me.
Is there anything in /etc/resolv.conf ?  How is fxp0 assigned an
IP?  DHCP?  If so, do you have a line like the following in /etc/rc.conf:

ifconfig_fxp0=DHCP

How did you setup the Linksys?  Default (out-of-the-box) settings?
Is the DHCP server turned on at the router?  What does the status
page of the router settings show?

The FreeBSD Handbook is a great reference:

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

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


Re: Explore FreeBSD filesystem under Windows?

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 18:20:40 +0200, P. B. S. [EMAIL PROTECTED] wrote:
 How can I do that?
 explore2fs is for ext2/3 only.
 
 I want to copy files from my FreeBSD filesystem (UFS2, I think?) using
 Windows.

http://us1.samba.org/samba/

# cd /usr/ports/net/samba3
# make install clean

Then you can share your FreeBSD files over Samba, and have
access to them from your Winboxen.

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


Re: problem with IPFILTER

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 17:41:30 +0100, Dott. Surricani [EMAIL PROTECTED] wrote:
 each time I restart the server the rules are cleared and It leave all
 packets enter and exit
 an I have to type in the shell
 
 ipf -Fa -f /etc/ipf.rules and
 ipnat -CF -f /etc/ipnat.rules

In   /etc/rc.conf
'man rc.conf(5)'


-- 
Joshua Lokken
Open Source Advocate
___
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 get it online

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 11:00:32 -0600, Bagus [EMAIL PROTECTED] wrote:
   ping freebsd.org
   ping: cannot resolve freebsd.org: Host name lookup failure.
 
  Hostname lookup failure sounds like a dns problem to me.
  Is there anything in /etc/resolv.conf ?
 
 No, there is not even a /etc/resolve.conf. What should go in there?
 How is fxp0 assigned an  IP?  DHCP?
 I think so. That's the way it should be.
 
  If so, do you have a line like the following in /etc/rc.conf:
  ifconfig_fxp0=DHCP
 
 That line was not in there. I added it and rebooted. The boot process now
 started the dhcp client, but still no actual ip address is reported in the
 ifconfig.
 
  How did you setup the Linksys?  Default (out-of-the-box) settings?
 
 plugged it in, plugged cable modem into uplink, plugged this pc into one
 outlet, the freebsd box into another. PC works fine. Lights indicate
 connectivity to bsd box.
 
  Is the DHCP server turned on at the router?  What does the status
  page of the router settings show?
 
 
 That's supposed to be http://192.168.1.1, isn't it? I can't access that even
 from my pc. Any advice there would be helpful. BTW, I'm using Cox as a 
 ISP.

You can set fxp0 to use a static IP until you get the router working.
# ifconfig fxp0 inet 192.168.1.2 netmask 255.255.255.0
# route add default 192.168.1.1

In /etc/rc.conf, you should have:

ifconfig_fxp0=DHCP
defaultrouter=192.168.1.1

You should be able to login to the Linksys admin page:

http://192.168.1.1AFAIK, most of the Linksys home networking
devices use a blank username and password 'admin' by default.

Make sure that the DHCP server is enabled, and restart.

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


Re: best newsgroup?

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 12:28:58 -0600, Nikolas Britton
[EMAIL PROTECTED] wrote:
 Yes that worked, cool, now I can search every newsgroup with the word
 freebsd in it: http://groups-beta.google.com/groups?as_ugroup=*.freebsd.*

http://www.google.com/bsd

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


Re: Explore FreeBSD filesystem under Windows?

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 13:02:42 -0500, Bart Silverstrim
[EMAIL PROTECTED] wrote:
 
 On Dec 22, 2004, at 12:29 PM, P. B. S. wrote:
 
  I'm talking about 1 (one) computer! The FreeBSD partition is on the
  same hard disk; the 2 operating systems are not working at the same
  time. Samba, ftp, scp, etc. are not applicable here.
  That's why I mentioned explore2fs... I wanted to be clear.
 
 What about mounting the Windows partition under FBSD?

Yeah, is writing to NTFS implemented now?


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


Re: SSH into FBSD after Minimal Install?

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 11:13:07 -0600, Adam [EMAIL PROTECTED] wrote:
 I'm re-installing FreeBSD on a machine that currently has FreeBSD on it.  I'm 
 doing all this remotely over SSH.
 
 If I install with Minimal distribution set with sysinstall will I be able 
 to 
 enable SSH and add a user before the system goes down?

You can do about any administrative task from sysinstall, 
including drop into a shell, so yes, I would think you will be
able to do that.

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


Re: pcmcia wireless

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 09:54:15 -0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
   hello,
 
   i am using the 5.0 dist, and i cant get it to read my pcmcia ethernet
   card. it is rather old card with a cat-5 connector on it for plugging
   into my router. it is called ositech trumpcard and it is the jack of
   dimonds model  the card works because i tried it on the same computer
   before loading freebsd and i could surf the net with it. is there a
   driver avaliable for this card or should i go get a wirless one? (i
   cant find any cabled ones) if i need to get a wireless one, what brand
   do you recomend? i do have a wirless g router here.

I don't know much about wireless technology or setting it up
on FreeBSD, however, you're likely to be asked Why 5.0?  
It is no longer supported, and is quite old.  Have you got
specific reasons for not going with 5.3, which is the production
release?  So I'll just get that out of the way ;)

-- 
Joshua Lokken
Open Source Advocate
___
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 get it online

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 13:42:43 -0500 (EST), Jim Trigg [EMAIL PROTECTED] wrote:
 On Wed, December 22, 2004 1:30 pm, Joshua Lokken said:
  On Wed, 22 Dec 2004 11:00:32 -0600, Bagus [EMAIL PROTECTED] wrote:
  
   How did you setup the Linksys?  Default (out-of-the-box) settings?
 
  plugged it in, plugged cable modem into uplink, plugged this pc into one
  outlet, the freebsd box into another. PC works fine. Lights indicate
  connectivity to bsd box.
 
   Is the DHCP server turned on at the router?  What does the status
   page of the router settings show?
  
 
  That's supposed to be http://192.168.1.1, isn't it? I can't access that
  even
  from my pc. Any advice there would be helpful. BTW, I'm using Cox as a
  ISP.
 
 Not if you haven't reconfigured the router; the default is
 http://192.168.0.1.

[I wish I could site the exact model number] I just setup two
Linksys 4-port 10/100 routers with wireless, and they were 
both set to 192.168.1.1 out of the box.  In fact, that what's
Linksys' website says, too:

When the browser window opens, go to the Address bar and 
 type in the router's IP Address and click on the Go button 
 (192.168.1.1 is the default IP address of Linksys Routers).

It's all in TFM ;)

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


Re: Explore FreeBSD filesystem under Windows?

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 19:18:58 +, Irvin Piraman [EMAIL PROTECTED] wrote:
   Yeah, is writing to NTFS implemented now?
 
 From the manpages:
 
 http://www.freebsd.org/cgi/man.cgi?query=mount_ntfsapropos=0sektion=0manpath=FreeBSD+5.3-RELEASE+and+Portsformat=html
 
 WRITING
 There is limited writing ability.  Limitations: file must be nonresident
 and must not contain any sparces (uninitialized areas); compressed files
 are also not supported.  The file name must not contain multibyte charac-
 ters.

Very nice!  I hadn't looked into it for awhile...  Thank you, Irvin :)

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


Re: migrating from thunderbird to mutt?

2004-12-21 Thread Joshua Lokken
On Mon, 20 Dec 2004 02:13:57 +0100, Matthias Buelow [EMAIL PROTECTED] wrote:
 Nikolas Britton wrote:
  Can mutt handle um like 5+ email address and have them all separated and
  be able to send from diffrent email accounts?
 
 No.

Yes.
 
  How does it handle hyperlinks, if I select something will it open up in
  firefox or whatever?
 
 No.

Yes.
 
  Message filtering, for example I have all the different freebsd mailing
  lists automatically put into different folders, and junk mail sorting?
 
 No.  You have to setup procmail (or a similar program) to do that for you.

Wrong.  Mutt'll do it just fine.

Just wondering; have you ever used or seen Mutt?


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


Re: Do I have to rebuild my jails too when I rebuild the server?

2004-12-21 Thread Joshua Lokken
On Mon, 20 Dec 2004 23:33:33 +0100, Daniel Johansson [EMAIL PROTECTED] wrote:
 Okay, thank you but that page didn't help very much. I know how to
 rebuild and update the server, and I've done it many times but what I
 need to know is if I must rebuild my jails to when I rebuild the
 server. Maby the hostsystem and the jail gets out of sync?
 
 
 On Mon, 20 Dec 2004 11:31:04 -0600, Joshua Lokken
 [EMAIL PROTECTED] wrote:
  On Sun, 19 Dec 2004 23:23:26 +0100, Daniel Johansson [EMAIL PROTECTED] 
  wrote:
   I'm a big fan of jails and use three on my server. I also try to keep
   my server up to date and I rebuild it frequently but when I rebuild my
   server, update to the latest version, do I also have to rebuild my
   jails?

Apparently you missed the link and the line Some tips for updating
your jails can be found at ;)


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


Re: php5.0.3_1 doesn't run after update

2004-12-21 Thread Joshua Lokken
On Tue, 21 Dec 2004 07:59:40 +0100 (CET), Joerg Pulz
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Mon, 20 Dec 2004, bob wrote:
 
  ...
  portupgrade -v php5
 
  PHP Warning: PHP Startup: Unable to load dynamic library
  /usr/local/lib/php/20041030/session.so
  
 
  In /usr/local/lib/php I have:
 
  drwxr-xr-x  2 root  wheel  1536 Dec 20 13:58 20040412

 
 hi,
 
 i don't know what was going wrong during your update, but if you take a
 closer look at the above lines you will see the cause of your problem.
 the directory which contains the extensions is different to the one you
 have configured in php.ini.
 try to set
 extension_dir   =   /usr/local/lib/php/20040412
 in php.ini and try again.
 
 yesterday, i made a fresh php5 install and my extensions are in
 /usr/local/lib/php/20041030. don't know why this is not the case for you
 after upgrading from a previous version.

Yes, you'll definitely want to update your ports collection
before attempting to 'update' any ports. 

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

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


Re: apparent change in php4 port build procedure...

2004-12-21 Thread Joshua Lokken
On Tue, 21 Dec 2004 10:46:54 -0500, Bruce Campbell
[EMAIL PROTECTED] wrote:
 
 I'm upgrading to mod_php4-4.3.10
 
 In the past, the make procedure presented me with a detailed
 menu of options.  Now, it appears to just ask me these questions 3:
 
 - apache 1 vs 2
 - debug
 - ipv6
 
 and not all the other stuff like mysql, imap, and so forth.
 
 I can easily add the configure args I want to /usr/ports/lang/php4/Makefile, 
 like
 this:
 
--with-mysql=/usr/local \
--with-layout=GNU \
--with-config-file-scan-dir=${PREFIX}/etc/php \
--with-zlib-dir=/usr \
--with-regex=php \
--enable-ftp \
 
 But I liked the old menu system, as it saved me figuring out
 the configure args.  Was there a reason to move away from that,
 or is there a new mechanism I am not aware of ?

from /usr/ports/UPDATING:
20040719:
AFFECTS: users of PHP
AUTHOR: ale at FreeBSD.org 

The old lang/php4 and lang/php5 ports have been split
into 'base' PHP, PEAR, and shared extensions to allow 
more flexibility and add new features.
Upgrading your current PHP installation will result in a 
'base' PHP installation (no PEAR and no extensions).
PEAR can be found in the new devel/php4-pear and 
devel/php5-pear ports, while the set of PHP extensions 
to install can be choosen via the meta-ports 
lang/php4-extensions and lang/php5-extensions, or installing 
singular extensions individually.

The syntax may not be verbatim, as I pulled the snippet
from another posting, but there lies your answer ;)

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


Re: (cvsup newbie questions)

2004-12-20 Thread Joshua Lokken
On Sat, 18 Dec 2004 21:09:00 -0600, Nikolas Britton
[EMAIL PROTECTED] wrote:
 Joshua Tinnin wrote:
 
 
 
 Well, if you build a port with make options once, then it will remember
 your make options. Otherwise, you can enter make arguments
 in /etc/pkgtools.conf, although this only helps if you know what
 arguments the ports you're installing might need.
 
 
 What do you mean it remembers what make options I used... if I do a
 portupgrade it without setting MAKE_ARGS in pkgtools.conf it will
 remember my make options from the last time I built it? Also how to I
 make it unremember make options I don't want anymore?

I don't know about that.  If I want portupgrade to use custom make flags,
I specify them in /usr/local/etc/pkgtools.conf.  To remove options from a
previous build,  you can do:

# rm /var/db/ports/portname/options
 
 Also, semi related, whats this Generating INDEX-5 - please wait..
 thing and why does it take an hour for it to generate?

The machine is building the ports collection INDEX-5 file from the 
make describe output of all of the ports.  You can simplify this process
by doing 'make fetchindex' after you cvsup each time.


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


Re: (cvsup newbie questions)

2004-12-20 Thread Joshua Lokken
On Mon, 20 Dec 2004 08:13:05 -0800, Joshua Tinnin [EMAIL PROTECTED]  
 IIRC, pkgtools.conf only works with the pkgtools apps, like portupgrade.
 I don't think it works with making the port from the tree itself (like
 if you cd to the folder and make install clean), but options you use in
 building it from the ports tree will be stored
 in /var/db/ports/portname/options, as mentioned above. This is what I
 meant by remembered.

Yes, correct.

   Also, semi related, whats this Generating INDEX-5 - please wait..
   thing and why does it take an hour for it to generate?
 
  The machine is building the ports collection INDEX-5 file from the
  make describe output of all of the ports.  You can simplify this
  process by doing 'make fetchindex' after you cvsup each time.
 
 Yes, although you should cd /usr/ports before you do that. I guess the
 way people are doing this now is cvsup ports, cd /usr/ports  make
 fetchindex  portsdb -u (this last step will be done automatically
 when it needs to be done, but you can do it anyway after a ports tree
 update). You can also use /usr/ports/sysutils/p5-FreeBSD-Portindex ,
 which speeds up the process of making a new INDEX locally.

Ah, yes, it does help to be in /usr/ports when one runs 'make fetchindex'.

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


Re: bash - superuser

2004-12-20 Thread Joshua Lokken
On Mon, 20 Dec 2004 12:29:37 +0100, David Landgren [EMAIL PROTECTED] wrote:
 Giuliano Cardozo Medalha wrote:
  Hi,
 
  I have a machine with FreeBSD 5.3 - release -p2.
 
  I have installed bash from ports.
 
  How is possible to use bash in root account ?
 
  Thanks a lot
 
 Don't.
 
 Leave /bin/sh as your shell.

'Leave' /bin/sh as your shell makes it sound like /bin/sh is the
default root shell.  Did this change in FreeBSD 5.x?  It appears
that in 4.x, the root shell is /bin/csh by default, which [I believe]
is linked to /bin/tcsh.


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


Re: Do I have to rebuild my jails too when I rebuild the server?

2004-12-20 Thread Joshua Lokken
On Sun, 19 Dec 2004 23:23:26 +0100, Daniel Johansson [EMAIL PROTECTED] wrote:
 I'm a big fan of jails and use three on my server. I also try to keep
 my server up to date and I rebuild it frequently but when I rebuild my
 server, update to the latest version, do I also have to rebuild my
 jails?
 
 Can I have a jail built with 4.10 and use it without problems in 4.11 and so 
 on?

I do not have a specific answer to that question, however, this doc may
help you determine what you need to do:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-August/055091.html 


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


Re: make buildworld dies

2004-12-18 Thread Joshua Lokken
On Sat, 18 Dec 2004 11:49:53 -0500, Zachary Huang [EMAIL PROTECTED] wrote:
 Sorry for so many questions. On yet another FreeBSD (4.2), I  first
 did a sysinstall to upgrade to 5.10, 

Wha?  4.2 is very old. and 5.3 is the latest production release.
I'll assume the above is a typo for 4.10.  I'm not certain that
you can directly upgrade from 4.2 to 4.10, but in any case, you
want to read /usr/src/UPGRADING.

 it messed up everything because
 the source (/usr/src) did not match all the config files, so sendmail
 complains a lot and cannot ssh or telnet to the system.  I then did a
 cvsup (without specify which release, simply cvs) successfully (took
 like 10 hrs)

I don't believe this is what you wanted to do.  If you're going to
track a particular release, let's say 4.10, then you want to use
the appropriate cvs tag for that src tree, which for 4.10 release
will be RELENG_4_10.
 
 cd /usr/src
 make buildworld
 
 after about 8 min,  it stopped with the following error:
 cc -O -pipe -DSHELL -I .I/usr/src/bin/sh -Wall -Wfont (? cannot see my
 own writing) -c /usr/src/bin/sh
 /usr/src/bin/sh/mknodes.c:101.
 initializer element is not constant
 ***error code 1
 Stop in /usr/src/bin/sh
 *** error code 1
 stop in /usr/src.

That seems reasonable.
 
 now I am sort of stuck.  I made a new kernel the day before the
 sysinstall, but now I cannot even try compile a new kernel because it
 compains the config file is newer than what it wants.

It sounds like your src tree needs to be cleaned up (# rm -rf /usr/src/*)
and that you should read the Handbook chapter on using cvsup, write
yourself a src-supfile, or use one of the examples, and then follow the
well-documented procedure for upgrading your system from source.
 
 is my system totally messed up?  

Probably, but the handbook is a great resource, and will help you
to prevent it from happening again.

 right now apache still works, but I can telnet or ssh out but to the host

Wow, I'm surprised that Apache is still able to run ;)

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


Re: cvsup newbie questions

2004-12-17 Thread Joshua Lokken
On Fri, 17 Dec 2004 13:11:18 -0800, Kevin Smith [EMAIL PROTECTED] wrote:
 I'm interested in upgrading to gnome 2.8 (and possibly the newer
 releases of other applications)...I'm running the following version of
 freebsd:
 
 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
 In starting to learn cvsup, I'm trying to figure out what I need.
 
 The src-all collection seems like it is more than I want to update.
 Freebsd seems to  be working fine on my system and I don't think that I
 want to upgrade any kernel or OS-related programs unless any
 applications that I would want depend on it.
 
 So, if I am just interested in the latest fixes/version for applications
 running on 5.3-Release, should I just upgrade the ports collection ?
 There is an example supfile in /usr/share/examples/cvsup/ports-supfile.
 Would this be the best configuration to use ?
 
 Also, when I do upgrade the ports tree, I'm assuming it will just
 upgrade the skeleton tree, correct ?  Even if I do upgrade src-all,
 its not going to down load the .tar files for all the source code ?

The src tree, which gets updated if you cvsup src-all is the source
code to rebuild the operating system.  The ports tree is, you're
correct, the skeletons for building third party software, which 
includes gnome.  If you want to install the latest version of gnome,
you should cvsup the ports tree (ports-all), then cd into the directory
for the gnome meta-port (it builds gnome and alot of associated apps)
and build it, like so:

# cd /usr/ports/x11/gnome2
# make install clean

Go away on a vacation for the holidays, and when you get back,
you _should_ have gnome built and installed, along with alot of
goodies.

As you're running 5.3-RELEASE, I don't believe most applications
will require a system update, however, if you want to track 
security and critical patches to the OS, then you will want to
cvsup the src tree (src-all) and use the RELENG_5_3 tag in your
src-supfile.  You should read:

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

HTH,

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


Re: Pure-Ftpd

2004-12-17 Thread Joshua Lokken
On Fri, 17 Dec 2004 17:22:34 -0500, alfredo perez
[EMAIL PROTECTED] wrote:
 Does anybody know a web site where I can get the steps to follow in
 order to set up a FTP server using Pure-Ftpd on Freebsd 5.3 release?
 
 thanks

Yes.

http://www.pureftpd.org/documentation.shtml 


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


Re: updating pkgdb results invalid argument

2004-12-16 Thread Joshua Lokken
 On Dec 15, 2004, at 10:21 PM, Noah wrote:
 
  FreeBSD-4.9
 
  any clues why this is happening?  the update of the package DB ends
  off with
  invalid argument.
 
  --- snip 
 
  # pkgdb -Fu
  ---  Updating the pkgdb
  Invalid argument
On Thu, 16 Dec 2004 08:38:54 -0800, Lapo Nustrini [EMAIL PROTECTED] wrote:
 Are you sure you don't mean to do:
 
 # pkgdb -fu
 
 Lapo

Lapo, please don't top post.


from man pkgdb(1):

-F
 --fix Interactively fix the package registry database.


-u
 --update  Update or create the package database file pkgdb.db in
   $PKG_DBDIR, which is /var/db/pkg by default.

   Note: if the ports database files are stale, pkgdb will
   automatically update them before proceding, so manual
   updating is not mandatory.


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


Re: Kernel configuration

2004-12-16 Thread Joshua Lokken
On Thu, 16 Dec 2004 11:42:02 -0500, Leon [EMAIL PROTECTED] wrote:
 Hi,
 
 I'm installing a BSD, and by documentation what provided, on the beginning of 
 installation I should see Kernel Configuration screen. But after the system 
 buts from my CD, it bring me to the Sysinstall Main Menu. It skip Kernel 
 Conf.
 
 Should I configurate a Kernel?
 If yes, how can a get to this screen?

You can [generally] wait until after the system is installed to configure
a custom kernel.  If you don't have any wonky hardware, the GENERIC
kernel, installed by default, should get your system installed and running.

When you do get to the point where you want to make changes to the
kernel,

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


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


Re: Config Script for Webserver

2004-12-16 Thread Joshua Lokken
  On Thu, 16 Dec 2004 11:45:05 -0600, Adam [EMAIL PROTECTED] wrote:
   Does anyone have a config script for setting up a web server?
   I need to get my own server up and running ASAP.
 
  Well, probably yes.  However, you would benefit much more from
  reading the available docs at http://httpd.apache.org/ and getting
  an understanding for what you're doing when you put up a webserver.
 
  You should be able to find many, many how-tos by using your
  friend, Google.
 
  http://www.google.com/bsd
On Thu, 16 Dec 2004 11:57:05 -0600, Adam [EMAIL PROTECTED] wrote:
 I've been reading and playing with my server for a week, plus reading the
 Handbook and The Complete FreeBSD.  But I really need to get the server up
 tonight and I really don't want to worry that I missed anything that will
 compromise security.

Post your config and detailed info on whatever problem you're
having; someone will be able to help you.  You may also want
to try the folks at the apache mailing lists.

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


Re: Config Script for Webserver

2004-12-16 Thread Joshua Lokken
On Thu, 16 Dec 2004 11:45:05 -0600, Adam [EMAIL PROTECTED] wrote:
 Does anyone have a config script for setting up a web server?
 I need to get my own server up and running ASAP.

Well, probably yes.  However, you would benefit much more from
reading the available docs at http://httpd.apache.org/ and getting
an understanding for what you're doing when you put up a webserver.

You should be able to find many, many how-tos by using your
friend, Google.

http://www.google.com/bsd

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


Re: Hylafax Help

2004-12-15 Thread Joshua Lokken
On Tue, 14 Dec 2004 18:26:15 -0500, Alvaro Rosales [EMAIL PROTECTED] wrote:
 Hello  guys is there any hylafax hpwto for freebsd?.

It looks like there are some hints in this thread (however sparse):

http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-02/1531.html

And Google says that there may be pertinent info on FreeBSD-specific
Hylafax config in the FreeBSD Corporate Network's Guide:

http://www.bsdmall.com/freebcornetg.html

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


Re: rl0: watchdog timeout

2004-12-15 Thread Joshua Lokken
On Wed, 15 Dec 2004 22:08:24 +0300, Andrew [EMAIL PROTECTED] wrote:
 Good day!
 
 I know, this question is famous, but i can't handle it myself.
 The problem is: After some time my realtek card becomes 
 unresponsible. It happens because of buffer overflow. I tried
 ping -f xxx. 15 seconds later, the kernel says that 
 rl0: watchdog timeout. 
 I can't send files more then 100MB via network. This problem
 is because of my PC configuration - Motherboard GB K8N, 
 chipset nforce 3. Unfortunately, even FreeBSD 5.3 can't handle 
 it (but it's better then 5.2.1). Maybe someone has already met 
 this problem?

Looking around Google a bit, it looks like many people have been
able to get the timeouts to go away by disabling PnP OS in the
BIOS.  Do you have that set to Yes?  If so, try disabling it, and 
see if it helps any.

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


Re: php4 install has conflicts

2004-12-15 Thread Joshua Lokken
On Wed, 15 Dec 2004 12:15:58 -0800, Noah [EMAIL PROTECTED] wrote:
 okay thank you,
 
 do you know of a command that can show me all the ports that are installed on
 my machine?  

% ls /var/db/pkg | more

 is there a nice tutorial that explains how to use the ports
 efficiently and safetly?

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

and

% man portupgrade(1)

after you've installed portupgrade, of course ;)


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


Re: refuse

2004-12-14 Thread Joshua Lokken
On 14 Dec 2004 09:36:35 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Gert Cuykens [EMAIL PROTECTED] writes:
 
  can somebody change the cvsup program so the refuse file can contain
  #comments please ?
 
 Why not just run it through cpp(1) and use the output?
 I used to do that with my sendmail configuration...

Hello Lowell, would you mind elaborating on this?  How would
one 'run it through cpp'?

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


Re: Strange startup behavior on 5.3-release

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 11:04:24 +0100 (CET), Gelsema, Patrick
[EMAIL PROTECTED] wrote:
  On Mon, 13 December, 2004 23:56, Mike Meyer said:
  I'm running 5.3-release, and seeing *very* strange behavior on
  startup.
 
  If I reboot the system, I get the following errors in
  /var/log/console.log:
 
  Dec 13 17:38:59 guru kernel: Starting sshd.
  Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L
  Dec 13 17:39:00 guru kernel: sendmail: usage: sendmail [ -t ] [
  -fsender ] [ -Fname ] [ -bp ] [
   -bs ] [ arg ... ]
 
  I'm getting those errors because sendmail is set to
  /var/qmail/bin/sendmail in /etc/mail/mailer.conf. Since I'm running
  qmail, sendmail should be run *at all* at startup.
 
  The really strange thing is that if I shutdown and then restart the
  system, without a reboot, I don't see these error messages.
 
  I've traced this down to the sendmail_msp_queue_enable variable in
  /etc/rc.conf. If set to yes, that invokes sendmail with the -L option.
 
  There don't appear to be any currently filed bugs related to this
  issue, and google didn't turn up anything relevant.
 
  I'm running the GENERIC kernel. I've attached my /etc/rc.conf in case
  something there is pertinent.
 
  After you installed qmail (from ports?) were there any instructions on
  how you should modify /etc/rc.conf?
 
  I use Postfix, and after I installed that from the ports tree, it told
  me to add the following entries to rc.conf
 
  dj : ~ cat /etc/rc.conf | grep -i sendmail
  sendmail_enable=YES
  sendmail_flags=-bd
  sendmail_pidfile=/var/spool/postfix/pid/master.pid
  sendmail_outbound_enable=NO
  sendmail_submit_enable=NO
  sendmail_msp_queue_enable=NO
 
  Maybe that's some help?
 
  Cheers,
  David
 
 
 Sometime ago I installed qmail and what I remember is that in /etc/rc.conf
 the following line needs to be added;
 SENDMAIL=NONE #check sendmail documentation for proper line

However, this is deprecated, and it is recommended that you use:

sendmail_enable=NO
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO

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


Re: web-based password checking tool?

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 15:41:07 -0300 (ART), Fernando Gleiser
[EMAIL PROTECTED] wrote:
 I have a FreeBSD box with more then 400 accounts. the users are
 non-technical, administrative kind of persons.
 
 The box is working as a mail server, with sendmail as MTA and cyrus IMAPd,
 authenticating against the system files (/etc/master.passwd) not using
 SASL.
 
 I need a web based tool to let the users change their passwords, since
 they don't have shell access, a web-based solution seems like the
 only way to let them do it without bothering the admins.

Usermin should do what you're wanting.  It's similar to Webmin, which
another poster recommended, but is meant for end-users rather than
admins.

/usr/ports/sysutils/usermin  

HTH,

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


Re: freebsd-questions Digest, Vol 83, Issue 4

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 10:44:28 +0800, microkernel [EMAIL PROTECTED] wrote:
  Message: 1
  Date: Mon, 13 Dec 2004 14:23:07 -0500
  From: Robert Fitzpatrick [EMAIL PROTECTED]
  Subject: Re: Cleaning port config options
  To: Miguel Mendez [EMAIL PROTECTED]
  Cc: FreeBSD [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain
 
  On Mon, 2004-12-13 at 11:00, Miguel Mendez wrote:
I was installing the mail/dspam port and the selection of options
appeared for configuration, then after selecting, the configuration
stopped with an error that I had selected too many back-end options. I
did 'make distclean' and 'make clean', but the options list will not
appear again for me to alter the configuration options. How do I do
this?

# rm /var/db/ports/portname/options

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


Re: refuse

2004-12-14 Thread Joshua Lokken
On 14 Dec 2004 13:26:03 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Joshua Lokken [EMAIL PROTECTED] writes:
 
  On 14 Dec 2004 09:36:35 -0500, Lowell Gilbert
   Why not just run it through cpp(1) and use the output?
   I used to do that with my sendmail configuration...
 
  Hello Lowell, would you mind elaborating on this?  How would
  one 'run it through cpp'?
 
 cpp -P  input_file  output_file

Thank you, Lowell. 


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


Re: Having trouble locating driver for the embedded ethernet controller on Epox 8RD+ Pro with Nforce2 Ultra Chipset

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 13:23:00 +0200, Bozhidar Batsov
[EMAIL PROTECTED] wrote:
 Can you help me with a solution for my problem? I'm pretty sure there
 are no native drivers for that ethernet adapter and I should use the
 windows compatibility layer. But I cannot find the ethernet driver
 distributed stand-alone apart from the entire nforce 2 driver package .
 Any suggestions?

Install the entire nforce 2 driver package.


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


Re: Cleaning port config options

2004-12-14 Thread Joshua Lokken
On Mon, 13 Dec 2004 10:38:17 -0500, Robert Fitzpatrick
[EMAIL PROTECTED] wrote:
 I was installing the mail/dspam port and the selection of options
 appeared for configuration, then after selecting, the configuration
 stopped with an error that I had selected too many back-end options. I
 did 'make distclean' and 'make clean', but the options list will not
 appear again for me to alter the configuration options. How do I do
 this?

# rm /var/db/ports/portname/options 


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


Re: Having trouble locating driver for the embedded ethernet controller on Epox 8RD+ Pro with Nforce2 Ultra Chipset

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 13:22:03 -0600, Joshua Lokken
[EMAIL PROTECTED] wrote:
 On Tue, 14 Dec 2004 13:23:00 +0200, Bozhidar Batsov
 [EMAIL PROTECTED] wrote:
  Can you help me with a solution for my problem? I'm pretty sure there
  are no native drivers for that ethernet adapter and I should use the
  windows compatibility layer. But I cannot find the ethernet driver
  distributed stand-alone apart from the entire nforce 2 driver package .
  Any suggestions?
 
 Install the entire nforce 2 driver package.

/usr/ports/net/nvnet


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


Re: web-based password checking tool?

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 14:04:44 -0500, Alexander Chamandy
[EMAIL PROTECTED] wrote:
 In that case, check out something like:
 http://rucus.ru.ac.za/~bvi/utils/webpass/
 
 Web Pass is a CGI script which allows users on a system to change
 their passwords via the web. This is useful for users with no shell
 access to the machine, but who still have 'real' accounts for things
 such as web space, ftp Samba and the like.
 
 I hope this helps!
 
 On Tue, 14 Dec 2004 16:02:46 -0300 (ART), Fernando Gleiser
 [EMAIL PROTECTED] wrote:
  On Tue, 14 Dec 2004, Alexander Chamandy wrote:
 
   The solution I've seen people use in the past is Webmin
   (http://www.webmin.com/), but I haven't heard great things about its
   security.  I would use it cautiously if you are looking for that
   functionality.
  
  Webmin is a different thing. it allows for web-based administration,
  it isn't useful as a tool for users to change their passwords.
  In order to use webmin for that, I'd have to add a webmin user for
  every mail user and restrict the module set. It is just not worth it.
 
  I'm looking for something like some ISPs do: a form where you enter
  your username, your old password and your new one (twice, for confirmation).
 
  I think I can hack a quick CGI script which does that, then checks the
  parameters, and if everything is OK, hashes the new passwd and calls
  something like
  echo ecnryptedpass | sudo pw usermod user -H 1
 
  or something like that. But I prefer to use already made and tested
  solutions.
 
 
   The problem I'd note is that in order to attain
   convenience in the traditional sense, one must generally sacrifice
   layers of security.  In this case, allowing a web interface to change
   users' authentication credentials provides risks (compromise,
   information leakage, etc.) and rewards (enhanced usability for novice
   users, added convenience).
  
  Exactly. But I think in this case is justified. We're talking about
  people who are not technical. It's the only way.


Alexander, please do not top-post.
http://www.html-faq.com/etiquette/?toppost

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


Re: Typo in: cache-update (portindex) - hangs(?)

2004-12-12 Thread Joshua Lokken
On Sat, 11 Dec 2004 13:24:31 +0100, Christopher Illies
[EMAIL PROTECTED] wrote:
  
   The problem I have is now that cache-init seems to hang:
   ^^
 
 Sorry, this was a typo: I meant cache-update, not cache-init.
 
 
  It took a couple of hours for cache-init to complete on my
  K-6/2 450 / 128MB machine at home.  You may just want
  to give it some time.
 
 Thanks for your reply and sorry for the typo. Yes cache-init also took
 a couple of hours on my computer, but when it finished i got the command-promt
 back. But I am having problems with cache-update. I include the last
 paragraphs of my original post with the typo corrected:
 
 for upating the portstree I do:
 # cvsup -g -L 2 ports-supfile
 # cache-update
 # portindex -o /usr/ports/INDEX-5 (I am using 5-stable)
 # portsdb -u (I am also using portupgrade)
 # portupgrade -arR (or whatever)
 
What happens if you add

# make fetchindex

immediately after the cvsup?


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


Re: PHP5-extensions menu - where is it ?

2004-12-11 Thread Joshua Lokken
On Sat, 11 Dec 2004 09:40:50 +0300, Odhiambo Washington
[EMAIL PROTECTED] wrote:
 * Joshua Lokken [EMAIL PROTECTED] [20041211 04:22]: wrote:
 
 
  On Sat, 11 Dec 2004 00:35:21 +, Mário Gamito [EMAIL PROTECTED] wrote:
   Hi,
  
   I've installed PHP5-extensions.
   At the begining of the process, a menu appears to one can choose what he
   wants PHP to suppport.
  
   I want to rebuild, but i can't get that menu anymore.
   It just rebuilds with the same options i've choose the first time in
   that menu.
  
   How can i make that menu reapear ?
 
  # rm /var/db/ports/portname/options
 
 I don't believe that! ;)
 
 I think the right thing to do is
 
 cd /usr/ports/lang/php5-extensions
 make rmconfig
 make config
 
 It's less ambiguous than the Lokken option ;)
 

It returns the desired result quickly and easily.


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


Re: cache-update (portindex) - hangs(?)

2004-12-10 Thread Joshua Lokken
On Fri, 10 Dec 2004 14:57:21 +0100, Christopher Illies
[EMAIL PROTECTED] wrote:
 Hi,
 
 I am trying to figure out the correct way to use
 sysutils/p5-FreeBSD-Portindex. From how I understand  it, the procedure for
 updating the ports system would be:
 
 to initialise cache, afterwards occasionally :
 # cache-init
 
[snip]
 
 The problem I have is now that cache-init seems to hang:  

It took a couple of hours for cache-init to complete on my
K-6/2 450 / 128MB machine at home.  You may just want 
to give it some time.

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


Re: When to use 'portupgrade -R'

2004-12-10 Thread Joshua Lokken
On Fri, 10 Dec 2004 19:37:40 +, Jonathon McKitrick
[EMAIL PROTECTED] wrote:
 On Fri, Dec 10, 2004 at 01:32:33PM -0600, Joshua Lokken wrote:
 : from 'man portupgrade(1)':
 
 
 :
 :  -r
 :  --recursive  Act on all those packages depending on the
 :   given packages as well.
 :
 :  -R
 :  --upward-recursive   Act on all those packages required
 :by the given packages as well. [snip]
 :
 : It sounds like you are / were not sure of what those options
 : actually do.  Have a read of the manpage; it'll do you worlds
 : of good.
 
 Actually, it WAS what I was trying to do.  I wanted to upgrade gnome2-lite
 and all the packages it required, because gnome2-lite is a meta-port.

If you're trying to upgrade a large bunch of ports like gnome,
you may want to start by running portupgrade on the 
required libraries.  For example, although I usually install
XFree86-4 via the meta-port, when I want to upgrade it, I
generally run 'portupgrade -r XFree86-4-libraries', which first
upgrades the libs, then all the ports (including the rest of
the XFree86 stuff) that require XFree86-4-libraries.  YMMV.

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


Re: PHP5-extensions menu - where is it ?

2004-12-10 Thread Joshua Lokken
On Sat, 11 Dec 2004 00:35:21 +, Mário Gamito [EMAIL PROTECTED] wrote:
 Hi,
 
 I've installed PHP5-extensions.
 At the begining of the process, a menu appears to one can choose what he
 wants PHP to suppport.
 
 I want to rebuild, but i can't get that menu anymore.
 It just rebuilds with the same options i've choose the first time in
 that menu.
 
 How can i make that menu reapear ?

# rm /var/db/ports/portname/options


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


Re: File System Descriptions

2004-12-10 Thread Joshua Lokken
On Fri, 10 Dec 2004 18:48:37 +0300, Odhiambo Washington
[EMAIL PROTECTED] wrote:
 Dear people,
 
 Does anyone know of a place where they describe the differences between
 the commonly known filesystem types - UFS, UFS2, NTFS, EXT2, EXT3,
 REISERFS, FAT32 (spit!) .. well, mostly the ones related to Unix I hope.
 I would like to know why one type is preferred over the others, or
 something like that.

http://www.parkautomat.net/fs-comp.html
http://www.allunix.org/_Filesystems_-_again-9309072-5726-a.html

Those look like they may contain some or most of the
filesystems you're inquiring about.   HTH,

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


Re: When to use 'portupgrade -R'

2004-12-10 Thread Joshua Lokken
On Fri, 10 Dec 2004 16:39:32 +, Jonathon McKitrick
[EMAIL PROTECTED] wrote:
 On Fri, Dec 10, 2004 at 05:08:44PM +0100, Peter Ulrich Kruppa wrote:
 : Hmm, I am afraid your question is a bit general ...
 
 I've tried the '-R' option before, and ended up with portupgrade telling me
 I had stale dependencies, and I never can get those fixed right.  Maybe I
 should just stop using that option.
 
 : Anyway:
 : /usr/ports/UPDATING will inform you about problematic or
 : necessary upgrades.
 : I guess reading this before portupgrade will usually keep you out
 : of trouble.

from 'man portupgrade(1)':

 -r
 --recursive  Act on all those packages depending on the
  given packages as well.

 -R
 --upward-recursive   Act on all those packages required
   by the given packages as well. [snip]

It sounds like you are / were not sure of what those options
actually do.  Have a read of the manpage; it'll do you worlds
of good.

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


  1   2   3   >