Re: Ooops.

2003-01-30 Thread Ruben de Groot
On Fri, Jan 31, 2003 at 01:56:54PM +1030, [EMAIL PROTECTED] typed:
> Quoting Lowell Gilbert <[EMAIL PROTECTED]>:
> 
> > [EMAIL PROTECTED] writes:
> > Can you explain what you think is a problem?
> 
> Well - it's happened to two uf us in the past month!
> In both cases the operator was copying files from one drive to another and
> wished to delete  files from the second drive on which the copy resided.  In
> both cases rm -rf removed both copy AND source!  :-(
> 
> In my case I was setting up a larger hard drive from a smaller one using
> dump/restore, partition by partition.  I had just completed copying one smallish
> partition and began copying the next, larger partition having forgotten to
> change directories. Naturally I soon ran out of room. ("Bother", said Pooh).  
> No problem, I'll delete the wrongly copied directories from that smaller
> partition, move to the larger one, and try again.  Unfortunately, rm -rf home
> removed  home from the source /usr directory as well! :-(   I presume that this
> was due to /home being a symlink to /usr/home, and somehow that link remained,
> so that -r referred to everything below the symlink as well as to the directory
> I was trying to remove.
> 
> Whatever the explanation, IMHO rm -r should NOT do this by default.

The manpage rm(1) says:

 The rm utility removes symbolic links, not the files referenced by the
 links.

So what you describe shouldn't have happened.
There is one case where removing symlinks can be confusing:

rm -rf /home# removes only the symbolic link
rm -rf /home/   # removes directory tree /home is linked to

So what were the exact commands you issued?

> 
> --
> Brian
> 
> 
> 
> ---
> This message sent through Adam Internet Webmail
>   http://www.adam.com.au
> 
> 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



FTP

2003-01-30 Thread Daniel HARTMANN

 Bonjour a tous,

 Sur une 4.7 j'utilise le ftpd par défaut, et je souhaite 
 bloquer l'accès à certains répertoire. 
 
 je suis sur que quelqu'un a la solution.


 Merci


Dany_H





<>

Re: kernel message when sending mail

2003-01-30 Thread Jeff Jirsa
On Fri, 31 Jan 2003, Kjell wrote:

> Each time I send an email using Mutt the following message pops up on
> the screen:
>
>
> /kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1572
>
>
> What could be the cause?
>

TCP port 113 is the Auth service. When you send mail, sendmail will
attempt to verify the username on the other end of the connection by
querying auth. You have auth disabled: if you want to enable it, edit
/etc/inetd.conf (the comments in inetd.conf are quite good, but
inetd.conf(8) will help too).

- Jeff Jirsa



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



kernel message when sending mail

2003-01-30 Thread Kjell
Each time I send an email using Mutt the following message pops up on  the screen:

/kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1572

What could be the cause?

Using a freshly loaded v4.7 running IPFW with the following in rc.conf

firewall_type="open"	#wide open when using rc.firewall 
firewall_script="/etc/rc.firewall" #original and  unmodified
firewall_enable="NO"	#leave firewall with  'pass/block all' line only

Also running ipfilter with a ruleset that leaves the firewall wide open.

regards from Kjell / LA3SG


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

Re: Compile for FreeBSD on another Sys?

2003-01-30 Thread Kris Kennaway
On Thu, Jan 30, 2003 at 11:45:04PM +0100, Pascal Giannakakis wrote:

> Is there any way to compile the sys (or even apps) on Windows for
> FreeBSD? FreeBSD 5.0 compiling takes for ever...

No.

Kris



msg17319/pgp0.pgp
Description: PGP signature


PPPoE (still) stalling

2003-01-30 Thread Bartosz Fabianowski
Hi everybody,

I had posted about my problems with PPPoE stalling a few days ago and 
the reply to this post got me started on a couple of things. I have 
lowered the MTU and MRU settings and made sure that the MSS fixup is 
enabled. Interestingly, the MSS fixup seems to miss some packets 
(specifically, those which go into a queue before being sent out), so 
that some still go out onto the network with a too high MSS value. I 
noticed, that my connection hangs right after such a packet has gone out.

Now, I applied the registry changes proposed in the PPP FAQ to the 
Windows clients which use my FreeBSD box as a NAT gateway and I am 
absolutely positive, that no packet with an MSS greater than 1396 goes 
out through PPPoE any more, so the MSS issue should be resolved now.

However, my problem has not gone away. In fact, it has gotten worse. The 
connection still just hangs after a random amount of time, if it is 
being used heavily (large downloads or lots of socket connections within 
a short amount of tim). Packets are reported to be going out, but there 
is absolutely no traffic coming in (be it TCP, UDP oder ICMP - not a 
single packet). This happens more often now.

When the connection hangs, PPP's command prompt on the diagnostic socket 
is still "PPP", as if it were connected. When I attempt to disconnect, 
it hangs for up to a few minutes at "PPp" and, once it has finally 
disconnected to "ppp" and I attempt to re-connect, will take another 
couple of minutes before finally changing from "ppp" to "Ppp" and then 
rapidly to "PPp" and "PPP". There is no indication of what is wrong, 
even if I set the log level to "+debug".

Thanks for reading through my problem description. Any clues, ideas or 
tips are greately appreciated.

Bartosz Fabianowski


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


Re: fouled up cvsup

2003-01-30 Thread Matthew Emmerton
> I thought I understood cvsup till I did it.. After running cvsup all
> my ports collection was deleted... accept ports I had already
> installed.  I wanted to avoid installing ANY ports untill I had
> cvsuped the collection.
>
> How can I leave ports not yet installed, alone in the collection?
>
> advice please?
> ==
> here's my cvsupfile
> ==
>
> *default release=cvs
> *default host=cvsup10.freebsd.org
> *default base=/usr/local/etc/cvsup
> *default prefix=/usr
> *default delete
> *default compress
> *default tag=RELENG_4_7
> *default use-rel-suffix
> src-all
> ports-all
> doc-all

ports and docs don't use the RELENG_x_y tagging convention.  What you really
want is something like this:

src-all tag=RELENG_4_7
ports-all tag=.
doc-all tag=.

You can leave out the tag on src-all since it will use the default from
above, but it's absolutely neccessary to have tag=. on ports-all and
doc-all.

--
Matt Emmerton


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



Re: port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Joe Marcus Clarke
On Thu, 2003-01-30 at 22:38, Matthias Buelow wrote:
> Joe Marcus Clarke wrote:
> 
> > No, without Xft support, there was no anti-aliasing.  I do have some
> > example fontconfig configurations that selectively disable AA on certain
> > font sizes.  However, it sounded like you wished to revert Mozilla back
> > to the way 1.1 was.
> 
> Yes, that's what I wanted.  Maybe I have confused the aa'ing (or rather, 
> the lack of it) of huge fonts in 1.1 with something else, I didn't pay 
> much attention to such details before when it didn't scream in my face.
> I'd be interested in your fontconfig configurations if they can make the 
> antialias mechanism to apply only to fonts over a certain size.

Indeed it can.  The attached ~/.fonts.conf only enables AA on fonts
greater than 16 point.  I encourage you to checkout fontconfig(3) for
more on what you can do with it.  The fontconfig config file is very
powerful.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc







16


false






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


Re: port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Matthias Buelow
Joe Marcus Clarke wrote:


No, without Xft support, there was no anti-aliasing.  I do have some
example fontconfig configurations that selectively disable AA on certain
font sizes.  However, it sounded like you wished to revert Mozilla back
to the way 1.1 was.


Yes, that's what I wanted.  Maybe I have confused the aa'ing (or rather, 
the lack of it) of huge fonts in 1.1 with something else, I didn't pay 
much attention to such details before when it didn't scream in my face.
I'd be interested in your fontconfig configurations if they can make the 
antialias mechanism to apply only to fonts over a certain size.

--
Matthias Buelow


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


Re: Ooops.

2003-01-30 Thread bastill
Quoting Lowell Gilbert <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] writes:
> Can you explain what you think is a problem?

Well - it's happened to two uf us in the past month!
In both cases the operator was copying files from one drive to another and
wished to delete  files from the second drive on which the copy resided.  In
both cases rm -rf removed both copy AND source!  :-(

In my case I was setting up a larger hard drive from a smaller one using
dump/restore, partition by partition.  I had just completed copying one smallish
partition and began copying the next, larger partition having forgotten to
change directories. Naturally I soon ran out of room. ("Bother", said Pooh).  
No problem, I'll delete the wrongly copied directories from that smaller
partition, move to the larger one, and try again.  Unfortunately, rm -rf home
removed  home from the source /usr directory as well! :-(   I presume that this
was due to /home being a symlink to /usr/home, and somehow that link remained,
so that -r referred to everything below the symlink as well as to the directory
I was trying to remove.

Whatever the explanation, IMHO rm -r should NOT do this by default.

--
Brian



---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



Re: port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Joe Marcus Clarke
On Thu, 2003-01-30 at 22:25, Matthias Buelow wrote:
> Kuroishi Mitsuo wrote:
> 
> > add in ~/.mozilla/default/*.slt/user.js 
> > user_pref("fonts.xft.enabled", false); 
> 
> thanks, I'll remember that.  I've now rebuilt it without XFT support, as 
> Joe wrote, and it works a lot better now.  Although it doesn't 
> anti-alias huge fonts anymore (I was under the impression that it did 
> with the old version but I may be wrong.)

No, without Xft support, there was no anti-aliasing.  I do have some
example fontconfig configurations that selectively disable AA on certain
font sizes.  However, it sounded like you wished to revert Mozilla back
to the way 1.1 was.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Matthias Buelow
Kuroishi Mitsuo wrote:


add in ~/.mozilla/default/*.slt/user.js 
user_pref("fonts.xft.enabled", false); 

thanks, I'll remember that.  I've now rebuilt it without XFT support, as 
Joe wrote, and it works a lot better now.  Although it doesn't 
anti-alias huge fonts anymore (I was under the impression that it did 
with the old version but I may be wrong.)

--
Matthias Buelow


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


Re: suggested reinstall of KDE when original was from CD-Rom

2003-01-30 Thread Lowell Gilbert
BSD Baby <[EMAIL PROTECTED]> writes:

> In this case, does "make deinstall" work?  Or is there a better way?

pkg_delete(1)

> I want to install the new KDE 3.1 from ports in its place.
> Any advice appreciated.

"make deinstall" will only work if the Makefile is for the same
version that is installed.

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



Re: fouled up cvsup

2003-01-30 Thread Lowell Gilbert
David Bear <[EMAIL PROTECTED]> writes:

> advice please?

> ports-all

That's your problem.

As the sample file says,

###
#
# DANGER!  WARNING!  LOOK OUT!  VORSICHT!
#
# If you add any of the ports or doc collections to this file, be sure to
# specify them with a "tag" value set to ".", like this:
#
#   ports-all tag=.
#   doc-all tag=.
#
# If you leave out the "tag=." portion, CVSup will delete all of
# the files in your ports or doc tree.  That is because the ports and doc
# collections do not use the same tags as the main part of the FreeBSD 
# source tree.
#
###

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



fouled up cvsup

2003-01-30 Thread David Bear

I thought I understood cvsup till I did it.. After running cvsup all
my ports collection was deleted... accept ports I had already
installed.  I wanted to avoid installing ANY ports untill I had
cvsuped the collection.  

How can I leave ports not yet installed, alone in the collection?

advice please?
==
here's my cvsupfile
==

*default release=cvs
*default host=cvsup10.freebsd.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default delete
*default compress
*default tag=RELENG_4_7
*default use-rel-suffix
src-all
ports-all
doc-all

===
and here's my refuse file
===

ports/astro
ports/cad
ports/chinese
ports/french
ports/ftp
ports/games
ports/german
ports/hebrew
ports/japanese
ports/korean
ports/palm
ports/picobsd
ports/russian
ports/ukrainian
ports/vietnamese
doc/de_DE.ISO8859-1
doc/el_GR.ISO8859-7
doc/es_ES.ISO8859-1
doc/fr_FR.ISO8859-1
doc/it_IT.ISO8859-15
doc/ja_JP.eucJP
doc/nl_NL.ISO8859-1
doc/pt_BR.ISO8859-1
doc/ru_RU.KOI8-R
doc/sr_YU.SIO8859-2
doc/zh_TW.Big5

=
-- 
David Bear
College of Public Programs/ASU
Mail Code 0803


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



suggested reinstall of KDE when original was from CD-Rom

2003-01-30 Thread BSD Baby
In general I know how to reinstall an updated port, but what about
if I installed KDE from the original FreeBSD 4.7 CD-Rom install at
the same time as I was installing the OS?

In this case, does "make deinstall" work?  Or is there a better way?

I want to install the new KDE 3.1 from ports in its place.
Any advice appreciated.

(( SORRY to ask the list this!  If it were a little app, I would just
experiment, but man if my KDE gets hosed, that's messy...)

:-)


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



Re: Ooops.

2003-01-30 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> rm will, unless specifically denied (I THINK you can do that), also follow symlinks.
> In my case I was copying files from one HD to another, put one in the wrong
> place, and deleted it using rm -rf , only to find that it deleted the original
> as well!  :-(

Eh?

> PS I think rm needs looking at so it defaults to NOT deleting copy AND source by
> default.

[502] (be-well) lowell> mkdir temp
[503] (be-well) lowell> cd temp
[504] (be-well) temp> mkdir a b
[505] (be-well) temp> touch a/foo
[506] (be-well) temp> ln -s a/foo b/baz
[507] (be-well) temp> ls -l a b
a:
total 0
-rw-r--r--  1 lowell  lowell  0 Jan 30 22:05 foo

b:
total 0
lrwxr-xr-x  1 lowell  lowell  5 Jan 30 22:05 baz@ -> a/foo
[508] (be-well) temp> rm -rf b
[509] (be-well) temp> ls -l *
total 0
-rw-r--r--  1 lowell  lowell  0 Jan 30 22:05 foo
[510] (be-well) temp> 

Can you explain what you think is a problem?

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



natd limitations

2003-01-30 Thread mikel king
Just curious, 

I have a 4.7-stable firewall box that was running
rather smoothly until earlier this morning when I
attempted to relocate a web server behind it. This box
already had nearly 10 static nats, and I needed to add
another 50+. As soon as I did the thing stopped
talking to the rest of the external LAN, and NATD took
up 99% of my cpu. Funily enough I was still able to
communicate on the internal LAN, of course no traffic
was able to pass thru the firewall.

So my question is if anyone else has observed a
similar anomoly?

Please cc this address as my mail is also affected by
this issue.

cheers,
mikel

__
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



ssh & ipfw

2003-01-30 Thread Pete C
any quick pointers for how to go about setting up ssh though ipfw on a
gateway/router running nat to one of the internal machines ? (FreeBSD
on both the router and internal machine)

after a quick search of the available resourses (Google/BSD, mail
archives, etc) I'm thinking it should be easier that this ?

TIA

Pete C
This e-mail host does not accept spam (unsolicited e-mail).
If you have a legitimate reason for contacting me, use
'pete' instead of 'junk'.

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



Re: Ooops.

2003-01-30 Thread bastill
Quoting Grant Peel <[EMAIL PROTECTED]>:

> Hi all,
> 
> Two hard drives.
> 
> da0s1
> da1s1
> 
> da0 is primary boot and OS drive.
> 
> da1 is a mirror drive.
> 
> da1's filesystems are mounted on /mnt.
> 
> Silly me runs a rm -rf * while in /mnt .
> 
> Next thing I know EVERYTHING is gone.
> 
> What did I miss here?

Been there - done that!  :-(

rm will, unless specifically denied (I THINK you can do that), also follow symlinks.
In my case I was copying files from one HD to another, put one in the wrong
place, and deleted it using rm -rf , only to find that it deleted the original
as well!  :-(

I'm looking at two possible undelete options.  ffsrecov (in ports) and  recover
ftp://gatekeeper.dec.com/pub/sysadm/recover.tar.Z

One of them might work for you.

PS I think rm needs looking at so it defaults to NOT deleting copy AND source by
default.

--
Brian

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




---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



Re: port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Kuroishi Mitsuo
From: Joe Marcus Clarke <[EMAIL PROTECTED]>
Subject: Re: port www/mozilla 1.2.1 disable anti-aliasing
Date: 30 Jan 2003 21:19:40 -0500

> On Thu, 2003-01-30 at 21:14, Matthias Buelow wrote:
> > Hi folks,
> > 
> > sorry if this has been asked before but how does one disable 
> > anti-aliasing in the www/mozilla port (mozilla 1.2.1)?  I have upgraded 
> > from 1.1 to 1.2.1 via ports today only to find that the visual display 
> > is rather seriously broken; any font everywhere is anti-aliased, even 
> > the menus, dialog boxes etc.  Even worse, the fonts look as if one has 
> > written them with a typewriter with an ink ribbon that's already far 
> > beyond its lifetime.
> > Why I'm asking here is because I've heard from a friend that Mozilla 
> > doesn't come that way per default and that it must be specifically built 
> > to provide full anti-aliasing everywhere (why one would want to do this 
> > eludes me, though.)
> > So is there any way to make the mozilla port 1.2.1 behave like 1.1? 
> > I.e., only use anti-aliasing for large fonts in the rendered html text? 
> >   I'm using the new version for a mere 15 minutes now and I can alread 
> > feel a headache coming in from having to look at that mess (even worse 
> > because I also use mozilla for mail.)
> 
> # cd /usr/ports/www/mozilla
> # make -DWITHOUT_XFT install

add in ~/.mozilla/default/*.slt/user.js 

user_pref("fonts.xft.enabled", false); 

--
Kuroishi Mitsuo

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



Re: port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Matthias Buelow
Joe Marcus Clarke wrote:


# cd /usr/ports/www/mozilla
# make -DWITHOUT_XFT install


Isn't there any way to disable it at runtime?
Oh, well.. rebuilding it right now.

--
Matthias Buelow


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



Re: port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Joe Marcus Clarke
On Thu, 2003-01-30 at 21:14, Matthias Buelow wrote:
> Hi folks,
> 
> sorry if this has been asked before but how does one disable 
> anti-aliasing in the www/mozilla port (mozilla 1.2.1)?  I have upgraded 
> from 1.1 to 1.2.1 via ports today only to find that the visual display 
> is rather seriously broken; any font everywhere is anti-aliased, even 
> the menus, dialog boxes etc.  Even worse, the fonts look as if one has 
> written them with a typewriter with an ink ribbon that's already far 
> beyond its lifetime.
> Why I'm asking here is because I've heard from a friend that Mozilla 
> doesn't come that way per default and that it must be specifically built 
> to provide full anti-aliasing everywhere (why one would want to do this 
> eludes me, though.)
> So is there any way to make the mozilla port 1.2.1 behave like 1.1? 
> I.e., only use anti-aliasing for large fonts in the rendered html text? 
>   I'm using the new version for a mere 15 minutes now and I can alread 
> feel a headache coming in from having to look at that mess (even worse 
> because I also use mozilla for mail.)

# cd /usr/ports/www/mozilla
# make -DWITHOUT_XFT install

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


port www/mozilla 1.2.1 disable anti-aliasing

2003-01-30 Thread Matthias Buelow
Hi folks,

sorry if this has been asked before but how does one disable 
anti-aliasing in the www/mozilla port (mozilla 1.2.1)?  I have upgraded 
from 1.1 to 1.2.1 via ports today only to find that the visual display 
is rather seriously broken; any font everywhere is anti-aliased, even 
the menus, dialog boxes etc.  Even worse, the fonts look as if one has 
written them with a typewriter with an ink ribbon that's already far 
beyond its lifetime.
Why I'm asking here is because I've heard from a friend that Mozilla 
doesn't come that way per default and that it must be specifically built 
to provide full anti-aliasing everywhere (why one would want to do this 
eludes me, though.)
So is there any way to make the mozilla port 1.2.1 behave like 1.1? 
I.e., only use anti-aliasing for large fonts in the rendered html text? 
 I'm using the new version for a mere 15 minutes now and I can alread 
feel a headache coming in from having to look at that mess (even worse 
because I also use mozilla for mail.)

--
Matthias Buelow


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


Re: Trying again... (was rc.setiathome.conf proxy how?)

2003-01-30 Thread jle
Lowell Gilbert wrote:

> The documentation is, essentially, the setiathome(1) manual itself.
> The only trick for rc.setiathome.conf is to use the seti_proxy_args
> variable, which you've already figured out.
>
> > seti_proxy_args=-proxy xxx.xxx.xxx.xxx:port
>
> That's what you need.  Except it should be in quotes, I think.

Yes, the man page mentions the .conf and the seti_proxy_args= entry but it
doesn't give examples of the proper format. You were correct, however, I
did need the quotes.

This is what worked:

seti_proxy_args="-proxy xxx.xxx.xxx.xxx:port"

If such an example could be added to the setiathome(1) man page then maybe
more people would use it. There might also be a mention of the FreeBSD
setiathome team so they could join.

Thank you for your time and attention,

jle

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



vnc slowness when freebsd is server

2003-01-30 Thread Cliff Sarginson
Hello,
I have been experimenting with vnc on a mix of BSD, Linux and Windows
machines.
It works pretty well, with one exception.
If I use a FreeBSD system as the Xvnc server then clients to it load
*very* slowly. All other cominations are fine, BSD/Linux/Windows as
clients are fine, BSD as a client is fine. But access to BSD as a server
is incredibly slow.
I am wondering if some sysctl needs a tweak ?
Any more information I can give, please let me know.

They are all on a 100MB Lan going through a switch. FreeBSD is 4.7
Stable as of 2 days ago. It; a 1GHz processor with 512MB, and SCSI
disks, so I don;t think that is a bottleneck.

Thanks for any help.

p.s. To the people I was rude to earlier on this year I apologise, I was
in a strange mood. I am a reformed character now.

-- 
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



Ooops.

2003-01-30 Thread Grant Peel
Hi all,

Two hard drives.

da0s1
da1s1

da0 is primary boot and OS drive.

da1 is a mirror drive.

da1's filesystems are mounted on /mnt.

Silly me runs a rm -rf * while in /mnt .

Next thing I know EVERYTHING is gone.

What did I miss here?

-Grant


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



Re: Make Apache case incensitive

2003-01-30 Thread Chuck Swiger
Jonas Fornander wrote:

Is it possible to make apache case-insensitive so an image called
myimage.JPG will be found even if the link is MyImage.jpg?


Apple released an Apache module called mod_hfsplus or some such, which 
is designed to replicate HFS+ case-insensitive behavior even when you 
run Apache against UFS.  Part of Darwin, probably.

-Chuck


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


Re: CD installation problem

2003-01-30 Thread Sugiono
I have the same problem, but i install it with floppy boot disk.


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



Re: Trying again... (was rc.setiathome.conf proxy how?)

2003-01-30 Thread Lowell Gilbert
jle <[EMAIL PROTECTED]> writes:

> HELP! The documentation is pretty poor here. How do I add proxy support to
> the rc.setiathome.conf file?

The documentation is, essentially, the setiathome(1) manual itself.
The only trick for rc.setiathome.conf is to use the seti_proxy_args
variable, which you've already figured out.

> seti_proxy_args=-proxy xxx.xxx.xxx.xxx:port

That's what you need.  Except it should be in quotes, I think.

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



Re: Problems with Gnome CPU load applet

2003-01-30 Thread Joe Marcus Clarke
On Thu, 2003-01-30 at 19:12, stan wrote:
> I've got 2 different STABLE machines, that are bith pretty much up to date.
> On both, when I try to add teh CPU load monitor to the Gnome taskbar, the
> applet crashes almost  instanlt.
> 
> What can I do to fix this?

What version of GNOME?  In most cases, this could probably be solved by
a forced upgrade of libgtop[2].

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: Make Apache case incensitive

2003-01-30 Thread Philip Hallstrom
you might try the mod_speling module...

On Thu, 30 Jan 2003, Jonas Fornander wrote:

>
> Is it possible to make apache case-insensitive so an image called
> myimage.JPG will be found even if the link is MyImage.jpg?
>
> Jonas Fornander - System Administrator
> Netwood Communications, LLC - www.netwood.net
> Find out why we're better - 310-442-1530
>
>
> 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: Fixit instructions

2003-01-30 Thread bastill
Quoting Mike Meyer <[EMAIL PROTECTED]>:
> Maybe what's needed is an "Essential BSD commands" handbook entry,
> that covers the lists the commands available in Fixit mode that are
> actually useful for fixing a broken system?

Yes, that's exactly what I was asking for, in essense.
Care to write it?  :-)

Thanks very much for your constructive responses.

--
Brian




---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



Problems with Gnome CPU load applet

2003-01-30 Thread stan
I've got 2 different STABLE machines, that are bith pretty much up to date.
On both, when I try to add teh CPU load monitor to the Gnome taskbar, the
applet crashes almost  instanlt.

What can I do to fix this?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

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



security settings - kerberos or ssh?

2003-01-30 Thread chip wiegand
I am going to set up a new machine with fbsd4.7R for web use - apache,
mysql, php, phpmyadmin. I will be co-locating this box at my isp's
office. I would like to make sure this is as secure as possible and
still be able to have direct access to upload files and maintain, pull
off log files, etc. I was reading the handbook chapter on security and
am not sure if I should use kerberos, which I know nothing about, or
ssh. I was a little confused about the setup of kerberos in the kerberos
chapter.
Any suggestions for more info would be most appreciated.
Thanks
Chip W

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



Make Apache case incensitive

2003-01-30 Thread Jonas Fornander

Is it possible to make apache case-insensitive so an image called
myimage.JPG will be found even if the link is MyImage.jpg?

Jonas Fornander - System Administrator
Netwood Communications, LLC - www.netwood.net
Find out why we're better - 310-442-1530


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



Trying again... (was rc.setiathome.conf proxy how?)

2003-01-30 Thread jle
Surely, somebody here can help me get the proxy working?

HELP! The documentation is pretty poor here. How do I add proxy support to
the rc.setiathome.conf file?

I've tried:
seti_proxy_args=-proxy xxx.xxx.xxx.xxx:port
seti_proxy_args=http_proxy xxx.xxx.xxx.xxx:port
HTTTP_PROXY=xxx.xxx.xxx.xxx:port
and a bunch of other variations but I always get errors and it doesnt use
my proxy.
/usr/local/etc/rc.setiathome.conf: xxx.xxx.xxx.xxx:port: not found
bad arg: xxx.xxx.xxx.xxx:port
bad arg: 15
bad arg: 10
etc...

A better set of documentation with examples would be appreciated.

TIA,

jle

Not that it matters but it's 5.0-R

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



BTX halted message on Tyan Thunder motherboard ...

2003-01-30 Thread Marc G. Fournier

Yesterday, trying to resolve a problem, we upgraded the BIOs to 1.07,
after which we started to get the BTX halted message above ... searching
the web, I've not found much in the way of solution, but the one I did see
talked about disabling teh BIOS DMA, in relation to a Compaq server, or
downgrading teh BIOs ... since we can't find a BIOS DMA setting in the
Tyan BIOS, we went with downgrading back to 1.06 ...

... but we're still getting it ...

I'm running 4.7-STABLE on this server, with one of teh Adaptec ZCR
controllers ... is there something else we should try?

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



Compile for FreeBSD on another Sys?

2003-01-30 Thread Pascal Giannakakis
Hey list,

Please don't bash me if this sounds stupid to you, but most ideas that 
rock the world today were subject to public loughter in the past! :P

My FreeBSD server is a Cyrix C3 800 MHz / 256 MB which is slooow and 
my Windows Workstations has a AMD Athlon XP 2400+ / 1 GB. Is there any 
way to compile the sys (or even apps) on Windows for FreeBSD? FreeBSD 
5.0 compiling takes for ever...

Maybe with Cygwin?

Any hints appreciated, commercial stuff would be OK, too.

BTW: I tried to Install FreeBSD on the Athlon, but it couldn't handle 
the HPT 374 RAID.


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


Bug with quota over NFS?

2003-01-30 Thread Eric Osterweil
Hey everyone,

Has anyone seen a problem with the quota command (off
of 4.7-Stable) whereby quotas are misrepresented?  I
have a NetApp filer that hosts my NIS users' home
dirs, and I have setup 6Gig quotas.  When I run quota
on one of my FreeBSD boxes I get:

Disk quotas for user eoster (uid 1000): 
 Filesystem   usage   quota   limit   grace  
files   quota   limit   grace
/.amd_mnt/california/home
852 2097152 2097152 
53  358400  358400


When I run quota on a Linux box on the same network I
get:

Disk quotas for user eoster (uid 1000): 
 Filesystem  blocks   quota   limit   grace  
files   quota   limit   grace
california:/home/
852  6291456 6291456 
53  358400  358400

I've looked online for reports of this behavior, and
all I have found is a bug report from 1995 that
suggests a patch to quota.c.  The patch simply casts
limit variables to u_quad_t.  Does this behavior sound
familiar?  I am a little leary of adding a patch from
7 years ago.

Thanks in advance,

Eric

__
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



new ipfw/nat ruleset for gateway

2003-01-30 Thread Redmond Militante
hi all

i have my test machine set up as a gateway box, with ipfw/natd configured on it, set 
up to filter/redirect packets bound for a client on my internal network.

external ip of my internal client is aliased to the outside nic of the gateway box

gateway machine's kernel has been recompiled with:

options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE



gateway's /etc/rc.conf looks like 

defaultrouter="129.x.x.1"
hostname="hostname.com"
ifconfig_xl0="inet 129.x.x.1 netmask 255.255.255.0"
#aliasing internal client's ip to the outside nic of gateway box
ifconfig_xl0_alias0="inet 129.x.1.20 netmask 255.0.0.0"
#inside nic of gateway box
ifconfig_xl1="inet 10.0.0.1 netmask 255.0.0.0"
gateway_enable="YES"
firewall_enable="YES"
#firewall_script="/etc/rc.firewall"
firewall_type="/etc/ipfw.rules"
natd_enable="YES"
#natd interface is outside nic
natd_interface="xl0"
#natd flags redirect any traffic bound for ip of www3 to internal ip of www3
natd_flags="-redirect_address 10.0.0.2 129.x.x.20"
kern_securelevel_enable="NO"
.



internal client's /etc/rc.conf looks like

second machine's /etc/rc.conf:

defaultrouter="10.0.0.1"
ifconfig_xl0="inet 10.0.0.2 netmask 255.0.0.0"



looks like this setup is working. the internal client is a basic webserver/ftp server. 
i am able to ftp to it, ssh to it, view webpages that it serves up, etc. with it 
hooked up to the internal nic of the gateway box.

i am now trying to come up with a good set of firewall rules on the gateway box to 
filter out all unnecessary traffic to my internal network. the following is my 
/etc/ipfw.rules on the gateway box.

-snip--

# firewall_type="/etc/ipfw.rules"
# enquirer ipfw.rules

# NAT
add 00100 divert 8668 ip from any to any via xl0

# loopback
add 00210 allow ip from any to any via lo0
add 00220 deny ip from any to 127.0.0.0/8
add 00230 deny ip from 127.0.0.0/8 to any

#allow tcp in for nfs shares
#add 00301 allow tcp from 129.x.x.x to any in via xl0
#add 00302 allow tcp from 129.x.x.x to any in via xl0

#allow tcp in for ftp,ssh, smtp, httpd
add 00303 allow tcp from any to any in 21,22,25,80,1 via xl0

#deny rest of incoming tcp
add 00309 deny log tcp from any to any in established

#from man 8 ipfw: allow only outbound tcp connections i've created
add 00310 allow tcp from any to any out via xl0


#allow udp in for gateway for DNS
add 00300 allow udp from 10.0.0.0/24 to 129.105.49.1 53 via xl0

#allow udp in for nfs shares
#add 00401 allow udp from 129.x.x.x to any in recv xl0
#add 00402 allow udp from 129.x.x.x to any in recv xl0

#allow all udp out from machine
add 00404 allow udp from any to any out via xl0

#allow some icmp types (codes not supported)
##allow path-mtu in both directions
add 00500 allow icmp from any to any icmptypes 3
##allow source quench in and out
add 00501 allow icmp from any to any icmptypes 4
##allow me to ping out and receive response back
add 00502 allow icmp from any to any icmptypes 8 out
add 00503 allow icmp from any to any icmptypes 0 in
##allow me to run traceroute
add 00504 allow icmp from any to any icmptypes 11 in
add 00600 deny log ip from any to any

#--- end ipfw.rules ---#

-snip--


any comments on how i could improve this set of ipfw rules to better secure my 
internal client would be appreciated. thanks again

redmond



msg17284/pgp0.pgp
Description: PGP signature


Re: Apache

2003-01-30 Thread Dirk-Willem van Gulik

> you have to recompile apache. mod_ssl comes with eapi
> (enhanced api) and the standard apache modules have to be aware
> of it.

You want to just use 'ports' for this - there is a ssl module port which
does all the right things. Compile and install this -before- you do PHP or
mod_perl; as the latter need the right (EAPI extended) header files.

Dw



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



Re: copy a cd

2003-01-30 Thread Toni Schmidbauer
On Thu, Jan 30, 2003 at 03:26:32PM -0600, Brian Henning wrote:
> i am trying to copy a data cd with
> dd if=/dev/acd0c of=/home/image.iso bs=2048

i am usally doing a "cat /dev/acd0c > filename.iso". works for me.

toni
-- 
Terror ist der Krieg der Armen,   | [EMAIL PROTECTED]
Krieg ist der Terror der Reichen. | Toni Schmidbauer
- Sir Peter Ustinov   |



msg17282/pgp0.pgp
Description: PGP signature


Re: Apache

2003-01-30 Thread Toni Schmidbauer
On Thu, Jan 30, 2003 at 10:20:18PM +0100, Gannater János wrote:
> I would like to enable ssl for apache.
> So I can have a website at https://
> I compiled mod_ssl to my existing apache configuration.
> When I say apachectl configtest a whole error log comes up...
> How can I do this ssl thing correctly?
> Where should I put the homepages to be availible at https:// ?
> What should I have in the httpd.conf file?
> The errors:
> [Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
> libexec/apache/mod_vhost_alias.so uses plain Apache 1.3 API,
> this module might crash under EAPI! (please recompile it
> with -DEAPI)

you have to recompile apache. mod_ssl comes with eapi
(enhanced api) and the standard apache modules have to be aware
of it.

after installing apache with mod_ssl you will find a virtualhost
section named "_default_:443". there you have to specify DocumentRoot.
this is where apache searches for html files by default. normally it
is set to /htdocs.

but for a better explanation see the INSTALL file that comes with
the mod_ssl source package. 

toni
-- 
Terror ist der Krieg der Armen,   | [EMAIL PROTECTED]
Krieg ist der Terror der Reichen. | Toni Schmidbauer
- Sir Peter Ustinov   |



msg17281/pgp0.pgp
Description: PGP signature


Re: copy a cd

2003-01-30 Thread J. Scott Edwards


On Thu, 30 Jan 2003, Brian Henning wrote:

> i am trying to copy a data cd with
> dd if=/dev/acd0c of=/home/image.iso bs=2048
> i don't think it is working... i don't have the error message, but the cd
> doesn't work when i burn it.
> can i somehow find out for sure if bs=2048 is correct ?
> is there any other info i need about the cd before i can copy it?
>

It seems like I just did 'dd if=/dev/acd0c of=/home/image.iso' when I did
this and it worked fine.

-Scott



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



Re: copy a cd

2003-01-30 Thread Doug Poland

Brian Henning said:
> i am trying to copy a data cd with
> dd if=/dev/acd0c of=/home/image.iso bs=2048
> i don't think it is working... i don't have the error message, but
> the cd doesn't work when i burn it.
> can i somehow find out for sure if bs=2048 is correct ?
> is there any other info i need about the cd before i can copy it?
>

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

-- 
Regards,
Doug




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



copy a cd

2003-01-30 Thread Brian Henning
i am trying to copy a data cd with
dd if=/dev/acd0c of=/home/image.iso bs=2048
i don't think it is working... i don't have the error message, but the cd
doesn't work when i burn it.
can i somehow find out for sure if bs=2048 is correct ?
is there any other info i need about the cd before i can copy it?

thanks,
b

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



Re: cvsup problem with "premature EOF from server"

2003-01-30 Thread yew chin

--- Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> yew chin <[EMAIL PROTECTED]> writes:
> 
> > Connected to cvsup14.freebsd.org
> > Server software version: SNAP_16_1e
> 
> If I recall correctly, that's an out-of-date version
> of the server
> software.  I don't see why it would cause this
> particular symptom, but
> perhaps you should try a different server and see if
> the problem
> occurs there too.
> 
Thanks for helping me.
I already try to cvsup for at least 6 different
server.
But I still have the same problem.
Is that maybe i have an out of date cvsup client?

__
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



Apache

2003-01-30 Thread Gannater János
I would like to enable ssl for apache.
So I can have a website at https://
I compiled mod_ssl to my existing apache configuration.
When I say apachectl configtest a whole error log comes up...
How can I do this ssl thing correctly?
Where should I put the homepages to be availible at https:// ?
What should I have in the httpd.conf file?
The errors:
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_vhost_alias.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_mime_magic.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_info.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_speling.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_rewrite.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_auth_anon.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_auth_db.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_digest.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/libproxy.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_cern_meta.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_expires.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_headers.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_usertrack.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_unique_id.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it
with -DEAPI)
[Thu Jan 30 22:18:34 2003] [warn] Loaded DSO
libexec/apache/mod_zap.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
[Thu Jan 30 22:18:35 2003] [warn] Loaded DSO
libexec/apache/libphp4.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
[Thu Jan 30 22:18:35 2003] [warn] Loaded DSO
libexec/apache/mod_layout.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
[Thu Jan 30 22:18:35 2003] [warn] Loaded DSO
libexec/apache/mod_cvs.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
Syntax OK




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



Re: HELP! root partition full!

2003-01-30 Thread James Long
On Thu, Jan 30, 2003 at 04:12:45PM -0500, Ben Williams wrote:
> 
> BR> Use df to find the file thats filling your root:
> 
> BR>  du -a -x /usr | sort -rn | tee /tmp/root-space
> 
>Wont the tee will cause this to fail because:
>  /dev/ad0s1a  516062  505036   -30258   106%/
> ?
> 

Many administrators feel that best practice is, at installation time,
to rmdir /tmp and ln -s /var/tmp /tmp

If tmp is a symlink to /var/tmp, then no, tee will not fail.  His
/var has oodles of space.



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



Re[2]: HELP! root partition full!

2003-01-30 Thread Ben Williams
Thursday, January 30, 2003, 3:56:58 PM, you wrote:

BR> - Original Message - 
BR> From: "Jason Morgan" <[EMAIL PROTECTED]>
BR> To: <[EMAIL PROTECTED]>
BR> Sent: Thursday, January 30, 2003 8:05 AM
BR> Subject: HELP! root partition full!


>> I got a strange error from my server this morning - root partition full.
>> I then looked at my email and had this in my inbox (of course I get
>> this every day):
>> 
>> Disk status:
>> Filesystem1K-blocksUsedAvail Capacity  Mounted on
>> /dev/ad0s1a  516062  505036   -30258   106%/
>> /dev/ad2s1a  516062  117638   35714025%/rootbackup
>> procfs4   40   100%/proc
>> /dev/vinum/usr 19850256 1112316 17149920 6%/usr
>> /dev/vinum/var 235792039623 21683244 0%/var
>> /dev/vinum/public  29776085 116 27393883 0%/public
>> 
>> This was yesterday:
>> 
>> Disk status:
>> Filesystem1K-blocksUsedAvail Capacity  Mounted on
>> /dev/ad0s1a  516062  135492   33928629%/
>> /dev/ad2s1a  516062  117638   35714025%/rootbackup

>> procfs4   40   100%/proc
>> /dev/vinum/usr 19850256 1108980 17153256 6%/usr
>> /dev/vinum/var 235792039323 21683544 0%/var
>> /dev/vinum/public  29776085 116 27393883 0%/public
>> 
>> How do I determine what's going on? This is really strange.
>> 
>> Thanks,
>> 
>> Jason
>> 
>> To Unsubscribe: send mail to [EMAIL PROTECTED]
>> with "unsubscribe freebsd-questions" in the body of the message
>> 
>> 
>>

BR> Use df to find the file thats filling your root:

BR>  du -a -x /usr | sort -rn | tee /tmp/root-space

   Wont the tee will cause this to fail because:
 /dev/ad0s1a  516062  505036   -30258   106%/
?

-- 
Benmailto:[EMAIL PROTECTED]


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



Re: HELP! root partition full!

2003-01-30 Thread Beech Rintoul
- Original Message - 
From: "Jason Morgan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 30, 2003 8:05 AM
Subject: HELP! root partition full!


> I got a strange error from my server this morning - root partition full.
> I then looked at my email and had this in my inbox (of course I get
> this every day):
> 
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  505036   -30258   106%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1112316 17149920 6%/usr
> /dev/vinum/var 235792039623 21683244 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
> 
> This was yesterday:
> 
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  135492   33928629%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup

> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1108980 17153256 6%/usr
> /dev/vinum/var 235792039323 21683544 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
> 
> How do I determine what's going on? This is really strange.
> 
> Thanks,
> 
> Jason
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
>

Use df to find the file thats filling your root:

 du -a -x /usr | sort -rn | tee /tmp/root-space

Beech
---
Beech Rintoul - Network Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 
 X  - NO Word docs in e-mail | Anchorage, AK 99518-1841 
  No More Spam! http://www.knockmail.com/default.asp?AID=B0R00073
/ \ -
 



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



Re: kde+nvidia = crash

2003-01-30 Thread Antoine Jacoutot
On Thursday 30 January 2003 16:26, Lauri Watts wrote:

> I've been using the NVidia drivers since the day they were released, and
> I've never seen a KDE crash that could be attributed to them. That's
> multiple versions of -STABLE and multiple versions of KDE, everything from
> 3.0.x to KDE CVS.I have seen twice X crash entirely (and in fact,
> spontaneously reboot the machine) apparently from the nvidia drivers, but
> in both those cases I was playing movies via the tv-out port, and there was
> no window manager or desktop environment running at all.  Just X, an xterm,
> and mplayer.  If there's a bad interaction with KDE and the nvidia binary
> drivers, it apparently isn't affecting all nvidia based cards, making it
> pretty hard to work on unfortunately :(.
>
> To try:
> Does the problem go away entirely if you use the nv drivers?

I can't get it to work... maybe the installation+removal of the NVidia binary 
drivers wiped out some files... (I installed from ports)

> Does the problem go away if you switch to the "kde-classic" window
> decoration in KDE?

I'm using the KDE-classic decoration

> You'll also probably get more input by asking on [EMAIL PROTECTED]

Never though of that... thanks.

Antoine


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



Re: Modifying /etc/rc?

2003-01-30 Thread Lowell Gilbert
Chris Doherty <[EMAIL PROTECTED]> writes:

> unless I'm wrong, /etc/rc.local exists specifically so you don't have to
> modify /etc/rc. /etc/rc refers to rc.local as "traditional (but rather
> obsolete)", but nowhere in my FreeBSD travels over the past four years
> have I found any suggestion of what else you're supposed to use.

For the answer to this question, see "man rc.local".

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



Re: cvsup problem with "premature EOF from server"

2003-01-30 Thread Lowell Gilbert
yew chin <[EMAIL PROTECTED]> writes:

> Connected to cvsup14.freebsd.org
> Server software version: SNAP_16_1e

If I recall correctly, that's an out-of-date version of the server
software.  I don't see why it would cause this particular symptom, but
perhaps you should try a different server and see if the problem
occurs there too.

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



WEDELMUSIC2003 Call-for-Papers, Leeds, UK, September 2003

2003-01-30 Thread NESI
Next fortcoming events in the field of Computer Music and IT.
WEDELMUSIC2003 Call For Papers and MUSICNETWORK Open Workshop
after the exciting success of past event in Darmstadt 2002.

Sorry for multiple reception of this message.
Please distribute it to your interested colleagues.

if you would like to be removed from this list please send
an email in replay to this email putting REMOVE in the subject.

Best wishes,
Kia Ng, (WEDELMUSIC 2003, General Chair, Director of ICSRiM)
Paolo Nesi (MUSICNETWORK coordinator)

--

WEDELMUSIC-2003
===
 3rd International Conference on Web Delivering of Music
 15th - 17th September 2003
 http://www.wedelmusic.org/
 http://www.wedelmusic.org/wedelmusic2003
 [EMAIL PROTECTED], [EMAIL PROTECTED]

Co-located with 
MUSICNETWORK Open Workshop 2003
==
 17th-18 September 2003
 http://www.interactivemusicnetwork.org
 [EMAIL PROTECTED]


Both at the:

 University of Leeds Interdisciplinary Centre for
 Scientific Research in Music (ICSRiM),
 School of Music
 Leeds LS2 9JT, UK
 http://www.ICSRiM.org.uk

===
 WEDELMUSIC-2003
 CALL ___ FOR ___ PAPERS 

IMPORTANT DATES
===
 Paper submission: 28 Feb 2003
 Notification of acceptance:   30 Apr 2003
 Camera ready version: 30 May 2003

 ALL submissions and proposals should be written in English and
 submitted in PDF format via email to [EMAIL PROTECTED] by
 28th Feb 2003.
PROCEEDINGS will be published by the IEEE Computer Society.
For expositions please contact the General chair, Dr. Kia. 

WEDELMUSIC-2003 aims to explore these major topics in music-related
fields, to address novel approaches for distributing music to
larger audiences, providing wider access and encouraging broader
participation.  Legal aspects and the impact of these developments
on cultural heritage will be considered, together with their
availability to people with limited access to classical archives
and libraries. In particular, proposals and solutions benefiting
visually-impaired people are encouraged, to let everybody access
this large and hidden cultural heritage. Tools for disabled people
will contribute to broadening their music playing and enjoyment.

The conference focuses on both the challenges posed by the Internet in
its role as a major player for business changes and music
distribution, as well as opportunities as a new infrastructure for
enabling technology. In addition, this conference seeks to promote
discussion and interaction between researchers, practitioners,
developers and users of tools, technology transfer experts, and
project managers. Of particular interest is the exchange of concepts,
prototypes, research ideas, and other results which could both
contribute to the academic arena and also benefit business and the
industrial community. WEDELMUSIC-2003 will bring together a variety
of participants to address not only different technical issues, but
also the impact of Internet on the preservation of cultural heritage.


Topics of interest include, but are not restricted to, the following
aspects:
 * Protection formats and tools for music
 * Transaction models for delivering music
 * Business models for publishers
 * Legal aspects
 * Copyright ownership protection
 * Watermarking techniques for various media types
 * Formats and models for distribution
 * High quality Audio Coding
 * Music manipulation and analysis
 * Music and tools for impaired people - Braille
 * Publishers and distributors servers
 * Multimedia streaming and delivery
 * MPEG-7 and MPEG-21
 * Viewing and listening tools for music
 * Music editing and manipulation
 * Music education techniques
 * Databases for institutions: publishers, libraries, theatres, etc.
 * Content based retrieval
 * Conversion aspects, techniques and tools
 * Music imaging, music sheet digitalisation, techniques and tools
 * Music and pervasive computing
 * Music transcoding
 * Music and cultural heritage valorisation


RESEARCH PAPERS

Papers should describe original and significant work in the research
and practice of the main topics listed above. Research case studies,
applications and experiments are particularly welcome. Papers should
be limited to approx. 2000-5000 words (8 pages) in length. Of the
accepted paper, 8 pages will be published in the conference
proceedings.


SHORT PAPERS/POSTERS

Shorter research papers on work-in-progress, interim results, advanced
topic
position paper and current research initiatives are also welcome.
Submissions should be limited to approx. 2000 words (4 pages) in
length. Of
the accepted paper, 4 pages will be published in the conference
proceedings.


APPLICATIONS and INDUSTRIAL PAPERS
==
Proposals for presentations of Ap

Re: ipfw pipe TCP ?

2003-01-30 Thread Dan Nelson
In the last episode (Jan 30), Murat Bicer said:
> Can we specify what tcp ports to be sent to pipe in ipfw. Or it can
> be used only for layer 3 protocols?

Anything that can be selected via IPFW syntax can be run through a
pipe, so your answer is yes.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



re: vinum crashes machine

2003-01-30 Thread steve heistand
 It locks tight, not even anything to the console
 before it hangs ;(
 They are eide drives. I have another fileserver
 in the same type of setup (different hardware)
 and its never had a problem at all.
 
 Am trying a debug kernel, not hopeful since it
 locks up without sending any messages.
 Next will be to try a PCI eide controller
 and or using the drives individually for a bit
 to see if they are bad.
 
 thanks
 

[EMAIL PROTECTED] bounced, so sent it to the list. 
> --- "J. Seth Henry" <[EMAIL PROTECTED]> wrote:
> > I strongly suspect you have a hardware problem.
> > Either in the controller,
> > or one of the disks. It is possible that something
> > is crapping out in
> > vinum, or in the kernel, but I've dumped massive
> > amounts of data to a
> > vinum raid5 volume before, and it didn't even burp
> -
> > much less crash. I've
> > also had bad EIDE disks cause the system to panic,
> > and they weren't even
> > in a RAID configuration; just normal data drives.
> > 
> > As it is, Greg Lehey is "the man" when it comes to
> > vinum, (something about
> > writing it or other) so I'll ask the obligatory
> > questions
> > 
> > +What hardware is this (SCSI/EIDE/other?)
> > +Can you post a copy of any console messages or
> > panic info?
> > 
> > Regards,
> > Seth Henry
> > 
> > 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com


__
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



vinum write crashed machine

2003-01-30 Thread J. Seth Henry
I strongly suspect you have a hardware problem. Either in the controller,
or one of the disks. It is possible that something is crapping out in
vinum, or in the kernel, but I've dumped massive amounts of data to a
vinum raid5 volume before, and it didn't even burp - much less crash. I've
also had bad EIDE disks cause the system to panic, and they weren't even
in a RAID configuration; just normal data drives.

As it is, Greg Lehey is "the man" when it comes to vinum, (something about
writing it or other) so I'll ask the obligatory questions

+What hardware is this (SCSI/EIDE/other?)
+Can you post a copy of any console messages or panic info?

Regards,
Seth Henry



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



Re: How to set-up two 'defaultrouter' IPs?

2003-01-30 Thread Lowell Gilbert
Kevin Stevens <[EMAIL PROTECTED]> writes:

> Not multiple default routers, but multiple default routes, in this case
> two, with different metrics to control failover.  This is easy to do on
> some systems (Cisco and Solaris), not so on others.  Don't know about
> FreeBSD, but I'll take a look later if the question hasn't been answered
> already.

Okay, that makes more sense.  For that, you generally use a routing
protocol, but you need some cooperation from your service provider(s).

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



Re: Buildworld Error

2003-01-30 Thread Kent Stewart
On Thursday 30 January 2003 06:37 am, Matthew Seaman wrote:
> On Thu, Jan 30, 2003 at 09:19:20AM -0500, Justin P. Michel wrote:
> > The system in question is a lousy Cyrix 6x86 PR166+, with 64MB RAM,
> > and a 4GB HDD.  The error it shoots out is:
> >
> > --
> > cc: Internal compiler error:
> > Program cc1 got fatal signal 11
>
> That's a FAQ:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.htm
>l#SIGNAL11
>
> but considering the rest of your post and the age of your equipment,
> I'd say it's probably hardware failure.  Try running memtest86
> (http://www.memtest86.com/) against your system to see if it can
> confirm what I think.

There is nothing there at the moment. You have an empty directory for 
webalizer and that is it.

Kent

>
>   Cheers,
>
>   Matthew

-- 
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: java compiler

2003-01-30 Thread Kris Kennaway
On Thu, Jan 30, 2003 at 11:27:29AM -0600, Brian Henning wrote:
> I have heard that the new gcc compilers have the ability to compile java
> source code into a binary.
> 
> I was told all I need to do is add the flag -x java and it will work.
> 
> For example: gcc -x java HelloWorld.java
> 
> when i tried this i get the following error:
> 
> gcc: Warning: `-x java' after last input file has no effect
> 
> Where could i find some docs to get this to work?

Install a gcc port and read its documentation.

> PS. i have also heard that there is a compiler gjc that can do the same
> thing
> 
> is that a better way to solve my problem?

It's probably equivalent, but the compiler in the base system doesn't
have java support, so you need to install a gcc port to get the full
compiler suite.

Kris



msg17266/pgp0.pgp
Description: PGP signature


Re: Portupgrade can't find installed ports.

2003-01-30 Thread Kris Kennaway
On Thu, Jan 30, 2003 at 04:12:14PM +, Daniel Bye wrote:
> Hi all,
> 
> I am having problems with portupgrade and related tools on 5.0-RELEASE
> on Sparc64.  I can't find anything relevant in the archives, nor on 
> Google, so I turn to you ;-)

This question has been asked a couple of times on freebsd-sparc.
cvsup and upgrade your ruby port to 1.8 (e.g. by deinstalling it and
portupgrade and then reinstalling portupgrade).

Kris



msg17442/pgp0.pgp
Description: PGP signature


Re: help with pam at 5.0

2003-01-30 Thread Kris Kennaway
On Thu, Jan 30, 2003 at 04:01:41PM +0100, Frank Bonnet wrote:
> 
> Hi
> 
> I recently install a machine with 5.0 to test the beast
> and I've been in trouble with PAM to use it with NIS
> 
> Does anyone knows where to find some templates files
> to configure PAM with NIS , I tried some configurations
> reading man pages but no one worked.

Since you don't say what you want to use NIS for, I'll assume it's
just "password lookups".  This is handled by the pam_unix module which
is used by default.  NIS password support is set up in
/etc/nsswitch.conf (see the nsswitch.conf manpage).

Kris



msg17265/pgp0.pgp
Description: PGP signature


RE: Fixit instructions

2003-01-30 Thread JoeB
Hay aren't you forgetting the most important usage.
Use the fixit cdrom to boot small running FBSD environment so
you can restore your tape backup to the failed hard drive, or dd
your bkup image.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Meyer
Sent: Thursday, January 30, 2003 9:54 AM
To: [EMAIL PROTECTED]
Cc: Chuck Swiger; Giorgos Keramidas; [EMAIL PROTECTED]
Subject: Re: Fixit instructions

In <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] typed:
> Quoting Mike Meyer <[EMAIL PROTECTED]>:
> > You don't have to boot the fixit cd - just mount it and look.
I'm sure
> > that what you will find on the CD is a pretty complete FreeBSD
system,
> > with the layout described in the hier man page.
>
> Close, but...
> root@BAPhD ~ #ls /cdrom
> .cshrc  bin etc modules
sys
> .profilebootfilename.txtproc
tmp
> COPYRIGHT   cdrom.inf   floppiesroot
usr
> CVS-REPOcommercekernel.GENERIC  rr_moved
var
> README.TXT  dev mnt sbin
>
> Note the absence of mnt2 and stand, both of which I was aked to
examine.  Those
> directories are set up on booting the cdrom and entering Fixit
mode.
> bin, sbin and usr/bin on the cd are indeed readable ( and
extensive) directly
> from the CD.

Right. Those aren't on the fixit disk, they are on the root file
system used by the boot process. That's a stripped system file
system
used for installing FreeBSD. It mounts the fixit cdrom to give you
the
rest of the FreeBSD world.

> I don't mean to be difficult or over-demanding about this,
especially to people
> who are offering help, but what I was expecting was trhat some
helpful guru
> would have prepared a "Fixit Handbook" which might have chapters
like "Repairing
> a corrupt partition table" and "Restoring a lost directory" and
...  whatever.
>  Perhaps the book Chuck suggested would do that.

If such a book exists, I don't know about it. Part of the problem is
that the commands for this only exist at two levels: the
straightforward (you want fsck), and the incredibly baroque world of
hex file editors that you're going to point at the disk. One handles
all the cases you are liable to run into in real life. The other
requires an intimate knowledge of the on-disk file structure, and a
hex calculator - and even then what you are doing is incredibly
risky.

> Reading man pages doesn't tell me with any clarity which commands
go with what
> do do something.  One really needs far more knowledge than I have
to make sense
> of it all.

On the other hand, a "reading guide" might do a lot of good, and
makes
a lot of sense. Something that says things like "For problems with
DOS
partitions (aka slices), see fdisk(8), boot0cfg(8) and
/usr/include/sys/disklabel.h. For problems with FreeBSD partitions,
see disklabel(8) and /usr/include/sys/disklabel.h. For problems with
the file system, see fsck(8), /usr/include/ufs/ufs/dinode.h and
/usr/include/ufs/ufs/dir.h."

Come to think of it, about the only reason one should be mounting
the
fixit CDROM is because your root file system is screwed. I think I
just covered everything you need to know about fixing broken file
systems.

The problem is, that's not complete. You may need to know how to
create dev entries - at least on 4.7. You'll want to know about
mount
in order to mount working file systems, and to check the broken file
system once you've fixed it. If the breakage causes you to change
what's mounted where, I tend to fix that in fixit mode with ed, so
you
may want to know about that.

Maybe what's needed is an "Essential BSD commands" handbook entry,
that covers the lists the commands available in Fixit mode that are
actually useful for fixing a broken system?


http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more
information.

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: ssh question

2003-01-30 Thread Daniel Bye
On Thu, Jan 30, 2003 at 12:46:30PM -0500, Tyler Parrott wrote:
> Hello all,
> 
>  I was just in the process of compiling something through ssh(i.e. I
> ssh'd to my machine at home and ran make install) but during the
> compilation, my ssh client crashed.  Does that mean that my build was
> killed as well?

I'm afraid so.  screen (in the ports) may be of interest to help you
avoid this in future.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



ssh question

2003-01-30 Thread Tyler Parrott
Hello all,

 I was just in the process of compiling something through ssh(i.e. I
ssh'd to my machine at home and ran make install) but during the
compilation, my ssh client crashed.  Does that mean that my build was
killed as well?

Thanks
Tyler



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



Re: Gaim and Gnome panel

2003-01-30 Thread Joe Marcus Clarke
On Thu, 2003-01-30 at 12:29, Chris wrote:
> I upgraded to the new version of gaim, 0.59.8.  However, when I try and 
> run gaim now I get the error message:
> 
> The GNOME panel is not running.
> 
> I'm running FreeBSD 4.7 and using Afterstep as the windows manager. 
>  Does gaim now only work with Gnome or is something else going on?

gaim will attempt to use GNOME if it exists.  If you have WITH_GNOME set
in /etc/make.conf, or if you have GNOME 1.4 installed, gaim will install
itself with GNOME support.  You can override this by doing:

# make WITHOUT_GNOME=libpanel

When you build gaim.  This will disable panel support while retaining
esound support.  If you don't want any GNOME support, build gaim using:

# make -DWITHOUT_GNOME

Joe

> 
> Thanks,
> Chris
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc





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


Gaim and Gnome panel

2003-01-30 Thread Chris

I upgraded to the new version of gaim, 0.59.8.  However, when I try and 
run gaim now I get the error message:

The GNOME panel is not running.

I'm running FreeBSD 4.7 and using Afterstep as the windows manager. 
Does gaim now only work with Gnome or is something else going on?

Thanks,
Chris


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


java compiler

2003-01-30 Thread Brian Henning
I have heard that the new gcc compilers have the ability to compile java
source code into a binary.

I was told all I need to do is add the flag -x java and it will work.

For example: gcc -x java HelloWorld.java

when i tried this i get the following error:

gcc: Warning: `-x java' after last input file has no effect

Where could i find some docs to get this to work?

Thanks,

Brian

PS. i have also heard that there is a compiler gjc that can do the same
thing

is that a better way to solve my problem?

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



libjpeg linking problem plaguing me from 4.3 to 4.7

2003-01-30 Thread Zeno Lee
My system:
FreeBSD 4.7-RELEASE (Nov 2002) on i386

>From FreeBSD 4.3 to CVSup updates to 4.7, I have had a constant problem with
my libjpeg (jpeg-6b_1 ) library.

Several ports that link /usr/local/lib/libjpeg.a during build complain of
multiply defined definitions:

CASE 1:  make install of gnucash via /usr/ports/graphics/gdk-pixbuf
dependency

cc -shared  io-jpeg.lo -Wl,--whole-archive /usr/local/lib/libjpeg.a
/usr/local/lib/libjpeg.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/ports/
graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/gdk-pixbuf/.libs -Wl,--rpath -Wl,
/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/local/lib
./.libs/libgdk_pixbuf.so -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext 
-lX11 -lm -ltiff
/usr/local/lib/libjpeg.a -lpng -lz   -Wl,-E -Wl,-soname -Wl,libpixbufloader-
jpeg.so -o .libs/libpixbufloader-jpeg.so
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_CreateCompress':
jcapimin.o(.text+0x0): multiple definition of `jpeg_CreateCompress'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x0): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_destroy_compress':
jcapimin.o(.text+0x108): multiple definition of `jpeg_destroy_compress'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x108): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_abort_compress':
jcapimin.o(.text+0x11c): multiple definition of `jpeg_abort_compress'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x11c): first defined here
...
etc.


CASE 2:  make install of umbrello via /usr/ports/audio/arts dependency

gmake[2]: Entering directory `/usr/ports/audio/arts/work/arts-1.1/mcop'
/bin/sh ../libtool --silent --mode=link --tag=CXX
c++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-
arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe 
-fno-exceptions -fno-check-new  -ftemplate-depth-99-o libmcop.la -rpath
/usr/local/lib -no-undefined -version-info 1:0 buffer.lo connection.lo
core.lo dispatcher.lo iomanager.lo object.lo socketconnection.lo
tcpconnection.lo unixconnection.lo tcpserver.lo unixserver.lo
objectmanager.lo factory.lo idlfilereg.lo ifacerepo_impl.lo mcoputils.lo
startupmanager.lo md5.lo md5auth.lo referenceclean.lo datapacket.lo
asyncstream.lo notification.lo flowsystem.lo extensionloader.lo
tmpglobalcomm.lo mcopconfig.lo connect.lo reference.lo type.lo
trader_impl.lo dynamicrequest.lo anyref.lo loopback.lo debug.lo
delayedreturn.lo thread.lo dynamicskeleton.lo

../libltdl/libltdlc.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib
 -ljpeg  -L/usr/X11R6/lib
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_CreateCompress':
jcapimin.o(.text+0x0): multiple definition of `jpeg_CreateCompress'
../libltdl/.libs/libltdlc.a(jcapimin.o)(.text+0x0): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_destroy_compress':
jcapimin.o(.text+0x108): multiple definition of `jpeg_destroy_compress'
../libltdl/.libs/libltdlc.a(jcapimin.o)(.text+0x108): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_abort_compress':
jcapimin.o(.text+0x11c): multiple definition of `jpeg_abort_compress'
...
etc.

I've tried removing and reinstalling libjpeg
I've tried modifying and removing /etc/ld.so.conf
But the problem just does not go away.

Has anyone clues or suggestions on where to look for this?  Does
/etc/make.conf have anything to do with this?  gmake? libtool? autoconf?

I must have modified something between 4.3 and 4.7 that affected the
behavior of how my ports build and link with libjpeg.  Exhaustive searches
of archived questions bring up nothing of this problem.

Any hints on where to look will help.

Zeno


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



Re: HELP! root partition full!

2003-01-30 Thread Jim Trigg
On Thu, Jan 30, 2003 at 12:05:50PM -0500, Jason Morgan wrote:
> I got a strange error from my server this morning - root partition full.
> I then looked at my email and had this in my inbox (of course I get
> this every day):
> 
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  505036   -30258   106%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1112316 17149920 6%/usr
> /dev/vinum/var 235792039623 21683244 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
> 
> How do I determine what's going on? This is really strange.

First guess is that something large was put into /tmp by a root-owned
process.  Clean out /tmp and see what df looks like then.

Jim
-- 
Jim Trigg, Lord High Everything Else  O-  /"\
  \ /  ASCII RIBBON CAMPAIGN
Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL
Verger, All Saints Church - Sharon Chapel / \

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



Re: Modifying /etc/rc?

2003-01-30 Thread Giorgos Keramidas
On 2003-01-30 08:40, Chris Doherty <[EMAIL PROTECTED]> wrote:
> unless I'm wrong, /etc/rc.local exists specifically so you don't
> have to modify /etc/rc. /etc/rc refers to rc.local as "traditional
> (but rather obsolete)", but nowhere in my FreeBSD travels over the
> past four years have I found any suggestion of what else you're
> supposed to use.

The /etc/rc.local script was where local daemon startup was put.  With
most of the ports installed stuff, there is a foo.sh script that
accepts `start' and `stop' arguments that one can put in the
/usr/local/etc/rc.d directory.  This tends to be the preferred way of
doing things for pre RCng versions.  The 5.X version of FreeBSD uses
the new rc scripts (RCng) that live in /etc/rc.d and now there is the
new /etc/rc.d/local scripts that fits nicely with the rest of the
stuff under /etc/rc.d.


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



Re: HELP! root partition full!

2003-01-30 Thread Jeff Jirsa
On Thu, 30 Jan 2003, Jason Morgan wrote:

> I got a strange error from my server this morning - root partition full.
> I then looked at my email and had this in my inbox (of course I get
> this every day):
>
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  505036   -30258   106%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1112316 17149920 6%/usr
> /dev/vinum/var 235792039623 21683244 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
>
> This was yesterday:
>
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  135492   33928629%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1108980 17153256 6%/usr
> /dev/vinum/var 235792039323 21683544 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
>
> How do I determine what's going on? This is really strange.
>


You can use `du` to find out which directories in the / partition are
using the diskspace. Specifically, /etc, /root, /bin, /sbin, and /tmp are
worth checking.

Have you done anything as root in the last day or two? Specifically,
installing Perl modules creates temp directories and a lot of temporary
files used to build the modules, and has been the source of this kind of
problem for other people for quite some time.

- Jeff Jirsa


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



Couple more tidbits of info

2003-01-30 Thread Jason Morgan
>From top:
PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
68  root  50   0  9832K  9580K RUN 18.4H 37.26% 37.26% natd

That's really high.

>From ipfw show:

00050 23364131 1766791991 divert 8668 ip from any to any via dc0
0010016354 658880 allow ip from any to any via lo0
002000  0 deny ip from any to 127.0.0.0/8
003008224 deny ip from 127.0.0.0/8 to any
00400   34   1480 deny tcp from any to any 3306
65000 25179749 2787509437 allow ip from any to any
655350  0 deny ip from any to any


I had just implemented the firewall and I was going to finish the
ruleset today. Is it possibly logging to the root partition and not
/var?

The amount of traffic also seems really high.

Jason





On Thu, Jan 30, 2003 at 12:05:50PM -0500, Jason Morgan wrote:
> I got a strange error from my server this morning - root partition full.
> I then looked at my email and had this in my inbox (of course I get
> this every day):
> 
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  505036   -30258   106%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1112316 17149920 6%/usr
> /dev/vinum/var 235792039623 21683244 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
> 
> This was yesterday:
> 
> Disk status:
> Filesystem1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a  516062  135492   33928629%/
> /dev/ad2s1a  516062  117638   35714025%/rootbackup
> procfs4   40   100%/proc
> /dev/vinum/usr 19850256 1108980 17153256 6%/usr
> /dev/vinum/var 235792039323 21683544 0%/var
> /dev/vinum/public  29776085 116 27393883 0%/public
> 
> How do I determine what's going on? This is really strange.
> 
> Thanks,
> 
> Jason
> 
> 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: Why no /dev/one?

2003-01-30 Thread Jan Grant
On Thu, 30 Jan 2003, Mike Meyer wrote:

> In <[EMAIL PROTECTED]>, Ruben de Groot <[EMAIL PROTECTED]> typed:
> > And while you're at it, what about /dev/yes and /dev/no to automate
> > interactive scripts. Or, if you like the challenge, a /dev/fibonacci
> > and a /dev/pi would be very welcome :)
>
> Yes, but is /dev/pi a suitable substite for /dev/random if you seek
> far enough into it?

Only if you don't tell anyone exactly how far you're seeking, and if you
permit arbitrarily large file offsets. In that case, it's a source of
randomness (in that an observer who didn't know the file offset couldn't
predict with 100% accuracy the next digit)


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
"Roger Penrose can never be convinced that this sentence is true."
(If he doesn't get the joke, you can at least prove that he owes you money.)


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



Re: writing to vinum volume causes crash

2003-01-30 Thread Matthew Seaman
On Thu, Jan 30, 2003 at 06:55:50AM -0800, steve heistand wrote:
> (I first sent this to [EMAIL PROTECTED]
> which isnt what I wanted. I think. sorry if there is
> 2)

No, you were right first time.  [EMAIL PROTECTED] and
[EMAIL PROTECTED] are two names for the same list
 
> I have a machine running 4.7-release (possibly and old
> build) with 4 disks I am using vinum to make a raid5
> volume out of.  When I write large amounts of data
> to it the machine crashes.
> I can dd one big file and it crashes at 154M,
> if I copy in smaller files it dies around 100M
> (varies)

Have you looked at the http://www.vinumvm.org/vinum/how-to-debug.html
page?  It's going to be practically impossible to help you unless you
can supply a whole lot more detailed information about what's gone
wrong.  You'll probably find these articles helpful too:

http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html
http://www.onlamp.com/pub/a/bsd/2002/04/04/Big_Scary_Daemons.html

Cheers,

Matthew

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

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



HELP! root partition full!

2003-01-30 Thread Jason Morgan
I got a strange error from my server this morning - root partition full.
I then looked at my email and had this in my inbox (of course I get
this every day):

Disk status:
Filesystem1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a  516062  505036   -30258   106%/
/dev/ad2s1a  516062  117638   35714025%/rootbackup
procfs4   40   100%/proc
/dev/vinum/usr 19850256 1112316 17149920 6%/usr
/dev/vinum/var 235792039623 21683244 0%/var
/dev/vinum/public  29776085 116 27393883 0%/public

This was yesterday:

Disk status:
Filesystem1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a  516062  135492   33928629%/
/dev/ad2s1a  516062  117638   35714025%/rootbackup
procfs4   40   100%/proc
/dev/vinum/usr 19850256 1108980 17153256 6%/usr
/dev/vinum/var 235792039323 21683544 0%/var
/dev/vinum/public  29776085 116 27393883 0%/public

How do I determine what's going on? This is really strange.

Thanks,

Jason

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



Re: Modifying /etc/rc?

2003-01-30 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Chris Doherty 
<[EMAIL PROTECTED]> typed:
> unless I'm wrong, /etc/rc.local exists specifically so you don't have to
> modify /etc/rc. /etc/rc refers to rc.local as "traditional (but rather
> obsolete)", but nowhere in my FreeBSD travels over the past four years
> have I found any suggestion of what else you're supposed to use.

What obsoletes /etc/rc.local is /usr/local/etc/rc.d. Server startup
scripts and the like used to be bodily added to /etc/rc.local. These
days, they go into /usr/local/etc/rc.d as separate scripts.

That's also the correct solution for this case. Instead of trying to
use the vnc script directly, use a script that sets the path and then
invokes vnc.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: Modifying /etc/rc?

2003-01-30 Thread Chris Doherty
On Thu, Jan 30, 2003 at 02:49:07PM +0700, Roger Merritt said: 
> Now, it seems to me that modifying the vncserver script is not elegant. I 
> don't think it's a good idea for me to make *any* modifications to 
> something that somebody else wrote, even when the code is as clear and easy 
> to understand as in this case. Besides, what if I upgrade and forget to 
> check if that file has changed? I could change the PATH variable to add 
> /usr/X11R6/bin in my rc.d script. This sounds like a better idea to me.

/etc/rc is also something that somebody else wrote.

> How about making a change to /etc/rc? Is this a Bad Idea (tm)? I'm sure 
> there's a reason /usr/X11R6/bin isn't in the path set in that script. So 
> far I haven't made an /etc/rc.local and I don't want to. The obvious 
> argument against modifying /etc/rc is that it will add another merging 
> operation to mergemaster whenever I upgrade. Is this kind of modification 
> suitable for putting in /etc/rc.conf?

unless I'm wrong, /etc/rc.local exists specifically so you don't have to
modify /etc/rc. /etc/rc refers to rc.local as "traditional (but rather
obsolete)", but nowhere in my FreeBSD travels over the past four years
have I found any suggestion of what else you're supposed to use.

I may not be understanding the problem you're trying to solve.

HTH,
Chris


---
Chris Doherty
chris [at] randomcamel.net

"I think," said Christopher Robin, "that we ought to eat
all our provisions now, so we won't have so much to carry."
   -- A. A. Milne
---

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



Portupgrade can't find installed ports.

2003-01-30 Thread Daniel Bye
Hi all,

I am having problems with portupgrade and related tools on 5.0-RELEASE
on Sparc64.  I can't find anything relevant in the archives, nor on 
Google, so I turn to you ;-)

When invoked in the usual manner, portinstall cannot search the ports
directory structure (or so it seems to me):

[osiris: root: /usr/ports]# portinstall -R exim
** No such installed package nor such port called 'exim' is found.


But, if I supply the subdir name, portinstall finds the port:

[osiris: root: /usr/ports]# portinstall -R mail/exim
--->  Installing 'exim-4.12_1' from a port (mail/exim)
--->  Building '/usr/ports/mail/exim'
===>  Cleaning for perl-5.6.1_11
===>  Cleaning for exim-4.12_1
...


portupgrade has problems, too, apparently reading /var/db/pkg:

[osiris: root: ~]# portupgrade -a
** No such package '*' is installed.


I have the latest versions of Ruby and Portupgrade, and the pkgtools.conf
is unaltered.

I don't have any problems with the same versions of Ruby and Portupgrade
on any of my i386 boxes.

I seem to recall similar behaviour on 4.X/i386 a while ago, but didn't
pursue it.  Anyone else see anything similar on either i386 or Sparc64?
Any ideas how to correct it?  I have had a quick look through the
script files, but it's all Greek to me...

As always, any insights, thoughts or pointers very gratefully accepted.
Flames too, if this has been answered recently and I just missed it...

Cheers,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



Adding /usr/X11R6/bin to the /etc/rc PATH (was: Re: Why no /dev/one?)

2003-01-30 Thread Giorgos Keramidas
On 2003-01-30 17:22, Roger Merritt <[EMAIL PROTECTED]> wrote:
> As I've asked in a separate question to the list, would adding
> /usr/X11R6/bin to the PATH statement in /etc/rc be a Bad Idea (tm)?

Yes, it would be a bad idea.

Is there need for anything under /usr/X11R6/bin while booting the
system?  If there isn't, then adding a path in /etc/rc that might
conflict with real executables and possibly hide problems if a program
happens to have the same name with something under the current PATH
but works differently, is a bad idea and a bug waiting to happen.

BTW: Please don't hijack irrelevant threads and ask something that is
not related to the original topic without changing the subject.  It
makes it difficult to sort through the original thread in most mailers.

Regards,
- Giorgos


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



Re: Why no /dev/one?

2003-01-30 Thread Giorgos Keramidas
On 2003-01-30 16:13, Ruben de Groot <[EMAIL PROTECTED]> wrote:
>On Thu, Jan 30, 2003 at 11:53:05AM +, Jan Grant typed:
>>On Thu, 30 Jan 2003, Darren Pilgrim wrote:
>>>Giorgos Keramidas wrote:
 On 2003-01-30 00:25, Darren Pilgrim  wrote:
> Why isn't there a /dev/one device to provide an infinite number of
> all-ones bytes?

 Because it's easy to get any sequence of equal bytes by using just
 /dev/zero and tr(1).  Try this command and check the output of hd(1)
 :-)

 $ dd if=/dev/zero bs=512 count=1 | tr '\0' '\777' | hd
>>>
>>>What I was trying to get at was more a question of if there's some deep
>>>technical reason for the lack of a /dev/one beyond the triviality of
>>>flipping the bits in a pipe.
>>
>> Nobody's implemented it. It'd be trivial; but why would you want it?

That's a good reason.  Nobody has written one, because nobody thought
there would be a good reason to have one.  Of course, patches that
implement something like that are always ok.  But then we'd have to
write kernel drivers for /dev/two, /dev/three and /dev/one-million-six
too and that's not a good idea :-(

> And while you're at it, what about /dev/yes and /dev/no to automate
> interactive scripts. Or, if you like the challenge, a /dev/fibonacci
> and a /dev/pi would be very welcome :)

Argh no! :P

This is even more easy with yes(1)

$ yes 'custom text' | head -3
custom text
custom text
custom text
$

/me hides in a corner to save himself from the evil tomatoes that are
probably heading his way by now :)


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



No traffic on incoming PPP connections

2003-01-30 Thread Carlos Carnero
Hi,

I've been toying with my test FreeBSD server
(4.7-RELEASE-p3) to try to set up a plain old PPP
server. I'm at a point where the modem answers, the
connection goes up (i.e. the caller gets an IP number)
but there's no traffic.

Below you can find the files I changed in order to get
that setup working, but I don't know what am I missing
(and I am under the impression that's something so
simple that's embarrasing.) BTW, I'm using
mgetty+sendfax to answer the phone and no PAP nor
CHAP, just passwd authentication.

/etc/ppp/ppp.conf:

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \
   \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180# 3 minute idle timer (the default)
 enable dns# request DNS info (for resolv.conf)
 enable proxy
 set ifaddr 192.168.250.254
---> cont'd  192.168.250.250-192.168.250.253

cuaa0:
 allow users texel tony
 set ifaddr 192.168.250.254 192.168.250.253
 enable proxy
 enable passwdauth
 accept dns
 set dns 192.168.250.1
 set nbns 192.168.250.20
 set mppe


/usr/local/etc/mgetty+sendfax/mgetty.config:

port cuaa0
debug 4
fax-id 00 00 00
speed 115000
direct NO
blocking NO
port-owner uucp
port-group dialer
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only YES
fax-only NO
modem-type auto
init-chat "" ATS0=0V1E1Q0&D3&C1&H3&N0 OK
modem-check-time 3600
rings 1
answer-chat "" ATA CONNECT \c \r
answer-chat-timeout 80
autobauding NO
ringback NO
ringback-time 30
ignore-carrier false
issue-file /etc/issue
prompt-waittime 500
login-prompt @!login: 
login-time 240
diskspace 1024
notify faxadmin
fax-owner uucp
fax-group modem
fax-mode 0660


/usr/local/etc/mgetty+sendfax/login.config:

/AutoPPP/ - - /etc/ppp/ppp-incoming

and finally, /etc/ppp/ppp-incoming:

#!/bin/sh

exec /usr/sbin/ppp -direct $IDENT

What am I doing wrong?

Best regards, and thanks for yer time,
Carlos.

__
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: Why no /dev/one?

2003-01-30 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Ruben de Groot <[EMAIL PROTECTED]> typed:
> And while you're at it, what about /dev/yes and /dev/no to automate 
> interactive scripts. Or, if you like the challenge, a /dev/fibonacci
> and a /dev/pi would be very welcome :)

Yes, but is /dev/pi a suitable substite for /dev/random if you seek
far enough into it?

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: Webmail2

2003-01-30 Thread Marcio Merlone
Em Thu, 30 Jan 2003 15:41:16 +0100 (CET), Gannater János
<[EMAIL PROTECTED]> escreveu:

> Do you know any webmail program that uses pop3 not imap and
> uses php. I don't want any cgi or mysql


nocc

--

Marcio Merlone


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



Re: kde+nvidia = crash

2003-01-30 Thread Lauri Watts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 30 January 2003 16:09, Antoine Jacoutot wrote:
> Hi !
>
> I'm under FreeBSD-4.7-STABLE with the NVidia proprietary binary drivers.
> I was running KDE 3.05 and I'm now running 3.1 which I though would fix my
> problem... but no !
> Here it is: often when I close Konsole, Kmail... and some other KDE apps, I
> get a crash. Here is the backtrace:
>
> 0x29230cb8 in __sys_poll () from /usr/lib/libc_r.so.4
> #0  0x29230cb8 in __sys_poll () from /usr/lib/libc_r.so.4
> #1  0x2923019d in _thread_kern_sched_state_unlock () from
> /usr/lib/libc_r.so.4 #2  0x2922fb52 in _thread_kern_scheduler () from
> /usr/lib/libc_r.so.4 #3  0x0 in ?? ()

Unfortunately, this backtrace is not much use, and the information it contains 
is mostly rubbish.

> I looked in the archives and on Google and found that people had similar
> problem with NVidia+KDE, but they were running 4.7-RELEASE.
> Is it normal that under 4.7-STABLE, the problem still occurs ?

I've been using the NVidia drivers since the day they were released, and I've 
never seen a KDE crash that could be attributed to them. That's multiple 
versions of -STABLE and multiple versions of KDE, everything from 3.0.x to 
KDE CVS.I have seen twice X crash entirely (and in fact, spontaneously 
reboot the machine) apparently from the nvidia drivers, but in both those 
cases I was playing movies via the tv-out port, and there was no window 
manager or desktop environment running at all.  Just X, an xterm, and 
mplayer.  If there's a bad interaction with KDE and the nvidia binary 
drivers, it apparently isn't affecting all nvidia based cards, making it 
pretty hard to work on unfortunately :(.

To try:
Does the problem go away entirely if you use the nv drivers?
Does the problem go away if you switch to the "kde-classic" window decoration 
in KDE?

You'll also probably get more input by asking on [EMAIL PROTECTED]

Regards,
- -- 
Lauri Watts
KDE Documentation: http://i18n.kde.org/doc/
KDE on FreeBSD: http://freebsd.kde.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+OUQr/gUyA7PWnacRAqZqAKCFZd2gHP05JrlsS8TrbutIE3G1KACcC64p
rBGJvZcbgK9x+Ka3tUqXLNU=
=wIKB
-END PGP SIGNATURE-


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



Re: Why no /dev/one?

2003-01-30 Thread Ruben de Groot
On Thu, Jan 30, 2003 at 11:53:05AM +, Jan Grant typed:
> On Thu, 30 Jan 2003, Darren Pilgrim wrote:
> 
> > Giorgos Keramidas wrote:
> > > On 2003-01-30 00:25, Darren Pilgrim  wrote:
> > >
> > >> Why isn't there a /dev/one device to provide an infinite number of
> > >> all-ones bytes?
> > >
> > >
> > > Because it's easy to get any sequence of equal bytes by using just
> > > /dev/zero and tr(1).  Try this command and check the output of hd(1)
> > > :-)
> > >
> > > $ dd if=/dev/zero bs=512 count=1 | tr '\0' '\777' | hd
> >
> > What I was trying to get at was more a question of if there's some deep
> > technical reason for the lack of a /dev/one beyond the triviality of
> > flipping the bits in a pipe.
> 
> Nobody's implemented it. It'd be trivial; but why would you want it?

And while you're at it, what about /dev/yes and /dev/no to automate 
interactive scripts. Or, if you like the challenge, a /dev/fibonacci
and a /dev/pi would be very welcome :)

> 
> -- 
> jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
> Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
> I am now available for general use under a modified BSD licence.
> 
> 
> 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: CD installation problem

2003-01-30 Thread Mike Meyer
In <[EMAIL PROTECTED]>, David Larkin <[EMAIL PROTECTED]> typed:
> I was wondering if any subscibers to this list recognise the
> following problem.
> 
> I just purchased 2 identical machines and I am looking to install 4.7
> from CD.
[...]
> It then formats the hard disk ok, but reports
> 
> acd0: TEST_UNIT_READY command timeout - resetting
> ata1: resetting devices .. done
> ( The message repeats itself many times.)
> 
> finally it gives up and gives error message
> 
> Error mounting /dev/acd0c on dist Input/Output Error(5)
> 
> Any ideas why it should boot from CD, but not then recognise it ?

I'm taking a shot in the dark, but is the CD on the secondary
controller as a slave, and there's no master on that controller? That
configuration causes problems for FreeBSD. I'm not sure it would cause
the timeouts you are seeing, but it does cause FreeBSD to fail to
recognize drives.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: How to use Port Collection without cd-rom and internet

2003-01-30 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Dan Pelleg <[EMAIL PROTECTED]> typed:
> Konrad Heuer <[EMAIL PROTECTED]> writes:
> 
> > On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:
> > 
> > > Hi,
> > >
> > > I have access to the net only from Windows 98 and want to take advantage
> > > of all the ported apps, but I dont have the sources on cd. Is there a
> > > way (and where) to download the ported tgz files? I have installed the
> > > Port Collection and just need the right sources.
> > >
> > > Any help on this subject would be very welcome!
> > > Scottman
> > 
> > After fetching the source packages manually you must copy them to the
> > /usr/ports/distfiles directory; some ports use specific subdirectories
> > within /usr/ports/distfiles.
> > 
> 
> And to get the list of files to download do a "make fetch-list" in the
> right directory.

Try "make fetch-recursive-list" to get a list of the files to download
for that port and all of it's dependencies.

I'd also recommend installing from packages whenever possible in that
situation. You can get a list of the packages that a port depends on
with "make package-depends-list".

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



kde+nvidia = crash

2003-01-30 Thread Antoine Jacoutot
Hi !

I'm under FreeBSD-4.7-STABLE with the NVidia proprietary binary drivers.
I was running KDE 3.05 and I'm now running 3.1 which I though would fix my 
problem... but no !
Here it is: often when I close Konsole, Kmail... and some other KDE apps, I 
get a crash. Here is the backtrace:

0x29230cb8 in __sys_poll () from /usr/lib/libc_r.so.4
#0  0x29230cb8 in __sys_poll () from /usr/lib/libc_r.so.4
#1  0x2923019d in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4
#2  0x2922fb52 in _thread_kern_scheduler () from /usr/lib/libc_r.so.4
#3  0x0 in ?? ()

I looked in the archives and on Google and found that people had similar 
problem with NVidia+KDE, but they were running 4.7-RELEASE.
Is it normal that under 4.7-STABLE, the problem still occurs ?

Thanks in advance for any hints.

Antoine


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



help with pam at 5.0

2003-01-30 Thread Frank Bonnet

Hi

I recently install a machine with 5.0 to test the beast
and I've been in trouble with PAM to use it with NIS

Does anyone knows where to find some templates files
to configure PAM with NIS , I tried some configurations
reading man pages but no one worked.

Thanks

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



writing to vinum volume causes crash

2003-01-30 Thread steve heistand
(I first sent this to [EMAIL PROTECTED]
which isnt what I wanted. I think. sorry if there is
2)

I have a machine running 4.7-release (possibly and old
build) with 4 disks I am using vinum to make a raid5
volume out of.  When I write large amounts of data
to it the machine crashes.
I can dd one big file and it crashes at 154M,
if I copy in smaller files it dies around 100M
(varies)

Any thoughts on why this might be happening?

Having a large filesystem I cant write to isnt doing
me any good.

thanks

steve


__
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: Fixit instructions

2003-01-30 Thread Mike Meyer
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed:
> Quoting Mike Meyer <[EMAIL PROTECTED]>:
> > You don't have to boot the fixit cd - just mount it and look. I'm sure
> > that what you will find on the CD is a pretty complete FreeBSD system,
> > with the layout described in the hier man page.
> 
> Close, but...
> root@BAPhD ~ #ls /cdrom
> .cshrc  bin etc modules sys
> .profilebootfilename.txtproctmp
> COPYRIGHT   cdrom.inf   floppiesrootusr
> CVS-REPOcommercekernel.GENERIC  rr_movedvar
> README.TXT  dev mnt sbin
> 
> Note the absence of mnt2 and stand, both of which I was aked to examine.  Those
> directories are set up on booting the cdrom and entering Fixit mode.
> bin, sbin and usr/bin on the cd are indeed readable ( and extensive) directly
> from the CD.

Right. Those aren't on the fixit disk, they are on the root file
system used by the boot process. That's a stripped system file system
used for installing FreeBSD. It mounts the fixit cdrom to give you the
rest of the FreeBSD world.

> I don't mean to be difficult or over-demanding about this, especially to people
> who are offering help, but what I was expecting was trhat some helpful guru
> would have prepared a "Fixit Handbook" which might have chapters like "Repairing
> a corrupt partition table" and "Restoring a lost directory" and ...  whatever. 
>  Perhaps the book Chuck suggested would do that.

If such a book exists, I don't know about it. Part of the problem is
that the commands for this only exist at two levels: the
straightforward (you want fsck), and the incredibly baroque world of
hex file editors that you're going to point at the disk. One handles
all the cases you are liable to run into in real life. The other
requires an intimate knowledge of the on-disk file structure, and a
hex calculator - and even then what you are doing is incredibly risky.

> Reading man pages doesn't tell me with any clarity which commands go with what
> do do something.  One really needs far more knowledge than I have to make sense
> of it all.

On the other hand, a "reading guide" might do a lot of good, and makes
a lot of sense. Something that says things like "For problems with DOS
partitions (aka slices), see fdisk(8), boot0cfg(8) and
/usr/include/sys/disklabel.h. For problems with FreeBSD partitions,
see disklabel(8) and /usr/include/sys/disklabel.h. For problems with
the file system, see fsck(8), /usr/include/ufs/ufs/dinode.h and
/usr/include/ufs/ufs/dir.h."

Come to think of it, about the only reason one should be mounting the
fixit CDROM is because your root file system is screwed. I think I
just covered everything you need to know about fixing broken file
systems.

The problem is, that's not complete. You may need to know how to
create dev entries - at least on 4.7. You'll want to know about mount
in order to mount working file systems, and to check the broken file
system once you've fixed it. If the breakage causes you to change
what's mounted where, I tend to fix that in fixit mode with ed, so you
may want to know about that.

Maybe what's needed is an "Essential BSD commands" handbook entry,
that covers the lists the commands available in Fixit mode that are
actually useful for fixing a broken system?

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Webmail2

2003-01-30 Thread Gannater János
Do you know any webmail program that uses pop3 not imap and
uses php. I don't want any cgi or mysql




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



vinum write crashed machine

2003-01-30 Thread steve heistand
Hi folks,

I am using vinum to make a nice raid5 collection
out of 4 disks on a machine running 4.7-release.
although probably a somewhat old build of 4.7.
When I write a large amount of data to the volume
the machine locks up.  The exact amount varies a
little
by the way files are put onto the volume.
For example I can dd one large file and it crashes
at 154M. It can die at around 100M if its a number
of files that are being copied onto it.
Am at a loss but have a nice big filesystem I cant
write
to isnt doing me any good.

thanks



__
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: Buildworld Error

2003-01-30 Thread Matthew Seaman
On Thu, Jan 30, 2003 at 09:19:20AM -0500, Justin P. Michel wrote:

> The system in question is a lousy Cyrix 6x86 PR166+, with 64MB RAM, and a
> 4GB HDD.  The error it shoots out is:
> 
> --
> cc: Internal compiler error:
> Program cc1 got fatal signal 11

That's a FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#SIGNAL11

but considering the rest of your post and the age of your equipment,
I'd say it's probably hardware failure.  Try running memtest86
(http://www.memtest86.com/) against your system to see if it can
confirm what I think.

Cheers,

Matthew


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

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



Re: A question asked many times-

2003-01-30 Thread Thaddeus Quintin
This was the perfect answer!

I wasn't sure if "meta" was something that would be recognized in the 
keymap files, but it worked like a charm.

Rather than edit the file by hand, it was easer to do-

sed 's/lalt/meta/g' us.iso.kbd > local.kbd

Gotta utilize those UNIX tools!

Thanks a lot
Thaddeus
I would like to map my "alt" keys to be "meta" keys.  Is there any
reason why I shouldn't do that?  Is there a better/different
solution?  Using ESC just doesn't cut it...


Copy the file /usr/share/syscons/keymaps/us.iso.kbd to a different
name, like /usr/share/syscons/keymaps/local.kbd.  Then open local.kbd
with an editor and replace all instances of `lalt' with `meta'
(without quotes).  This will make the left ALT key work as META.  Load
the new keymap with:

	# kbdcontrol -l local.kbd

To make "local.kbd" the default keymap at boot time, set
keymap="local" in your /etc/rc.conf file.

You can also map the right ALT key to META if you change `ralt' to
`meta', but I don't suggest switching both left and right ALT keys to
META since that would make switching consoles a bit difficult.



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



Buildworld Error

2003-01-30 Thread Justin P. Michel
Greetings

I've installed using FreeBSD 4.7-R ISO's, and have done so on various
machines without err.  Then, yesterday, one machine, after doing a cvsup to
latest 4.7-R src updates, errored out on the buildworld.

The system in question is a lousy Cyrix 6x86 PR166+, with 64MB RAM, and a
4GB HDD.  The error it shoots out is:

--
cc: Internal compiler error:
Program cc1 got fatal signal 11

*** Error code 1
Stop in /usr/src/lib/libncurses
--

My question is, is there something wrong with the sources, or, has anyone
else had a similar problem?  Are there any special options I should use for
building on a Cyrix CPU?  Is the Earth still flat, and have I fallen off?

Regards,

Justin P. Michel
|- J Continuum
|- 21071 - 640 River Street
|- Thunder Bay, ON, Canada
|- P7A 8A7
|- http://www.jcontinuum.ca



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



RE: another go at natd

2003-01-30 Thread JoeB
You have just fallen onto the unpublished secret that IPFW / NATD
does not work with keep-state rules.
If you use user ppp -nat so the NAT function is done outside of
IPFW, then IPFW keep-state
rules will function as documented.

For true keep-state protection you are far better off using IPFILTER
/ IPNAT.
Much much simpler to configure and use.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Redmond
Militante
Sent: Wednesday, January 29, 2003 10:28 PM
To: [EMAIL PROTECTED]
Subject: another go at natd

hi all

this is a followup to an email i sent out to the list a week or so
ago.  i was having trouble getting the following natd setup to work:

---snip--
two machines - one has two nics, one has one nic. i'd like to set up
the machine with two nics as a gateway/natd box, and place the
second machine behind it.

gateway machine's kernel has been recompiled with:

options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE

gateway machine's /etc/rc.conf:

defaultrouter="129.x.x.1"
hostname="enquirer.medill.northwestern.edu"
ifconfig_xl0="inet 129.x.x.35 netmask 255.255.255.0"
ifconfig_xl1="inet 10.0.0.1 netmask 255.0.0.0"
gateway_enable="YES"
firewall_enable="YES"
#firewall_script="/etc/rc.firewall"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="xl0"
natd_flags=""

second machine's /etc/rc.conf:

defaultrouter="10.0.0.1"
ifconfig_xl0="inet 10.0.0.2 netmask 255.0.0.0"

'ipfw list' on the gateway machine gives me:
00050 divert 8668 ip from any to any via xl0
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 allow ip from any to any

i'm following the instructions in the handbook
http://www.freebsd.org/doc/en_US.IS...dbook/natd.html
snip-

-turns out my setup above was exactly right. i was informed by
various members of the list that my original problem was that i was
running a connection from the client machine directly to the
internal nic on the gateway box, and all i needed to do was to run
everything through a hub to get it to work.

so, i'm nat'ing. i'm redirecting packets to my internal lan on the
gateway box.  i guess my question to the list would be:  is a
vanilla natd setup like this enough?  today, i tried changing
firewall_type to '/etc/ipfw.rules' instead of "OPEN", it's been
problematic.  i'm having trouble getting the following
/etc/ipfw.rules file working with my nat setup:

add 00100 allow ip from any to any via lo0
add 00200 deny ip from any to 127.0.0.0/8
add 00300 check-state
add 00301 allow tcp from 129.x.x.20 to any in setup keep-state
add 00302 allow tcp from 10.0.0.2 to any in setup keep-state
#allow tcp in for ftp,ssh, smtp, httpd
add 00304 allow tcp from any to any 21 in setup keep-state
add 00305 allow tcp from any to any 22 in setup keep-state
add 00306 allow tcp from any to any 25 in setup keep-state
add 00307 allow tcp from any to any 80 in setup keep-state
#allow tcp in for webmin port
add 00308 allow tcp from any to any 1 in setup keep-state
#deny rest of incoming tcp
add 00309 deny log tcp from any to any in established
#from man 8 ipfw: allow only outbound tcp connections i've created
add 00310 allow tcp from any to any out setup keep-state
#allow udp in for gateway for DNS
add 00400 allow udp from 129.105.49.1 to any in recv xl0
add 00401 allow udp from 129.x.x.20 to any in recv xl0
add 00402 allow udp from 10.0.0.2 to any in recv xl0
#allow all udp out from machine
add 00404 allow udp from any to any out
#allow some icmp types (codes not supported)
##allow path-mtu in both directions
add 00500 allow icmp from any to any icmptypes 3
##allow source quench in and out
add 00501 allow icmp from any to any icmptypes 4
##allow me to ping out and receive response back
add 00502 allow icmp from any to any icmptypes 8 out
add 00503 allow icmp from any to any icmptypes 0 in
##allow me to run traceroute
add 00504 allow icmp from any to any icmptypes 11 in
add 00600 deny log ip from any to any


sorry, this is long winded.  any comments on how to get the above
rules working with my nat setup, or if these measures are even
necessary would be greatly appreciated.

thanks
redmond


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



  1   2   >