Re: cvsupit - file system 105% - what have I done ?

2002-11-22 Thread Richard Shea
On Sat, 23 Nov 2002 18:01:20 +1300, "Jonathan Chen" <[EMAIL PROTECTED]>
said:
> On Sat, Nov 23, 2002 at 05:38:26PM +1300, Richard Shea wrote:
>
Hi - Thanks for your reply ...
 
> [...]
> > Well I answered a few questions, pressed the button and the process
> > commenced 'checking out' hundreds of files. I thought this was a bit
> > suprising given I thought the whole point of CVS was to only pull those
> > files which had changed - it just seemed to be pulling everying ! Anyway
> > I had to CTRL-C it after a while as the file system had gone to 105%. 
> 
> Well, if you're moving from 4.4 to 4.7, there will be *quite* a lot of
> files which will have changed.
> 
I didn't really want to go all the way to 4.7 in one go I think if i
change my cvsupfile so that it reads

*default  tag=RELENG_4_5_0_RELEASE 

that will be what I want ...

[SNIP]
> cvsup installs directly into /usr/{src|ports|doc}. Your sources are
> probably in an indeterminate state. However, if you rerun cvsup, it will
> fix itself up.
>
good
[SNIP]

> If you intend on just upgrading your system sources, you don't need
> ports-all and doc-all. src-all is approx 298M and the ports-all is
> about 162M. Dunno about doc-all. Removing the ports-all and doc-all
> will probably just squeeze your update in. I'm unsure whether you'll
> have enough space to recompile your system though...
> 
Even the 162M presents a problem and I was wondering if there some way I
could suck the sources onto a different file system which has more space
than /usr and get CVSUP to compile them from there ?

regards

richard shea.




The Cuba Group
PO Box 1864
Wellington
New Zealand

PH +64 4 496 5205
MO +64 21 296 6839 
FX +64 4 496 5209


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



Re: Interesting modem problem

2002-11-22 Thread Matthew Emmerton
> Hi all, I'm running into a rather interesting modem problem with one of my
> boxes.  Just installed an external 28.8k modem for faxing onto it (and the
> occasional PPP when needed) and I can't seem to find the port the modem is
> on.  It's currently connected to the parallel/LPT port, but I'm unsure how
> to tell PPP where to find it or what device/port/etc. that it's on.
>
> How do I find out where my modem is (kinda like windows autodetect) and
> what port it's on?  Thanks.

Modems need to be connected to serial ports, not parallel ports.

--
Matt Emmerton


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



Interesting modem problem

2002-11-22 Thread Lord Raiden
	Hi all, I'm running into a rather interesting modem problem with one of my 
boxes.  Just installed an external 28.8k modem for faxing onto it (and the 
occasional PPP when needed) and I can't seem to find the port the modem is 
on.  It's currently connected to the parallel/LPT port, but I'm unsure how 
to tell PPP where to find it or what device/port/etc. that it's on.

	How do I find out where my modem is (kinda like windows autodetect) and 
what port it's on?  Thanks.


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


Re: How to deinstall openoffice?

2002-11-22 Thread paul beard
Scott Robbins wrote:



In the home directory---there's an openoffice.bin or perhaps 
soffice.bin
or even .openoffice.bin, something like that--the file that's most
likely causing you trouble though is something .sversionrc in 
the home
directory.

Go to the head of the class: that was it. The only place I didn't 
look, shame on me . . .


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ 

ASHes to ASHes, DOS to DOS.


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


what can i use to record my Sonicawall's logs?

2002-11-22 Thread Bsd Neophyte
i'm looking for a simple to use and simple to configure tool that will
record my sonicawall soho's log messages.

anyone have any recommendations?  i rather not have something overwhelming
though.   it should be simple to configure and understand and operate.

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: How to deinstall openoffice?

2002-11-22 Thread paul beard
Cliff Sarginson wrote:



Look for a file called ".install_done" in the appropriate "work"
directory under the port you want to remove. If you see it.. 
delete it.

I didn't use the port: that never worked for me. So I have tried 
the FreeBSD tarball/installer and the linux variant. Neither are 
quite happy yet.

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ 

Tact is the ability to tell a man he has an open mind when he has a
hole in his head.


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


Re: "make" from file not ftp

2002-11-22 Thread Kris Kennaway
On Sat, Nov 23, 2002 at 12:00:37AM -0600, Bill Baird wrote:
> I am trying to install Mozilla using the make command.  Its looking for the 
> ftp server not the directory that I am in.  Is there a way that I can tell 
> it where to look or change the defalt. Trying to get up and running on the 
> net. Thanks for the help.

If you have already downloaded the mozilla distfile, put it in
/usr/ports/distfiles and re-run the build.

Kris



msg09874/pgp0.pgp
Description: PGP signature


pppd script and DVD-RAM backups

2002-11-22 Thread Bob Hall
I've put some bash code for starting and stopping pppd on my web site. 
I've also put up my complete procedure for backing up a FBSD box to 
a DVD-RAM disk and doing a full restore. This includes some bash code 
that simplifies the backup process considerably. I've tested the 
backup and restore procedure by restoring my current setup to an 
unused hard disk, and everything worked perfectly. That doesn't mean 
that I didn't introduce any errors when I edited the web page. :)

http://users.starpower.net/rjhalljr/Serve
Click on 'Unix' on the side bar.

Bob Hall

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



Re: How to deinstall openoffice?

2002-11-22 Thread Scott Robbins
On Fri, Nov 22, 2002 at 09:43:51PM -0800, paul beard wrote:
> Does anyone know what file the installer might be finding that 
> prevents it from reinstalling? I am giving up the FreeBSD package 
> and trying the linux version, but whatever I deleted when cleaning 
> up the old install left something that makes subsequent install 
> runs think there's an installation in /usr/local/bin. I can't 
> figure out what it is or how to force it to install.

In the home directory---there's an openoffice.bin or perhaps soffice.bin
or even .openoffice.bin, something like that--the file that's most
likely causing you trouble though is something .sversionrc in the home
directory.  

HTH


-- 

Scott

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Cordelia: Everything has been taken away because Daddy made a 
little mistake on his taxes... for the last twelve years. 



msg09877/pgp0.pgp
Description: PGP signature


Re: How to deinstall openoffice?

2002-11-22 Thread Cliff Sarginson
On Fri, Nov 22, 2002 at 09:43:51PM -0800, paul beard wrote:
> Does anyone know what file the installer might be finding that 
> prevents it from reinstalling? I am giving up the FreeBSD package 
> and trying the linux version, but whatever I deleted when cleaning 
> up the old install left something that makes subsequent install 
> runs think there's an installation in /usr/local/bin. I can't 
> figure out what it is or how to force it to install.
> 
> Any ideas?

Look for a file called ".install_done" in the appropriate "work"
directory under the port you want to remove. If you see it.. delete it.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



"make" from file not ftp

2002-11-22 Thread Bill Baird
I am trying to install Mozilla using the make command.  Its looking for the 
ftp server not the directory that I am in.  Is there a way that I can tell 
it where to look or change the defalt. Trying to get up and running on the 
net. Thanks for the help.


-
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com

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


Re: cvsupit - file system 105% - what have I done ?

2002-11-22 Thread Cliff Sarginson
On Sat, Nov 23, 2002 at 06:30:00AM +0100, Cliff Sarginson wrote:
> 
> RELENG_4_5_0_RELEASE
> 
> After that change this to "RELENG_4_5" which should start to get you the
> security updates when you again run cvsupit.
> 
> -And -ditto- to go up the release chain...
> 
> 
p.s. You can probably actually update directly to a security release patch level if you
find out the appropriate patch tag for that release.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



How to deinstall openoffice?

2002-11-22 Thread paul beard
Does anyone know what file the installer might be finding that 
prevents it from reinstalling? I am giving up the FreeBSD package 
and trying the linux version, but whatever I deleted when cleaning 
up the old install left something that makes subsequent install 
runs think there's an installation in /usr/local/bin. I can't 
figure out what it is or how to force it to install.

Any ideas?
--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ 

Aaaackk!
You brute!  Knock before entering a ladies room!


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


Re: cvsupit - file system 105% - what have I done ?

2002-11-22 Thread Cliff Sarginson
On Sat, Nov 23, 2002 at 05:38:26PM +1300, Richard Shea wrote:
> Hi - For the first time ever I have tried to upgrade a FreeBSD by using
> CVS. In fact I used CVSUPIT. I'm on 4.4-RELEASE and I just wanted to move
> up to 4.5,6 or 7.
> 
> Well I answered a few questions, pressed the button and the process
> commenced 'checking out' hundreds of files. I thought this was a bit
> suprising given I thought the whole point of CVS was to only pull those
> files which had changed - it just seemed to be pulling everying ! Anyway
> I had to CTRL-C it after a while as the file system had gone to 105%. 
> 
The tag you have used will download the latest Stable release, i.e.
everything up to a few hours ago post 4.7 release .. a squillion files.

To get upto 4.5 release I think you will need a tag of

RELENG_4_5_0_RELEASE

After that change this to "RELENG_4_5" which should start to get you the
security updates when you again run cvsupit.

-And -ditto- to go up the release chain...


The src for 4.7 takes about 300 MB.
Then you need space for the object files .. say >300

I am not sure about the ports collection, a couple of hundred maybe.

Docs ? It's all online, so you could leave them out if you are really
tight on space.

I have never upgraded this way, so the chance of success of using the
above to jump from 4.4 to 4.7 in one bound is not something I could
comment on.

Good luck :)

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: cvsupit - file system 105% - what have I done ?

2002-11-22 Thread Jonathan Chen
On Sat, Nov 23, 2002 at 05:38:26PM +1300, Richard Shea wrote:

[...]
> Well I answered a few questions, pressed the button and the process
> commenced 'checking out' hundreds of files. I thought this was a bit
> suprising given I thought the whole point of CVS was to only pull those
> files which had changed - it just seemed to be pulling everying ! Anyway
> I had to CTRL-C it after a while as the file system had gone to 105%. 

Well, if you're moving from 4.4 to 4.7, there will be *quite* a lot of
files which will have changed.

> My question is (CVSUP file below) can anyone tell me what it has done and
> what I was doing wrong ? Is there some sort of standard rule of thumb for
> how much extra file space will be required ? I was expecting to pull a
> couple of hundred sources and that would be that ... 
> 
> Do I now have half 4.x (where x > 4) sources and half 4.4 or was CVSUPIT
> copying files into a work directory ?

cvsup installs directly into /usr/{src|ports|doc}. Your sources are
probably in an indeterminate state. However, if you rerun cvsup, it will
fix itself up.

> The other thing is that I really only wanted to upgrade from 4.4 to 4.5
> initially but RELENG_4 was the nearest I got to being asked what release
> I was after - was there something I missed there ?

If you're using RELENG_4, you're moving up to -stable, which is effectively
4.7+

> ps : The CVSUP file which CVSUPIT created looks like this ...
> 
> *default  host=cvsup.FreeBSD.org
> *default  base=/usr
> *default  prefix=/usr
> *default  release=cvs
> *default  tag=RELENG_4
> *default  delete use-rel-suffix
> 
> src-all
> *default tag=.
> ports-all
> doc-all

If you intend on just upgrading your system sources, you don't need
ports-all and doc-all. src-all is approx 298M and the ports-all is
about 162M. Dunno about doc-all. Removing the ports-all and doc-all
will probably just squeeze your update in. I'm unsure whether you'll
have enough space to recompile your system though...

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.

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



cvsupit - file system 105% - what have I done ?

2002-11-22 Thread Richard Shea
Hi - For the first time ever I have tried to upgrade a FreeBSD by using
CVS. In fact I used CVSUPIT. I'm on 4.4-RELEASE and I just wanted to move
up to 4.5,6 or 7.

Well I answered a few questions, pressed the button and the process
commenced 'checking out' hundreds of files. I thought this was a bit
suprising given I thought the whole point of CVS was to only pull those
files which had changed - it just seemed to be pulling everying ! Anyway
I had to CTRL-C it after a while as the file system had gone to 105%. 

My question is (CVSUP file below) can anyone tell me what it has done and
what I was doing wrong ? Is there some sort of standard rule of thumb for
how much extra file space will be required ? I was expecting to pull a
couple of hundred sources and that would be that ... 

Do I now have half 4.x (where x > 4) sources and half 4.4 or was CVSUPIT
copying files into a work directory ?

The other thing is that I really only wanted to upgrade from 4.4 to 4.5
initially but RELENG_4 was the nearest I got to being asked what release
I was after - was there something I missed there ?

Any info would be welcome.

regards

richard shea.

ps : The CVSUP file which CVSUPIT created looks like this ...

*default  host=cvsup.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4
*default  delete use-rel-suffix

src-all
*default tag=.
ports-all
doc-all


The Cuba Group
PO Box 1864
Wellington
New Zealand

PH +64 4 496 5205
MO +64 21 296 6839 
FX +64 4 496 5209


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



question on freeX86

2002-11-22 Thread edmund jones


Hi again,

I was having a great time getting X up and then ran
into a problem. I hope you can help. Here are some
particulars. I run an ibm 350 desktop 166Mhz. There is
a S3 86c765(Trio64v+) video chip. The monitor is a
micron 15FGX 50-60 Hz(no other info). Both the chip
and the ibm type (clocktype?) specs were in xf86config
setup. I chose a minium install custom package ie.
SVGA and SVG16 and recommended libs. and a couple of
window managers. After install, I copied XFConfig to
the /usr/X11R6 path. I have tried changing the link to
either Vga server(last implementing leaves X in /X11R6
dir.), set all ttys to "/usr/libexec/gettyPc" 1...8.
The only line commented out in the "devices configured
by xfconfig" section is the VideoRam 1024 line. .cshrc
and .profile have the X11R6/lib paths
shell path = /sbin /bin /usr/sbin /usr/bin /usr/games
/usr/local/sbin /usr/local/bin /usr/X11R6/bin
/usr/X11R6/lib/X11  Also, no files are in the
X11/libexec dir. 
Results: startx sends message ""execve failed for
/usr/X11R6/bin/X (errno2)""  then...
""_X11TransSocketUnixConnect: Can't connect:errno2""
this message runs six times and givesup. then...
""xinit:No such file or dierctory(errno2) unable to
connect to X server"" then...
""Xinit no such process(errno3) Server err.""

Don't know where to go from here, hope you can help.

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: USB Compact Flash reader

2002-11-22 Thread David Kelly
On Friday 22 November 2002 09:40 pm, Peter Milne wrote:
> Would it be possible to get a USB flash card reader to work in
> FreeBSD?
>
> I don't suppose I could plug it and it would work?  :O)  What must I
> do to get it working?

There is a SanDisk model which works just about that easily.

Need to run usbd. Then the CF card appears on /dev/da0 on my system. 
Have ufs filesystems on the CF cards we use so root has to mount them. 
But if dealing with CF cards from a camera I'd look into mtools from 
the ports. Used it a lot in the past with floppies. Do most DOS-like 
commands to floppies without mounting the filesystem. Without need of 
being root if you can read/write /dev/da0.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



USB Compact Flash reader

2002-11-22 Thread Peter Milne
Would it be possible to get a USB flash card reader to work in FreeBSD?

I don't suppose I could plug it and it would work?  :O)  What must I do to get it 
working?

-- 

  
Pete

Mail brought to you by FreeBSD 4.7 and Sylpheed-claws

http://milneweb.com

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



Re: How to monitor user commands

2002-11-22 Thread Olivier
On Thu, Nov 21, 2002 at 06:31:14PM +0100, Jimmy Olgeni wrote:
> 
> On Thu, 21 Nov 2002, Olivier wrote:
> 
> > Is there any tool in the ports that could do that? Or has anybody done
> > any script or something that would help me?
> 
> Check out the "script" command, which would allow you to log the users
> terminal sessions. The "watch" command allows you to watch the users
> in real time, while the csh shell should have some support for
> login/logout notification, even if I couldn't figure out how to enable
> it :o)
> 
> -- 
> jimmy

Thanks a lot jimmy and axel ;-)

* 'script' could do the job, I thought about putting something like 
script -q "/tmp/logging/$USER.`date "+%d-%m-%Y.%H:%M:%S"`"
  in /etc/profile, so ok the user doesn't notice she's in a forked shell,
  until she needs to exit it. Then a double 'exit' is needed, so that will
  show her something is wrong, and nothing prevents from doing stuff after
  typing the first 'exit'..
  Is there a better way to do this with 'script'?

* 'watch' sounds very nice, but I need to be connected at the same time, thus
  need a reliable way to get notified about a bash login? 
  Or is it supposed to be used by launching a couple of watch processes, each
  snooping one of the ttyp's? That would work I guess, maybe piped into gzip.
  BTW, shouldn't the warn(8) man page warn that /dev/snpX devices needs to be
  MAKEDEV'd first? But it's probably just me, I am really skilled at missing
  important info in the doc ;-)

Thank you again for your help..

Olivier

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



Re: openoffice install

2002-11-22 Thread Scott Robbins
On Fri, Nov 22, 2002 at 04:00:59PM -0800, paul beard wrote:
> Daniel Harris wrote:
> 
> >
> >
> >Note that http://projects.imp.ch/openoffice/ has binary packages
> >which won't require those 4GB :-)
> >
> So being likewise strapped for diskspace, I used the package also. 
> It looks nice, but I am having a couple of problems.
> 
> I can only run it as root/with sudo. It crashes as soon as it 
> opens the blank workspace otherwise.

By crashes, do you mean you get that message, an unrecoverable error
thing?  I found that in 4.7, installing it caused no problems. However,
playing with 5.0 DR 2, during install I get two errors--one about a
README --I get that one in 4.7 as well, without it causing problems.
However, in 5.0 there's another error message, (I'm not being more
specific because this was more of a casual attempt on a sacrificial box
to see what would and wouldn't work) and I can't get it to run even as
root.
> 
> Does anyone know what permissions problems this might indicate?

FWIW, on the successful installs, I more or less followed their Linux
install instructions--I'd download it somewhere, as root, untar it into
/tmp then as user simply do ./install.

Don't know if this helps at all, I'm afraid
>

-- 

Scott

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Joyce: Have we met?
Spike: You hit me with an ax one time. Remember? Uh, 'Get the hell
away from
my daughter!'
Joyce: Oh. So, do you, uh, live here in town?



msg09862/pgp0.pgp
Description: PGP signature


"The Complete FreeBSD", third edition: errata and addenda

2002-11-22 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at <[EMAIL PROTECTED]>

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable="YES"   # This host is an NFS client (or NO).
nfs_server_enable="YES"   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the f

"The Complete FreeBSD", second edition: errata and addenda

2002-11-22 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the second edition, formatted on 16 December 1997.  If you have  this
book,  please  check this list.  If you have the first edition of 19 July 1996,
please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This  same  file  is  also
available via the web link http://www.lemis.com/.

This list is available in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book  to  find
  out  how  to  print  out  PostScript.   If  at all possible, please take this
  document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-2.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at <[EMAIL PROTECTED]>

General changes
___


o In a number of places, I suggest the use of the  following  command  to  find
  process information:

  $ ps aux | grep foo

  Unfortunately,  ps  is sensitive to the column width of the terminal emulator
  upon which it is working.  This command usually works fine  on  a  relatively
  wide  xterm,  but if you're running on an 80-column terminal, it may truncate
  exactly the information you're looking for, so you end  up  with  no  output.
  You can fix that with the w option:

  $ ps waux | grep foo

  Thanks to Sue Blake <[EMAIL PROTECTED]> for this information


Location of the sample files


On  the  2.2.5 CD-ROM only, the location of the sample files does not match the
specifications in the book (/book on the first CD-ROM).  The 2.2.5 CD-ROM  came
out before the book, and it contains the files on the third (repository) CD-ROM
as a single gzipped tar file  /xperimnt/cfbsd/cfbsd.tar.gz.   It  contains  the
following files:

drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/
drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/mutt/
-rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases
-rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc
drwxr-xr-x jkh/jkh   0 Oct 17 14:02 1997 cfbsd/scripts/
-rw-r--r-- jkh/jkh   18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc
-rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop
-rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc
-rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles
-rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry
-rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README
drwxr-xr-x jkh/jkh   0 Oct 18 19:32 1997 cfbsd/docs/
-rw-r--r-- jkh/jkh  199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt

Page 2






Errata and addenda for the Complete FreeBSD, second edition


-rw-r--r-- jkh/jkh  189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt
-rw-r--r-- jkh/jkh  188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps
-rw-r--r-- jkh/jkh  226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps
-rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README
-rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata

To  extract  one  of these files, say cfbsd/docs/packages.txt, and assuming you
have the CD-ROM mounted as /cdrom, enter:

# cd /usr/share/doc
# tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt

See page 209 for more information on using tar.

These files are an early version of what is described in the book.  I'll put up
some upda

How to get best results from FreeBSD-questions

2002-11-22 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 3 September 1999

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to "[EMAIL PROTECTED]" with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]>

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters specificall

Re: linux-igd route add prob

2002-11-22 Thread James
Quoting "Paul A. Scott" <[EMAIL PROTECTED]>:
> Now you are saying '-netmask' doesn't work either, but you didn't say in
> what way. The error could not be the same. Since you didn't reply with
> further information, I guess now I can only assume you don't require any
> assistance.

Sure don't!  Thanks for your time.

For anyone who reads the linux-igd documentation.  Their route add line is
incorrect (at 'netmask') for FreeBSD, and the corrected route add line (with
'-netmask' - thanks Paul) does not work either.

The method I've found to work is to use an ifconfig alias (See Virtual Hosts in
the FreeBSD Handbook).



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



Desktop Menu in latest KDE

2002-11-22 Thread Cliff Sarginson
Hello,
I am trying to disable the Desktop Menu in KDE, but it ignores me.
Anyone happen to know a manual method of doing this, I searched around
the kde files, but my experiments proved fruitless.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



installing VMware from ports

2002-11-22 Thread Islandman
I've looked through the archive but didn't find what I needed.

Would like to install VMware on my FreeBSD box. 

Can I install the old ones from the /ports directory? 
How would I get a license for the old version2?
Do I have to buy a license even for the older copies?

Many thanks in advance!

-Brian

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



Re: linux-igd route add prob

2002-11-22 Thread Paul A. Scott

> I recommend not assuming the least of individuals who ask for help.
> -netmask doesn't work either  :)

The error you reported was due to the fact that you specified 'netmask'
rather than '-netmask'. Since you didn't mention that you also tried the
latter, I could only assume you didn't try. Otherwise, your plea for help
would be poorly formulated, and I didn't want to assume that.

Now you are saying '-netmask' doesn't work either, but you didn't say in
what way. The error could not be the same. Since you didn't reply with
further information, I guess now I can only assume you don't require any
assistance.

:)

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: linux-igd route add prob

2002-11-22 Thread James
I recommend not assuming the least of individuals who ask for help.

-netmask doesn't work either  :)

Quoting "Paul A. Scott" <[EMAIL PROTECTED]>:

> 
> On 11/22/02 3:43 PM, "James" <[EMAIL PROTECTED]> wrote:
> > route add -net 239.0.0.0 netmask 255.0.0.0 [int_if]
> > Where int_if is my internal interface (xl1). I get:
> > route: bad address: netmask
> > How might I modify this to get it to work?
> 
> use -netmask
> 
> For future reference, I recommend reading the man page related to the
> specific command you're having trouble with.
> 
> Paul
> 
> -- 
> Paul A. Scott
> mailto:[EMAIL PROTECTED]
> http://skycoast.us/pscott/
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 





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



Re: openoffice install

2002-11-22 Thread paul beard
Daniel Harris wrote:




Note that http://projects.imp.ch/openoffice/ has binary packages
which won't require those 4GB :-)


So being likewise strapped for diskspace, I used the package also. 
It looks nice, but I am having a couple of problems.

I can only run it as root/with sudo. It crashes as soon as it 
opens the blank workspace otherwise.

Does anyone know what permissions problems this might indicate?

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ 

She liked him; he was a man of many qualities, even if most of them
were bad.


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


Re: linux-igd route add prob

2002-11-22 Thread Paul A. Scott

On 11/22/02 3:43 PM, "James" <[EMAIL PROTECTED]> wrote:
> route add -net 239.0.0.0 netmask 255.0.0.0 [int_if]
> Where int_if is my internal interface (xl1). I get:
> route: bad address: netmask
> How might I modify this to get it to work?

use -netmask

For future reference, I recommend reading the man page related to the
specific command you're having trouble with.

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: linux-igd route add prob

2002-11-22 Thread James
I created an alias.

Perhaps this will work :)


Quoting James <[EMAIL PROTECTED]>:

> I'm trying to get linux-igd working.  The INSTALL says to add a route
> using:
> 
> route add -net 239.0.0.0 netmask 255.0.0.0 [int_if]
> 
> Where int_if is my internal interface (xl1). I get:
> route: bad address: netmask
> 
> How might I modify this to get it to work?
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 





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



linux-igd route add prob

2002-11-22 Thread James
I'm trying to get linux-igd working.  The INSTALL says to add a route using:

route add -net 239.0.0.0 netmask 255.0.0.0 [int_if]

Where int_if is my internal interface (xl1). I get:
route: bad address: netmask

How might I modify this to get it to work?



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



Re: upgrading sendmail to 8.12.6

2002-11-22 Thread Mark
- Original Message -
From: "Mark" <[EMAIL PROTECTED]>
To: "Michelle Weeks" <[EMAIL PROTECTED]>; "FreeBSD Questions"
<[EMAIL PROTECTED]>
Sent: Saturday, November 23, 2002 12:07 AM
Subject: Re: upgrading sendmail to 8.12.6



> Sendmail read its version number (what it will show on connect) off
> its /etc/sendmail.cf file. It will hold an entry that says something
> like:
>
>   # Configuration version number
>
>   DZ8.12.3
>
> Unless you specifically build a new sendmail.cf (with m4), and installed
it,
> it will simply display the old string.


To be a bit more precise: sendmail will typically display two version
numbers, $v (version number of the sendmail binary), and $Z, the the
configuration version number. Both commonly found here:

O SmtpGreetingMessage=$j Sendmail $v/$Z; $b

- Mark


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



Re: upgrading sendmail to 8.12.6

2002-11-22 Thread Mark
- Original Message -
From: "Michelle Weeks" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 6:12 PM
Subject: upgrading sendmail to 8.12.6


> I am running freebsd 4.6.2-Release and would like to upgrade
> sendmail from 8.12.3 to 8.12.6.  I tried using make and make install
> from /usr/ports/mail/sendmail and then restarted sendmail
> using the killall -HUP command.  However, when I telnet to localhost port
> 25, it shows that 8.12.3 is still running.  Am I missing a step or do I
need
> to delete the older version of sendmail before installing the newer
> version?


Sendmail read its version number (what it will show on connect) off its
/etc/sendmail.cf file. It will hold an entry that says something like:

  # Configuration version number

  DZ8.12.3

Unless you specifically build a new sendmail.cf (with m4), and installed it,
it will simply display the old string.

- Mark


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



OT: QMail, Procmail, & Root privs.

2002-11-22 Thread C J Michaels
I am running qmail(mbox)+procmail.  I have a script that is run from
/usr/local/etc/procmailrc.  For reasons I can't fathom it seems to have
dropped root privs before the script specifies it (DROPPRIV).

It's a very simple script, it sets some env variables, runs 'test' and
'grep' and delivers mail based on the results.  Problem is the files
aren't readable but everyone and test and grep need to run as root.

Has anyone run into this or have any ideas on how I can troubleshoot? 
Verbost logging does say anything about dropping privs.

Thanks

-- 
Chris



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



Re: make installworld fails with "install: crypto.ko: No such file or directory"

2002-11-22 Thread Tillman
On Fri, Nov 22, 2002 at 08:21:32PM +0200, Giorgos Keramidas wrote:
> On 2002-11-22 09:32, Tillman <[EMAIL PROTECTED]> wrote:
> > Howdy,
> >
> > (All sources were CVSUP'd this morning)
> >
> > Here's the actual output of make installkernel:
> >
> > [root@loki src]# make installkernel -DKERNCONF=LOKI
> > ===> crypto
> > install -o root -g wheel -m 555   crypto.ko /modules
> > install: crypto.ko: No such file or directory
> > *** Error code 71
> 
> You probably caught the MFC of Sam Leffler while it was happening.
> 
> Hoping that you didn't actually start using the broken kernel
> (although it shouldn't be a problem) ... CVSup again.

lol! Nope, as an ipsec gateway box, I figured that if it was complaining
about crypto stuff I'd better stop completely until it was happy.

> You should be able to build fine afterwards.

And I was. Thanks!

-T

-- 
If any man thinks he slays, and if another thinks he is slain, neither knows
the ways of truth. The Eternal in man cannot kill: the Eternal in man cannot
die.
Bhagavad Gita

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



Re: Manage, centralize and backup configuration files

2002-11-22 Thread Karl Vogel
>> On Fri, 22 Nov 2002 13:53:48 +0100, 
>> Janine C.Buorditez <[EMAIL PROTECTED]> said:

J> I was thinking better back up my configuration files.  Then I thought,
J> what if they were regularly backed up into a centralized directory where
J> I also could manage them from?  Like, when I'm done modifying a file it
J> is compied from the config repository into its original directory.

   You can do that.  I prefer to modify them in place and let the system
   worry about putting them under revision control.

J> What about a combination of rsync and CVS?

   Rsync is a good idea if you want your files backed up on a separate
   server.  CVS is a bit inflexible with directories, so I prefer RCS.

J> I'm not even sure this is possible.  Which is why I'm open for advices
J> from anyone who has a working model of how to set up such a convenient
J> way of administering your system.

   http://www.dnaco.net/~vogelke/Software/Configuration_Management/System_Files
   describes my setup.  All it does is keep a chosen set of files under RCS
   control.

-- 
Karl Vogel   ASC/YCOA, Wright-Patterson AFB, OH 45433
[EMAIL PROTECTED]   http://www.dnaco.net/~vogelke

I used up all my sick days, so I'm calling in dead.

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



Re: artsd & ogle

2002-11-22 Thread Peter J. Blok
Hi Lauri,

When I saw you e-mail, I thought this is it. But it doesn't seem to work. When 
I do the sysctls, the artsd won't play any sound anymore, even on /dev/dsp. 
ogle does display lots of write errors.

Thx,

Peter
On Thursday 21 November 2002 23:23, Lauri Watts wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Thursday 21 November 2002 21.14, Peter J. Blok wrote:
> > My question: does artsd need to keep /dev/dsp open all the time? Should
> > ogle be able to open /dev/dsp at the same time and not get an error while
> > opening it?
>
> No, you can tell it to exit when idle, arts aware applications will restart
> it if they want it.
>
> More useful, configure arts to not just exit when idle, but to also use a
> different device than /dev/dsp when it's on.
>
> http://freebsd.kde.org/faq.shtml (Question 11, and it's answer)
>
> Regards,
> - --
> Lauri Watts
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (FreeBSD)
>
> iD8DBQE93V0A/gUyA7PWnacRAjcmAKCG4RUSUFbE9Ld8M91b3LlmyyHevACfb42d
> pdwT1Uh8YLKmgZJFNHSUm4Y=
> =ANPe
> -END PGP SIGNATURE-


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



Re: artsd & ogle

2002-11-22 Thread Peter J. Blok
Hi Chris,

Thanks for the tip. It works, except the sound is completely distorted.

Without artsd running, it is ok. I'll see if I can put in the aRts plugin.

Thx,

Peter
On Friday 22 November 2002 00:23, Chris Howells wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> On Thursday 21 November 2002 8:14 pm, Peter J. Blok wrote:
> > I am trying to make ogle work, but it bails out /dev/dsp being busy.
> > Turns out that artsd has it still open. When I kill artsd, ogle works
> > fine.
>
> Does Ogle have an aRts plugin? If so, make sure you're using that.
> Otherwise, startup ogle using artsdsp:
>
> artsdsp ogle
>
> Artsdsp will act as a proxy ensuring that ogle can access a /dev/dsp.
>
> > My question: does artsd need to keep /dev/dsp open all the time? Should
>
> Yes. It's a sound server.
>
> > ogle be able to open /dev/dsp at the same time and not get an error while
> > opening it?
>
> I'm pretty sure not, unless you're sound card drivers are able to do some
> special tricks. I think some of the Creative SoundBlaster Live drivers on
> Linux allow multiple apps to access /dev/dsp, but most drivers do not.
>
> - --
> Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
> Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt
> KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.0 (GNU/Linux)
>
> iD8DBQE93WsTF8Iu1zN5WiwRAgAdAKCfE1oH2iOB4optqc+2qACMSdG2HQCeOTHx
> pWBwG0wceU4gMSbupKxM8Vk=
> =roRD
> -END PGP SIGNATURE-


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



Questions about scsi hba driver

2002-11-22 Thread yiding_wang
This is the first expecrience for me with FreeBSD and I am going to start making fuss 
here.

I am planning to write drivers for iSCSI and FC initiator as well as target ramdisk on 
FreeBSD, and just installed 4.7 and downloaded a few docs.  By looking into CVS, I got 
a bit confused on driver building and loading process as well as source file layout.  
I will use Buslogic driver bt.c as an example.  For better understanding, any 
reference to scsi driver under Linux, Unixware. Solaris, SCO OS5 will be welcomed 
since I have written drivers for scsi / FC / iSCSI under those enviornments.

Here comes the first set of question:

1, I noticed that there are a few places drivers are spreaded.  For example
/sys/dev/buslogic/bt.c, v
/sys/dev/buslogic/bt_pci.c, v
/sys/dev/buslogic/btreg.h, v

   and same files and others which cover same hardware are located at:
   /sys/i386/scsi/Attic/bt.c, v
   /sys/i386/scsi/Attic/btreg.h, v
   /sys/pci/Attic/bt9xx.c, v
   /sys/pci/Attic/bt_pci.c, v
   etc.

   Why these drivers are spreaded?  
   If I have a pci initiator driver, can the source only be located under 
/sys/dev/vendor instead of also put some part of code under /sys/pci/Attic?
   Does FreeBSD requires realmode driver to boot? Those bus (EISA, ISA, PCI) related 
subdirectories look like Solaris realmode driver distribution.

2, Where is proper place for driver source code?  If this driver does not intend for a 
boot device, can it be placed anywhere like other Unixes?

3, There are Makefiles for aic7xxx, e.g. under module, but nothing for bt.c.  Does 
that mean buslogic driver not supporting loadable module?

4, There are utility of "pkg_add" for driver loading, similar to Solaris, and 
"kldload" for module loading, similar to Linux.  Can I assume both methods work for 
scsi driver.  The difference will be kldload works only for this boot and module will 
be gone after "kldunload" or system reboot but "pag_add" will hook driver to kernel 
from boot to boot till pag_delete is performed.  

5, If driver will be loaded with pkg_add, where are those related package required 
header files located?

Many thanks!

Eddie (Yiding) Wang
SPG, Agilent Technologies
3175 Bowers Ave., MS 88C
Santa Clara, Ca 95054
Tel:  (408) 970-3059
Fax: (408) 970-3099
E-Mail: [EMAIL PROTECTED]

 


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



Re: SuperProbe gone missing

2002-11-22 Thread Giorgos Keramidas
On 2002-11-22 11:28, Josef Grosch <[EMAIL PROTECTED]> wrote:
> Did I miss something? Where did SuperProbe go?

Why would you need that?  (It's been deprecated in some earlier
version of XFree86, IIRC).

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



Re: OSS drivers from 4Front

2002-11-22 Thread Vivek Khera
> "VK" == Vivek Khera <[EMAIL PROTECTED]> writes:

> "JB" == John Bleichert <[EMAIL PROTECTED]> writes:
JB> Is anybody using the OSS sound drivers from 4Front? If so, are they any 

VK> They work.  Never used them for anything but playback.  My ESS-Solo
VK> card is now supported by the pcm driver for that, so I turned off the
VK> 4front drivers yesterday in preference to the pcm driver.

Check that.  I just switched back since the pcm driver causes xemacs
to lockup every time it tries to make a sound.  With the 4Front
drivers, it works just like it should: xemacs makes the expected
sounds (as do all other apps).

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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



Installed colors

2002-11-22 Thread Peter Milne
What is the command to find out what colors Freebsd is capable of.  I forgot it and I 
cant seem to find it.

Thanks,

-- 

  
Pete

Mail brought to you by FreeBSD 4.7 and Sylpheed-claws

http://milneweb.com

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



SuperProbe gone missing

2002-11-22 Thread Josef Grosch
Did I miss something? Where did SuperProbe go?


Josef

-- 
Josef Grosch   | Another day closer to a | FreeBSD 4.7
[EMAIL PROTECTED] |   Micro$oft free world  | www.bafug.org

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



Re: upgrading sendmail to 8.12.6

2002-11-22 Thread Lowell Gilbert
Michelle Weeks <[EMAIL PROTECTED]> writes:

> I am running freebsd 4.6.2-Release and would like to upgrade sendmail
> from 8.12.3 to 8.12.6.  I tried using make and make install from
> /usr/ports/mail/sendmail and then restarted sendmail using the killall
> -HUP command.  However, when I telnet to localhost port 25, it shows
> that 8.12.3 is still running.  Am I missing a step or do I need to
> delete the older version of sendmail before installing the newer
> version?

No, what you need is to actually stop the old process and then start
the new executable.  SIGHUP just tells it to (if I recall correctly)
re-read its configuration.

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



Re: passwords in /etc/group

2002-11-22 Thread Mike Hogsett

Wow! An English right here on FreeBSD-Questions!

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

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



Re: passwords in /etc/group

2002-11-22 Thread Cliff Sarginson
On Fri, Nov 22, 2002 at 10:32:54AM -0800, Gary W. Swearingen wrote:
> > What purpose do they serve ?
> > A System Manager can put the users in the appropriate groups
> > for their work.
> > I have never seen them used on any Unix system I have worked on,
> > and I seem to recall from some ancient documentation that they
> > are more trouble than they are worth.
> 
> (Please put blank lines between paragraphs or use bullets or
> indentation or something.  This isn't a Poetry 101 forum.  Thanks.)
> 
-Neither is it a forum for you to make silly snidy comments.

-The above is perfectly readable.

-And don't assume everyone is American and knows what the hell a
Poetry 101 forum is (surely it should be Forum). And please don't begin
an email with parenthetical comments. This is stylistically
unforgiveable.

You might care to know that in the language of your forefathers a blank
line is often ommitted between paragraphs.

Thanks.
-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



IPFW & eDONKEY

2002-11-22 Thread G D McKee
Hi

Does any one have an ipfw firewall config that works with edonkey - I keep
getting low ID's.

I have tried the following:

${fwcmd} add pass log tcp from any to any 4661,4662,4665 keep-state
${fwcmd} add pass log tcp from any 4661,4662,4665 to any
${fwcmd} add pass log udp from any to any 4665 keep-state
${fwcmd} add pass log udp from any 4665 to any

and

${fwcmd} add pass log tcp from any to any 4661,4662,4665 setup
${fwcmd} add pass log tcp from any 4661,4662,4665 to any
${fwcmd} add pass log udp from any to any 4665 setup
${fwcmd} add pass log udp from any 4665 to any

and

${fwcmd} add pass log tcp from any to any 4661
${fwcmd} add pass log tcp from any to any 4662
${fwcmd} add pass log tcp from any 4661 to any
${fwcmd} add pass log tcp from any 4662 to any
${fwcmd} add pass log tcp from any to any 4665
${fwcmd} add pass log tcp from any 4665 to any
${fwcmd} add pass log udp from any to any 4665
${fwcmd} add pass log udp from any 4665 to any

Many thanks

Gordon



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



Re: In search of the ultimate .muttrc

2002-11-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-22 17:48:51 +0100:
> # [EMAIL PROTECTED] / 2002-11-11 09:30:46 +1100:
> > Hi all,
> > 
> > I have just started recently using mutt and love it. I know there are
> > heaps of sites that have sample .muttrc configuration files but I am
> > looking for one specifically for use with this listanyone willing to
> > share theirs?
> 
> here's mine. i'm not sure it will be of any use for you, stuff like
> this is purely matter of taste and habit.
> 
> parts were stripped for privacy reasons.

> set attribution = "

this should have been

set attribution = "# %a / %d:"

thanks Giorgos!

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: ATAPI magneto-optical device trouble

2002-11-22 Thread Gary W. Swearingen
"Ruslan Ivachnenko" <[EMAIL PROTECTED]> writes:

> Does FreeBSD-4 STABLE support FUJITSU MCE3130AP/0020 ATAPI magneto-optical
> device? If yes, how should i configure it?

It's not listed at "http://freebsd.dk/ata/";, but if it follows the ATAPI
standards, it's supposed to work with "burncd".  (There might be
exceptions, but I've not read of any.)  It probably works with the
GENERIC kernel that came with your OS.  IIRC, the kernel config file
needs (and your kernel needs to be build from it, of course, as
documented in the FreeBSD Handbook):
device  ata
device  atapicd

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



Re: Directory

2002-11-22 Thread Cliff Sarginson
On Fri, Nov 22, 2002 at 11:47:02AM -0500, Kliment Andreev wrote:
> > Is it because of the space between the words?  How do I get around this?
> 
Maybe avoid spaces in filenames :)
Use a _ or a - or a . or 

something printable...

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: upgrading sendmail to 8.12.6

2002-11-22 Thread Jack L. Stone
At 09:12 AM 11.22.2002 -0800, Michelle Weeks wrote:
>I am running freebsd 4.6.2-Release and would like to upgrade sendmail 
>from 8.12.3 to 8.12.6.  I tried using make and make install from 
>/usr/ports/mail/sendmail and then restarted sendmail using the killall 
>-HUP command.  However, when I telnet to localhost port 25, it shows 
>that 8.12.3 is still running.  Am I missing a step or do I need to 
>delete the older version of sendmail before installing the newer version?
>
>

I've never installed sendmail from ports, but I suspect your version that
is part of the base system is still being run. Your install from ports is
probably in another path (just a guess - usually ports places stuff in the
/usr/local/directoryxxx path) and you'll need to make changes in your
rc.conf file to point to the new program on starup. Also, you would then
need to be in the new different directory for the make start/stop
stuff. you should be able to do a ps -auxw | grep sendmail to see from
where the program comes.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: jailed virtual https, anyone?

2002-11-22 Thread Alex Povolotsky
On Fri, 22 Nov 2002 16:21:10 +0100
Marc Perisa <[EMAIL PROTECTED]> wrote:

MP> > I'm forwarding incoming connection to jail, currently with ipnat. I need to pass 
information 
MP> > about real (outside) IP to mod_ssl. That is my problem.
MP> 
MP> ? (I understand what you do - but not why ...)
On one hand, I'm going to isolate users from outside world. On the other hand, I 
cannot afford right now to provide each ot these users by their own jail with. Hmm, 
maybe I could run lots of jails on the same filesystem, but this will create 
immeasurable lots of apaches mostly staying idle. 
MP> Ok. Why don't you put every single jail with it's outside IP up and let 
MP> it run there (binded to fxp0). What do you want to reach with that setup 
MP> ? More security?
I'm running several scores of virtualhosts right now, ant number of the is going to 
increase. At least 5 apaches, one sshd... hmm, even if I'll make annother jail for 
sshd/cron, I'm going to have LOTS and LOTS of idle apaches.
MP> 
MP> Next possibility is to setup a https->http gateway on the external IP 
MP> (binded to fxp0) and forward the un-encrypted requests over to the 
MP> apache (name-based or whatever).
Yes, I'm starting to look towards that direction. Most likely, I'll install/patch some 
https->http proxy on weekend.

But in this case, I need to pass https variables some more or less efficient and 
elegant way... Well, I'll do it ;-)

-- 
Alex.

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



increasing the size of a file system

2002-11-22 Thread Thomas Connolly
Sorry if there is several copies of this coming through, having some sendmail 
problems too.

Hello all.  I am having a problem installing a very large program.  It wants
to extract itself to the /tmp directory but there is not enough space.  I
have a 30 Gb hard drive that is only 20% full so there is plenty of free
space to work with.  I've tried increasing the size of the file system as
follows:

umount -f /dev/ad0s1f
growfs -s 4194304 /dev/ad0s1f

I get an error similar to the following:
file system not grown (137 -> 137)  [not sure of the exact values]

Can someone tell me what I am doing wrong or is there another work around
 such as making the program think that /tmp is really somewhere else with
 more space?

Any help would be greatly appreciated.

Tom

---


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



PICOBSD: problems when Kerberos IV enabled!

2002-11-22 Thread Hartmann, O.
Hello.

Under FreeBSD 4.7-RELEASE I could compile a PicoBSD environment
when in /etc/make.conf the build of Kerberos IV was disabled.
Now, Kerberos iV enabled, a lot of compile errors occurs in the
unchanged PicoBSD environment:

crunchide -k _crunched_mount_cd9660_stub mount_cd9660.lo
cc -static -o crunch1 crunch1.o init.lo fsck.lo ifconfig.lo sh.lo echo.lo pwd.lo 
mkdir.lo rmdir.lo chmod.lo chown.lo mv.lo
ln.lo mount.lo minigzip.lo cp.lo rm.lo ls.lo kill.lo df.lo ps.lo ns.lo vm.lo cat.lo 
test.lo hostname.lo login.lo getty.lo
stty.lo w.lo msg.lo kget.lo reboot.lo sysctl.lo swapon.lo pwd_mkdb.lo dev_mkdb.lo 
umount.lo mount_std.lo du.lo tail.lo tee.lo
passwd.lo sleep.lo basename.lo expr.lo route.lo ee.lo arp.lo disklabel.lo fdisk.lo 
vnconfig.lo grep.lo date.lo mount_nfs.lo
ping.lo ipfw.lo traceroute.lo mount_cd9660.lo -L/usr/lib -lncurses -ledit -lutil -lmd 
-lcrypt -lmp -lgmp -lm -lkvm -lmytinfo
-lipx -lz -lpcap -lwrap -ltermcap -lgnuregex -lkrb5 -lkrb -ldes -lcom_err -lkadm5clnt 
-lkadm5srv -lssl -lkadm
/usr/lib/libkadm.a(kadm_cli_wrap.o): In function `kadm_init_link':
kadm_cli_wrap.o(.text+0x6c): undefined reference to `initialize_krb_error_table'
kadm_cli_wrap.o(.text+0x368): undefined reference to `krb_net_write'
kadm_cli_wrap.o(.text+0x383): undefined reference to `krb_net_write'
kadm_cli_wrap.o(.text+0x39e): undefined reference to `krb_net_read'
kadm_cli_wrap.o(.text+0x3f9): undefined reference to `krb_net_read'
kadm_cli_wrap.o(.text+0x516): undefined reference to `krb_mk_priv'
kadm_cli_wrap.o(.text+0x5a1): undefined reference to `des_quad_cksum'
kadm_cli_wrap.o(.text+0x76f): undefined reference to `krb_rd_priv'
/usr/lib/libkadm.a(kadm_stream.o): In function `stv_string':
kadm_stream.o(.text+0x202): undefined reference to `strnlen'
*** Error code 1

To get rid of the most 'missing library' error I added in crunch.conf
lines with additional libs definitions, you can see above that I added

-lkrb5 -lkrb -ldes -lcom_err -lkadm5clnt -lkadm5srv -lssl -lkadm

so a lot of errors disappeared. But I can not surpress all of the errors,
either I do not know what libraries also to add or there is a fault
in the build-environment.

Can anyone help?

--
MfG
O. Hartmann

[EMAIL PROTECTED]
--
IT-Administration des Institutes fuer Physik der Atmosphaere (IPA)
--
Johannes Gutenberg Universitaet Mainz
Becherweg 21
55099 Mainz

Tel: +496131/3924662 (Maschinenraum)
Tel: +496131/3924144 (Buero)
FAX: +496131/3923532


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



Re: What happened to my ports system?

2002-11-22 Thread Kent Stewart


Janine C.Buorditez wrote:

How do I find out which port that is?



When I had problems, the pkgdb -F would die and the port with the 
problem was in the list were it died. Portupgrade, for example, used 
to use pkg_tarup and it would cause problems when you tried to 
portupgrade itself. I think you are seeing is something like that. You 
have an installed port that is not in the current INDEX lists. I 
thought at some point that "pkgdb -fu" was supposed to fix that.

Some of this was easier to fix by pkg_delete portupgrade and its 
dependancies and installing from scratch. I think the cutoff was 
something like 0805. If you had a version before that, you reinstalled 
portupgrade from scratch. That was quite awhile ago and someone just 
woke me up by calling me on the telephone after 3 hours of sleep.

Kent

Thanks.

--janine

On Fri, 22 Nov 2002 05:53:05 -0800
Kent Stewart <[EMAIL PROTECTED]> wrote:




Janine C.Buorditez wrote:


Hi.

This message comes no matter what I do with portupgrade:

[Updating the pkgdb  in /var/db/pkg ... - 230 packages found (-7 +1) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375: [BUG] Segmentation fault
ruby 1.6.7 (2002-05-23) [i386-freebsd4]
Abort (core dumped)

Please help?




You probably have a port in your port list that has been removed and 
will have to manually remove it.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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

.




--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: passwords in /etc/group

2002-11-22 Thread Gary W. Swearingen
> What purpose do they serve ?
> A System Manager can put the users in the appropriate groups
> for their work.
> I have never seen them used on any Unix system I have worked on,
> and I seem to recall from some ancient documentation that they
> are more trouble than they are worth.

(Please put blank lines between paragraphs or use bullets or
indentation or something.  This isn't a Poetry 101 forum.  Thanks.)

IRIX and Linux (and HP-UX?) had a "newgrp" command for changing your
current GID (eg, "gid" from "id -g").  I've forgotten, but I suppose
"newgrp" used the group passwords if they were defined.  Users could
change their GID to work in different projects.

I'm not sure why FreeBSD doesn't have the feature, but I suppose someone
thought that the SUIDDIR feature was sufficient.  But I don't know what
it would hurt to have the feature which needn't be used or could easily
be disabled.

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



Re: Directory

2002-11-22 Thread Peter Milne

You are right...I was setting permissions on the wrong directory.  I am kinda new at 
thissorry  

Thanks all for the help.


-- 

  
Pete

Mail brought to you by FreeBSD 4.7 and Sylpheed-claws

http://milneweb.com

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



Re: Problem with the upgrade and now I need to rollback.. =/

2002-11-22 Thread paul beard
Ben Turner wrote:


Ok well I attempted the upgrade on a remote machine from 4.6 to 
5.0 and it
failed, miserably. Before it failed, it was throwing a message 
across the
screen as to the location where it backed up the existing 
kernel. Does
anyone, by chance, know the default location and filename for 
the kernel
backup?

I got an email offlist that suggested a 5.0 system would have its 
kernels in /boot: it might be worth trying that. I'm not running 
-current, so I can't confirm.


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ 

"Even if you're on the right track, you'll get run over if you 
just sit
there."
		-- Will Rogers


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


Re: make installworld fails with "install: crypto.ko: No such file or directory"

2002-11-22 Thread Giorgos Keramidas
On 2002-11-22 09:32, Tillman <[EMAIL PROTECTED]> wrote:
> Howdy,
>
> (All sources were CVSUP'd this morning)
>
> Here's the actual output of make installkernel:
>
> [root@loki src]# make installkernel -DKERNCONF=LOKI
> ===> crypto
> install -o root -g wheel -m 555   crypto.ko /modules
> install: crypto.ko: No such file or directory
> *** Error code 71

You probably caught the MFC of Sam Leffler while it was happening.

Hoping that you didn't actually start using the broken kernel
(although it shouldn't be a problem) ... CVSup again.

You should be able to build fine afterwards.


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



Re: Directory

2002-11-22 Thread Paul A. Scott
On 11/22/02 10:08 AM, "Jerry McAllister" <[EMAIL PROTECTED]> wrote:
>> Now I am trying to set permissions and I cannot get it done.

>> $ cd importedpictures
>> $ ls
>> ls: .: Permission denied
>> What am I doing wrong??

You were setting permissions on the wrong directory. You are currently in
'importedpictures' and ls is complaining about '.' (the current directory).
So you should set permissions on '.' (or ../importedpictures).

Paul


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



Re: Directory

2002-11-22 Thread Jerry McAllister
> 
> >>Yes: either you type cd "My Pictures" or cd My\ Pictures.
> 
> Great!  That worked.  Now I am trying to set permissions and I cannot get it done.
> 
> $ ls
> Milnewebgaim.core   mystuff
> XF86Config.new  importedpicturespoorcoop.jpg
> downloads   irc zippedfiles
> $ cd importedpictures
> $ ls
> ls: .: Permission denied
> $ su
> Password:
> milneweb# ls
> My Pictures
> milneweb# chmod 777 "My Pictures"
> milneweb# exit
> exit
> $ ls
> ls: .: Permission denied
> 
> What am I doing wrong??

I am confused.  Is this 'My Pictures'  directory on CD or is it stuff 
you have moved to hard disk?   If it is on CD, I don't think you
can set the permissions on that directory because you can't write
to the CD.   I don't know why you can't do an ls.  Try doing
an  ls -laF up there before you cd to importedpictures.

jerry
> 
> -- 
> 
>   
> Pete
> 
> Mail brought to you by FreeBSD 4.7 and Sylpheed-claws
> 
> http://milneweb.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


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



Re: Running with WinXP

2002-11-22 Thread Jud


-Original Message-
From: "Chris Murray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Fri, 22 Nov 2002 14:49:02 -
Subject: Running with WinXP

Help! I have successfully managed to install FreeBSD into some free space on
my second hard drive, but I am unable to actually boot into the operating
system! I have tried to find a boot disk with no luck, and the utilities
that modify the boot sector simply throw a wobbler when XP won't let them
access the hard drive!!

Any help is much appreciated!

Chris Murray

*

You will want to have a look at the wobbler(8) man 
page.

OK, seriously - you have a couple of options.  It's 
likely that the XP partition is marked as the active 
one, and if you don't have FreeBSD as one of the 
choices in XP's bootloader (see the FAQ on FreeBSD's 
web site for how to do this) it'll just keep booting 
into XP.

You can get back into the FreeBSD installation 
by booting from floppies or CD (whatever you did the
first time), install the FreeBSD boot loader, and set
the FreeBSD slice bootable.  Or you can try one of the
freeware or shareware bootloaders (XOSL, BootItNG,
etc.), which should work - don't know about XOSL, but
BootItNG looks at the BIOS to see what your bootable
disks/partitions are, so XP should give it no problem.
(I'm currently using it to dual-boot W2K and FreeBSD
on a two-disk RAID-0 array.)  My favorite bootloader
is Grub (in the FreeBSD ports), but using Grub to boot
from RAID-0 is beyond either its capabilities or (more
likely) mine.  Or, once you're able to get back and
forth between FBSD and XP, you can use the XP/NT/W2K
bootloader technique described in the FAQ.

Jud


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



Re: Directory

2002-11-22 Thread Peter Milne
>>Yes: either you type cd "My Pictures" or cd My\ Pictures.

Great!  That worked.  Now I am trying to set permissions and I cannot get it done.

$ ls
Milnewebgaim.core   mystuff
XF86Config.new  importedpicturespoorcoop.jpg
downloads   irc zippedfiles
$ cd importedpictures
$ ls
ls: .: Permission denied
$ su
Password:
milneweb# ls
My Pictures
milneweb# chmod 777 "My Pictures"
milneweb# exit
exit
$ ls
ls: .: Permission denied

What am I doing wrong??

-- 

  
Pete

Mail brought to you by FreeBSD 4.7 and Sylpheed-claws

http://milneweb.com

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



Need help with my new server hardware

2002-11-22 Thread Søren Neigaard
I have just bought an old IBM PC Server 520 from a company that was
replacing it. If it's possible, I would like to get some information
on it (the company does not have any), and since the computer is only
for my own personal use, I can't afford to get official support, and
therefore I try writing this list. It would be nice if someone who has
a similar server could help me out here, maybe we could take the
discussion off-list, so I don't bother you all with my new hardware.

The server has 16 4.3GB SCSII disks, and it seems to have 4 RAID
controllers (when I look at the RAID configuration tool, but please
correct me if I'm wrong). It also has a floppy, a CD-ROM drive and a
tape backup thing. The tape backup thing, has a display, and can take
a small black box with room for 6 DDS-120 tapes. It also has two
pentium 133MHz processors.

My plan is to get FreeBSD up and running on it, does that sound
possible to you guys?

I don't know much about RAID, but is it possible to configure two or
more "logical" disk with this setup, where each "logical" disk
consists of more physical disk in some RAID setup?

If I view my RAID setup, it looks like this (I have removed the
unnecessary info):

Disk |Size in MB |Raid Level |Stripe Size |Write Policy |Read Ahead
1|4303   |1  |8KB |WT   |On
2|43030  |5  |8KB |WT   |On
3|1074   |0  |8KB |WT   |On
4|2150   |1  |8KB |WT   |On

How can this be done with 4.3GB disks, how can there be disk with the
size of 1074 and 2150?

I'm planning to use RAID level 5, but how do I calculate how much disk
space I will get out of how many disks? I would like one "logical"
disk for SWAP, one for /var, one for /usr and one for /. Does that
sound good?

The tape backup thing is not connected right now, how do I connect it,
and to what? It is sitting in a spare PC Server 520 I got (without any
disks), and it is attached to a controller of some sort (sitting in a
PCI slot). I was thinking that I need to move this controller over to
the other server, but besides the cable from the controller to the
tape thing, there is a cable from the controller to god knows what!?
It seems to be attached to a disk rack thing. What do I do with that,
and what is it used for?

--
Med venlig hilsen/Best regards,
 Søren Neigaard mailto:[EMAIL PROTECTED]
--
 "Perfection is reached, not when there is no longer anything to add, but when there 
is no longer anything to take away. "


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



Re: 42upgrade.tgz

2002-11-22 Thread Kris Kennaway
On Fri, Nov 22, 2002 at 11:57:17AM +0300, System administrator wrote:
> Where is 42upgrade.tgz?

Upgrade packages are no longer produced.

Kris



msg09815/pgp0.pgp
Description: PGP signature


upgrading sendmail to 8.12.6

2002-11-22 Thread Michelle Weeks
I am running freebsd 4.6.2-Release and would like to upgrade sendmail 
from 8.12.3 to 8.12.6.  I tried using make and make install from 
/usr/ports/mail/sendmail and then restarted sendmail using the killall 
-HUP command.  However, when I telnet to localhost port 25, it shows 
that 8.12.3 is still running.  Am I missing a step or do I need to 
delete the older version of sendmail before installing the newer version?


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


Re: In search of the ultimate .muttrc

2002-11-22 Thread William Bulley
According to Roman Neuhauser <[EMAIL PROTECTED]>:
> 
> here's mine. i'm not sure it will be of any use for you, stuff like
> this is purely matter of taste and habit.
> 
> parts were stripped for privacy reasons.

How about dotfiles.com ??

Regards,

web...

-- 
William Bulley Email: [EMAIL PROTECTED]


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



Re: In search of the ultimate .muttrc

2002-11-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-11 09:30:46 +1100:
> Hi all,
> 
> I have just started recently using mutt and love it. I know there are
> heaps of sites that have sample .muttrc configuration files but I am
> looking for one specifically for use with this listanyone willing to
> share theirs?

here's mine. i'm not sure it will be of any use for you, stuff like
this is purely matter of taste and habit.

parts were stripped for privacy reasons.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

source ~/.mail/mutt/colors
set shell = /bin/sh
set query_command = "abook-wrapper --mutt-query %s"
set alternates = # stripped
ignore *
unignore Date: From: To: Cc: Subject:
hdr_order date from to cc subject
set mail_check = 5
set folder= "~/Mail"
set mbox  = "+inbox"
set postponed = "+postponed"
set delete= yes
set move  = no
set hidden_host = yes
mailboxes `find ~/Mail/ -type f -or -type l | perl -ne 'chomp; print "$_ " unless 
m/^.*(postponed|sent|spam|trash)$/'` 
subscribe # stripped
set editor = "vim"
set attribution = "
set followup_to = yes
set copy = yes
set record = "+sent"
set force_name = no
set forward_quote = yes
set from = "[EMAIL PROTECTED]"
set reverse_name = yes
set envelope_from = yes
set include = yes
set indent_string = "> "
set header = no
set fast_reply = yes
set confirmappend = no
set confirmcreate = yes
set abort_nosubject = ask-yes
set abort_unmodified = ask-yes
set date_format = "!%Y-%m-%d %H:%M:%S %Z"
set delete = yes
set help = no
set pager = "builtin"
set pager_context = 2
set pager_index_lines = 5
set pager_stop= yes
set menu_scroll   = yes
set meta_key  = yes
set wait_key  = no
set index_format  = "%5C %Z %{%b %d} %-15.15F (%4l) %s"
unset mark_old
set forward_quote = yes
set to_chars  = " tTcF "
macro index \cb |urlview\n
macro pager \cb |urlview\n
macro index \t ?
macro pager \t ?
bind browser \cj select-entry
bind index \cj display-message
bind pager \cj next-line
bind index l list-reply
bind index L limit
bind pager l list-reply
macro pager L 
bind generic . tag-entry
bind index . tag-entry
bind pager . tag-message
bind index , next-unread
bind pager , next-unread
bind editor \Cd complete-query
bind pager Q toggle-quoted
bind index   first-entry
bind indexlast-entry
bind index T tag-thread
bind index t tag-subthread
bind index \CT tag-pattern
bind index t untag-pattern
bind pager \cK previous-line
send-hook . "set signature = ~/bin/signature|"
send-hook ~l 'set signature="~/.mail/sigs/lists"'
folder-hook . 'set strict_threads = yes'
folder-hook . 'set sort = date-sent'
folder-hook +lists/.* 'set strict_threads = no'
folder-hook +lists/.* 'set sort = threads'
folder-hook +lists/.* 'set sort_aux = date-sent'
send-hook . 'set record=+sent'
send-hook '^~C mobil\\.cz ~s ^PATCH' 'set record=+work/patches'
auto_view image/* application/x-sh
set charset = "iso-8859-2"
set send_charset = "us-ascii:iso-8859-2:utf-8"
set pgp_verify_sig = no
set menu_scroll = yes
set ascii_chars = yes
set attach_format = "%u%D%I %t%4n %T%.40d%> [%.7m/%.15M, %.6e%?C?, %C?, %s]"
set sendmail_wait = -1 



Re: Directory

2002-11-22 Thread Kliment Andreev
> milneweb# ls
> My Pictures
> milneweb# cd My Pictures
> cd: Too many arguments.
> 
> Is it because of the space between the words?  How do I get around this?

# cd My*


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



RE: vpn with mpd

2002-11-22 Thread Olivier Cherrier
>i just installed the net/mpd port for creating a vpn. I was 
>able to connect
>to it from another machine on my local network, but when i 
>tried to connect
>to it from outside my network i got a timeout error (like 
>there isn't an
>open port).  i think i have the correct port open on my firewall ( a
>different machine than my bsd box ).  i was wondering what 
>port mpd runs on?
>I ran  'nmap localhost' on my bsd box and did not find any 
>results for ipsec or vpn related ports.
>
>Any suggestions?

Read mail archives (FreeBSD-net)...

oc

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



Re: Is there such a thing like a TCP proxy|relay?

2002-11-22 Thread Chris Dillon
On Thu, 21 Nov 2002, Carlos Carnero wrote:

> ok, this is another wacky question. I have connected two subnetworks
> to my FreeBSD router to the internet. By design they shouln't be
> able to communicate between them--which I have done with IP Filter.
>
> What I'd like to do now is to make a TCP proxy/relay on my
> firewall/router. For instance, opening port 3389 on the firewall
> (from the inside, machine A) would open port 3389 of machine B that
> sits on the other network.
>
> Is there a port that can handle that?

Yes.  ports/net/bsdproxy.  I like it because it uses kqueue()/kevent()
to do its thing rather than poll()/select().

--
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest and most stable server OS on the planet
 - Available for IA32 (Intel x86) and Alpha architectures
 - IA64, PowerPC, UltraSPARC, ARM, and S/390 under development
 - http://www.freebsd.org

No trees were harmed in the composition of this message, although some
electrons were mildly inconvenienced.



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



vpn with mpd

2002-11-22 Thread Brian Henning
Hello,

i just installed the net/mpd port for creating a vpn. I was able to connect
to it from another machine on my local network, but when i tried to connect
to it from outside my network i got a timeout error (like there isn't an
open port).  i think i have the correct port open on my firewall ( a
different machine than my bsd box ).  i was wondering what port mpd runs on?
I ran  'nmap localhost' on my bsd box and did not find any results for ipsec
or vpn related ports.

Any suggestions?



thanks,

brian


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



Running with WinXP

2002-11-22 Thread Chris Murray
Help! I have successfully managed to install FreeBSD into some free space on
my second hard drive, but I am unable to actually boot into the operating
system! I have tried to find a boot disk with no luck, and the utilities
that modify the boot sector simply throw a wobbler when XP won't let them
access the hard drive!!

Any help is much appreciated!

Chris Murray



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



Re: enabling finger - why not?

2002-11-22 Thread Kirk Strauser

At 2002-11-22T06:56:05Z, Jeff Jirsa <[EMAIL PROTECTED]> writes:

> Yes, but that can be disabled with the -s switch:

Ah.  In that case, finger away.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



More RAID Questions

2002-11-22 Thread Alvaro Gil
I am looking to buy a RocketRaid100 card that uses the HighPoint 
HPT370A UDMA ATA100 RAID controler.   Does anyone have this card? 
There is a limited number of ATA raid controlers in the hardware 
notes.
The hardware notes specify a HighPoint 370 but not a 370A.
http://www.highpoint-tech.com/r100r.htm

I know, i should just get something on the hardware notes list, but 
someone is said they where running an ASUS K7V333 motherboard.  It 
uses a promise 20276 ata RAID controller that is not listed in the 
hardware notes.

Thanks, any help appreciated.
--

Alvaro Gil		  
http://www.AlvaroGil.com
'84 Volvo 242 Turbo (Silver) 15 psi
'97 Leopard Gecko (White, Yellow, Black)
NJIT Mechanical Engineering Student


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


Re: Directory

2002-11-22 Thread Benoit Lacherez
Peter Milne a écrit :
> I have a cd of photos from Windows that I am trying to put on my HD.  The folder I 
>am trying to copy is 'My Pictures'.  I am trying to get into the directory on the CD. 
> 
> 
> It will not work with this command: 
> 
> milneweb# ls
> My Pictures
> milneweb# cd My Pictures
> cd: Too many arguments.
> 
> Is it because of the space between the words?  How do I get around this?

Yes: either you type cd "My Pictures" or cd My\ Pictures.

Actually, most shells support completion: just type cd My in bash
or tcsh for instance and it will be completed fine.

-- 
Benoit Lacherez
Académie de Bordeaux -- CATICE
Projet de traduction de la documentation de Python:
http://frpython.sourceforge.net/

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



Re: Directory

2002-11-22 Thread Jerry McAllister
> 
> I have a cd of photos from Windows that I am trying to put on my HD.  The folder I 
>am trying to copy is 'My Pictures'.  I am trying to get into the directory on the CD. 
> 
> 
> It will not work with this command: 
> 
> milneweb# ls
> My Pictures
> milneweb# cd My Pictures
> cd: Too many arguments.
> 
> Is it because of the space between the words?  

Yes.

>  How do I get around this?

Try quotes around the name.

jerry

> 
> -- 
> 
>   
> Pete
> 
> Mail brought to you by FreeBSD 4.7 and Sylpheed-claws
> 
> http://milneweb.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


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



Directory

2002-11-22 Thread Peter Milne
I have a cd of photos from Windows that I am trying to put on my HD.  The folder I am 
trying to copy is 'My Pictures'.  I am trying to get into the directory on the CD.  

It will not work with this command: 

milneweb# ls
My Pictures
milneweb# cd My Pictures
cd: Too many arguments.

Is it because of the space between the words?  How do I get around this?

-- 

  
Pete

Mail brought to you by FreeBSD 4.7 and Sylpheed-claws

http://milneweb.com

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



[no subject]

2002-11-22 Thread Denis Fournier
Hi everybody I have sent a e-mail for help this morning concerning how to
add a new driver in FreeBSD. I specified that I work in a test bed and I
have installed FreeBSD 2.2.0 up to the current version 4.7. I just want to
know how to add a new driver to a freebsd version. 

I use the example of FreeBSD 2.2.0  and everybody that answered me asked me
why don't you use FreeBSD4.7. Please don't take me wrong, I am happy that
people are respondig to my question, but plesse stop with the use freeBSD
4.7 answer. Everything is explained in my e-mail.





--

Denis Fournier  Communications Research Centre Canada 
Tel:(613) 990-8782   3701 Carling Avenue, 
Fax:(613) 998-9648  Ottawa, Ontario, CANADA 
Email: [EMAIL PROTECTED]   K2H 8S2 


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



make installworld fails with "install: crypto.ko: No such file or directory"

2002-11-22 Thread Tillman
Howdy,

(All sources were CVSUP'd this morning)

Here's the actual output of make installkernel:

[root@loki src]# make installkernel -DKERNCONF=LOKI
cd /usr/obj/usr/src/sys/LOKI;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  
MACHINE=i386  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  
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 make KERNEL=kernel install
chflags noschg /kernel
mv /kernel /kernel.old
install -m 555 -o root -g wheel -fschg  kernel /kernel
if [ -d /modules -a -n "`ls /modules`" ]; then  mkdir -p /modules.old;  cp -p 
/modules/* /modules.old;  fi;
cd /usr/src/sys/modules ; env MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/LOKI/modules 
MACHINE=i386 make install
===> accf_data
install -o root -g wheel -m 555   accf_data.ko /modules
===> accf_http
install -o root -g wheel -m 555   accf_http.ko /modules
===> agp
install -o root -g wheel -m 555   agp.ko /modules
===> aha
install -o root -g wheel -m 555   aha.ko /modules
===> amr
install -o root -g wheel -m 555   amr.ko /modules
===> an
install -o root -g wheel -m 555   if_an.ko /modules
===> aue
install -o root -g wheel -m 555   if_aue.ko /modules
===> bge
install -o root -g wheel -m 555   if_bge.ko /modules
===> bridge
install -o root -g wheel -m 555   bridge.ko /modules
===> ccd
install -o root -g wheel -m 555   ccd.ko /modules
===> cd9660
install -o root -g wheel -m 555   cd9660.ko /modules
===> coda
install -o root -g wheel -m 555   coda.ko /modules
===> crypto
install -o root -g wheel -m 555   crypto.ko /modules
install: crypto.ko: No such file or directory
*** Error code 71


And some more information about the host loki:

[root@loki src]# uname -a
FreeBSD loki.seekingfire.prv 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #1: Thu Sep 12 
13:31:01 CST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOKI  i386

[root@loki src]# grep -v ^# /etc/make.conf
KERNCONF=LOKI GENERIC
CPUTYPE=i586
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NOPROFILE= true # Avoid compiling profiled libraries
NO_X= true
USA_RESIDENT=YES
MAKE_KERBEROS4= no
MAKE_KERBEROS5= no
KRB5_HOME= /usr/local/krb5


The host loki NFS mounts /usr/src and /usr/obj from Athena (I have two other
hosts that use this for world updates successfully):

[root@loki src]# mount | grep athena
athena:/usr/ports on /usr/ports (nfs)
athena:/usr/obj on /usr/obj (nfs, read-only)
athena:/usr/src on /usr/src (nfs, read-only)


And some more information about the build host athena:

[root@athena etc]# uname -a
FreeBSD athena.seekingfire.prv 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Oct 15 20:32:49 
CST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

[root@athena etc]# grep -v ^# /etc/make.conf
KERNCONF=GENERIC COYOTE LOKI PLUTO
CPUTYPE=i586
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NOPROFILE= true # Avoid compiling profiled libraries
MAKE_KERBEROS4= no
MAKE_KERBEROS5= no
KRB5_HOME= /usr/local/krb5
USA_RESIDENT=YES


I looked through UPDATING and didn't see anything that might apply to
the crypto kernel modules.

The only thing I can think of is that athena is running a -STABLE from
Oct 15. As I'd rather not upgrade athena right now, I'm hoping that this
is a known problem :-)


- Tillman

-- 
The beauty of the democratic systems of thought control, as contrasted with
their clumsy totalitarian counterparts, is that they operate by subtly
establishing on a voluntary basis - aided by the force of nationalism and
media control by substantial interests - presuppositions that set the
limits of debate, rather than by imposing beliefs with a bludgeon.
- Noam Chomsky, _After the Cataclysm_

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



Re: jailed virtual https, anyone?

2002-11-22 Thread Marc Perisa
[redirecting to questions because it isn't a discussion about security. 
It is a config problem.]

Hi Alex,

Alex Povolotsky wrote:
On Fri, 22 Nov 2002 07:07:41 -0500
"Allan Jude" <[EMAIL PROTECTED]> wrote:

AJ> What seems to be the problem with the virtual hosts?
AJ> You're quite right, but I have EVERYTHING works ok for now, EXCEPT
AJ> virtual hosts with https. Google shows nothing relevant on "jail https
AJ> virtual".

Oh, quite simple.

https cannot be configured with name-based virtual hosts, by design.


jepp.


jail cannot be configured for more than one IP address, by design.
(don't ask me to wait until jail-ng will be ready)


jepp.


Jail sits on internal IP, on lo0. fxp0 holds real IP addresses to be accessed from outside. 
I'm forwarding incoming connection to jail, currently with ipnat. I need to pass information 
about real (outside) IP to mod_ssl. That is my problem.

? (I understand what you do - but not why ...)



plain http works perfectly (name-based virthosts).


jepp.

Ok. Why don't you put every single jail with it's outside IP up and let 
it run there (binded to fxp0). What do you want to reach with that setup 
? More security?

Next possibility is to setup a https->http gateway on the external IP 
(binded to fxp0) and forward the un-encrypted requests over to the 
apache (name-based or whatever).

https is designed that way that nobody should be in the middle. So this 
whole setup you described will not work.

Marc



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


Re: What happened to my ports system?

2002-11-22 Thread Janine C . Buorditez
How do I find out which port that is?

Thanks.

--janine

On Fri, 22 Nov 2002 05:53:05 -0800
Kent Stewart <[EMAIL PROTECTED]> wrote:

> 
> 
> Janine C.Buorditez wrote:
> > Hi.
> > 
> > This message comes no matter what I do with portupgrade:
> > 
> > [Updating the pkgdb  in /var/db/pkg ... - 230 packages found 
>(-7 +1) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375: [BUG] Segmentation fault
> > ruby 1.6.7 (2002-05-23) [i386-freebsd4]
> > Abort (core dumped)
> > 
> > Please help?
> > 
> 
> 
> You probably have a port in your port list that has been removed and 
> will have to manually remove it.
> 
> Kent
> 
> -- 
> Kent Stewart
> Richland, WA
> 
> http://users.owt.com/kstewart/index.html
> 

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



Re: What happened to my ports system?

2002-11-22 Thread Janine C . Buorditez
That didn't work :/

Thanks anyway,
Janine

On Fri, 22 Nov 2002 13:30:15 +0100
Cliff Sarginson <[EMAIL PROTECTED]> wrote:

> On Fri, Nov 22, 2002 at 02:11:56PM +0100, Janine C. Buorditez wrote:
> > Hi.
> > 
> > This message comes no matter what I do with portupgrade:
> > 
> > [Updating the pkgdb  in /var/db/pkg ... - 230 packages found 
>(-7 +1) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375: [BUG] Segmentation fault
> > ruby 1.6.7 (2002-05-23) [i386-freebsd4]
> > Abort (core dumped)
> > 
> You probably caught it in mid-update .. I had this problem yesterday but
> in a different place. Try re-cvsupping it and do it again. This happens
> with stable sometimes.
> 
> -- 
> Regards
>Cliff Sarginson 
>The Netherlands
> 
> [ This mail has been checked as virus-free ]

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



Re: Driver question

2002-11-22 Thread Jerry McAllister
> 
> I hope I sent this question to the good posting. I work in a research
> environnement and one of my project was to install different kinds of OS's
> for testing. I am using emulators, so I don't need hundred of computers in
> the lab. For now I have installed FreeBSD 2.2.0 and up in a producted
> called VMWare, and it is working fine.
> My question is: I have installed FreeBSD 2.1.X but I can't get  the network
> up because the if_lnc_p.c driver for pci amd network cards is not
> supported. But was supported starting version 2.2.0. I would like to know
> if somebody can tell me how to integrate a new driver in a old version of
> FreeBSD or tell me of a web site that can help me. I would really
> appreciate anybody's help.

Is there any reason you need to run older versions of FreeBSD?  
Generally, the way to get the more advanced drivers is to move
to the more recent OS version.  FreeBSD 4.7-RELEASE is the latest
release version and there are '-STABLE' versions and development
versions beyond that.

If you really must have the older version AND the driver, you would
have to look in a more recent version and find the driver and then
try to port it back to the version you want.  It might work if it
doesn't depend on other OS additions that are only available in
the later OS versions.  But, the work would be up to you to do.

jerry

> 
> Thank you 
> 
> 
> 
> Denis Fournier  Communications Research Centre Canada 
> Tel:(613) 990-8782   3701 Carling Avenue, 
> Fax:(613) 998-9648  Ottawa, Ontario, CANADA 
> Email: [EMAIL PROTECTED]   K2H 8S2 

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



Re: Problem with the upgrade and now I need to rollback.. =/

2002-11-22 Thread paul beard
Ben Turner wrote:


Ok well I attempted the upgrade on a remote machine from 4.6 to 
5.0 and it
failed, miserably. Before it failed, it was throwing a message 
across the
screen as to the location where it backed up the existing 
kernel. Does
anyone, by chance, know the default location and filename for 
the kernel
backup?

I may be off here, but mine always end up as kernel.old and 
kernel.GENERIC, both in /





Also, if anyone has a link on the rollback procedure on a 
FreeBSD kernel
(4.6) that would be greatly appreciated also. My searches on 
FreeBSD.org and
google haven't turned up much. Mostly mysql documents which I 
find a little
hard to believe that mysql has that much higher ranking pages 
then the
FreeBSD site.

that's understandable: rollback is a database operation and is 
likely to generate lots of pages, for reasons not dissimilar to 
yours.


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ 

Howe's Law:
	Everyone has a scheme that will not work.


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


Problem with samba since upgrade to samba-2.2.7

2002-11-22 Thread Stacey Roberts
Hello,
 I'm hoping someone might be able to assist me with a problem with
samba I've noticed since upgrading to samba-2.2.7 this week.

First off, after cvsuping the ports tree the latest version available is
samba-2.2.7 but the version displayed at FreeBSD.org's ports/net/samba
is still showing version 2.2.6:

samba-2.2.7 =   up-to-date with port

Here's the set up - 
Samba-2.2.7 on FreeBSD 4.7 Stable running as a PDC on a network. The
problem I'm seeing is that one user always gets "ACCESS DENIED" when
attempting to log in from the Win2K Pro client.

You get the message window that mentions that "you will be logged on
with you local profile, but nothing will be uploaded to the server at
the end of the session. Please contact the systems administrator."

However, once the Win2K box is all loaded up, I can still see the samba
mounted dir shares (home drive, printers etc) and use them. From the PDC
server, smbstatus and swat return details of the same user logged in and
can get status reports of the user's activities.

I've only noticed this login problem (if that's what it is) since the
upgrade to samba (on Thursday, I think). As mentioned before, this is
occurring only for this particular user. All other users listed in
/etc/passwd and added to smbpasswd all do not have this problem. I was
even able to use "root" at the Win2K box and successfully logged in.

Also, everything else appear to be fine otherwise - I can connect to and
use resources located on the Win2K box from *NIX machines, and can even
connect to and print to the windows attached printer across the network
using samba.

Please let me know if there's any further configs / logs that would be
required in order to assist diagnosing this.

Here's my smb.conf:
 $ cat /usr/local/etc/smb.conf
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
"testparm"
# to check that you have not many any basic syntactic errors. 
#
#=== Global Settings
=
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
   workgroup = VICKIANDSTACEY
   netbios name = DEMON

# server string is the equivalent of the NT Description field
   server string = Samba Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168.1. 127.

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = yes

# you may wish to override the location of the printcap file
   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
;   printcap name = lpstat

# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = bsd

# Uncomment this if you want a guest account, you must add this to
/etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/log.%m
   log level = 2

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
;   password server = 

# Note: Do NOT use the now deprecated option of "domain controller"
# This option is no longer implemented.

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
  encrypt passwords = yes

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /usr/local/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages fo

Driver question

2002-11-22 Thread Denis Fournier
I hope I sent this question to the good posting. I work in a research
environnement and one of my project was to install different kinds of OS's
for testing. I am using emulators, so I don't need hundred of computers in
the lab. For now I have installed FreeBSD 2.2.0 and up in a producted
called VMWare, and it is working fine.
My question is: I have installed FreeBSD 2.1.X but I can't get  the network
up because the if_lnc_p.c driver for pci amd network cards is not
supported. But was supported starting version 2.2.0. I would like to know
if somebody can tell me how to integrate a new driver in a old version of
FreeBSD or tell me of a web site that can help me. I would really
appreciate anybody's help.

Thank you 






--

Denis Fournier  Communications Research Centre Canada 
Tel:(613) 990-8782   3701 Carling Avenue, 
Fax:(613) 998-9648  Ottawa, Ontario, CANADA 
Email: [EMAIL PROTECTED]   K2H 8S2 


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



subscribe

2002-11-22 Thread Smokey DeWeed
subscribe freebsd-questions

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



Re: What happened to my ports system?

2002-11-22 Thread Kent Stewart


Janine C.Buorditez wrote:

Hi.

This message comes no matter what I do with portupgrade:

[Updating the pkgdb  in /var/db/pkg ... - 230 packages found (-7 +1) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375: [BUG] Segmentation fault
ruby 1.6.7 (2002-05-23) [i386-freebsd4]
Abort (core dumped)

Please help?




You probably have a port in your port list that has been removed and 
will have to manually remove it.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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


subscribe

2002-11-22 Thread Smokey DeWeed
subscribe

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



Re: terminal incompatibility

2002-11-22 Thread Giorgos Keramidas
On 2002-11-22 13:32, Matthew Seaman <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 22, 2002 at 02:49:09PM +0200, Giorgos Keramidas wrote:
> > You can always increase compatibility with other systems by changing
> > cons25 to vt220 in /etc/ttys.   Not all systems have a cons25 termcap
> > entry, but they all know about good ol' vt220 terminals.  FreeBSD's
> > virtual ttys work fine then.
> 
> Don't you also have to modify the kernel configuration to support
> vt220 compatibility --- this stuff in GENERIC as documented in
> pcvt(4)?

syscons works fine with vt220 too.  I do have a custom kernel config,
but the only changes that I've done to the syscons part are:

+optionsMAXCONS=8   # number of virtual consoles
+optionsSC_ALT_MOUSE_IMAGE  # simplified mouse cursor in text mode
+optionsSC_DISABLE_REBOOT   # disable reboot key sequence
+optionsSC_HISTORY_SIZE=100 # small number of history buffer lines
+optionsSC_PIXEL_MODE   # add support for the raster text mode
+optionsSC_TWOBUTTON_MOUSE  # use right button to paste text

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



Re: terminal incompatibility

2002-11-22 Thread Matthew Seaman
On Fri, Nov 22, 2002 at 02:49:09PM +0200, Giorgos Keramidas wrote:
> This combination has worked remarkably well both for local programs
> and remotely displayed stuff from a Solaris,  Linux or BSD system :)

I believe the Solaris AT386 (or is it 386AT ?) terminal type is pretty
much the same thing as cons25 --- both are variants on the SCO color
console.  Worked pretty well the last time I tried it.  confirmation
of the correct terminal type under Solaris is easily found by grep'ing
for SCO in the Solaris /etc/termcap.

> You can always increase compatibility with other systems by changing
> cons25 to vt220 in /etc/ttys.   Not all systems have a cons25 termcap
> entry, but they all know about good ol' vt220 terminals.  FreeBSD's
> virtual ttys work fine then.

Don't you also have to modify the kernel configuration to support
vt220 compatibility --- this stuff in GENERIC as documented in
pcvt(4)?

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa?
#optionsXSERVER # support for X server on a vt console
#optionsFAT_CURSOR  # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#optionsPCVT_SCANSET=2  # IBM keyboards are non-std

although a man page that talks about FreeBSD 1.0-GAMMA probably
indicates that the whole thing is a bit stale...

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: terminal incompatibility

2002-11-22 Thread Giorgos Keramidas
On 2002-11-22 01:09, Rotaru Razvan <[EMAIL PROTECTED]> wrote:
> Well this is just another mail about a problem i think a lot of people
> have. As i noticed by default terminals in bsd are named cons25. My
> problem? no compatibility with linux terminals (or with xterm).

You can always increase compatibility with other systems by changing
cons25 to vt220 in /etc/ttys.   Not all systems have a cons25 termcap
entry, but they all know about good ol' vt220 terminals.  FreeBSD's
virtual ttys work fine then.

One other thing that I like doing is to make sure that I don't use too
many virtual ttys, and fire up screen on the first 2-3.  Only four ttyv
terminals are more than enough for me.

$ grep -v '^[ ]*#' /etc/ttys | grep ttyv
ttyv0   "/usr/libexec/getty Pc" cons25  on  secure
ttyv1   "/usr/libexec/getty Pc" cons25  on  secure
ttyv2   "/usr/libexec/getty Pc" cons25  on  secure
ttyv3   "/usr/libexec/getty Pc" cons25  on  secure

Then, I fire up screen and make sure that my TERM is set to vt220.

$ ps xa | grep 'v[0-9] .* screen'
43035  v0  S+ 0:00.12 screen -ar
47203  v1  S+ 0:00.34 screen -ar

This combination has worked remarkably well both for local programs
and remotely displayed stuff from a Solaris,  Linux or BSD system :)


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



Re: What happened to my ports system?

2002-11-22 Thread Matthew Seaman
On Fri, Nov 22, 2002 at 02:11:56PM +0100, Janine C.Buorditez wrote:

> This message comes no matter what I do with portupgrade:
> 
> [Updating the pkgdb  in /var/db/pkg ... - 230 packages found (-7 
>+1) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375: [BUG] Segmentation fault
> ruby 1.6.7 (2002-05-23) [i386-freebsd4]
> Abort (core dumped)

First of all, try re-cvsup'ing to make sure you didn't accidentally
get some half committed set of files.

Then back up all the various databases etc. that the ports system and
portupgrade uses, and recreate them from scratch:

cd /usr/ports
mv INDEX INDEX.0
mv INDEV.db INDEX.db.0
make index
portsdb -u

Nb. there was a bug quite recently found in portsdb which would
corrupt the INDEX file it generated.  Should be fixed soon, if it
hasn't already, but using 'make index' rather than 'portsdb -U' is a
good work around.  This will generate some error messages, especially
if you refuse parts of the ports tree, but those can usually be
ignored.

cd /var/db/pkg
mv pkgdb.db pkgdb.db.0
pkgdb -Fu

Now you should be able to run portupgrade(1) successfully.  If you're
happy that everything is working correctly again, you can delete all
those .0 backup files.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



wi0: wi_cmd: busy bit won't clear.

2002-11-22 Thread Andrew
Hi,

I have a Linksys WMP11 802.11b card running in hostap mode. Every now and
then my wireless network dissappears. If I ssh into the box over a
different interface everything looks OK. To get things going I run
ifconfig wi0 down. The whole machines seems to lock up - it doesn't even
respond to pings on other interfaces. If I wait long enough (30 secs
approx) everything comes back. I find emitted from the kernel:

wi0: wi_cmd: busy bit won't clear.

multiple times.

Anyone seen this? Any ideas?

I'm running 4.7-STABLE as of a few days ago.

Thanks,

Andrew


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



Re: port forwarding

2002-11-22 Thread Kliment Andreev
> > What is the easiest way of forwarding a port in FreeBSD. Suppose I want
> > my server to listen on port 8280, but want all connection attempts to
port
> > 80  to be forwarded to this port ... can that be done?

Put this in /etc/ipnat.rules

rdr dc0 0/0 port 80 -> 127.0.0.1 port 8280 tcp

And this in /etc/rc.conf

ipfilter_enable="YES"
ipnat_enable="YES"
ipmon_enable="YES"
ipfs_enable="YES"

I am using similar configuration for squid. But remember to check the
documentation first.
Here is a great article

http://www.defcon1.org/~ghostrdr/FreeBSD-STABLE_and_IPFILTER.html




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



What happened to my ports system?

2002-11-22 Thread Janine C . Buorditez
Hi.

This message comes no matter what I do with portupgrade:

[Updating the pkgdb  in /var/db/pkg ... - 230 packages found (-7 
+1) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375: [BUG] Segmentation fault
ruby 1.6.7 (2002-05-23) [i386-freebsd4]
Abort (core dumped)

Please help?

Thanks.

Sincerely,
Janine Buorditez

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



Manage, centralize and backup configuration files

2002-11-22 Thread Janine C . Buorditez
Hi.

I was thinking better back up my configuration files. Then I thought, what if
they were regularly backed up into a centralized directory where I also could
manage them from? Like, when I'm done modifying a file it is compied from the
config repository into its original directory.

What about a combination of rsync and CVS?

I'm not even sure this is possible. Which is why I'm open for advices from anyone
who has a working model of how to set up such a convenient way of administering
your system.

Thank you for your time.

Sincerely,
Janine Buorditez

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



  1   2   >