The FreeBSD Diary: 2004-02-08 - 2004-02-28

2004-02-29 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: BSD Website

2004-02-29 Thread zam4ever
- Original Message 
From: Alex de Kruijff [EMAIL PROTECTED]
To: zam4ever [EMAIL PROTECTED]
Cc: . [EMAIL PROTECTED]
Subject: Re: BSD Website
Date: 29/02/04 09:16

 I have a OS website for you:
 http://www.sysctl.org/touptibsd/

 -- 
 Alex

This is a very nice mini-FreeBSD. Today, I also discover a lot of other
mini FreeBSD projects. I will update the list a.s.a.p.

Thank you again.

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


converting users from FreeBSD to linux (PAM)

2004-02-29 Thread Micheas Herman
I have a need of transfering about twenty user accounts from FreeBSD to
Linux(Debian)  

Is there any way of keeping the PAM passwords in tact? (A tool that
allows for migration in either direction would be ideal)

My current solution is tell everyone that their password has expired and
they need to type in a new one.


Micheas

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


Re: scheduling priority not working?

2004-02-29 Thread Sergey 'DoubleF' Zaharchenko
On Sat, 28 Feb 2004 06:28:24 +0100
Erik Trulsson [EMAIL PROTECTED] probably wrote:

 Let me guess: You are using [t]csh as your shell, right?
 That has 'nice' as a built-in command with a slightly different syntax
 than /usr/bin/nice  (which is what is documented in the nice(1)
 manpage)

Substitute `slightly different' for `evil and incompatible':).

That's why it's so usable to use an escape so that the nice binary
would be used, not the built-in command:

$ \nice -n 19 make

There's more than nice to change priority; for example, check out
rtprio(1) and idprio(1). Just FYI.

HTH,

-- 
DoubleF
A diplomat is someone who can tell you to go to hell in such a way that
you will look forward to the trip.


pgp0.pgp
Description: PGP signature


Re: converting users from FreeBSD to linux (PAM)

2004-02-29 Thread Micheas Herman
On Sun, 2004-02-29 at 01:04, Micheas Herman wrote:
 I have a need of transfering about twenty user accounts from FreeBSD to
 Linux(Debian)  
 
 Is there any way of keeping the PAM passwords in tact? (A tool that
 allows for migration in either direction would be ideal)

Well I souldn't have given up on Google so soon.

 cut -d: -f1-4,8- /etc/master.passwd  linux.passwd

 copy or append linux.passwd to /etc/passwd on the linux box

 Then run pwconv on the linux machine.

merging /etc/shadow and /etc/passwd on a Linux computer will give you
/etc/master.passwd for FreeBSD.

I wish all my operating systems played together as nice as Debian and
FreeBSD.


Micheas

 
 My current solution is tell everyone that their password has expired and
 they need to type in a new one.
 
 
 Micheas
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


RE: kernel compile error

2004-02-29 Thread Remko Lodder
He stated that he used:

#make buildkernel KERNCONF=GENERIC

That is not a make world, so he can safely recompile his kernel in my
opinion,
Will try to examine his problem today :)

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Danny Pansters
Verzonden: zondag 29 februari 2004 2:33
Aan: [EMAIL PROTECTED]
Onderwerp: Re: kernel compile error


On Sunday 29 February 2004 01:39, Remko Lodder wrote:
 Hi dude,

 It's not harmfull to replay the whole process,
 The way i do it is go to the dir

 cd /usr/src/sys/i386/conf/
 edit the GENERIC file,
 cd ../compile/GENERIC
 make clean  make depend  make  make install
 the  makes sure the next command only get's runned when
 the previous command complete succesfully or returned status 0 (success in
 almost every case :))

You shouldn't do this while in a 'make world' cycle. (or if you insist do it
from /usr/obj instead)


HTH,

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

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


Re: question on cut/paste in Gnome.

2004-02-29 Thread Matthew Seaman
On Sat, Feb 28, 2004 at 07:31:56PM -0800, Gary Kline wrote:
   I've got Gnome set up as my default GUI on my new DNS 
   server.  (Seems much improved over the older RH8 version.)
   But how do I paste things?  Clicking with first/third mouse
   buttons designate the string or area I want; it should be in
   the buffer.  But the middle button (oR firstthird) buttons
   don't paste.  
 
   The right mouse button pops up small rectange with a Paste
   area, but this doesn't work.

If it doesn't work the X-windows way, then it probably works more like
the way it does in windows: use the left mouse button to select the
text, then right click to get a popup menu which should have 'cut' and
'copy' entries.  Select whicher you require.  Then left click to move
the cursor to the insert point, right click to bring up the menu and
select paste.

You may also find that you can select the area, then left mouse down
on the selection and drag to where you want it to go.  (Which is a
feature of OpenOffice that I personally hate because I want left mouse
to *always* select text.)

It's possible that you may have difficulty cut'n'pasting between
applications that use different paradigms -- there may be more than
one cut-buffer under the hood as well.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


RE: kernel compile error

2004-02-29 Thread Remko Lodder
Overlooked this email,
And overlooked the make world process,

My apologies for giving inaccurate information

Cheers,

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Danny Pansters
Verzonden: zondag 29 februari 2004 2:31
Aan: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Onderwerp: Re: kernel compile error


On Sunday 29 February 2004 01:52, [EMAIL PROTECTED] wrote:
 Im kinda new at this and

 I was compiling my kernel on my Dell Inspiron600m running FreeBSD 5.2
 RELEASE when I just remembered[after taking a nap] that I did

 #make buildkernel KERNCONF=GENERIC

If you build your own kernel, you should give it another name than GENERIC
(and change ident in your config file).


 and I forgot to edit the /usr/src/sys/i386/conf/GENERIC file before
 running the process.

 anyway, the #make buildkernel completed and i wanted to change the GENERIC
 file so i went aroung and commented out all the stuff that i didnt have on
 my system and did a #make buildkernel KERNCONF=GENERIC again only to have
 errors after about a minute into the process.

 My Questions Are:
 Is it wrong to do this process again after a successful #make buildkernel?
 If so, what should I do to do it successfully? [should i rm -rf /usr/src
  cvsup -g -L 2 /etc/standard-supfile  make world again?]

Never run make world literally. Run make buildworld, make kernel, make
installworld, mergemaster.


 Or is it possible that my GENERIC file is wrong?

Yes, you edited too much out. This is a FAQ:

 #device scbus   # SCSI bus (required for SCSI)
 device  umass   # Disks/Mass storage - Requires scbus and

HTH,

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

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


Re: NFS sharing /usr/ports and /usr/src

2004-02-29 Thread Matthew Seaman
On Sun, Feb 29, 2004 at 05:45:33PM +1300, Tom Munro Glass wrote:
 I want to NFS share /usr/ports and /usr/src from a master machine for use by 
 other machines. If I specify -network and -mask options for each share, I get 
 the error:
 
   mountd[101]: can't change attributes for /usr/src
   mountd[101]: bad exports list line /usr/src
 
 but if I don't have any options, the share works OK?
 
 What am I doing wrong?

You've probably got /usr/ports and /usr/src on the same disk
partition.  You can't export two chunks of the same partition to the
same set of client hosts with different flags.  Not only that, but you
can't do anything that even smacks of changing the flags between two
exported subdirectories on a single partition.  Or in other words,
it's the partition that gets exported, rather than the particular
directory trees you specify.  I think, although I could be wrong, that
if you export, say, /usr/src which happens to reside on the /usr
partition, then an NFS client can be persuaded to access files from
anywhere on the /usr partition.

What you should do is put the two subdirectories on the same line in
the exports file:

/usr/ports /usr/src -network 192.168.0.0 -mask 255.255.255.0

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: VPN via ssh ?

2004-02-29 Thread Dirk-Willem van Gulik
On Feb 29, 2004, at 2:27 AM, stan wrote:

I can connect to my home machines from work using runsocks ssh. Now 
it
seems to me that I ought to be able to build a full blown VPN tunnel 
using
this, right?
You'll need to run PPP inside it.  I use the simple scripts at

	http://www.webweaving.org/vpn-tools/

One -BIG- problem with any type of tunnels over TCP (ssh is TCP) is that
any TCP connections inside that tunnel get mightlily confused when tere
is a packet drop/retry on the outer tunnel; as the inner tunnels come to
about the same conclusion at the same time. And you get lovely little
avelances and your pipes wadded up.
Dw

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


Re: scheduling priority not working?

2004-02-29 Thread Zhang Weiwu
Sergey 'DoubleF' Zaharchenko wrote:

There's more than nice to change priority; for example, check out
rtprio(1) and idprio(1). Just FYI.
GREAT TOOL rtprio(1) is. Now I can run 'rtprio 5 mpg321 *.mp3' it produce 
very smooth sound. Perhaps rtprio is averagely used even more frequently 
than nice(1)? nice(1) is just what I learned from school; school books are 
often not very practical these days.

_
 MSN Messenger:  http://messenger.msn.com/cn  

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


Re: Search Path in bash2

2004-02-29 Thread Martin McCormick
I am quoting one response I received, but my thanks to
everyone who answered.  I went to the system in question and figured I
would methodically try every suggestion I received until I either
exhausted all possibilities or something worked.

I was hoping for a global solution that would not require
modifying each user's .bash_profile, and it turns out that
/etc/profile appears to do the trick.  After one false start of
setting $path instead of $PATH, I added the following line which I
have broken for readability:

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
/usr/local/bin:/usr/local/etc:/usr/X11R6/bin:~/bin

This appears to correctly modify the behavior in the desired
manner.

Again, many thanks to all who answered.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
Peter Risdon writes:
When  bash is invoked as an interactive login shell, or as a non-inter-
   active shell with the --login option, it first reads and 
executes  com-
   mands  from  the file /etc/profile, if that file exists.  After 
reading
   that file, it looks for ~/.bash_profile, ~/.bash_login, and 
~/.profile,
   in  that order, and reads and executes commands from the first 
one that
   exists and is readable.  The --noprofile option may be  used  
when  the
   shell is started to inhibit this behavior.
 
But so far as I have seen, at least on FreeBSD, /etc/profile does not 
generally contain path info. This is normally set in ~/.profile and the 
default contains something like this:

# remove /usr/games and /usr/X11R6/bin if you want
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/
usr/X11R6/
bin:$HOME/bin; export PATH

So my guess is that to conform closely to this way of doing things, add 
the path to each user's ~/.profile and also to 
/usr/share/skel/dot.profile so it is there immediately for new users.

Alternatively, unless someone contradicts this, the man page seems to 
suggest you could add a path to /etc/profile and it would then be 
system-wide. I have never done this myself, though, so can't vouch for 
it whereas I have edited ~/.profile frequently.

HTH.

PWR.



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


Probelms with make isntallworld

2004-02-29 Thread stan
Can anyone tell me what's going on here? I'm trying to build a new STABEL
amchine this weekend. I installed the minimum distribution, cvsup'd and am
trying to do a make buildworld, make buildkernel, make installkernel,
reboot, make installworld sequence.

It keeps erroring out in the make isntallworld. I've even re cvsup'd and
started over from scratch. Here's what I see:


Script started on Sat Apr 19 15:52:38 2003
# make installkerne     world
mkdir -p /tmp/install.47749
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep  ln make 
makewhatis mkdir mtree mv pwd_mkdb rm sed sh sysctl  test true uname wc zic; do  cp 
`which $prog` /tmp/install.47749;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac 
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.47749
 make -f Makefile.inc1 reinstall
--
 Making hierarchy
--
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc;make distrib-dirs
set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`;  while [ $# -gt 0 ] ;  do  
for dir in /usr/share/locale  /usr/share/nls  /usr/local/share/nls;  do  test -d 
/${dir}  cd /${dir};  test -L $2  rm -rf $2;  test \! -L $1  test -d $1 
 mv $1 $2;  done;  shift; shift;  done
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/libdata/perl/5.00503/mach
mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`;  while [ $# -gt 0 
] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
cd /usr/share/locale;  set - `grep ^[a-zA-Z] /usr/src/etc/locale.alias`;  while [ $# 
-gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`;  while [ $# -gt 0 
] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done

--
 Installing everything..
--
cd /usr/src; make -f Makefile.inc1 install
=== share/info
=== include
creating osreldate.h from newvers.sh
setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  . 
/usr/src/include/../sys/conf/newvers.sh;echo $COPYRIGHT  
osreldate.h;echo #ifdef _KERNEL  osreldate.h;  
 echo '#error osreldate.h must not be used in the kernel, use sys/param.h'  
osreldate.h;  echo #else  osreldate.h;   echo \#'undef 
__FreeBSD_version'  osreldate.h;echo \#'define __FreeBSD_version' $RELDATE 
 osreldate.h;  echo #endif  osreldate.h
touch: not found
*** Error code 127

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

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

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

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

Stop in /usr/src.
# ^D
Script done on Sat Apr 19 15:52:51 2003

BTW, a whch touch does find touch.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Counter in php script

2004-02-29 Thread fbsd_user
Need to set the initial value for an counter and save it, then 
bump the saved value by one every time the php script is executed. 
This must be a very basic function, but not being an php 
script coder my self this is all new to my.

Can anyone provide sample code I can use to do this?

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


Re: Probelms with make isntallworld

2004-02-29 Thread Kent Stewart
On Sunday 29 February 2004 04:50 am, stan wrote:
 Can anyone tell me what's going on here? I'm trying to build a new
 STABEL amchine this weekend. I installed the minimum distribution,
 cvsup'd and am trying to do a make buildworld, make buildkernel, make
 installkernel, reboot, make installworld sequence.

 It keeps erroring out in the make isntallworld. I've even re cvsup'd
 and started over from scratch. Here's what I see:

Your system date is off. Set it to the correct time and you should be 
able to rebuild your world and the install it.

Kent



 Script started on Sat Apr 19 15:52:38 2003
 # make installkerne     world
 mkdir -p /tmp/install.47749
 for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
 find grep  ln make makewhatis mkdir mtree mv pwd_mkdb rm sed sh
 sysctl  test true uname wc zic; do  cp `which $prog`
 /tmp/install.47749;  done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj 
 MACHINE_ARCH=i386  MACHINE=i386 
 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec 
 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin 
 GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font 
 GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac
 PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 
 PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/us
r/obj/usr/src/i386/usr/games:/tmp/install.47749 make -f Makefile.inc1
 reinstall
 --

  Making hierarchy

 --
 cd /usr/src; make -f Makefile.inc1 hierarchy
 cd /usr/src/etc;  make distrib-dirs
 set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`;  while [ $#
 -gt 0 ] ;  do  for dir in /usr/share/locale  /usr/share/nls 
 /usr/local/share/nls;  do  test -d /${dir}  cd /${dir};  test -L
 $2  rm -rf $2;  test \! -L $1  test -d $1  mv $1
 $2;  done;  shift; shift;  done mtree -deU -f
 /usr/src/etc/mtree/BSD.root.dist -p /
 mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var
 mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
 mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
 mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p
 /usr/libdata/perl/5.00503/mach mtree -deU -f
 /usr/src/etc/mtree/BSD.sendmail.dist -p /
 cd /; rm -f /sys; ln -s usr/src/sys sys
 cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
 cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; 
 while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift;
 shift;  done cd /usr/share/locale;  set - `grep ^[a-zA-Z]
 /usr/src/etc/locale.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1; 
 ln -s $2 $1;  shift; shift;  done cd
 /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
 cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; 
 while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift;
 shift;  done

 --

  Installing everything..

 --
 cd /usr/src; make -f Makefile.inc1 install
 === share/info
 === include
 creating osreldate.h from newvers.sh
 setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  .
 /usr/src/include/../sys/conf/newvers.sh;   echo $COPYRIGHT 
 osreldate.h;   echo #ifdef _KERNEL  osreldate.h; 
   echo '#error
 osreldate.h must not be used in the kernel, use sys/param.h' 
 osreldate.h;  echo #else  osreldate.h; echo \#'undef
 __FreeBSD_version'  osreldate.h; echo \#'define __FreeBSD_version'
 $RELDATE  osreldate.h;  echo #endif  osreldate.h touch: not
 found
 *** Error code 127

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

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

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

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

 Stop in /usr/src.
 # ^D
 Script done on Sat Apr 19 15:52:51 2003

 BTW, a whch touch does find touch.

-- 
Kent Stewart
Richland, WA

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


Re: scheduling priority not working?

2004-02-29 Thread Sergey 'DoubleF' Zaharchenko
On Sun, 29 Feb 2004 19:07:12 +0800
Zhang Weiwu [EMAIL PROTECTED] probably wrote:

 Sergey 'DoubleF' Zaharchenko wrote:
 
 There's more than nice to change priority; for example, check out
 rtprio(1) and idprio(1). Just FYI.
 
 GREAT TOOL rtprio(1) is. Now I can run 'rtprio 5 mpg321 *.mp3' it produce
 very smooth sound.

Are you running the MP3 player as root? I wouldn't recommend it. I'd
make a script using sudo and su'ing back to myself just after the
priority change. FWIW this is what I use for listening to my music:

sudo /usr/sbin/rtprio 5 /usr/bin/su df -c /usr/local/bin/splay -s -2 
/home/df/music/* 

Of course, I changed the suders file accordingly and wrote a script
`mus' which includes the quoted line.

rtprio is really powerful, and that's why it may be a bit
dangerous. If a program which has run-time priority gets into a large
amount of calculations, or into a busy-wait loop, all other programs
will starve (the machine will appear hung). If you don't trust your
MP3 player (or any program you set to have run-time priority) to be
bullet-proof, you should think twice before using rtprio. Not that I
have found many misbehaving programs, but I sometimes happen to write
one:)

-- 
DoubleF
Truthful, adj.:
Dumb and illiterate.
-- Ambrose Bierce, The Devil's Dictionary


pgp0.pgp
Description: PGP signature


Re: Counter in php script

2004-02-29 Thread Peter Risdon
fbsd_user wrote:

Need to set the initial value for an counter and save it, then 
bump the saved value by one every time the php script is executed. 
This must be a very basic function, but not being an php 
script coder my self this is all new to my.

Can anyone provide sample code I can use to do this?
 

From a user contribution to the php manual at
http://www.php.net/manual/en/function.fopen.php
- edit to suit and use at your own risk.

PWR.

|$counter_file = '/tmp/counter.txt';
clearstatcache();
ignore_user_abort(true);## prevent refresh from aborting file 
operations and hosing file
if (file_exists($counter_file)) {
  $fh = fopen($counter_file, 'r+');
  while(1) {
if (flock($fh, LOCK_EX)) {
#$buffer = chop(fgets($fh, 2));
$buffer = chop(fread($fh, filesize($counter_file)));
$buffer++;
rewind($fh);
fwrite($fh, $buffer);
fflush($fh);
ftruncate($fh, ftell($fh));   
flock($fh, LOCK_UN);
break;
}
  }
}
else {
  $fh = fopen($counter_file, 'w+');
  fwrite($fh, 1);
  $buffer=1;
}
fclose($fh);

print Count is $buffer;

?|

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


Re: Counter in php script

2004-02-29 Thread Peter Risdon
Peter Risdon wrote:

whoops... delete junk |characters inserted by my paste:

|$counter_file = '/tmp/counter.txt';
 ^

and



?|
^

PWR

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


CVSUP problem on SUN ULTRA 10 with CURRENT

2004-02-29 Thread Chris Demers
Greetings everyone,

I have been having a problem trying to get CVSUP working correctly on a SUN
ULTRA 10 (256MB 40GB HDD) with CURRENT, i can ftp in the sources and do full
build worlds and kernel without any problems, but even after i blow away all
the src, ports, and sup, directories and it start recreating them when i run
CVSUP it gets stuck and has a weird retry time.   Any suggestions?  I have
tried over a dozen other CVSUP servers with the same exact results.  Even
using my own local one on my network does the same thing.  Only way i  have
been able to get sources back into the machine is to FTP them in from a snap
server.  Any suggestions would be apprechiated.  Note, other machines on the
exact same network segment have absolutely no problems using CVSUP.


sun# uname -a
FreeBSD sun.local 5.2-CURRENT-20040210-JPSNAP FreeBSD
5.2-CURRENT-20040210-JPSNAP #0: Thu Feb 12 06:41:26 EST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUN  sparc64


sun# cvsup -g -s -L 2 supfile
Parsing supfile supfile
Connecting to xx.xx.xx.xx
Connected to xx.xx.xx.xx
Server software version: SNAP_16_1g
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/COPYRIGHT
 Checkout src/MAINTAINERS
 Checkout src/Makefile
 Checkout src/Makefile.inc1
 Checkout src/README
Detailer failed: Network read failure: Connection timed out
Will retry at 19:00:00
Retrying
Connecting to xx.xx.xx.xx
Connected to xx.xx.xx.xx
Server software version: SNAP_16_1g
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/README
 Checkout src/UPDATING
Detailer failed: Network read failure: Connection timed out
Will retry at 19:00:00
Retrying
Connecting to xx.xx.xx.xx
Connected to xx.xx.xx.xx
Server software version: SNAP_16_1g
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/UPDATING
Detailer failed: Network read failure: Connection timed out
Will retry at 19:00:00


sun# cat supfile
*default host=xx.xx.xx.xx
*default base=/usr
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default compress
*default tag=.
src-all
ports-all


sun# pkg_info
cvsup-without-gui-16.1h General network file distribution system optimized for CVS
expat-1.95.6_1  XML 1.0 parser written in C
ezm3-1.1_1  Easier, more portable Modula-3 distribution for building CV
fastest_cvsup-0.2.8 Finds fastest CVSup server
fontconfig-2.2.90_4 An XML-based font configuration API for X Windows
freetype2-2.1.5_2   A free and portable TrueType font rendering engine
gettext-0.13.1  GNU gettext package
glib-2.2.3_1Some useful routines of C programming (current stable versi
gmake-3.80_2GNU version of 'make' utility
imake-4.3.0_2   Imake and other utilities from XFree86
libiconv-1.9.1_3A character set conversion library
libslang-1.4.9  Routines for rapid alpha-numeric terminal applications deve
libtool-1.3.5_1 Generic shared library support script
mc-4.6.0_7  Midnight Commander, a free Norton Commander Clone
p5-Time-HiRes-1.52,1 A perl5 module implementing High resolution time, sleep, an
perl-5.6.1_15   Practical Extraction and Report Language
pkgconfig-0.15.0_1  A utility used to retrieve information about installed libr
portupgrade-20040208 FreeBSD ports/packages administration and management tool s
ruby-1.8.1  An object-oriented interpreted scripting language
ruby-bdb1-0.2.1 Ruby interface to Berkeley DB revision 1.8x with full featu

--
Chris Demers
[EMAIL PROTECTED]
www.govital.net
www.govitalhosting.com

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


arcadetown.com games

2004-02-29 Thread brian fisher

Free Online Games, Free Games, Arcade Games at ArcadeTown.com

HEY!!! My name is Brian and i'm from arcadetown.com. Do you like to play free games?

http://www.arcadetown.com/  http://www.freewebgames.com/

Please enjoy our great free online games, free arcade games, free shooting games, and 
free flash games. 


Pipedown - Only $9.99
A great 3D puzzle solving fun where you arrange the pipes to allow the ball to drop 
through to the bottom.

http://www.arcadetown.com/pipedown/index.asp

All 50 levels and 3 play modes! Instant Download! Not In Stores!



Little Rocketman - Only $9.99
Prove that size doesn't matter with Little Rocketman.

http://www.arcadetown.com/rocketman/index.asp

All 15 Levels with exciting bosses! Instant Download! Not In Stores!



These are very addicting games! Common in to our sites today and buy a game today! 
We are having a special, if you want to buy two games you can get one free, only for a 
limited time!!!



Thanks,
Brian Fisher
http://www.arcadetown.com/
http://www.freewebgames.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Counter in php script

2004-02-29 Thread fbsd_user
Thanks, a really great reply.
Have some questions about the fine details.

The counter file is an single line with any size numeric
field starting in position 1?
Like this, right?
200400

Does the file have to be an  .txt  file?

What happens if the counter file is in use and locked?
Does the second request pause until file is free?

If the counter file has no path prefix, then it's looked for
in the same location as the script, right?
$counter_file = 'counter.php'

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
Risdon
Sent: Sunday, February 29, 2004 9:09 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Counter in php script

fbsd_user wrote:

Need to set the initial value for an counter and save it, then
bump the saved value by one every time the php script is executed.
This must be a very basic function, but not being an php
script coder my self this is all new to my.

Can anyone provide sample code I can use to do this?


 From a user contribution to the php manual at
http://www.php.net/manual/en/function.fopen.php

- edit to suit and use at your own risk.

PWR.

|$counter_file = '/tmp/counter.txt';
clearstatcache();
ignore_user_abort(true);## prevent refresh from aborting file
operations and hosing file
if (file_exists($counter_file)) {
   $fh = fopen($counter_file, 'r+');
   while(1) {
 if (flock($fh, LOCK_EX)) {
 #$buffer = chop(fgets($fh, 2));
 $buffer = chop(fread($fh, filesize($counter_file)));
 $buffer++;
 rewind($fh);
 fwrite($fh, $buffer);
 fflush($fh);
 ftruncate($fh, ftell($fh));
 flock($fh, LOCK_UN);
 break;
 }
   }
}
else {
   $fh = fopen($counter_file, 'w+');
   fwrite($fh, 1);
   $buffer=1;
}
fclose($fh);

print Count is $buffer;

?|


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

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


Re: keybell off in rc.conf disables my keyboard in 5.1 release (solved)

2004-02-29 Thread Oliver Fuchs
On Wed, 14 Jan 2004, Oliver Fuchs wrote:

 Hi,
 
 I installed FreeBSD 5.1 with a new kernel (here I only added 
 options VGA_WIDTH90).
 I want do disable the PC's internal beep, so I added from man rc.conf this
 to rc.conf:
 
 keybell=off.
 
 After rebooting I was not able to type in anything with my keyboard at the
 login - there was absolutely no funtionality (it was dead).
 Deleting the keybell entry in my rc.conf (via the livesystem CD and the
 option FIxIt) made the keyboard work again.
 Can someone point me to the solution of this problem or to some
 documentation because I am not able to find anything helpfull.

I found the reason why my keyboard did not work correctly all the time (most
of the time it happend while rebooting or rebooting from WindowsME that is
also installed on my PC). I added 

options BROKEN_KEYBOARD_RESET
 
to my kernel-configuration file and till then it works great.


Oliver
-- 
... don't touch the bang bang fruit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ps2 optical wheel mouse problems

2004-02-29 Thread Jerry M. Howell II
Hello all.,

  I recently installed freeBSD 5.2 and have a problem. I have most
  everything working corectly except the mouse. I set it to auto and it
  detects the mouse but it jumps all over the screen. It's a prety
  standard optical wheel mouse that seems to work fine under 4.8 and
  under all distros of linux I've used so far. I've tried every
  configuration I can think of under the sun. Does anyone have any
  recomendations?

thnx

--

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


Re: Counter in php script

2004-02-29 Thread Peter Risdon
fbsd_user wrote:

Thanks, a really great reply.
Have some questions about the fine details.
 

I haven't used this script, just happened to notice it the other day 
while looking something up, but ...

The counter file is an single line with any size numeric
field starting in position 1?
Like this, right?
200400
 

Looks like it. If the file isn't there already, the script creates it.

Does the file have to be an  .txt  file?
 

It can have any name you like, if that's what you mean. The contents are 
always going to be the same.

What happens if the counter file is in use and locked?
Does the second request pause until file is free?
 

File locking is OS dependent. More particularly, php file locking works 
fine with other attempts to access the file from thingies that are also 
using the same type of file locking as php. So, I believe the 
conservative answer here is: yes, on FreeBSD, at least so far as other 
attempts from php scripts to access the file are concerned.

If the counter file has no path prefix, then it's looked for
in the same location as the script, right?
$counter_file = 'counter.php'
 

Yes, though personally I prefer to be anal and state the full path. If 
you might use the file in a number of locations in an expanded script 
and need to refer to this path more than once, set it once as:

$filepath = '/usr/home/someuser/counters/';

and edit just that line when you need to, then use:

$counter_file = $filepath.counter.php;

or similar throughout the script. Bear in mind that the file will be 
written as the default apache user, probably www, so the directory needs 
appropriate permissions.

PWR.

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


Re: ps2 optical wheel mouse problems

2004-02-29 Thread Alex de Kruijff
On Sun, Feb 29, 2004 at 09:39:26AM -0700, Jerry M. Howell II wrote:
 Hello all.,
 
   I recently installed freeBSD 5.2 and have a problem. I have most
   everything working corectly except the mouse. I set it to auto and it
   detects the mouse but it jumps all over the screen. It's a prety
   standard optical wheel mouse that seems to work fine under 4.8 and
   under all distros of linux I've used so far. I've tried every
   configuration I can think of under the sun. Does anyone have any
   recomendations?

Hi,

There are two main ways of setting up the mouse. The first is to go only
with the X config and the second is to rely on the consile setup. If you
didn't use the second option, then please read the FAQ on the website.
Could you please tell use wich option you used? It would also be a handy
to have the configuration files or those parts there of that are
relevant.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9

2004-02-29 Thread Yuri Grebenkin
Hi. I've bought a ATI Radion 9000 64Mb and now I'm happy! It runs movies 
of any kind with postprocessing. I've already tested it by running Quake2 
and Quake3arena with Wine under FreeBSD 4.9. They both are looking more 
alive than under Windows with nVidia TNT2! Even more if you believe top, 
60% of CPU is idle while playing Quake2 with Wine! (Coppermine 900, heated 
to 1008MHz, 112MHz external)

If someone interested here is as I configured the card under FreeBSD 4.9:
1) I had very messed XF86Config after my failed attempts to set up nVidia 
TNT2 (I will sell it to hell). So I recreated one with /stand/sysinstall 
- Configure - XFree86 - xf86cfg -textmode. I prefer text mode 
configuration. The string ''Driver something'' substituted with ''Driver 
radeon''.
2) Included ''device radeondrm'' in my kernel config and ensured that 
''device agp'' is there too. Recompiled and installed a new kernel. (I 
like the way of this in FreeBSD!)
3) That's all.

If someone has any suggestions or remarks then please email me.

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


Re: kernel compile error

2004-02-29 Thread Danny Pansters
[CC'd to -questions so that it gets archived]

On Sunday 29 February 2004 04:56, you wrote:
  Never run make world literally. Run make buildworld, make kernel, make
  installworld, mergemaster.
 
  Or is it possible that my GENERIC file is wrong?
 
  Yes, you edited too much out. This is a FAQ:
  #device scbus   # SCSI bus (required for SCSI)
  device  umass   # Disks/Mass storage - Requires scbus
  and

 i dont have any SCSI devices.  Is it still needed?  Can you give me
 specific instructions to clean my slate and start over from the
 buildworld part?

It's needed because USB disks work through the SCSI interface, that is as if 
they were SCSI disks.

 IS there a howto that is very detailed that you have?

The Handbook. Apart from that, for kernel options and devices you can look 
at /usr/src/sys/conf/NOTES for architecture independent stuff, 
and /usr/src/sys/i386/conf/NOTES for specific i386 kernel options and other 
knobs. In 4.x this used to be the LINT file.

 btw, i did the thing the other guy said to do

 cd /usr/src/sys/i386/conf/
 edited GENERIC file

 couldn't find
 cd ../compile/GENERIC [i typed it as you wrote, didnt work, so i went into
 ../compile and #ls but no files

This is often (wrongly) referred to as the old method to build a kernel. 
You'll use configure, make depend, make install if you want to compile a 
custom kernel against your installed version (world) of FreeBSD. 

The often (wrongly) called new method is make kernel KERNCONF=BLAH 
from /usr/src. Now you are building a kernel against what's in your object 
tree (/usr/obj). Normally it will be have been populated when you did a make 
buildworld. You're going to install that version (world) later on, so you'll 
want a kernel that is built against this future world and with its 
toolchain. The difference seems subtle, but if you don't do this, you may 
find yourself with an unbootable kernel after you've run installworld, or a 
kernel that boots but a userland that gives you nothing but coredumps if it 
doesn't panic at init right away.

Of course you can have a situation in which your object tree holds the same 
world that you're currently running and it is in that case and in that case 
only that you can safely use either method to build a custom kernel. 

To be fair, you can get away with using the wrong kernel build method if 
there's only minor differences between the currently installed and the newly 
built worlds if you're lucky but still it may cause certain quirks and 
instabilities that are quite impossible to pin down. Things like seemingly 
random panics or reboots that never get explained.

 so i went into
 #cd /usr/src and then
 make clean  make depend  make  make install

I think this effectly translates to running make world.

 and it worked out.  could i work with that??  or should i do a clean slate
 reinstall?

Well, I wouldn't recommend making it into a habit but if you got your bootable 
system with kernel and world from the same codebase (in sync as they say) 
and it runs OK, then just stick with it.

Please note that if all you want is to rebuild your kernel without updating 
FreeBSD itself, you don't have to cvsup or make world at all. Just use the 
so-called old method. Also, in that case you only need the kernel source 
which you can simply extract from your install CD manually or with 
sysinstall. 

FreeBSD kernels are not versioned, the whole FreeBSD OS is. Cvsup and building 
world is moving to another version and in that case the kernel you build 
while going through your updating procedure should match that OS version. 
With Linux, the kernel *is* seperately versioned and the rest of a 
distribution can be considered something like our ports. So it's different 
concepts and it seems to never cease confusing the heck out of people :)


HTH,

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


Re: ps2 optical wheel mouse problems

2004-02-29 Thread Jerry M. Howell II
On Sun, Feb 29, 2004 at 06:55:50PM +0100, Alex de Kruijff wrote:
 On Sun, Feb 29, 2004 at 09:39:26AM -0700, Jerry M. Howell II wrote:
  Hello all.,
  
I recently installed freeBSD 5.2 and have a problem. I have most
everything working corectly except the mouse. I set it to auto and it
detects the mouse but it jumps all over the screen. It's a prety
standard optical wheel mouse that seems to work fine under 4.8 and
under all distros of linux I've used so far. I've tried every
configuration I can think of under the sun. Does anyone have any
recomendations?
 
 Hi,
 
 There are two main ways of setting up the mouse. The first is to go only
 with the X config and the second is to rely on the consile setup. If you
 didn't use the second option, then please read the FAQ on the website.
 Could you please tell use wich option you used? It would also be a handy
 to have the configuration files or those parts there of that are
 relevant.
 
First I used /stand/sysinstall and selected the auto selecton. It
detected the mouse but started jumping. After that I decided to select
auto from the xf86config script, when that didn't work I tried sysmouse
but got no beter response. One thing I did notice one thing. If I hook
up a normal ps2 mouse and enable the mouse it works fine, even when I
swap out the normal mouse for the optical but when I reboot if I have
the optical mouse atached it goes back to jumping around. Realy weard.

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


OpenLdap client

2004-02-29 Thread falaki
Hello;
My FreeBSD 4.9 server has to authenticate it's users through Openldap
client from a Linux server. I have installed openldap-client-2.1.22 and
pam_ldap-1.6.4. The ldapsearch gives the correct answer when it is
invoked with necessary arguments.
I tried to configure pam.conf so that is uses pam_ldap.so for
authentication and I tested many cases ( changing the arguments and
things like this) but nobody can log in. I want to know if other things
except pam.conf must be configured and if pam.conf must be configured can
anybody send me a sample.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Athlon

2004-02-29 Thread Teilhard Knight
Just a couple of easy questions for you. Is a machine with an Athlon
processor 1.4 MHz an i386 machine? And if so, what kind of processor should
I select in my kernel? i586, or i686?

Teilhard



30mb Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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


Re: ps2 optical wheel mouse problems

2004-02-29 Thread DanGer
On Sunday 29 February 2004 17:39, Jerry M. Howell II wrote:
 Hello all.,

   I recently installed freeBSD 5.2 and have a problem. I have most
   everything working corectly except the mouse. I set it to auto and it
   detects the mouse but it jumps all over the screen. It's a prety
   standard optical wheel mouse that seems to work fine under 4.8 and
   under all distros of linux I've used so far. I've tried every
   configuration I can think of under the sun. Does anyone have any
   recomendations?

 thnx


I have similar problem. My optical mouse (Dexxa Optical) doesent works
properly (i had in dmesg.boot log about that system found it), it just jumps 
over the screen and i cant move my cursor to thepoint i want. When I 
use normal mouse (not optical) everythink is okay (but my second 
mouse is really old and i want to use new one). I didnt solved this 
problem and still using old one. Nobody couldnt helps me.

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


Re: Open Office start up problem

2004-02-29 Thread Alex de Kruijff
On Sat, Feb 28, 2004 at 05:29:19PM +1300, Eamon Daly wrote:
 Hi,
 
 This is probably a simple problem, but can someone please tell me what's 
 happening here?
 
 $ ./soffice
 .: Can't open 
 /usr/home/eamon/OpenOffice.org1.1.0/program/freebsd-local.sh: No such 
 file or directory
 $
 
 I'm running FBSD 4.8 on a Compaq Evo N410c.
 
 Thanks,
 Eamon

Dear Eamon,

The first time one starts openoffice, one gets a configuration screen
that gives you an option to go with a network setup or local setup. I
bet you've took local. Please try the other and see if that helps. If
you rename the oo dir then this will proberbly force a resetup.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Athlon

2004-02-29 Thread DanGer
On Sunday 29 February 2004 19:12, Teilhard Knight wrote:
 Just a couple of easy questions for you. Is a machine with an Athlon
 processor 1.4 MHz an i386 machine? And if so, what kind of processor should
 I select in my kernel? i586, or i686?


1) yes, athlons are i386 machines.
2) you should read your /var/run/dmesg.boot if it is i586 or i686 processor

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


RE: Athlon

2004-02-29 Thread Remko Lodder
It's an i386 Architecture yes, the processor is not an 80386 if you ment
that.
I think you can select i686 if a 1.4Ghz machine (i think you ment that
instead
of Mhz?)

But setting the defaults will also work :)

Cheers,

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Teilhard Knight
Verzonden: zondag 29 februari 2004 19:12
Aan: FreeBSD
Onderwerp: Athlon


Just a couple of easy questions for you. Is a machine with an Athlon
processor 1.4 MHz an i386 machine? And if so, what kind of processor should
I select in my kernel? i586, or i686?

Teilhard



30mb Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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

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


Re: Customizing a 'make release'...

2004-02-29 Thread Alex de Kruijff
On Thu, Feb 26, 2004 at 09:43:38PM -0800, Peter Losher wrote:
 (If this question is better served on another list, let me know)
 
 I am trying to come up with a custom FreeBSD ISO w/ my personal 
 preferences (no integrated OpenSSH, Heimdal, or Sendmail)  I have been 
 working off of  
 http://www.gsoft.com.au/~doconnor/FreeBSD-release-2.html, and 
 
 /usr/bin/time sh -c 'make release CHROOTDIR=/hog0/release NODOC=YES
 NOPORTS=YES BUILDNAME=5.2-REL-FOO CVSROOT=/hog1/FreeBSD-CVS
 RELEASETAG=RELENG_5_2_1_RELEASE' |  tee /tmp/release.log
 
 Now my understanding is that 'make release' honors the variables set 
 in /etc/make.conf, where I have:
 
 -=-
 NO_OPENSSH=true
 NO_KERBEROS=true
 NO_SENDMAIL=true
 -=-
 
 After creating the binaries and the ISO image, installing the OS on a new 
 box results in a sendmail-less install, but it still has all the OpenSSH 
 and Heimdal bits included.  Do I needed to declare NO_OPENSSH and 
 NO_KERBEROS on the 'make release' command line?

It shoudn't be requered. Your guess is a good as mine as to way it still
build openssh.

 Also, is there any way to change the default bits the install process -  
 like the default auto-partition (I prefer to leave the /var partition 
 with the remaining space instead of /usr as it is now), and have it 
 automatically install certain packages instead of asking.
 
 Thanks in advance for any advice you can pass along...

Yes there is. See man sysinstall for more information on this.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Athlon

2004-02-29 Thread Matthew Seaman
On Sun, Feb 29, 2004 at 12:12:02PM -0600, Teilhard Knight wrote:
 Just a couple of easy questions for you. Is a machine with an Athlon
 processor 1.4 MHz an i386 machine? And if so, what kind of processor should
 I select in my kernel? i586, or i686?

One of these?

CPU: AMD Athlon(TM) XP1600+ (1400.06-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!

As /var/run/dmesg.boot says, it's a 686 class processor.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


LPD's emailing of errors to user@hostname

2004-02-29 Thread freebsd
lpd will generate error messages to [EMAIL PROTECTED] specific email 
addresses.  Is there a way to have lpd deliver to a single account (e.g. 
[EMAIL PROTECTED]) regardless of the [EMAIL PROTECTED] that orginated the job?



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


Re: Athlon

2004-02-29 Thread Conrad Sabatier

On 29-Feb-2004 Teilhard Knight wrote:
 Just a couple of easy questions for you. Is a machine with an Athlon
 processor 1.4 MHz an i386 machine? And if so, what kind of processor should
 I select in my kernel? i586, or i686?

I use an Athlon here, myself.

In my kernel config, I have:

machine i386

cpu I686_CPU# aka Pentium Pro(tm)

options CPU_DISABLE_5X86_LSSER
options CPU_FASTER_5X86_FPU
options CPU_UPGRADE_HW_CACHE
options CPU_WT_ALLOC
options NO_MEMORY_HOLE

And in /etc/make.conf:

CPUTYPE?=k7
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe

HTH.

-- 
Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas

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


Re: Running virus scanner on FreeBSD Samba server

2004-02-29 Thread freebsd
Dan Pelleg wrote:

Gunnar Flygt [EMAIL PROTECTED] writes:

 

Has anyone any experience from running any virus scanners on a FreeBSD
Samba server? The server is serving mostly MS-workstations, so the
scanner should be proficient in finding the most common viruses in the
M$ world.
Any information is of value, and please CC me, since the information
flow on Questions is so high that it's hard to follow.
   

Use clamav (in the ports).

 

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


Re: Athlon

2004-02-29 Thread Kent Stewart
On Sunday 29 February 2004 10:36 am, Matthew Seaman wrote:
 On Sun, Feb 29, 2004 at 12:12:02PM -0600, Teilhard Knight wrote:
  Just a couple of easy questions for you. Is a machine with an
  Athlon processor 1.4 MHz an i386 machine? And if so, what kind of
  processor should I select in my kernel? i586, or i686?

 One of these?

 CPU: AMD Athlon(TM) XP1600+ (1400.06-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC
A,CMOV,PA T,PSE36,MMX,FXSR,SSE
   AMD Features=0xc048MP,AMIE,DSP,3DNow!

 As /var/run/dmesg.boot says, it's a 686 class processor.


I was going to send one of these but then I got to thinking about what 
you needed to know before you download an iso or whatever. The web site 
really doesn't tell you that an Athlon is a 686 and you need to know 
that before you do the install and can look at the dmesg output.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Cron and F-prot not working correctly

2004-02-29 Thread freebsd
Schimcek, Derrick wrote:

I have a FreeBSD 5.0 and a FreeBSD 5.2 box both running recent versions of f-prot antivirus when you run the virus def updater through cron it gets halfway through the scripts and then dies. When you run it from the command line it runs correctly. so I wrote my own script that uses ftp instead of http and it exhibits the same behavior. does anyone know if there is some cron issue I am missing or if cron has a time to let the script run variable. any help will be greatly appreciated. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 

Have you verified that your PATH is the same within cron and when run 
interactively?

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


Gphoto2 segfaults

2004-02-29 Thread mj001
Has anyone been able to use gphoto2 with a Canon A70 camera,
under FreeBSD 5.1?  I tried it, with what I believe is
the correct command line, but it segfaults after detecting
the camera and turning off the LCD display.
Command line is:
gphoto2 --usbid 0x4a9:0x3073=0x4a9:0x3056 --camera \
Canon Powershot S40 -P --debug
as suggested at http://pto.linux.dk/Canon_PowerShot_A70_Linux
The debug output is posted on my web site, at the URL
below, if anyone has time to take a quick look.
Thanks in advance.
http://members.rogers.com/mike.jeays/gphoto.txt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS sharing /usr/ports and /usr/src

2004-02-29 Thread Tom Munro Glass
On Sun, 29 Feb 2004 23:47, Matthew Seaman wrote:
 On Sun, Feb 29, 2004 at 05:45:33PM +1300, Tom Munro Glass wrote:
  I want to NFS share /usr/ports and /usr/src from a master machine for use
  by other machines. 
snip
  What am I doing wrong?

 You've probably got /usr/ports and /usr/src on the same disk
 partition.  You can't export two chunks of the same partition to the
 same set of client hosts with different flags.  Not only that, but you
 can't do anything that even smacks of changing the flags between two
 exported subdirectories on a single partition.  Or in other words,
 it's the partition that gets exported, rather than the particular
 directory trees you specify.  I think, although I could be wrong, that
 if you export, say, /usr/src which happens to reside on the /usr
 partition, then an NFS client can be persuaded to access files from
 anywhere on the /usr partition.

 What you should do is put the two subdirectories on the same line in
 the exports file:

 /usr/ports /usr/src -network 192.168.0.0 -mask 255.255.255.0

   Cheers,

   Matthew
Thanks for a very clear explanation Matthew. I'd missed a couple of critical 
points, namely that you can only have one line in exports per filesystem, and 
also that you can specify multiple paths on one line.

Problem solved! Cheers,

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


Re: slice X?

2004-02-29 Thread Aaron Walker
On Sun, 2004-02-29 at 02:56, Cordula's Web wrote:
  When I try to create a new slice, it gives it the name 'X' which causes
  a problem when I try to create new partitions on that slice:
  
  Unable to create partitons on device: /dev/X
 
 This happens when sysinstall runs out of valid slice names.
 Try using less file systems per partition...


I figured it was because there were no free primary partitions (all free
space was in linux extended partition).

This was solved simply by deleting ALL linux partitions ;)

Thanks,
Aaron

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


Re: Athlon

2004-02-29 Thread Teilhard Knight
- Original Message - 
From: DanGer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 29, 2004 12:20 PM
Subject: Re: Athlon


 On Sunday 29 February 2004 19:12, Teilhard Knight wrote:
  Just a couple of easy questions for you. Is a machine with an Athlon
  processor 1.4 MHz an i386 machine? And if so, what kind of processor
should
  I select in my kernel? i586, or i686?
 

 1) yes, athlons are i386 machines.
 2) you should read your /var/run/dmesg.boot if it is i586 or i686
processor

Right, I'll read that file. Thanks so much for the feedback.

Teilhard



30mb Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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


freebsd setup error-signal 11

2004-02-29 Thread hay
Hi dear list,
I have a small pc and I want to setup freebsd 5.2 on it, but I couldnt get
successful until now...Tried many many times but no succes.
My pc's properties
Mainbord ASUS A7V133
Cpu: AMD Athon 1200
Secordary Master Seagate 80GB Barracuda.

When setup tries to make partitions, it alerts me, there is a disk geometry
error. 155061/16/63 is incorrect. It should has been 9729/255/63. First, I
didnt change and tried to setup. I failed. Afterwards, I changed disk
geometry what setup said, but nevertheless I failed. bios update is 06.04.03
and hdd's auto options is selected. I guess PIO is 4, UDMA is 2 cause
auto-selected.
Where am I wrong with setup?

regards,
sinan

- Original Message -
From: Aaron Walker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 29, 2004 9:54 PM
Subject: Re: slice X?


 On Sun, 2004-02-29 at 02:56, Cordula's Web wrote:
   When I try to create a new slice, it gives it the name 'X' which
causes
   a problem when I try to create new partitions on that slice:
  
   Unable to create partitons on device: /dev/X
 
  This happens when sysinstall runs out of valid slice names.
  Try using less file systems per partition...


 I figured it was because there were no free primary partitions (all free
 space was in linux extended partition).

 This was solved simply by deleting ALL linux partitions ;)

 Thanks,
 Aaron

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



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


Re: Athlon

2004-02-29 Thread Teilhard Knight
 It's an i386 Architecture yes, the processor is not an 80386 if you ment
 that.
 I think you can select i686 if a 1.4Ghz machine (i think you ment that
 instead
 of Mhz?)
 
 But setting the defaults will also work :)

I guess you composed your reply twice. Thaks so much for taking the time.

Teilhard
 
 Cheers,
 
 --
 
 Kind regards,___



30mb Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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


Re: question on cut/paste in Gnome.

2004-02-29 Thread Gary Kline
On Sun, Feb 29, 2004 at 10:38:54AM +, Matthew Seaman wrote:
 On Sat, Feb 28, 2004 at 07:31:56PM -0800, Gary Kline wrote:
  I've got Gnome set up as my default GUI on my new DNS 
  server.  (Seems much improved over the older RH8 version.)
  But how do I paste things?  Clicking with first/third mouse
  buttons designate the string or area I want; it should be in
  the buffer.  But the middle button (oR firstthird) buttons
  don't paste.  
  
  The right mouse button pops up small rectange with a Paste
  area, but this doesn't work.
 
 If it doesn't work the X-windows way, then it probably works more like
 the way it does in windows: use the left mouse button to select the
 text, then right click to get a popup menu which should have 'cut' and
 'copy' entries.  Select whicher you require.  Then left click to move
 the cursor to the insert point, right click to bring up the menu and
 select paste.
 
 You may also find that you can select the area, then left mouse down
 on the selection and drag to where you want it to go.  (Which is a
 feature of OpenOffice that I personally hate because I want left mouse
 to *always* select text.)
 
 It's possible that you may have difficulty cut'n'pasting between
 applications that use different paradigms -- there may be more than
 one cut-buffer under the hood as well.
 


Ah, so that's how OO 'paste' works.   :-)  (I've stumbled around
with the program learning to move/copy/paste.  My fingers are
stuck in X-window mode... .)

In Gnome, things highlight with a swipe or left-right click.
I've used the right-click popup - Paste.  I was copying a 
command from one xterm to another.  Nada.  I also tried copying
a few paragraphs of text across files in diff't xterms.  SAme
joy: none.

(Hard to believe that Gnome wouldn't have built in the option...
but then: Oh *well*).

thanks!

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Athlon

2004-02-29 Thread Teilhard Knight
 On 29-Feb-2004 Teilhard Knight wrote:
  Just a couple of easy questions for you. Is a machine with an Athlon
  processor 1.4 MHz an i386 machine? And if so, what kind of processor
should
  I select in my kernel? i586, or i686?

 I use an Athlon here, myself.

 In my kernel config, I have:

 machine i386

 cpu I686_CPU# aka Pentium Pro(tm)

 options CPU_DISABLE_5X86_LSSER
 options CPU_FASTER_5X86_FPU
 options CPU_UPGRADE_HW_CACHE
 options CPU_WT_ALLOC
 options NO_MEMORY_HOLE

 And in /etc/make.conf:

 CPUTYPE?=k7
 CFLAGS= -O -pipe
 COPTFLAGS= -O -pipe


Thanks a lot. This info will help me very much. I have compiled a kernel for
a Pentium IV 1.6 GHz, and I had no problems. I hope this time I can make it
right too.

Teilhard



30mb Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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


Re: Athlon

2004-02-29 Thread Teilhard Knight
 On Sunday 29 February 2004 10:36 am, Matthew Seaman wrote:
  On Sun, Feb 29, 2004 at 12:12:02PM -0600, Teilhard Knight wrote:
   Just a couple of easy questions for you. Is a machine with an
   Athlon processor 1.4 MHz an i386 machine? And if so, what kind of
   processor should I select in my kernel? i586, or i686?
 
  One of these?
 
  CPU: AMD Athlon(TM) XP1600+ (1400.06-MHz 686-class CPU)
Origin = AuthenticAMD  Id = 0x662  Stepping = 2
 
  Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC
 A,CMOV,PA T,PSE36,MMX,FXSR,SSE
AMD Features=0xc048MP,AMIE,DSP,3DNow!
 
  As /var/run/dmesg.boot says, it's a 686 class processor.
 

 I was going to send one of these but then I got to thinking about what
 you needed to know before you download an iso or whatever. The web site
 really doesn't tell you that an Athlon is a 686 and you need to know
 that before you do the install and can look at the dmesg output.

Many thanks. Yes, the web site only speaks about Pentium. Couldn't find the
info there. But now I know where I'm standing.

Teilhard



30mb Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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


Re: Gphoto2 segfaults

2004-02-29 Thread Olaf Hoyer
On Sun, 29 Feb 2004, mj001 wrote:

 Has anyone been able to use gphoto2 with a Canon A70 camera,
 under FreeBSD 5.1?  I tried it, with what I believe is
 the correct command line, but it segfaults after detecting
 the camera and turning off the LCD display.

 Command line is:
 gphoto2 --usbid 0x4a9:0x3073=0x4a9:0x3056 --camera \
 Canon Powershot S40 -P --debug
 as suggested at http://pto.linux.dk/Canon_PowerShot_A70_Linux


Hi!

Well, FWIW, I have an Canon A60 (basically the same, the A70 only has 3
Megapixel, the A70 2 Mpixel) and its running fine with a 4.9-stable.
Even on my Compaq notebook with some weird stuff, gphoto2 autodetects
the camera, camera must be set to playback mode (the switch beneath the
LCD must point to the blue playback icon)


A colleague uses a A40 with FBSD 5.2, but IIRC it also worked with
5.1...

What does gphoto2 --auto-detect say?

(I'm @work now, will have a look later with my camera to compare things)

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Has anyone succeeded in compiling crm114 Mailfilter

2004-02-29 Thread Lowell Gilbert
I submitted a port for crm114; the PR is `ports/63549'.
http://www.freebsd.org/cgi/query-pr.cgi?pr=63549

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slice X?

2004-02-29 Thread Jerry McAllister
 
 I have installed FreeBSD before, but it has been a while since I've
 messed around with it.  I am attempting to install on my secondary
 desktop machine which also runs Linux.
 
 ad0s1-ad0s3 are linux partitions as well as ad0s4 which is an extended
 partition (containing more linux partitions).
 
 When I try to create a new slice, it gives it the name 'X' which causes
 a problem when I try to create new partitions on that slice:
 
 Unable to create partitons on device: /dev/X
 
 I didn't see anything about this in the FAQ.
 Anyone have any ideas?

Only 4 _primary slices_ are allowed on any disk.  From your narrative
above, it sounds like you already have that many used up on the disk 
 - eg ad0s1, ad0s2, ad0s3, ad0s4.   If so, the system will not allow 
you to create any more -  an ad0s5 or beyond.  Since FreeBSD must be 
installed in a primary slice, you will have to do something about
your current disk use.

You will need to add a new disk or reorganize the existing disk to
consolidate its use so you can free up one slice designation.
Do you really need that many separate slices dedicated to Linux?
Do you have 4 different versions of Linux running on the machine?

I am not a Linux user, but if you have only one version of Linux
running (or 2 or 3) can't it just use one slice which is subdivided 
to make separate file systems - essentially the way it is done in 
FreeBSD?If so, then you would need only one primary slice per 
version of Linux and one for FreeBSD.   If you really need all those 
primary slices for Linux, then you will need another disk in order
to add FreeBSD.

I haven't tried to create more than 4 primary slices on a disk so I
don't know what the error messages look like.   If it makes things
look like it created a slice called 'x', then it is kind of poor
about how it reports things.  It will not have created a usable
slice no matter what it appears to call things.   It most properly
should tell you the operation failed or is not possible.

So, of course, if it didn't really create the slice, it will not
be able to create partitions withing that slice.   

Note in this, the difference between a primary slice and a partition
which subdivides a slice.   Your narrative appears to use the terms
consistent with the FreeBSD standard, so I am assuming you know this, 
but this issue seems to result in many misunderstandings. The MS
world calls a partition and, unfortunately so does a few FreeBSD
utillities that fail to follow the FreeBSD standard.   All of which
can add to the confusion.

jerry

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


backup via dump to remote machine(5.2.1)

2004-02-29 Thread J.D. Bronson
Ok. I know this is like kicking a dead horse, but I dont understand what I 
am missing...

I have 2 machines - both identical hardware and running 5.2.1:

main
backup
the 'backup' machine has a tape drive in it and it works fine (all scsi).

I can rsh/login to either machine from the other (as root)...so I think my 
/root/.rhosts file is setup okI used entries with host and entries with 
FQDN to make sure I was covered...

However, when I try dump from main to backup it wont work...


/sbin/rdump -C 32 -0Laucf backup:/dev/nsa0 /dev/da0s1a
  DUMP: rshd: Login incorrect.
  DUMP: login to backup.mydomain.com as root failed.

and on the backup machine I see this in auth.log:

Feb 29 15:56:03 backup rshd[684]: [EMAIL PROTECTED] as root: 
permission denied (authentication error). cmd='/etc/rmt'

..What the heck am I missing here??
(I dont use any hosts.allow and have not modified them)
Please dont tell me to use something with ssh, as this is within my own LAN 
and only for the backup purpose. Once I am done with the backup, I disable 
the rshd in inetd.

Thanks for any pointers...

 -JDB

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


Re: run perl scrip with post form from apache

2004-02-29 Thread Jerry McAllister
 
 Thanks for you pointers, they helped me to move further
 on into different problem.
 
 I added the addhandler statement and  ExecCGI
 
 There are no Limit/Limit at all
 
 The httpd-error.log has these messages now
 
 (2)No such file or directory: exec of /usr/local/www/data/sim.pl
 failed
 [client ] Premature end of script headers:
 /usr/local/www/data/sim.pl

I haven't followed the whole thread, just seen this piece.  But,
whenever I have seen that error message (and it has been many times)
I discovered that the blank line ending the header in the page I
am trying to write back out is missing.   It has to have a completely
empty line - not even any white space characters on it.

Sometimes it got that way because some part of my cgi code failed and
sometimes it was because I just forgot to include the double newline (\n\n)
in my print statement.

I won't guarantee that is it, but is something to check.

jerry


 
 The sim.pl file is in that directory and it was given to me as am
 working script.
 
 Any idea what is wrong now
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gphoto2 segfaults

2004-02-29 Thread Olaf Hoyer
On Sun, 29 Feb 2004, mj001 wrote:

 Has anyone been able to use gphoto2 with a Canon A70 camera,
 under FreeBSD 5.1?  I tried it, with what I believe is
 the correct command line, but it segfaults after detecting
 the camera and turning off the LCD display.

 Command line is:
 gphoto2 --usbid 0x4a9:0x3073=0x4a9:0x3056 --camera \
 Canon Powershot S40 -P --debug
 as suggested at http://pto.linux.dk/Canon_PowerShot_A70_Linux

 The debug output is posted on my web site, at the URL
 below, if anyone has time to take a quick look.

 Thanks in advance.
 http://members.rogers.com/mike.jeays/gphoto.txt

Hi!

well, had a quick glance at the debug output, it seems that the camera
itself is found, but whilst file operations there is some kind of
hiccup.

pris# pkg_info |grep photo
gphoto2-2.1.4_1 A command-line frontend to libgphoto2
libgphoto2-2.1.4_1  A universal digital camera picture control tool


these are my versions of the tools in question, also :
pris# uname -a
FreeBSD pris 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Feb  6
23:50:25 CET 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/SOUND3
i386

For me, the download works, but erasing the CF card etc. with gphoto2 is
also unseccessful.
Please have a look at the version of gphoto you have running, and try it
again with autodetect...

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LPD's emailing of errors to user@hostname

2004-02-29 Thread Garance A Drosihn
At 12:45 PM -0600 2/29/04, freebsd wrote:
lpd will generate error messages to [EMAIL PROTECTED] specific email
addresses.  Is there a way to have lpd deliver to a single account
(e.g. [EMAIL PROTECTED]) regardless of the [EMAIL PROTECTED] that
originated the job?
Not right now.  I could change that.  I have a few somewhat
related changes in RPI's version of lpd that I still haven't
merged into FreeBSD's lpd.  I'm pretty busy with other side
projects right now, but I hope to be getting back to lpd
changes in about two weeks.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba 3.0.1: can't find file

2004-02-29 Thread Robert Huff

I just (re)installed net/samba-devel.  When I start smbd, the
log complains:

[2004/02/29 17:32:41, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/etc/charset/ISO_8859-1.so': Cannot open /usr
/local/etc/charset/ISO_8859-1.so

root@  dir /usr/local/etc/charset/
total 20
drwxr-xr-x   2 root  wheel   512 Feb 29 17:26 .
drwxr-xr-x  20 root  wheel  2048 Feb 29 17:26 ..
-rwxr-xr-x   1 root  wheel  6292 Feb 29 17:26 CP437.so
-rwxr-xr-x   1 root  wheel  6152 Feb 29 17:26 CP850.so

root@ grep ISO* /usr/ports/net/samba-devel/pkg-plist
root@

Are these files supposed to come from somewhere else?



Robert Huff

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


Re: Open Office start up problem

2004-02-29 Thread Jerry McAllister
 
 Hi,
 
 This is probably a simple problem, but can someone please tell me what's 
 happening here?
 
 $ ./soffice
 .: Can't open 
 /usr/home/eamon/OpenOffice.org1.1.0/program/freebsd-local.sh: No such 
 file or directory
 $

I got that too and noticed that, sure enough, there was no such 
file as freebsd-local.sh in that directory.   So, I CD-d there
and did a   'touch freebsd-local.sh'  and it all seems happy now.
Maybe I missed a step that should have put it there, and I have
been negligent in pursuing OpenOffice docs, but it's working so...

There was one more file that it wanted and an empty file seemed to
make it happy, but I can't remember the name right now.   After doing
a touch on both of them, things came up and ran fine as far as I can
tell.   I am not a very demanding user of those kind of office packages
so I may be eliminating some niceties by cheating like this that I
just haven't notices. 

There is probably something in the docs about those files, so, if
all else fails read the instructions...

jerry

 
 Thanks,
 Eamon

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


All I want is KDE 3.2

2004-02-29 Thread Chuck McManis
That should be simple, however I'm getting close to looking at a full 
re-install :-(

I'm running 4.8, I made sure I had cvsup'd the ports collection. I tried to 
download the 4-STABLE packages but trying to add them with pkg_add was 
giving me fits (some would, some claim that a previous version is installed 
but neither pkg_update nor pkg_delete can find the old version)

I tried to rebuild KDE3.2 from ports, this fails in tk84 at the moment 
(tk84 won't build) This is really nuts I think.

Anyone have a cookbook for making things sane? Will pkg_delete -a followed 
by adding back the packages I want have any hope of succeeding?

--Chuck

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


All I want is KDE 3.2

2004-02-29 Thread Chuck McManis
That should be simple, however I'm getting close to looking at a full 
re-install :-(

I'm running 4.8, I made sure I had cvsup'd the ports collection. I tried to 
download the 4-STABLE packages but trying to add them with pkg_add was 
giving me fits (some would, some claim that a previous version is installed 
but neither pkg_update nor pkg_delete can find the old version)

I tried to rebuild KDE3.2 from ports, this fails in tk84 at the moment 
(tk84 won't build) This is really nuts I think.

Anyone have a cookbook for making things sane? Will pkg_delete -a followed 
by adding back the packages I want have any hope of succeeding?

--Chuck

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


ipfw ruleset traversal question

2004-02-29 Thread Shaun T. Erickson
I'm trying to port my linux netfilter/iptables firewall to 5.2.1-RESLEASE.

Iptables has the concept of chains. There are three defined by the 
system: INPUT, FORWARD  OUTPUT. Packets coming into the system that are 
destined for a local process traverse the INPUT chain only, packet 
generated by the system, and leaving it, traverse the OUTPUT chain only, 
and packets that are simply passing through the system traverse the 
FORWARD chain only. One nice benefit of this, is that inbound packets 
don't have to traverse rules for outbound packets and vice-versa. This 
allows efficient grouping of rules and reduces the performance hit of 
packets having to be checked by all rules.

How can I set up my ipfw ruleset so that I can achieve that same benefit?

TIA

	-ste

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


Re: ipfw ruleset traversal question

2004-02-29 Thread Shaun T. Erickson
Shaun T. Erickson wrote:

Iptables has the concept of chains.
Please forgive me for following up my own post. I know it's bad form ...

In addition to the system defined chains, iptables lets me create user 
defined chains, that I can jump to based on criteria I set, so as to 
further refine my rules such that packets only traverse the rules they must.

So, I'm trying to figure out how to simulate everything I've said about 
chains, in ipfw ...

	-ste

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


Re: Search Path in Bash

2004-02-29 Thread Gerard Seibert
Date: Sun, 29 Feb 2004 06:44:48 -0600
From: Martin McCormick [EMAIL PROTECTED]
Subject: Re: Search Path in bash2
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]

I am quoting one response I received, but my thanks to
everyone who answered.  I went to the system in question and figured I
would methodically try every suggestion I received until I either
exhausted all possibilities or something worked.

I was hoping for a global solution that would not require
modifying each user's .bash_profile, and it turns out that
/etc/profile appears to do the trick.  After one false start of
setting $path instead of $PATH, I added the following line which I
have broken for readability:

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
/usr/local/bin:/usr/local/etc:/usr/X11R6/bin:~/bin

This appears to correctly modify the behavior in the desired
manner.

Again, many thanks to all who answered.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
Peter Risdon writes:
When  bash is invoked as an interactive login shell, or as a non-inter-
   active shell with the --login option, it first reads and 
executes  com-
   mands  from  the file /etc/profile, if that file exists.  After 
reading
   that file, it looks for ~/.bash_profile, ~/.bash_login, and 
~/.profile,
   in  that order, and reads and executes commands from the first 
one that
   exists and is readable.  The --noprofile option may be  used  
when  the
   shell is started to inhibit this behavior.
 
But so far as I have seen, at least on FreeBSD, /etc/profile does not 
generally contain path info. This is normally set in ~/.profile and the 
default contains something like this:

# remove /usr/games and /usr/X11R6/bin if you want
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/
usr/X11R6/
bin:$HOME/bin; export PATH

So my guess is that to conform closely to this way of doing things, add 
the path to each user's ~/.profile and also to 
/usr/share/skel/dot.profile so it is there immediately for new users.

Alternatively, unless someone contradicts this, the man page seems to 
suggest you could add a path to /etc/profile and it would then be 
system-wide. I have never done this myself, though, so can't vouch for 
it whereas I have edited ~/.profile frequently.

HTH.

PWR.

** Reply Separator **
Sunday, February 29, 2004 6:01:48 PM

Peter, you stated the following:

When  bash is invoked as an interactive login shell, or as a non-inter-active
shell with the --login option, it first reads and executes  commands 
from  the file /etc/profile, if that file exists.  After reading that
file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in 
that order, and reads and executes commands from the first one that
exists and is readable

If I am following you correctly, then having a ~/,bashrc, ~/.bashrc or
~/.profile file is worthless, if bash reads only the first file that it
finds. I am referring in this scenario to the ~/.bash_profile file.
That isn't exactly what I gleamed from the FreeBSD book by Annelise
Anderson. Perhaps what she is referring to is an older version of bash.

I am not insinuating that you are incorrect; I am just trying to get
the most accurate information in regards to how bash works.


Gerard E. Seibert

[EMAIL PROTECTED]
Beware of quantum ducks. quark quark


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


Re: Gphoto2 segfaults

2004-02-29 Thread mj001
Thanks for the message.  My copy of gphoto2 seems older than yours;
it was obtained by doing a pkg_add -r on FreeBSD 5.1.  Perhaps I
should install a later version.
# gphoto2 -v
This version of gphoto2 is using the following software versions and 
options:
gphoto2   2.1.1cc, popt, exif, cdk, aa, jpeg, readline
libgphoto22.1.1cc, EXIF, no ltdl, no /proc/meminfo
libgphoto2_port   0.5.1cc, USB, serial without locking, no ltdl

Result of uname -a
chaucer.statcan.ca 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun  5 
02:55:42 GMT 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

# gphoto2 --auto-detect
Model  Port 

--
USB PTP Class Camera   usb:
299 ~ #
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Automount pcmcia flash reader?

2004-02-29 Thread Sara Trice
Running freeBSD 4.9.  I have a 4-in-1 pcmcia flash memory reader from 
CompUSA, and managed to get it to work with my laptop. I have been playing 
around with it and found this page:

http://www.daemonnews.org/200202/automounting.html

Automounting is new to me, so I tried following the steps; I got all the 
way through step 2, 'configuring mount', so I can now just type:

mount /camera

and it will mount the card. (Called it camera for my own personal 
reference.) So this is in my /etc/fstab:

/dev/ad8s1   /camera msdos   rw,noauto   0   0

Now, trying to get through step 3, configuring automount. I followed the 
instructions to add these to my rc.conf:

portmap_enable=YES
amd_enable=YES
amd_flags=-a /.amd_mnt -l syslog /host /etc/amd.map
Created the /.amd_mnt directory, and added this to my amd.map:

localhost/cameratype:=program;fs:=/camera;\
mount:=/sbin/mount mount /camera;\
unmount:=/sbin/umount umount /camera
But according to the page, it seems it should work after this; it does, 
however, not. I have a symlink that I can't remove that is:
/host/localhost/camera -- /camera

But accessing either directory does not result in the card being automounted.

I don't have an amd.conf. Should I, and if so, what should be in it?

~Sara~

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


Number 9 PC Revolution Card and SGI 1600SW

2004-02-29 Thread Forrest Aldrich
Does anyone have a working X config for the Number 9 PC Revolution IV 
card along with the SGI 1600SW Monitor (flatpanel).

I've given up trying to tweak it.   This is on FreeBSD-5.2.1... the 
stock monitor database is rather minimal.

Thanks.

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


Enabling quotas

2004-02-29 Thread Robert Fitzpatrick
I am running 5.2.1, I found the docs on how to enable quotas and build a
custom kernel because it is not built into GENERIC, but I can't find out
what to change my custom kernel before building it. Can someone tell me
what to look for and change in my custom version of GENERIC to enable
quotas?

-- 
Robert

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


Re: Number 9 PC Revolution Card and SGI 1600SW

2004-02-29 Thread Greg 'groggy' Lehey
On Sunday, 29 February 2004 at 18:44:28 -0500, Forrest Aldrich wrote:
 Does anyone have a working X config for the Number 9 PC Revolution IV
 card along with the SGI 1600SW Monitor (flatpanel).

 I've given up trying to tweak it.   This is on FreeBSD-5.2.1... the
 stock monitor database is rather minimal.

Monitors are usually not an issue.  What problems are you having?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


apache + SSL, modssl vs OpenSSL

2004-02-29 Thread Vincent Poy
Greetings all:

I'm planning to upgrade my old apache with a newer version and add
SSL but I noticed the ports has both apache + modssl as well as apache +
OpenSSL, are there any differences between the two of them and is one of
them better than the other?  Thanks.

Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

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


Re: Number 9 PC Revolution Card and SGI 1600SW

2004-02-29 Thread Greg 'groggy' Lehey
On Sunday, 29 February 2004 at 19:16:46 -0500, Forrest Aldrich wrote:
 Greg 'groggy' Lehey wrote:

 On Sunday, 29 February 2004 at 18:44:28 -0500, Forrest Aldrich wrote:


 Does anyone have a working X config for the Number 9 PC Revolution IV
 card along with the SGI 1600SW Monitor (flatpanel).

 I've given up trying to tweak it.   This is on FreeBSD-5.2.1... the
 stock monitor database is rather minimal.



 Monitors are usually not an issue.  What problems are you having?

 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original
 recipients.

 Well, from the tech specs on SGI.com, I was only able to obtain 2
 figures, not a range as it expects.

I'm not sure what you're talking about here.  Can you explain?

 But I selected the default VGA driver, just to get going and it
 fails to load X (no screens available).

There are more specific error messages than that.  If you can't
decipher them, show the last few lines of the /var/log/XFree86.0.log.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Automount pcmcia flash reader?

2004-02-29 Thread Dan Pelleg
Sara Trice [EMAIL PROTECTED] writes:

 Running freeBSD 4.9.  I have a 4-in-1 pcmcia flash memory reader from
 CompUSA, and managed to get it to work with my laptop. I have been playing
 around with it and found this page:

 http://www.daemonnews.org/200202/automounting.html


That article has been extended to CF cards. See:

http://www.daemonnews.org/200305/cfmount.html

-- 

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


Re: All I want is KDE 3.2

2004-02-29 Thread Alex de Kruijff
On Sun, Feb 29, 2004 at 02:54:15PM -0800, Chuck McManis wrote:
 That should be simple, however I'm getting close to looking at a full 
 re-install :-(
 
 I'm running 4.8, I made sure I had cvsup'd the ports collection. I tried to 
 download the 4-STABLE packages but trying to add them with pkg_add was 
 giving me fits (some would, some claim that a previous version is installed 
 but neither pkg_update nor pkg_delete can find the old version)
 
 I tried to rebuild KDE3.2 from ports, this fails in tk84 at the moment 
 (tk84 won't build) This is really nuts I think.
 
 Anyone have a cookbook for making things sane? Will pkg_delete -a followed 
 by adding back the packages I want have any hope of succeeding?

I have no qlue as what tk84 is. I experiance that kde_lib didn't build
because kde_base was  3.2 or visa versa. pkg_delete -a did work here. 

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps2 optical wheel mouse problems

2004-02-29 Thread Alex de Kruijff
On Sun, Feb 29, 2004 at 11:04:30AM -0700, Jerry M. Howell II wrote:
 On Sun, Feb 29, 2004 at 06:55:50PM +0100, Alex de Kruijff wrote:
  On Sun, Feb 29, 2004 at 09:39:26AM -0700, Jerry M. Howell II wrote:
   Hello all.,
   
 I recently installed freeBSD 5.2 and have a problem. I have most
 everything working corectly except the mouse. I set it to auto and it
 detects the mouse but it jumps all over the screen. It's a prety
 standard optical wheel mouse that seems to work fine under 4.8 and
 under all distros of linux I've used so far. I've tried every
 configuration I can think of under the sun. Does anyone have any
 recomendations?
  
  Hi,
  
  There are two main ways of setting up the mouse. The first is to go only
  with the X config and the second is to rely on the consile setup. If you
  didn't use the second option, then please read the FAQ on the website.
  Could you please tell use wich option you used? It would also be a handy
  to have the configuration files or those parts there of that are
  relevant.
  
 First I used /stand/sysinstall and selected the auto selecton. It
 detected the mouse but started jumping. After that I decided to select
 auto from the xf86config script, when that didn't work I tried sysmouse
 but got no beter response. One thing I did notice one thing. If I hook
 up a normal ps2 mouse and enable the mouse it works fine, even when I
 swap out the normal mouse for the optical but when I reboot if I have
 the optical mouse atached it goes back to jumping around. Realy weard.

I have a wireless optical mouse ( MX700 from logitech) and thats working
fine. Could you try and see if you have a working mouse in the console
by setting in /etc/rc.conf these lines:

moused_flags=-a .4
moused_port=/dev/psm0
moused_type=auto
moused_enable=YES

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: All I want is KDE 3.2

2004-02-29 Thread Chuck McManis
At 05:02 PM 2/29/2004, Alex de Kruijff wrote:
I have no qlue[sic] as what tk84 is. I experiance that kde_lib didn't build
because kde_base was  3.2 or visa versa. pkg_delete -a did work here.
tk84 is the Tk half of TCL/Tk for TCL ver 8.4. I used pkg_delete -a and 
re-installed from packages to get KDE 3.1 back again. I was able to build 
kdebase3.2 and kdelibs, it was the 'make install' from /usr/ports/x11/kde3/ 
that trys to rebuild Tk84. Even after manually installing the build tk84 
from rabarber.fruitsalad.org it still wants to rebuild it.

For anyone else who is interested the problem build at the moment is
/usr/ports/x11-toolkits/tk84 which is/was missing some includes (like 
tcl.h) from its work directory. I'm manually adding them by hand (yuck!) 
but so far don't have a clean build of tk84.

--Chuck

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


Re: ipfw ruleset traversal question

2004-02-29 Thread Alex de Kruijff
On Sun, Feb 29, 2004 at 05:58:53PM -0500, Shaun T. Erickson wrote:
 I'm trying to port my linux netfilter/iptables firewall to 5.2.1-RESLEASE.
 
 Iptables has the concept of chains. There are three defined by the 
 system: INPUT, FORWARD  OUTPUT. Packets coming into the system that are 
 destined for a local process traverse the INPUT chain only, packet 
 generated by the system, and leaving it, traverse the OUTPUT chain only, 
 and packets that are simply passing through the system traverse the 
 FORWARD chain only. One nice benefit of this, is that inbound packets 
 don't have to traverse rules for outbound packets and vice-versa. This 
 allows efficient grouping of rules and reduces the performance hit of 
 packets having to be checked by all rules.
 
 How can I set up my ipfw ruleset so that I can achieve that same benefit?

IPFW has one list of rules (with option to select in/out) that result in
the behavure as you describe. I have a example on my home page where i
select incomming and outging package. Forward is a action just like,
skipto, reject, allow and deny are. See man ipfw for more info.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


toshiba satellite

2004-02-29 Thread Tsu-Fan Cheng
Hi BSD babys, I am installing freebsd4.9 on toshiba satellite laptop and I
have 2 problems, the first one is X-window can't start up, the vedio
controller is S3 Savage 4, which according to xf86config is not
supported. Here is the log file output:

(II) VGA(0): Not using mode 320x240 (no clock available for mode)
(EE) VGA(0): Virtual height (0) is too small for the hardware (min 1)
(II) UnloadModule: vga
(II) UnloadModule: vgahw
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(II) UnloadModule: int10
(II) Unloading /usr/X11R6/lib/modules/libint10.a
(EE) Screen(s) found, but none have a usable configuration.

I tried some other vedio choices but failed as well.

The second is that I also install windows 2000 in the same hard drive,
after finishing installing freebsd, I can't choose which one to boot, it's
always freebsd, even after I install freebsd boot manager, what should I
do now to solve these?  many thanks!

Best Regards, :-)

Tsu-Fan Cheng [] (BIG5)
SUNY at Stony Brook
Stony Brook, NY, 11794

We are luckier than we think!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling quotas

2004-02-29 Thread zam4ever
- Original Message 
From: Robert Fitzpatrick [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Enabling quotas
Date: 01/03/04 07:57

 I am running 5.2.1, I found the docs on how to enable quotas and build a
 custom kernel because it is not built into GENERIC, but I can't find out
 what to change my custom kernel before building it. Can someone tell me
 what to look for and change in my custom version of GENERIC to enable
 quotas?
 
 -- 
 Robert

1. Recompile your kernel with the option:
 optionsQUOTA

2. Edit /etc/rc.conf file and add:
enable_quotas=YES

This section will provide a step by step how to do it:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html

And here how to compile and build a custom kernel:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

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


Re: Automount pcmcia flash reader?

2004-02-29 Thread Sara Trice
Thanks. I had seen this before and didn't get it to work; I tried again 
from step 1 and it works now. Must have missed something.

At 06:58 PM 2/29/2004, Dan Pelleg wrote:
Sara Trice [EMAIL PROTECTED] writes:

 Running freeBSD 4.9.  I have a 4-in-1 pcmcia flash memory reader from
 CompUSA, and managed to get it to work with my laptop. I have been playing
 around with it and found this page:

 http://www.daemonnews.org/200202/automounting.html

That article has been extended to CF cards. See:

http://www.daemonnews.org/200305/cfmount.html

--

  Dan Pelleg


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


mismatched dates on upgrade

2004-02-29 Thread Roger Merritt
I just tried to upgrade mysql-client and got the following error message:

 Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: mysql-3.23.58.tar.gz: local modification time does not match remote
 Couldn't fetch it - please try to retrieve this
 port manually into /usr/ports/distfiles/ and try again.
Does this mean my ports tree is out of date? Should I cvsup before trying 
anything else?

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


Re: mismatched dates on upgrade

2004-02-29 Thread Jonathan Chen
On Mon, Mar 01, 2004 at 09:36:30AM +0700, Roger Merritt wrote:
 I just tried to upgrade mysql-client and got the following error message:
 
  Attempting to fetch from 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
 fetch: mysql-3.23.58.tar.gz: local modification time does not match remote
  Couldn't fetch it - please try to retrieve this
  port manually into /usr/ports/distfiles/ and try again.
 
 Does this mean my ports tree is out of date? Should I cvsup before trying 
 anything else?

It usually means that you've got the file in /usr/ports/distfiles, but
it doesn't look quite like what the port is expecting to get. The
usual solution is to remove the mysql*.tar.gz file you've got in
/usr/ports/distfiles.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


LINT file?

2004-02-29 Thread Shaun T. Erickson
If I understand correctly, in previous releases there used to be a file 
/usr/src/sys/i386/conf/LINT, that listed all the things one could put 
in their kernel conf file. I can't find any such file on 5.2.1-RELEASE. 
Can someone please tell me where I can find it or it's replacement 
please? TIA

	-ste

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


Re: LINT file?

2004-02-29 Thread Matt Emmerton
 If I understand correctly, in previous releases there used to be a file
 /usr/src/sys/i386/conf/LINT, that listed all the things one could put
 in their kernel conf file. I can't find any such file on 5.2.1-RELEASE.
 Can someone please tell me where I can find it or it's replacement
 please? TIA

cd /usr/src/sys/i386/conf
make LINT

Note that the LINT kernel is _strictly_ a list of all the possible things to
put in your kernel config -- there are no explanatory comments anymore.

--
Matt Emmerton

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


Re: ssh+ldap+freebsd5.2 problem

2004-02-29 Thread Subscribe From
Hi All,

Below is my configuration files. Can somebody give any
comment about it! I can not SSH using my LDAP account
Really appreciate your help..

Port Installed:
openldap-2.1.26.tgz
pam_ldap-167.tar.gz
nss_ldap-204.tar.gz
openssh-3.6.1.tgz

PUTTY:
login as: testuser
Sent username testuser
[EMAIL PROTECTED]'s password:
Access denied
[EMAIL PROTECTED]'s password:


/etc/nsswitch.conf:
---begin---
passwd: files ldap
group: files ldap
---end---

/usr/etc/ldap.conf  /etc/ldap.conf 
/usr/etc/nss_ldap.conf  /etc/nss_ldap.conf:
---begin---
host 127.0.0.1  
uri ldapi://%2fvar%2frun%2fopenldap%2fldapi/
base dc=domain,dc=com
binddn cn=proxyuser,dc=domain,dc=com
bindpw ldapadmin
pam_password SHHA 
nss_base_passwd ou=People,dc=domain,dc=com?one
nss_base_passwd ou=Computers,dc=domain,dc=com?one
nss_base_shadow ou=People,dc=domain,dc=com?one
nss_base_group ou=Groups,dc=domain,dc=com?one
---end---

/usr/local/etc/openldap/ldap.conf:
---begin---
BASE dc=domain,dc=com 
URI ldapi://%2fvar%2frun%2fopenldap%2fldapi/
---end---

# /usr/local/etc/openldap/slapd.conf:
---begin---
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/nis.schema
include
/usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/samba.schema
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
TLSCACertificateFile
/usr/local/etc/openldap/cacert.pem
TLSCertificateFile
/usr/local/etc/openldap/servercrt.pem
TLSCertificateKeyFile
/usr/local/etc/openldap/serverkey.pem
allow bind_v2
password-hash {SSHA}
database bdb
suffix dc=domain,dc=com
rootdn cn=Manager,dc=domain,dc=com
rootpw {SSHA}JUdEYmEb9wdq9ro4gAkQ1H4vKGqBr6+7
directory /var/db/domain.com
index   objectClass eq
index   cn,sn,uid,memberUid,mailpres,eq
index   uidNumber,gidNumber eq
index   displayName pres,eq
index   sambaSID,sambaPrimaryGroupSID,sambaDomainName   eq
access to *
by * read
---end---

/etc/pam.d/sshd:
---begin---
# auth
authrequiredpam_nologin.so
 no_warn
authsufficient  pam_opie.so   
 no_warn no_fake_prompts
authrequisite   pam_opieaccess.so 
 no_warn allow_local
authsufficient 
/usr/local/lib/pam_ldap.so no_warn try_first_pass
authrequiredpam_unix.so   
 no_warn try_first_pass

# account
#accountrequiredpam_krb5.so
account sufficient 
/usr/local/lib/pam_ldap.so
account requiredpam_login_access.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so   
 no_warn try_first_pass
passwordrequiredpam_unix.so   
 no_warn try_first_pass
---end---

regards,
onlyme



Hi All,

Have any body manage to configure ssh with openldap on
FreeBSD 5.2

I manage to configure openldap on FreeBSD 5.2. Beside
that I also manage to make it work with Samba 3.0.
However the problem is I can not make it work with
ssh.

I have google around and found this minihowto
http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
but fail also to make it work

Can some body advise me...:)

Regards,
onlyme


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LINT file?

2004-02-29 Thread Shaun T. Erickson
Matt Emmerton wrote:

cd /usr/src/sys/i386/conf
make LINT
Note that the LINT kernel is _strictly_ a list of all the possible things to
put in your kernel config -- there are no explanatory comments anymore.
That's a shame. I was counting on the comments to educate me. Can you 
point me to any other documentation that might cover what I find in that 
file?

	-ste

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


Re: LINT file?

2004-02-29 Thread Matt Emmerton
 Matt Emmerton wrote:

  cd /usr/src/sys/i386/conf
  make LINT
 
  Note that the LINT kernel is _strictly_ a list of all the possible
things to
  put in your kernel config -- there are no explanatory comments anymore.

 That's a shame. I was counting on the comments to educate me. Can you
 point me to any other documentation that might cover what I find in that
 file?

Well, if you're hunting for things in LINT, you probably should have a good
reason -- the comments in the source are probably what you're after.

--
Matt Emmerton

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


RE: LINT file?

2004-02-29 Thread fbsd_user
And you think that, that's ok?

Somebody messed up big time removing all the LINT comments.

That's totally unacceptable.

Aren't you going to submit an problem report about that.

That's just so stupid it could not have been done with official
approval.

There could never be any reason to justify doing that.

If defeats the whole purpose of having the LINT kernel max option
statement file.

You have to point out these blunder by submitting an problem report.

Get on the stick and do your volunteer part in keeping Freebsd what
we all expect it to be.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt
Emmerton
Sent: Sunday, February 29, 2004 10:29 PM
To: Shaun T. Erickson; [EMAIL PROTECTED]
Subject: Re: LINT file?

 If I understand correctly, in previous releases there used to be a
file
 /usr/src/sys/i386/conf/LINT, that listed all the things one
could put
 in their kernel conf file. I can't find any such file on
5.2.1-RELEASE.
 Can someone please tell me where I can find it or it's replacement
 please? TIA

cd /usr/src/sys/i386/conf
make LINT

Note that the LINT kernel is _strictly_ a list of all the possible
things to
put in your kernel config -- there are no explanatory comments
anymore.

--
Matt Emmerton

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

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


Re: LINT file?

2004-02-29 Thread Rowdy
Shaun T. Erickson wrote:

Matt Emmerton wrote:

cd /usr/src/sys/i386/conf
make LINT
Note that the LINT kernel is _strictly_ a list of all the possible 
things to
put in your kernel config -- there are no explanatory comments anymore.


That's a shame. I was counting on the comments to educate me. Can you 
point me to any other documentation that might cover what I find in that 
file?

-ste
You would be looking for the NOTES file in /usr/src/sys/arch/conf?

There is also a NOTES file in, erm, /usr/src/sys/conf IIRC.

Dave

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


vinum mirroring (raid1) - replacing a disk

2004-02-29 Thread William Wong
Hi there,

I'm testing vinum on FreeBSD 4.9, currently the mirroring feature.

I've created a mirror'd volume using 2 hard disks.

I yanked out one of the hds, and unsurprisingly the mirror kept on going.

Now to replace the failed drive, I reconnected the drive, fdisk'd,
disklable'd and change the fstype back to vinum.

I added the drive in the vinum config, similar to the procedure here:

http://www.vinumvm.org/vinum/replacing-drive.html

I tried to start my failed subdisk and it said the device was busy...I set
the state to obsolete and it still said the device was busy when I tried to
start the subdisk.

Is there something I'm doingi wrong?

Thanks,
- Will

Please CC me as I'm not on the list.

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


Re: LINT file?

2004-02-29 Thread Kris Kennaway
On Sun, Feb 29, 2004 at 11:00:21PM -0500, fbsd_user wrote:
 And you think that, that's ok?
 
 Somebody messed up big time removing all the LINT comments.
 
 That's totally unacceptable.

Whoa there, tiger! :-)

Look at the NOTES file instead.

Kris


pgp0.pgp
Description: PGP signature


Re: vinum mirroring (raid1) - replacing a disk

2004-02-29 Thread Greg 'groggy' Lehey
On Sunday, 29 February 2004 at 23:07:47 -0500, William Wong wrote:
 Hi there,

 I'm testing vinum on FreeBSD 4.9, currently the mirroring feature.

 I've created a mirror'd volume using 2 hard disks.

 I yanked out one of the hds, and unsurprisingly the mirror kept on going.

Well, that is the intention :-)

 Now to replace the failed drive, I reconnected the drive, fdisk'd,
 disklable'd and change the fstype back to vinum.

 I added the drive in the vinum config, similar to the procedure here:

 http://www.vinumvm.org/vinum/replacing-drive.html

 I tried to start my failed subdisk and it said the device was busy...I set
 the state to obsolete and it still said the device was busy when I tried to
 start the subdisk.

 Is there something I'm doingi wrong?

It's possible that there's something wrong with the description.
Could you please describe in nauseating detail exactly what you did,
and what happened?  Console messages are also important.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: LINT file?

2004-02-29 Thread Shaun T. Erickson
Rowdy wrote:

You would be looking for the NOTES file in /usr/src/sys/arch/conf?

There is also a NOTES file in, erm, /usr/src/sys/conf IIRC.
Thank you. That's exactly what I was looking for. I should have known to 
simply look for it under another name, instead of just giving up early 
when the ls for LINT turned up nothing.

Mea culpa.

	-ste

P.S.: Looking at it, I discovered that there is a ste device driver 
and man page, lol. When I pointed it out to my roommate, he said he 
wants to get in touch with the author. He says there's a few feature 
enhancements he'd like, and several nasty bugs he'd like worked out. :)

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


Upgrading KDE

2004-02-29 Thread elarsen2
I uninstalled all of KDE. And when I install kdelibs3 I get the fallowing:

gmake[3]:*** [libkdecore.la] Eroor 1
gmake[3]:Leaving directory '/usr/ports/x11/kdelib3/work/kdelibs-3.2.0/kdecore'

gmake[2]:*** [all-recursive] Error1
gmake[2]:Leaving directory '/usr/ports/x11/kdelib3/work/kdelibs-3.2.0/kdecore'

gmake[1:*** [all-recursive] Error1
gmake[1]:Leaving directory '/usr/ports/x11/kdelib3/work/kdelibs-3.2.0'
gmake:*** [all] Erorr2
***Error code 2

Stop in /usr/ports/x11/kdelibs3

I am runing FreeBSD 4.9


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


Adaptec 2410SA starts doing this: aac0: COMMAND 0xc551a7e8 TIMEOUT AFTER 147 SECONDS

2004-02-29 Thread Chad Leigh -- Shire.Net LLC
Hi

I have an Adaptec 2410SA RAID card with 3 drives attached, 2 in a RAID 
1 array and one as a separate disk.  This has been working under 
5.2-RELEASE in my test server for some time now.  However, for some 
reason the machine locked up (may not be related) and I had to do a 
hard reset.

Now the machine, when it tries to check the two aacd volumes on this 
controller, starts printing out this message below every 20 seconds or 
so and the disk volumes cannot be used.  Each new IO attempt triggers a 
new set of these messages.  The hex number after the COMMAND word is 
different for each new IO request but of course stays the same for 
repeated messages relating to the same original IO request

aac0: COMMAND 0xc551a7e8 TIMEOUT AFTER 147 SECONDS

I have googled on this and similar posts related to 2120S controllers 
all seemed to have different causes and fixes...

Any hints or ideas on what is causing this?  I can get into the 
controller at POST time and it checks out...

Thanks
Chad


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


Re: Upgrading KDE

2004-02-29 Thread Chuck McManis
At 09:49 PM 2/29/2004, [EMAIL PROTECTED] wrote:
gmake[1]:Leaving directory '/usr/ports/x11/kdelib3/work/kdelibs-3.2.0'
gmake:*** [all] Erorr2
***Error code 2
Stop in /usr/ports/x11/kdelibs3

I am runing FreeBSD 4.9
Well I got a bit farther than you did, got kdelibs-3.2.0 built but it fails 
later trying to build tk84. There is also a dependency on art1.2 even 
though the freebsd.kde.org page says that you should be able to use arts 1.1.

After spending the entire weekend on it I've figured it may be easier just 
to wait for 4.10.

--Chuck

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


Re: OpenLdap client

2004-02-29 Thread Konrad Heuer

On Sun, 29 Feb 2004 [EMAIL PROTECTED] wrote:

 Hello;
 My FreeBSD 4.9 server has to authenticate it's users through Openldap
 client from a Linux server. I have installed openldap-client-2.1.22 and
 pam_ldap-1.6.4. The ldapsearch gives the correct answer when it is
 invoked with necessary arguments.
 I tried to configure pam.conf so that is uses pam_ldap.so for
 authentication and I tested many cases ( changing the arguments and
 things like this) but nobody can log in. I want to know if other things
 except pam.conf must be configured and if pam.conf must be configured can
 anybody send me a sample.

Sorry to say, but FreeBSD 4.9 doesn't support LDAP the way you want. You
can authenticate users with pam_ldap for other purposes, but not for a
shell login. 4.9 still lacks nss support which is essential.

5.2-RELEASE which is completely dynamically linked is the first release
with full ldap login support.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading KDE

2004-02-29 Thread Kent Stewart
On Sunday 29 February 2004 10:40 pm, Chuck McManis wrote:
 At 09:49 PM 2/29/2004, [EMAIL PROTECTED] wrote:
 gmake[1]:Leaving directory
  '/usr/ports/x11/kdelib3/work/kdelibs-3.2.0' gmake:*** [all] Erorr2
 ***Error code 2
 
 Stop in /usr/ports/x11/kdelibs3
 
 I am runing FreeBSD 4.9

 Well I got a bit farther than you did, got kdelibs-3.2.0 built but it
 fails later trying to build tk84. There is also a dependency on
 art1.2 even though the freebsd.kde.org page says that you should be
 able to use arts 1.1.

 After spending the entire weekend on it I've figured it may be easier
 just to wait for 4.10.



Did you try building tcl-8.4.5,1 and then try tk-8.4.5,1. It really 
seems like the kde-3.2 problems are old dependancies that haven't been 
upgraded. You probably have disconnected links in the port database at 
this point. 

I had problems getting 3.2 to install it was much later in the process. 
Portupgrade seemed to do a great job until there were make problems. A 
touch of a couple of kdevelop files worked on fruitsalad but not from 
the east coast to the west coast of the US. 

I did a -pufa upgrade on Saturday and 13 hours later, my entire port 
tree was rebuilt. KDE-3.2 will build cleanly at this point. You are 
just having problems getting to where you can do this.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: solved-freebsd setup error-signal 11

2004-02-29 Thread hay
I solved, sorry for crowding...
- Original Message -
From: hay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 29, 2004 10:15 PM
Subject: freebsd setup error-signal 11


 Hi dear list,
 I have a small pc and I want to setup freebsd 5.2 on it, but I couldnt get
 successful until now...Tried many many times but no succes.
 My pc's properties
 Mainbord ASUS A7V133
 Cpu: AMD Athon 1200
 Secordary Master Seagate 80GB Barracuda.

 When setup tries to make partitions, it alerts me, there is a disk
geometry
 error. 155061/16/63 is incorrect. It should has been 9729/255/63. First, I
 didnt change and tried to setup. I failed. Afterwards, I changed disk
 geometry what setup said, but nevertheless I failed. bios update is
06.04.03
 and hdd's auto options is selected. I guess PIO is 4, UDMA is 2 cause
 auto-selected.
 Where am I wrong with setup?

 regards,
 sinan

 - Original Message -
 From: Aaron Walker [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, February 29, 2004 9:54 PM
 Subject: Re: slice X?


  On Sun, 2004-02-29 at 02:56, Cordula's Web wrote:
When I try to create a new slice, it gives it the name 'X' which
 causes
a problem when I try to create new partitions on that slice:
   
Unable to create partitons on device: /dev/X
  
   This happens when sysinstall runs out of valid slice names.
   Try using less file systems per partition...
 
 
  I figured it was because there were no free primary partitions (all free
  space was in linux extended partition).
 
  This was solved simply by deleting ALL linux partitions ;)
 
  Thanks,
  Aaron
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

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



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


Last autoresponse notification for today

2004-02-29 Thread freebsd-doc-owner
We have received a message from your address [EMAIL PROTECTED]'
requesting an automated response from the [EMAIL PROTECTED]
mailing list.  We have seen 10 such messages from you today.  In order
to avoid problems such as mail loops between email robots, we will not
be sending you any further email responses today.  Please try again
tomorrow.

If you believe this message is in error, or if you have any questions,
please contact the list owner at [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing OpenOffice 1.1 question

2004-02-29 Thread Stephen Liu
Hi all folks,

FreeBSD 5.2

I installed the captioned OS from CD1 which is the only CD in my 
possession.  I tried to install OpenOffice1.1 but could not find it

# /stand/sysinstall

could not find it.  Kindly advise whether I can install OO.1.1 direct 
from FBSD website OR I have to start from its tarball to be downloaded 
from OO website.

If from FBSD site, kindly advise how to make it.  Pointer would be 
appreciated.

TIA

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


  1   2   >