Re: How to use X without installing X?

2005-01-13 Thread Heinrich Rebehn
albi wrote:
Richard Morse wrote:
Apparently, in order to run the installer for 9i, it needs X.  But, I 
figure it shouldn't need all of X, because I intend to connect via 
`ssh -X` from a different computer which is running X to actualy do 
the display.  However, even once I've installed 'x11/xorg-libraries', 
when I `ssh -X` to the box $DISPLAY is not set.

did you enable X-forwarding in the sshd-config ? afaik indeed only the 
X-libraries are needed to make remote X over ssh work

For X-forwarding to work, you need to have /usr/X11R6/bin/xauth on your 
server. That is, you have to install xorg-clients too.

--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Default LQR timeout period

2005-01-13 Thread Bikrant Neupane
Hi thanks for the answer.
However I am trying to find solution from the server end if that is possible.

Also I tried setting the InactivityTimeout to different values but still I am 
getting time out at 40-45 seconds :( 

regards,
Bikrant

On Thursday 13 January 2005 12:22, Ted Mittelstaedt wrote:
> Open up your registry editor and go to
> HEKY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Modem\\Set
> tings where  is the number of your modem (example: 0001). On the
> right pane search for a string value named InactivityTimeout. Enter the
> new timeout rate in minutes. For example enter 30 for a 30 minutes
> timeout.
>
> From:
>
> http://www.activewin.com/tips/reg/connect_1.shtml
>
> Time it took me to find this - 45 seconds.  It took you longer
> to post the request than to type it into a search engine.
>
> Ted
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > Bikrant Neupane
> > Sent: Wednesday, January 12, 2005 9:51 PM
> > To: freebsd-questions@freebsd.org; freebsd-net@freebsd.org
> > Subject: Default LQR timeout period
> >
> >
> > Hi
> >
> > We have pppoe server running on FreeBSD 4.9 and 90% of our
> > wireless clients
> > are using MS Windows OS to access the service. I have noticed
> > that when ever
> > there is some problem in the link ( due to AP or SM reboot,
> > switch reboot etc
> > etc ) the pppoe connection closes. I have also noticed that
> > the MS Windows
> > client closes connection at 40-45 seconds after the link is
> > down. I tried to
> > increase default LQR timeout period at Server by using set
> > lqrtimeout to some
> > higher values. That did affected the serverside ppp process
> > but the MS client
> > still disconnected at 40-45 seconds. :(
> >
> > I prefer to set the timeout period somewhere between 120-150
> > seconds so that
> > even if there is problem in the link the client doesn't get
> > the disconnect
> > notice and have to reconnect again and the client and servers
> > are able to
> > continue same session.
> >
> > Is there any way to control the default LQR timeout period of
> > the Client from
> > the Server end??
> >
> > My question is more related with ms windows still I am asking
> > this question to
> > freebsd group so that I can solve the problem from the server end ;)
> >
> > regards,
> > Bikrant
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Getting OpenBSD PF to work with 5.2.1-RELEASE

2005-01-13 Thread johnc
Hi,  I can't seem to find any docs beyond what's in the handbook about 
how to set up pf with FreeBSD < 5.3.x

I've installed pf from ports ... but config(8) doesn't seem to recognize 
the pf device entries at all.

Any pointers to docs/other resources for the hapless freebsd-pf n00b?
Thanks,
-John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_4 IPX commit broke net/mars_nwe?

2005-01-13 Thread Igor B. Bykhalo
First, small followup: for now, i reverted netipx/ipx.h
to previous version 1.15, and after system and port were
rebuilt all works (not surprisingly :)

Other stuff below...

> On Wed, Jan 12, 2005 at 08:50:02PM +0300, Igor B. Bykhalo wrote:
>> 
>> Looks like the follwoing commit broke net/mars_nwe port
>> on my RELENG_4 file server box:

> Yes, it seems to be.  Mars_nwe have different idea about
> added macro:

> # define sipx_node sipx_addr.x_host.c_host
> # define sipx_network sipx_addr.x_net.c_net
> # define ipx_netlong(iaddr) (((union ipx_net_u *)(&((iaddr).x_net)))->long_e)

I see, this is from mars_nwe/emutli.h. First is identical
to what rwatson commited in ipx.h v.1.15.2.1, but second
is different in v.1.15.2.1:

> # define sipx_network sipx_addr.x_net.u_net

Looking at the old mars_nwe build log, i really see it's
full of warnings:

In file included from ../net.h:69,
 from ../nwserv.c:21:
../emutli.h:26: warning: `sipx_network' redefined

So, the bottom line is that defines in mars_nwe/emutli.h now
conflict with system defines? Sorry, i'm not a programmer
myself, may be you cang give me some hints what i can try
to make mars_nwe work with current ipx.h ...

This is a production machine, but not very heavily used,
so a couple of reboots wont't hurt anyone badly...

TIA,
Igor

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


Re: CyrusIMAPd, SquirrelMail, and sendmail troubles...

2005-01-13 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 13 Jan 2005, Eric F Crist wrote:
Hello list.
I've got a whole slew of issues I'm hoping you can help me resolve.  I 
followed the instructions at http://www.soe.ucsc.edu/~venkat/tutorial1.html 
to install cyrusimapd.  Everything seemed just fine.  I tried to install 
SquirrelMail, which installed fine, but I cannot log in.

Here's what I want to do:
1) I want to use the regular user accounts and passwords for email.
2) I would like to be able to access each account through either pop3s, imap, 
or squirrelmail
Hi,
after a quick look on the website you mentioned, i saw no point where 
'saslauthd' gets installed.

my first dumb question: did you install it?
if you have installed security/cyrus-sasl2-saslauthd, you should have 
'/usr/local/sbin/testsaslauthd'. please use this tool to check for the 
correct operation of 'saslauthd'.

the website also mentioned that you have to set 'sasl_saslauthd_flags="-a 
sasldb"' in /etc/rc.conf, but if you want to authenticate against system 
accounts, this setting is completely wrong. you should either set 
'sasl_saslauthd_flags="-a pam"' (this is the default) or 
'sasl_saslauthd_flags="-a getpwent"' to authenticate against system 
accounts. i never tried the pam and getpwent variants as i use ldap to 
authenticate.

hope this helps a litlle bit.
regards
Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB521oSPOsGF+KA+MRAvywAJwLG5fSY5FcDtdKELG73fvCoVUUqgCgudb9
bUHoM1SxIC84Pdyn7Pdcqtg=
=JlCj
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror problem on 5.3-R i386

2005-01-13 Thread Doug Poland
On Thu, Jan 13, 2005 at 09:51:03AM +0100, Christian Hiris wrote:
> On Thursday 13 January 2005 03:54, Doug Poland wrote:
> >
> > # dd if=/dev/zero of=/dev/ad4 bs=512 count=79
> 
> You probably destroyed your slice table here. The dd command only
> makes sense if you insert whole disks (ie. /dev/ad4 and /dev/ad6) as
> providers. Otherwise you need to create (or already have) a valid
> slice table on the disk, which enables gmirror to locate and insert
> your slice. 
> 
I wonder why it's documented to do that?  Guess that proves I'm too
green to understand the consequences of my actions.

> (!) Before you start to correct your gmirror setup, please read all of
> my comments, because to me it looks like you run a mirror of ad6 and
> not ad6s1.
>   
I'm quite sure I entered ad6s1 as opposed to ad6 in my commands.
In retrospect, however, I think I horked up my bsdlabel for
/dev/mirror/gsm0.  I didn't set the offset for the a partition to 16.
Perhaps that accounts for the difference?

While I was waiting for a reply I messed around with the configuration
and throughly broke it.  It's no big deal as this is a brand new server
with nothing on it but a minimal install.  I want to get this gmirror
working and understand it before I put the box into production.

I decided to start over (re-install 5.3) and go through the instructions
more carefully.  I'll email the list if I have more/other problems,
thanks for your help.

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


Re: How to back-rev?

2005-01-13 Thread Ian Moore
On Wed, 12 Jan 2005 15:01, John wrote:
> On Tue, Jan 11, 2005 at 04:25:38PM +0100, albi wrote:
> > John wrote:
> > > I think I may have been too eager to go to Major Release 5 of FreeBSD.
> > > I'm having a lot of trouble with my laptop - with my WIFI cards
> > > freezing the system, and trying to make the swith from XFree86
> > > to Xorg.
> >
> > if i were you i would backup your data and try a fresh 5.3 install,
> > one other thing to try first is to boot without ACPI
>
> You are right, albi!  Turning off ACPI took care of the lock up.  Thanks!
>
> I do miss the power management, though.  Now I need to figure out
> how to turn off just the part that is causing the problem.
>
> I am currently trying to remove all the XFree86 and kde modules from
> 5.2.1 so that I can put in the Xorg stuff from 5.3.  If there's a
> procedure for that somewhere, that'd be awesome.

/usr/ports/Updating - I followed the instructions there when I upgraded my 
5.2.1-RELEASE system to 5.3 & it worked like a charm.
Do make sure you read 20040723 & that you have device io in your kernel.
Oh, and be sure to read the 20041229 entry if you install the latest kde.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp7V0UaYqI5Z.pgp
Description: PGP signature


del key in bash or tcsh

2005-01-13 Thread dkouroun
Dear list,
Does anybody know how to change this 
annoying default behaviour of bash or sh
in FreeBSD when somebody presses the del key?
When I press the del key I want this to work 
as it works on any editor or in Linux bash!
Anyway to achieve this?

And does anybody knows how to have coloured
prompt output in sh? For bash I have found the following!

PS1='\[\033[02;35m\](\A)\[\033[02;[EMAIL PROTECTED];31m\]\h \[\033[01;34m\]\W \$
\[\033[00m\]'

For sh which command controls the color?

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


Re: login.conf problems

2005-01-13 Thread Static
Resource limits (current):
 cputime  infinity secs
 filesize infinity kb
 datasize   524288 kb
 stacksize   65536 kb
 coredumpsize infinity kb
 memoryuseinfinity kb
 memorylocked infinity kb
 maxprocesses  867
 openfiles1735
 sbsize   infinity bytes
 vmemoryuse   infinity kb
-
I used adduser and just placed ircd as the user class
- Original Message - 
From: "Lowell Gilbert" <[EMAIL PROTECTED]>
To: "Static" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, January 13, 2005 4:33 PM
Subject: Re: login.conf problems


"Static" <[EMAIL PROTECTED]> writes:
Im trying to add a class that will limit processes and session limits, I 
added this
ircd:\
   :tc=default:\
   :copyright=/etc/COPYRIGHT:\
   :welcome=/etc/motd:\
   :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
   :path=~/bin /bin /usr/bin /usr/local/bin:\
   :manpath=/usr/share/man /usr/local/man:\
   :nologin=/var/run/nologin:\
   :ftp-chroot:\
   :cputime=1h30m:\
   :datasize=100M:\
   :vmemoryuse=100M:\
   :stacksize=2M:\
   :memorylocked=4M:\
   :memoryuse=8M:\
   :filesize=100M:\
   :coredumpsize=8M:\
   :openfiles=24:\
   :maxproc=32:\
   :priority=0:\
   :requirehome:\
   :idletime=30m:\
   :sessionlimit=2:\
   :umask=002:\
   :ignoretime@:\
Then I proceed to run "cap_mkdb /etc/login.conf" then I make a user with 
the login class of ircd, but the session limits dont seem to work, was 
curious if anyone out there knew how to fix that
Which ones don't work?  [Not all of them are implemented.]
How did you add the new user?  Did the password database get rebuilt?
Do the limits appear to be changed in the output of limits(1)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CyrusIMAPd, SquirrelMail, and sendmail troubles...

2005-01-13 Thread Bryan Fullerton
On Thu, 13 Jan 2005 19:18:49 -0600, Eric F Crist
<[EMAIL PROTECTED]> wrote:
> 1) I want to use the regular user accounts and passwords for email.

How have you setup authentication against user accounts? The tutorial
you referenced is a little vague about SASL authentication sources,
and seems to be authenticating primarily against sasldb (separate
password db).

See Google for how Cyrus SASL works -- this link seems promising from
a quick read: http://www.sendmail.org/~ca/email/cyrus/sysadmin.html

> 2) I would like to be able to access each account through either pop3s,
> imap, or squirrelmail

Squirrelmail is just a web-based IMAP client.

> What have I done wrong, or where should I (re)start?

Anything in maillog or messages logs?

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


RE: Gnome

2005-01-13 Thread admin
Hi there i just have a quick problom i installed Freebsd befor and got gnome to 
work on startx  now when i reinstalled it like sevral times now when i do 
startx i get the old windows 3.1 look to the startx  if you can shed some light 
on this please do thanks

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


Re: How can I speed up a dd copy?

2005-01-13 Thread Dan Nelson
In the last episode (Jan 13), Matt Emmerton said:
> >  When I am performing a dd between (2) 36 Gig 160 disks (to
> > duplicate them) it takes about 2.5 hrs. Is there any way I can
> > speed this up? Is there any better way I can clone a bootable main
> > disk?
> 
> A larger blocksize (bs=) will help dramatically.

Also try double-buffering with ports/misc/team or ports/misc/buffer.

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


Re: Thank you!

2005-01-13 Thread Anthony Atkielski
Boris Spirialitious writes:

BS> Oh, but I do understand! FreeBSD is not good choice for companies
BS> that need support for the latest hardware.

It's not a question of latest, it's a question of which hardware.
FreeBSD, like all operating systems, targets a broad but not universal
user base, and so the mix of hardware that it supports doesn't cover
every conceivable device, although it will naturally overlap for the
most part with any other OS.

For example, given the predominance of FreeBSD as a heavy-duty server (a
quick check of the Web will readily show that FreeBSD is being used all
over the place), I'd expect to see relatively weak support for joysticks
and game accessories, and relatively strong support for backup devices
and terminals. I'd expect to see the opposite with Linux, which is
heavily promoted as a desktop OS.

I use FreeBSD as a straight server OS, and it seems to support whatever
devices I care to connect to it in that capacity.  I don't have very
exotic requirements, though.

It is also true that the more widely used and/or better funded an OS is,
the more devices it usually supports.  Many people are trying to make
money with Linux, so they get it to support more devices; and it has a
large user base, which encourages more people and companies to volunteer
hardware support.  Windows is in a similar position.  Even with Windows,
though, you see differences: NT-based systems traditionally have had
better support for server-oriented devices (like FreeBSD), whereas
consumer versions of Windows emphasized game ports, fancy video cards,
and the like.

Currently I consider FreeBSD the best available choice for a server, and
if it weren't for FreeBSD, I'd probably select one of the other
open-source BSDs. Linux is too incoherent and desktop-oriented today for
heavy server use, IMO. And if I want a pure desktop, I just run Windows.

For companies with a minimal IT staff, I'd recommend Windows 2000 for
servers in most cases.  If they have a qualified IT staff, I might
suggest some commercial flavor of UNIX.  If they have a very qualified
IT staff, I might suggest FreeBSD.  The reason for requiring the
qualified IT staff for FreeBSD is not that FreeBSD is any less reliable
than the other choices; it's just that FreeBSD has no formal support
structure that one can call at 3 AM to fix a broken server, whereas
commercial OS publishers usually do (even then, if the staff is really
clueless, it's safest for them to avoid any type of UNIX entirely).  For
desktops, I always recommend Windows.

-- 
Anthony


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


Re: Thank you!

2005-01-13 Thread Duo
On Thu, 13 Jan 2005, Tabor Kelly wrote:
Boris Spirialitious wrote:

It's like Dave Horsfall wrote:
  _
  /|  /| |   | |
  ||__|| |   |Please do not|
 /   O O\__  |   feed the  |
/  \ | Trolls  |
   /  \ \|_|
  /   _\ \  ||
 /|\\ \ ||
/ | | | |\/ ||
   /   \|_|_|/   | _||
  /  /  \|| ||
 /   |   |   |  --|
 |   |   |   |  --|
  * _|  |_|_|_|  | \-/
*-- _--\ _ \  |  ||
 /  _ \\|/  `
*  /   \_ /- |   |   |
 *  ___ c_c_c_C/ \C_c_c_c
--
Indeed. One should never respond to a troll.
It's always so much more fun to respond *at* a troll. I find the most 
satisfying response to be pointing and giggling at the offending creature.

FWIW, I did review this fellow's earlier posts. And, I have to say, he 
won't be missed. Rude, condecending, and moreover, combative and 
aggresively defensive over what could have been slightly minor matters.

Sad, but, nontheless, entertaining for 10 seconds. Sadly, the olde style 
fun trolls don't exist anymore. An extinct beast. *sigh*

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


Re: Thank you!

2005-01-13 Thread Nikolas Britton
Boris Spirialitious wrote:
Oh, but I do understand! FreeBSD is not good choice for companies
that need support for the latest hardware. Thank you for informing
me.
Boris
 

Personally I moved away from Linux because of all the support problems 
it had, I've learned more about UNIX from the 1 1/2 years using FreeBSD 
then I ever did in the 5 years using Linux. This is mainly do to the 
excellent centralized and authoritative documentation available for the 
project. Also it really helped that FreeBSD is an Operating System and 
not just a kernel + 3rd party user & system tools hodgepodged together 
into a distribution.   Also FreeBSD nor Linux are good choices if your 
looking for support and the latest hardware. Being able to support 
yourself with minimal help from others is par for the course for any 
open source UNIX solution. Windows and other commercial solutions are 
available if you need hand holding. Good luck on your Linux odyssey, and 
your welcome back anytime as long as you don't keep burning your bridges 
and apologize to the FreeBSD team for calling them "Very stupid people" 
(Re: Supermicro Hardware and FreeBSD, 01/05/[EMAIL PROTECTED]:50), they would have 
helped you if you hadn't of said that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux_Base

2005-01-13 Thread Kris Kennaway
On Fri, Jan 14, 2005 at 12:54:51AM -0300, E. J. Cerejo wrote:
> How can you make linux_base-8 the default for FreeBSD 5.3?

It is the default for all versions of FreeBSD, as of a few weeks ago.

Kris


pgp4d2yVQFwOZ.pgp
Description: PGP signature


Linux_Base

2005-01-13 Thread E. J. Cerejo
How can you make linux_base-8 the default for FreeBSD 5.3?



__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flock failure on NFS from 5.3 client to 4.7 server

2005-01-13 Thread Bruce Campbell
Quoting Kris Kennaway <[EMAIL PROTECTED]>:
> > ...
> > After the mail server upgrade to 5.3, flock gives error "operation not 
> > supported" 
> > on nfs mounted home directories.
> > ...
> > On our NFS server, rpc.statd is running, but rpc.lockd wasn't.  Started
> > it, still no worky.  Killed it, other 4.7 clients still flock fine.
> 
> rpc.lockd needs to be running on *both* client *and* server.
> 
> 4.x gets away with it because the rpc.lockd implementation does not in
> fact implement locking on the client.
> 
> Kris
>

Thanks, that has fixed it, and I've added the appropriate rc.conf
settings on the client:

rpc_lockd_enable="YES"   # Run NFS rpc.lockd needed for client/serv
rpc_statd_enable="YES"   # Run NFS rpc.statd needed for client/serv
rpcbind_enable="YES" # Run the portmapper service
 
and on the server:

rpc_lockd_enable="YES"  # Run NFS rpc.lockd (*broken!*) if nfs_server.
rpc_statd_enable="YES"  # Run NFS rpc.statd if nfs_server (or NO).


-- 
Bruce Campbell
Engineering Computing
CPH-2374B
University of Waterloo
(519)888-4567 ext 5889


This mail sent through www.mywaterloo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thank you!

2005-01-13 Thread Tabor Kelly
Boris Spirialitious wrote:

It's like Dave Horsfall wrote:
   _
   /|  /| |   | |
   ||__|| |   |Please do not|
  /   O O\__  |   feed the  |
 /  \ | Trolls  |
/  \ \|_|
   /   _\ \  ||
  /|\\ \ ||
 / | | | |\/ ||
/   \|_|_|/   | _||
   /  /  \|| ||
  /   |   |   |  --|
  |   |   |   |  --|
   * _|  |_|_|_|  | \-/
*-- _--\ _ \  |  ||
  /  _ \\|/  `
*  /   \_ /- |   |   |
  *  ___ c_c_c_C/ \C_c_c_c
--
Tabor Kelly
[EMAIL PROTECTED]
http://tabor.taborandtashell.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flock failure on NFS from 5.3 client to 4.7 server

2005-01-13 Thread Kris Kennaway
On Thu, Jan 13, 2005 at 09:42:55PM -0500, Bruce Campbell wrote:
> 
> NFS server:  FreeBSD 4.7
> Old Mail server: FreeBSD 4.7, home directories mounted to NFS server
> New Mail server: FreeBSD 5.3, home directories mounted to NFS server
> 
> After the mail server upgrade to 5.3, flock gives error "operation not 
> supported" 
> on nfs mounted home directories.  Example:
> 
> Jan 13 00:06:32 mail vacation[92816]: vacation: .vacation: Operation not 
> supported
> 
> output from "truss"
> 
> open(".vacation.db",0x2,0640)= 3 (0x3)
> fstat(3,0xbfbfd350)  = 0 (0x0)
> flock(0x3,0x2)   ERR#45 'Operation not 
> supported'
> close(3) = 0 (0x0)
> 
> It appears someone else has done substantially more debugging than I:
> 
>   
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-September/059777.html
> 
> but is seemingly no further ahead.
> 
> On our NFS server, rpc.statd is running, but rpc.lockd wasn't.  Started
> it, still no worky.  Killed it, other 4.7 clients still flock fine.

rpc.lockd needs to be running on *both* client *and* server.

4.x gets away with it because the rpc.lockd implementation does not in
fact implement locking on the client.

Kris


pgpnTOD20sbp2.pgp
Description: PGP signature


flock failure on NFS from 5.3 client to 4.7 server

2005-01-13 Thread Bruce Campbell

NFS server:  FreeBSD 4.7
Old Mail server: FreeBSD 4.7, home directories mounted to NFS server
New Mail server: FreeBSD 5.3, home directories mounted to NFS server

After the mail server upgrade to 5.3, flock gives error "operation not 
supported" 
on nfs mounted home directories.  Example:

Jan 13 00:06:32 mail vacation[92816]: vacation: .vacation: Operation not 
supported

output from "truss"

open(".vacation.db",0x2,0640)= 3 (0x3)
fstat(3,0xbfbfd350)  = 0 (0x0)
flock(0x3,0x2)   ERR#45 'Operation not 
supported'
close(3) = 0 (0x0)

It appears someone else has done substantially more debugging than I:

  
http://lists.freebsd.org/pipermail/freebsd-questions/2004-September/059777.html

but is seemingly no further ahead.

On our NFS server, rpc.statd is running, but rpc.lockd wasn't.  Started
it, still no worky.  Killed it, other 4.7 clients still flock fine.

Any suggestions for a fix or workaround so "vacation" works (which depends
on flock) ?

Thanks,

-- 
Bruce Campbell
Engineering Computing
CPH-2374B
University of Waterloo
(519)888-4567 ext 5889


This mail sent through www.mywaterloo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cut and paste in Emacs

2005-01-13 Thread Olivier Nicole
> >When I select some text with the mouse in Emacs, i can copy it into
> >another X window application, but I cannot copy it in a Win2K
> >application.
> 
> It would be helpful to know how you access the win2k application 
> (rdesktop, vmware, ...).

Sorry, I should have mentionned it. Xwin-32 6.1. My desktop with Win2K
is running the X server Xwin so I can access the Unix servers.


> This may be similar to a problem in copying from Emacs and pasting
> into Gnumeric. Any way try this:
> 
> 1) In EMACS do:  M-x clipboard-kill-ring-save RET
> 2) Then highlight the text and save it (either withe mouse or by
> C-SPACE, followed by ESC-w, at the end of the region to be copied.

Nope, it does not help.

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


RE: Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Mark Beaver
I think it's not so much a setting in X. I think it's more that X simply
doesn't have the software to support those extra buttons (wether it's the
server or the wm of choice) that's got the lack I'm not sure.

What I do know is that I can set this up fine using 4,5 as my ZAxisMapping,
and leave xmodmap alone. The buttons get recognized, but as I stated, I
don't think any of the current window managers have a "function" to allow
for you to set something up for those input buttons. Good example:

Set your Zaxis mapping to 6 7 then leave xmodmap at 1 2 3 4 5 6 7 and the
extra two buttons *should* control your scroll, and the mouse wheel should
do nothing.

Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
Sent: Thursday, January 13, 2005 8:52 PM
To: freebsd-questions@FreeBSD.org
Subject: Re: Trackball, extra buttons, and X - I've lost something

I think I have it partly figured out.  I had to change the xmodmap
command in .xsession to this:
xmodmap -e "pointer = 1 2 3 6 7 4 5"

But I kept the ZAxisMapping at 6 and 7.

Now xev shows the side buttons registering at 6 and 7, but I still
can't seem to get them working right through Fvwm.  At least I have
scrolling without annoying popup menus.

I'll try switching the ZAxisMapping and the xmodmap to see if I can
get a change.

Thanks
Lou


On 01/13/05 07:29 PM, Mark Beaver sat at the `puter and typed:
> In my experience with these leave the 4 5 as your ZAxisMapping and try it
> should keep your wheel working.
> 
> I'm not sure how to get the other two to work though, I've always had
issues
> with that.
> 
> 
> Mark Beaver
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
> Sent: Thursday, January 13, 2005 7:08 PM
> To: FreeBSD Questions
> Subject: Trackball, extra buttons, and X - I've lost something
> 
> Ok, I've finally broken down and bought myself one of those fancy
> Microsoft thumbball thingys.  I got tired of tracking my mouse around
> on a 5"X5" square, which is exactly the amount of free space on my
> desk right now.
> 
> Anyway, since Microsoft is a pretty good accessory company I figured
> I'd check their thumbball out.  (I didn't say they were a good
> software company)
> 
> I got the following immediately after plugging in:
> Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball
> Optical®, rev 1.10/1.21, addr 2, iclass 3/1
> Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.
> 
> The only problem is that it has 5 buttons including the button wheel.
> 
> Give a man a hammer, he'll want to use it right?
> 
> Well, now I've got these two new hammers, and I can't get them
> working quite right.
> 
> I've got the following in xorg.conf:
> 
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/ums0"
> Option  "Buttons"  "7"
> Option  "ZAxisMapping" "6 7"
> EndSection
> 
> 
> This is what I used to have:
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/sysmouse"
> Option  "Buttons"  "5"
> Option  "ZAxisMapping" "4 5"
> EndSection
> 
> And I've restarted Xorg, and xev shows the proper button presses for
> the left (button 1) and right (button 3) buttons, wheel press (button
> 2), and weel scrolls (buttons 4 and 5).  It also shows events for the
> side buttons, 6 and 7.
> 
> I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
> ~/.xinitrc to set the buttons up, but I'm still getting odd behavior
> when I roll the wheel.
> 
> So what's this strange behavior?  Well, every time I roll the mouse
> wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
> the Fvwm mouse events config for buttons 6 and 7, but that breaks
> scrolling with the wheel.  Now I can't seem to get scrolling back.  So
> I need to figure out how to stop the menu popup without breaking the
> scrolling.  Or at least get the scrolling back.
> 
> I've tried this with and without moused, but no change.  Naturally,
> I change the Device above to /dev/sysmouse, and moused polls from
> /dev/usm0.
> 
> I'm running FreeBSD 5.3 RELEASE, Xorg 6.7.1 (built from ports) and
> Fvwm 2.4.19 built with imlib support from the ports.
> 
> I think that's all.
> 
> Any ideas?
> 
> TIA
> Lou
> -- 
> Louis LeBlanc   [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org Ô¿Ô¬
> 
> QOTD:
>   "My life is a soap opera, but who gets the movie rights?"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
> 
> 
> 

Re: Hyperthreading hurts 5.3?

2005-01-13 Thread Olivier Nicole
> The other AMD processor, on my server, dramatically overheated for 8-12
> hours at a time (process stuck in a loop--I never found out why).  It
> damaged something that failed intermittently at first (segment
> violations in the kernel and in daemons that should never have such
> problems), then got worse and worse over a few days, until it failed
> completely.

It was not my machine, maybe it had been giving some warnings, but the
one in charge failed to notice them.
 
> I decided to build my own.  I was tired of not knowing what was inside
> the machine, and finding out the hard and expensive way that many
> corners had been cut.  I also got tired of having stacks and stacks of

I rely on a shop that I trust, and for servers, I give the exact
requirements :)

And of course I always open a new box before I power it on...

> unused stereo mini-speakers, ultra-cheap keyboards, and equally cheap
> mice.  Not to mention paying for Windows and a boatload of absolutely

At least we do not pay for Windows, that is Thailand :) (partial BS as
we have a site licence for Windows, shame!)

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


Re: Thank you!

2005-01-13 Thread Chris
Jerry McAllister wrote:
Oh, but I do understand! FreeBSD is not good choice for companies
that need support for the latest hardware. Thank you for informing
me.

Thought you decided to leave.
That's why I said 'Bye'
Someone who begins with their first post on the questions list with 
invective and insults instead of asking a question will, not surprisingly,
not receive much positive response.  People here are interested in
getting questions answered and problems solved.  They are not
interested in responding to juvenile attacks. 

jerry

Boris
Jerry McAllister <[EMAIL PROTECTED]> wrote:
I just wanted to thank you for making Freebsd 5.3 so badly. We changed
to linux and our application runs so much faster its unbelievable. I report
a small problem and they work hard to fix it. Not like freebsd do they 
make fun of me or ask me to give them hardware. Its like a real product 
this linux!
Glad you're happy.
Sorry you can not seem to comprehend a user volunteer supported system.
Bye,
jerry

Boris
Ok - let's just call em what he is. This one just does not grasp the 
concepts of manors much less being some variant of a human being -

So, I'll stoop to a level IT can understand - This one is a f***-tard. 
Plain and simple.

Furthermore, I apologize to anyone that is offended by the tone of my 
posting. Let's just call it as we see it.

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


Re: Thank you!

2005-01-13 Thread Jerry McAllister
> 
> Oh, but I do understand! FreeBSD is not good choice for companies
> that need support for the latest hardware. Thank you for informing
> me.

Thought you decided to leave.
That's why I said 'Bye'

Someone who begins with their first post on the questions list with 
invective and insults instead of asking a question will, not surprisingly,
not receive much positive response.  People here are interested in
getting questions answered and problems solved.  They are not
interested in responding to juvenile attacks. 

jerry

>  
> Boris
>  
> Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > 
> > I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> > to linux and our application runs so much faster its unbelievable. I report
> > a small problem and they work hard to fix it. Not like freebsd do they 
> > make fun of me or ask me to give them hardware. Its like a real product 
> > this linux!
> 
> Glad you're happy.
> Sorry you can not seem to comprehend a user volunteer supported system.
> 
> Bye,
> 
> jerry
> 
> > Boris
> > 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: making jail on 5.3 release

2005-01-13 Thread pete wright
On Fri, 14 Jan 2005 01:49:49 +0100, Henryk Martinczak <[EMAIL PROTECTED]> wrote:
> Greetings
> 
> I installed FreeBSD 5.3 (it is my first Freebsd) from iso image and I
> try to make jail with:
> 
> # make world DESTDIR=/jail/test
> 
> everything go fine until this:
> 
> cc -0 -pipe -I/usr/obj/usr/src/i386/legacy/usr/include
> -c/usr/src/games/fortune/strfile/strfile.c
> 
> make: don't know how to make /jail/test/usr/lib/libc.a. Stop
> ***Error code 2
> Stopping /usr/src.
> 
> What is wrong??
> Is there any step by step jail config quide ??
> 
from man (8) jail which also happens to be the best place to look for
information like this:

This example shows how to set up a jail directory tree containing an
 entire FreeBSD distribution:

 D=/here/is/the/jail
 cd /usr/src
 mkdir -p $D
 make world DESTDIR=$D
 cd etc
 make distribution DESTDIR=$D
 mount_devfs devfs $D/dev
 cd $D
 ln -sf dev/null kernel


HTH
-pete


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


-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD boot loader?

2005-01-13 Thread Jud
On 13 Jan 2005 09:02:42 -, John Conover <[EMAIL PROTECTED]> wrote:
Is there a 1024 cylinder limit on the first slice for a dual boot
PC system using the FBSD boot loader?
I presume there is, but I couldn't find it in the handbook. Maybe I
missed it.
Somewhere between 1997 and 1999 this stopped being a problem for FreeBSD,  
which will boot from anywhere the BIOS allows it to.  See http://www.tldp.org/HOWTO/Large-Disk-HOWTO-4.html>.

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


Re: Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Louis LeBlanc
I think I have it partly figured out.  I had to change the xmodmap
command in .xsession to this:
xmodmap -e "pointer = 1 2 3 6 7 4 5"

But I kept the ZAxisMapping at 6 and 7.

Now xev shows the side buttons registering at 6 and 7, but I still
can't seem to get them working right through Fvwm.  At least I have
scrolling without annoying popup menus.

I'll try switching the ZAxisMapping and the xmodmap to see if I can
get a change.

Thanks
Lou


On 01/13/05 07:29 PM, Mark Beaver sat at the `puter and typed:
> In my experience with these leave the 4 5 as your ZAxisMapping and try it
> should keep your wheel working.
> 
> I'm not sure how to get the other two to work though, I've always had issues
> with that.
> 
> 
> Mark Beaver
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
> Sent: Thursday, January 13, 2005 7:08 PM
> To: FreeBSD Questions
> Subject: Trackball, extra buttons, and X - I've lost something
> 
> Ok, I've finally broken down and bought myself one of those fancy
> Microsoft thumbball thingys.  I got tired of tracking my mouse around
> on a 5"X5" square, which is exactly the amount of free space on my
> desk right now.
> 
> Anyway, since Microsoft is a pretty good accessory company I figured
> I'd check their thumbball out.  (I didn't say they were a good
> software company)
> 
> I got the following immediately after plugging in:
> Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball
> Optical®, rev 1.10/1.21, addr 2, iclass 3/1
> Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.
> 
> The only problem is that it has 5 buttons including the button wheel.
> 
> Give a man a hammer, he'll want to use it right?
> 
> Well, now I've got these two new hammers, and I can't get them
> working quite right.
> 
> I've got the following in xorg.conf:
> 
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/ums0"
> Option  "Buttons"  "7"
> Option  "ZAxisMapping" "6 7"
> EndSection
> 
> 
> This is what I used to have:
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/sysmouse"
> Option  "Buttons"  "5"
> Option  "ZAxisMapping" "4 5"
> EndSection
> 
> And I've restarted Xorg, and xev shows the proper button presses for
> the left (button 1) and right (button 3) buttons, wheel press (button
> 2), and weel scrolls (buttons 4 and 5).  It also shows events for the
> side buttons, 6 and 7.
> 
> I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
> ~/.xinitrc to set the buttons up, but I'm still getting odd behavior
> when I roll the wheel.
> 
> So what's this strange behavior?  Well, every time I roll the mouse
> wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
> the Fvwm mouse events config for buttons 6 and 7, but that breaks
> scrolling with the wheel.  Now I can't seem to get scrolling back.  So
> I need to figure out how to stop the menu popup without breaking the
> scrolling.  Or at least get the scrolling back.
> 
> I've tried this with and without moused, but no change.  Naturally,
> I change the Device above to /dev/sysmouse, and moused polls from
> /dev/usm0.
> 
> I'm running FreeBSD 5.3 RELEASE, Xorg 6.7.1 (built from ports) and
> Fvwm 2.4.19 built with imlib support from the ports.
> 
> I think that's all.
> 
> Any ideas?
> 
> TIA
> Lou
> -- 
> Louis LeBlanc   [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org Ô¿Ô¬
> 
> QOTD:
>   "My life is a soap opera, but who gets the movie rights?"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

Zero Defects, n.:
  The result of shutting down a production line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Serial communication, terminal

2005-01-13 Thread Jay Moore
On Wednesday 12 January 2005 03:22 am, Florian Hengstberger wrote:
> Hi!
>
> I have a microcontroller with an uart interface.
> I want to communicate with my computer through the serial port
> of my FreeBSD box.
> Is it somehow possible to connect the serial io to a xterm?
> Case it is not: I don't want to write a program myself -
> is there an existing program handling the io?

open a terminal window & type in "minicom -s"

set the parameters as required to match your target

quit/exit minicom

now type in "minicom" & start your target

you may also need to chmod or chown your serial tty device to access the 
serial port as a "regular" user.  

HTH,
Jay

PS - thought I'd try this before sending the mail, but appears my 5.2.1 BSD 
doesn't have minicom  :(  So - you may need to install it from the ports 
collection.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setting up USB Printer???

2005-01-13 Thread Andrew L. Gould
On Thursday 13 January 2005 07:04 pm, E. J. Cerejo wrote:
> I'm running FreeBSD 5.3 and I have a USB HP printer (Deskjet 842C)
> and I can't find any tutorials and the hand book is not much help
> either unless I'm missing something on how to setup any USB printer
> under FreeBSD.  Can anyone help me with this?
>
The first step is to see if your system recognizes the usb printer.  If 
you review the output of dmesg, you should find the printer associated 
with a ulpt device.  If it's associated with a ugen device, then the 
system doesn't recognize it.

If the printer is recognized, the next step is to configure it.  The 
easiest ways include installing a printer program such as cups or 
apsfilter.  You can find these apps in the ports; and you can find lots 
of documentation via google.

Information regarding your specific printer can be found at:
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_842C

If your printer is not identified correctly when connected via usb, you 
can purchase an external print server with usb ports and use apsfilter 
or cups to configure the printer over the internet.

Good luck,

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


CyrusIMAPd, SquirrelMail, and sendmail troubles...

2005-01-13 Thread Eric F Crist
Hello list.
I've got a whole slew of issues I'm hoping you can help me resolve.  I 
followed the instructions at 
http://www.soe.ucsc.edu/~venkat/tutorial1.html to install cyrusimapd.  
Everything seemed just fine.  I tried to install SquirrelMail, which 
installed fine, but I cannot log in.

Here's what I want to do:
1) I want to use the regular user accounts and passwords for email.
2) I would like to be able to access each account through either pop3s, 
imap, or squirrelmail

What have I done wrong, or where should I (re)start?
TIA
___
Eric F Crist  "I am so smart, S.M.R.T!"
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


Re: automake, autoconf compiling

2005-01-13 Thread Tom Huppi



On Thu, 13 Jan 2005, Giorgos Keramidas wrote:



> I use autoconf/automake and libtool daily at work[1].
>
> The programs I write have to run on at least 3 different operating
> systems (FreeBSD, Linux and Solaris) without the need for constant
> manual tweaking of the source.

At work (former), I was responsible for code which was to
*compile* on 6 or 7 different platforms.  I choose one (often my
FreeBSD workstation) upon which to execute the auto-tools and
didn't bother with most of the others though I kept a compatible
set of these tools on Linux and Solaris for convenience.  Indeed,
the whole paradigm behind these tools is that they should _not_ be
needed on the target platform.  'autoconf' goes to great pains to
generate platform independent Bourne shell configure script for a
very good reason!  Unfortunately too many people either
misunderstand the paradigm and/or or mis-use the tools and I
suspect that this is a good portion of the reason why the FreeBSD
ports infrastructure needs to play so many silly games with the
auto-tools.  Properly speaking, the target platform shouldn't need
them at all, but I'm sure there are details of certain source
distributions which I am not aware of.

Thanks,

 - Tom

> The best way to do that is to use the same version of autotools on all
> those platforms.  So, I install the latest possible versions of these
> tools with --prefix=/opt/autotools on all the machines I have to use,
> and stop worrying about all the details.
>
> When I have to use the tools, I add /opt/autotools/bin at the beginning
> of my PATH.  When I don't need them, I remove /opt/autotools/bin from my
> path.
>
> This has worked wonders so far.
>
> - Giorgos
>
>
>
> [1] The operative keyword here is "at work".  I don't use autoconf and
> friends for programs I write on my own.  I prefer bsd.*.mk for that.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Setting up USB Printer???

2005-01-13 Thread E. J. Cerejo
I'm running FreeBSD 5.3 and I have a USB HP printer (Deskjet 842C) and I can't 
find any tutorials and the hand book is not much help either unless I'm missing 
something on how to setup any USB printer under FreeBSD.  Can anyone help me 
with this?  


__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I speed up a dd copy?

2005-01-13 Thread Matt Emmerton
>  Hello
>  When I am performing a dd between (2) 36 Gig 160
> disks (to duplicate them) it takes about 2.5 hrs. Is
> there any way I can speed this up? Is there any better
> way I can clone a bootable main disk?

A larger blocksize (bs=) will help dramatically.

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


making jail on 5.3 release

2005-01-13 Thread Henryk Martinczak
Greetings

I installed FreeBSD 5.3 (it is my first Freebsd) from iso image and I
try to make jail with:

# make world DESTDIR=/jail/test

everything go fine until this: 

cc -0 -pipe -I/usr/obj/usr/src/i386/legacy/usr/include
-c/usr/src/games/fortune/strfile/strfile.c

make: don't know how to make /jail/test/usr/lib/libc.a. Stop
***Error code 2
Stopping /usr/src.


What is wrong??
Is there any step by step jail config quide ??

Regards,
H.M. 

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


Re: Thank you!

2005-01-13 Thread Boris Spirialitious
Oh, but I do understand! FreeBSD is not good choice for companies
that need support for the latest hardware. Thank you for informing
me.
 
Boris
 
 
Jerry McAllister <[EMAIL PROTECTED]> wrote:
> 
> I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> to linux and our application runs so much faster its unbelievable. I report
> a small problem and they work hard to fix it. Not like freebsd do they 
> make fun of me or ask me to give them hardware. Its like a real product 
> this linux!

Glad you're happy.
Sorry you can not seem to comprehend a user volunteer supported system.

Bye,

jerry

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


-
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I speed up a dd copy?

2005-01-13 Thread Drumslayer2
 
 Hello
 When I am performing a dd between (2) 36 Gig 160
disks (to duplicate them) it takes about 2.5 hrs. Is
there any way I can speed this up? Is there any better
way I can clone a bootable main disk?

  Thanks

  NH.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Mark Beaver
In my experience with these leave the 4 5 as your ZAxisMapping and try it
should keep your wheel working.

I'm not sure how to get the other two to work though, I've always had issues
with that.


Mark Beaver

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
Sent: Thursday, January 13, 2005 7:08 PM
To: FreeBSD Questions
Subject: Trackball, extra buttons, and X - I've lost something

Ok, I've finally broken down and bought myself one of those fancy
Microsoft thumbball thingys.  I got tired of tracking my mouse around
on a 5"X5" square, which is exactly the amount of free space on my
desk right now.

Anyway, since Microsoft is a pretty good accessory company I figured
I'd check their thumbball out.  (I didn't say they were a good
software company)

I got the following immediately after plugging in:
Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball
Optical®, rev 1.10/1.21, addr 2, iclass 3/1
Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.

The only problem is that it has 5 buttons including the button wheel.

Give a man a hammer, he'll want to use it right?

Well, now I've got these two new hammers, and I can't get them
working quite right.

I've got the following in xorg.conf:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/ums0"
Option  "Buttons"  "7"
Option  "ZAxisMapping" "6 7"
EndSection


This is what I used to have:
Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "Buttons"  "5"
Option  "ZAxisMapping" "4 5"
EndSection

And I've restarted Xorg, and xev shows the proper button presses for
the left (button 1) and right (button 3) buttons, wheel press (button
2), and weel scrolls (buttons 4 and 5).  It also shows events for the
side buttons, 6 and 7.

I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
~/.xinitrc to set the buttons up, but I'm still getting odd behavior
when I roll the wheel.

So what's this strange behavior?  Well, every time I roll the mouse
wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
the Fvwm mouse events config for buttons 6 and 7, but that breaks
scrolling with the wheel.  Now I can't seem to get scrolling back.  So
I need to figure out how to stop the menu popup without breaking the
scrolling.  Or at least get the scrolling back.

I've tried this with and without moused, but no change.  Naturally,
I change the Device above to /dev/sysmouse, and moused polls from
/dev/usm0.

I'm running FreeBSD 5.3 RELEASE, Xorg 6.7.1 (built from ports) and
Fvwm 2.4.19 built with imlib support from the ports.

I think that's all.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

QOTD:
  "My life is a soap opera, but who gets the movie rights?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re: dhcpd for ipv6

2005-01-13 Thread Vince Hoffman

On Thu, 13 Jan 2005, Chuck Swiger wrote:
Erik Norgaard wrote:
kame dhcpd does not support address allocation and isc-dhcpd does not 
support ipv6 - despite ipv6 being defined in 1996. This makes running an 
ipv6 based local network cumbersome to manage.
You're absolutely right.
Does anyone know of alternatives?
I'm confused, I have a /64 from the hurricane electric tunnelbroker. 
I use rtadvd on the server that is the tunnel endpoint, 
advertise the /64 using rtadvd and use rtsold or XPs equivelent so any 
address's are the prefix then the mac address of the 
client machine (am using rtsold on netbsd and windows XP's ipv6 both of 
which work fine)
so it seems pretty easy to manage a single subnet lan. to me

Vince

Certainly: use IPv4.  ISC's dhcpd does just fine with classic IPv4 
addresses.
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Louis LeBlanc
Ok, I've finally broken down and bought myself one of those fancy
Microsoft thumbball thingys.  I got tired of tracking my mouse around
on a 5"X5" square, which is exactly the amount of free space on my
desk right now.

Anyway, since Microsoft is a pretty good accessory company I figured
I'd check their thumbball out.  (I didn't say they were a good
software company)

I got the following immediately after plugging in:
Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball 
Optical®, rev 1.10/1.21, addr 2, iclass 3/1
Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.

The only problem is that it has 5 buttons including the button wheel.

Give a man a hammer, he'll want to use it right?

Well, now I've got these two new hammers, and I can't get them
working quite right.

I've got the following in xorg.conf:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/ums0"
Option  "Buttons"  "7"
Option  "ZAxisMapping" "6 7"
EndSection


This is what I used to have:
Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "Buttons"  "5"
Option  "ZAxisMapping" "4 5"
EndSection

And I've restarted Xorg, and xev shows the proper button presses for
the left (button 1) and right (button 3) buttons, wheel press (button
2), and weel scrolls (buttons 4 and 5).  It also shows events for the
side buttons, 6 and 7.

I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
~/.xinitrc to set the buttons up, but I'm still getting odd behavior
when I roll the wheel.

So what's this strange behavior?  Well, every time I roll the mouse
wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
the Fvwm mouse events config for buttons 6 and 7, but that breaks
scrolling with the wheel.  Now I can't seem to get scrolling back.  So
I need to figure out how to stop the menu popup without breaking the
scrolling.  Or at least get the scrolling back.

I've tried this with and without moused, but no change.  Naturally,
I change the Device above to /dev/sysmouse, and moused polls from
/dev/usm0.

I'm running FreeBSD 5.3 RELEASE, Xorg 6.7.1 (built from ports) and
Fvwm 2.4.19 built with imlib support from the ports.

I think that's all.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

QOTD:
  "My life is a soap opera, but who gets the movie rights?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Out of the frying pan...

2005-01-13 Thread Andrew L. Gould
On Thursday 13 January 2005 05:05 pm, you wrote:
> On Thu, Jan 13, 2005 at 05:01:25PM -0600, Andrew L. Gould wrote:
> > On Thursday 13 January 2005 04:18 pm, John wrote:
>
> ...
>
> Thanks, Andrew - any advice on the kde versus kde-lite thing?  I've
> been looking around, and I can't find a clear description of how
> they differ...

This is from the kde-lite port MAKEFILE:

WITHOUT_KDEVELOP=   yes
WITHOUT_KDEEDU= yes
WITHOUT_KDENETWORK= yes
WITHOUT_KDESDK= yes
WITHOUT_KDETOYS=yes
WITHOUT_KDEWEBDEV=  yes
WITHOUT_KOFFICE=yes

Given the space limitations, I'd make a list of things you do on the 
computer that's covered by KDE apps.   Then, install kde-lite and see 
if anything is missing.  If something's missing, install the individual 
port.

For example, if you use kppp (a nifty, ppp dialup program), which is in 
kdenetwork; so you would install it using the port 
at /usr/ports/net/kdenetwork3.

Since you use OpenOffice, however, you don't need koffice taking up 
space.

Best regards,

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


Re: Upgrade to Courier 4.0.1?

2005-01-13 Thread Chris
To be fair it does say in the UPDATING list that this has to be done,
when portupgrade started downloading 4.x instinct made me hit ctrl-c
and check the UPDATING because its a major version change, and the
problem is authlib overwrites part of courier-imap which of course
means you will need to reinstall it after authlib is installed.

Chris


On Thu, 13 Jan 2005 12:02:07 +1300, Juha Saarinen
<[EMAIL PROTECTED]> wrote:
> On Mon, 10 Jan 2005 13:44:57 -, Scott Bye
> <[EMAIL PROTECTED]> wrote:
> > I updated to this via ports, and the services appear to be running and 
> > listening for connections.
> >
> > However, if I connect to them, I get disconnected immediately, and nothing 
> > appears to be logged for any of the services.
> >
> > It's obviously affecting both POP3 and IMAP, leaving the mail services on 
> > my server useless.
> >
> > I tried reinstalling the port for courier-imap, but it complained that it 
> > couldn't find courierlogger. So I reinstalled courier-authlib from ports, 
> > and reinstalled courier-imap and it no longer complained. However, the 
> > services are still doing exactly the same!
> >
> > Any ideas what has happened?!
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> "Mr Sam", the Courier author, has made some pretty drastic changes
> with the new version. All the auth stuff has been moved into a
> separate package (courier-authlib). You need to add/edit some lines in
> rc.conf (see UPDATING) .
> 
> Unfortunately, a straight upgrade of the port doesn't seem to work.
> I'm only using Courier-IMAP here, but had to delete the package and
> reinstall it after Courier-authlib to get things working again.
> 
> --
> Juha
> 
> --
> 
> Juha
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Out of the frying pan...

2005-01-13 Thread Andrew L. Gould
On Thursday 13 January 2005 04:18 pm, John wrote:
> On Thu, Jan 13, 2005 at 04:08:53PM -0600, Andrew L. Gould wrote:
> > On Thursday 13 January 2005 03:24 pm, John wrote:
> > > I just keep painting myself into corners, and I'm hoping that
> > > people can point out some (presumably dumb) things that I am
> > > doing, and recommend a course of action that will get me back to
> > > where I want to be.
>
> [ deleted for brevity ]
>
> > > I see my options as this:
> > > 1) Try to figure out the dependency trees for kde, install
> > > kde-lite instead, and rip out the packages I don't need
> > > (theoretically possible - but feasible?)
> > > 2) Back up /home, reinstall a minimum 5.2.1 system, do the
> > > installworld and installkernel again, and then do the install of
> > > the kde (or kde-lite) then restore /home (but how much larger do
> > > I need to make / and /usr?)
> > > 3) Buy or build a 5.3 installation set, and redo the
> > > installation, using only the distributions I need, and hope it
> > > fits.
> > >
> > > Other suggestions?  Anything obvious I'm missing?  You folks have
> > > been extrememly helpful so far, so I'm hoping there's a good
> > > solution I'm just missing!
> >
> > 1. Upgrade the hard drive.
>
> Yeah - thinking about that - but should I really need SEVERAL Gb to
> support the environment I want?  Maybe...

I don't think you'll ever regret getting more space.  Even if the 
platform doesn't need the space, you never know what immediate needs 
might pop up.

The first wedding/family reunion we attended with a digital camera 
produced almost 400MB of our own 5 Megapixal images.  That doesn't 
include copies of the relative's images.  Being over a thousand miles 
from home is no time to upgrade a laptop. (A slide show of the photos 
was running during the last extended family dinner.)

>
> > 2. If you're going to install Windows, install it before you
> > install FreeBSD.
>
> Yup - learned THAT the hard way!  We do need to update the handbook
> and other documentation in this regard - the current docs give the
> impression that the only problem is that the boot manager gets
> lost.  I was, therefore, entirely ready for that, and had everything
> at hand to put it back - only to discover after putting the boot
> manager back that the problem was far, far worse than that.  Of
> course, that may be due to the ancient Windows I was installing.
>
> > 3. Definitely go with a clean installation of FreeBSD 5.3 rather
> > than 5.2.1.
>
> Sigh.  OK.  I'll have to see if I can build that from what I have
> already...  Pointers to a way to build a distribution set for
> 5.3-STABLE from what I have built?

I suggest downloading and installing the 5.3 Release CD #1; and cvsup it 
from there.  It would give you a clean start.  There were a lot of 
changes from 5.2.1 to 5.3.

A larger hard drive would uncomplicate this issue.

>
> > 4. Building OpenOffice requires massive resources.  Use the binary
> > packages.
>
> Oh, definitely!  That is what I intend to do.
>
> Since I am using OpenOffice, should I use kde-lite instead of the
> full kde installation?
>
> > 5. When you install from ports, make sure you "make install clean"
> > to remove working files when they're no longer needed.
>
> OK, but that system, where I have the sources and all, is not hurting
> for space.

That may be true for /usr/src; but are you also using that system 
for /usr/ports?  How is /tmp being handled?

>
> > 6. Use portupgrade (in the ports) to upgrade applications; but
> > exclude OpenOffice.  Not only can portupgrade take care of
> > dependencies, but it has options to look for binary packages online
> > before opting to compile from source.
>
> Ah hah!  This is a trick I didn't know.  I'll learn that.
>
> Thanks!
>
> > Best of luck,
> >
> > Andrew Gould
>
> Thank you, Andrew.  I'd still like to know why the disk footprint
> for what I want seems to have grown to dramatically.  My hunch is
> that when I did the "installworld" I got a bunch of "distributions"
> (to use the install terminology) that I didn't intend, but that's
> just speculation on my part.

It's hard to help with this issue.  Try using 'du' (man du) to find 
directories that are using unexpected amounts of space.

Good luck,

Andrew Gould

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


Re: Memory Question

2005-01-13 Thread Eric F Crist
On Jan 13, 2005, at 2:01 PM, Colin J. Raven wrote:
I'm wondering seriously about this top output:
(2.6 GhZ Celeron 1GB RAM)
Mem: 52M Active, 316M Inact, 134M Wired, 111M Buf, 494M Free
Swap: 2023M Total, 2023M Free
This does add up to the 1GB of memory that my 5.3-RELEASE box has,
that's not my question.
I always understood in FreeBSD that "Free Memory is wasted memory"
I compared this to the 5.3-RELEASE box of a colleague.
AMD Athlon (1800-something-or-other) also 1GB RAM
Mem: 467M Active, 224M Inact, 201M Wired, 33M Cache, 111M Buf, 71M Free
Swap: 4096M Total, 1672K Used, 4094M Free
Other than the fact that swap doesn't add up (or doesn't seem to) the
box of my colleague seems to have a more "sensible" (classic) amount of
free memory.
Is there something I can do in order to "optimize" - which in this case
paradoxically would seem to mean "reduce" the amount of free memory?
Regards & TIA,
-Colin
Colin,
If you want to be made fun of, this is the type of question that will 
push you in that direction (references 'Thanks You!' thread). ;)  Your 
colleague is probably running more applications/services than you, 
which is why he has less available memory.  To use up some of that 
memory, simply start up some more applications.

:) have a nice day!
___
Eric F Crist  "I am so smart, S.M.R.T!"
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


RE: automake, autoconf compiling

2005-01-13 Thread Keith Bottner
All of the information both of your provided is helpful. I will have to
investigate further. Some of the information that Tom specified helped me to
track down the problem. Basically I have multiple versions of the tools
installed and there are two different directories with aclocal m4 files. If
I explicitly change the shell script to also include the other directory
then everything seems to continue on until compile time when there is a
header that cannot be found. It appears this header alloca.h is located in
/usr/src/gnu/usr.bin/sort/alloca.h. I was just wondering if Giorgos method
would also alleviate these problems or if this is just par for the course
when using projects that people have not moved into the ports collection?

Keith 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Giorgos Keramidas
Sent: Thursday, January 13, 2005 3:48 PM
To: Tom Huppi
Cc: Keith Bottner; freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Org
Subject: Re: automake, autoconf compiling

PLEASE DON'T TOP-POST.  THANK YOU :-)

On 2005-01-13 16:24, Tom Huppi <[EMAIL PROTECTED]> wrote:
>On Thu, 13 Jan 2005, Keith Bottner wrote:
>> I am trying to get a development system setup and am having trouble 
>> identifying how FreeBSD handles automake, autoconf and the like.
>> [...] I did chase them down in the /usr/local/libexec/automake18 and 
>> similar directories but placing them in the path still generates 
>> errors (i.e. there continues to be things that are missing at various 
>> stages).
>>
>> I guess my general question is: What is the standard way for setting 
>> up FreeBSD to use these (GNU tools) with the least trouble across 
>> disparate projects?
>
> I've recently been struggling with similar issues, and would be 
> interested to know what others might have found effective.

I use autoconf/automake and libtool daily at work[1].

The programs I write have to run on at least 3 different operating systems
(FreeBSD, Linux and Solaris) without the need for constant manual tweaking
of the source.

The best way to do that is to use the same version of autotools on all those
platforms.  So, I install the latest possible versions of these tools with
--prefix=/opt/autotools on all the machines I have to use, and stop worrying
about all the details.

When I have to use the tools, I add /opt/autotools/bin at the beginning of
my PATH.  When I don't need them, I remove /opt/autotools/bin from my path.

This has worked wonders so far.

- Giorgos



[1] The operative keyword here is "at work".  I don't use autoconf and
friends for programs I write on my own.  I prefer bsd.*.mk for that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005
 

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


Re: login.conf problems

2005-01-13 Thread Chris
I think the problem here is login.conf cannot do things like limit
cpu% it just kills the process when it reaches the cpu time used, also
on limiting processes say if you want to limit a shell user to run 3
bg processes you cant limit to 3 processes in login.conf because it
will break fg processes for things like running make.  In this
scenarion I believe you need some custom type of script to do what you
are looking for.

Chris


On 13 Jan 2005 17:33:22 -0500, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> "Static" <[EMAIL PROTECTED]> writes:
> 
> > Im trying to add a class that will limit processes and session limits, I 
> > added this
> > ircd:\
> >:tc=default:\
> >:copyright=/etc/COPYRIGHT:\
> >:welcome=/etc/motd:\
> >:setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
> >:path=~/bin /bin /usr/bin /usr/local/bin:\
> >:manpath=/usr/share/man /usr/local/man:\
> >:nologin=/var/run/nologin:\
> >:ftp-chroot:\
> >:cputime=1h30m:\
> >:datasize=100M:\
> >:vmemoryuse=100M:\
> >:stacksize=2M:\
> >:memorylocked=4M:\
> >:memoryuse=8M:\
> >:filesize=100M:\
> >:coredumpsize=8M:\
> >:openfiles=24:\
> >:maxproc=32:\
> >:priority=0:\
> >:requirehome:\
> >:idletime=30m:\
> >:sessionlimit=2:\
> >:umask=002:\
> >:ignoretime@:\
> > Then I proceed to run "cap_mkdb /etc/login.conf" then I make a user with 
> > the login class of ircd, but the session limits dont seem to work, was 
> > curious if anyone out there knew how to fix that
> 
> Which ones don't work?  [Not all of them are implemented.]
> 
> How did you add the new user?  Did the password database get rebuilt?
> 
> Do the limits appear to be changed in the output of limits(1)?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: login.conf problems

2005-01-13 Thread Lowell Gilbert
"Static" <[EMAIL PROTECTED]> writes:

> Im trying to add a class that will limit processes and session limits, I 
> added this
> ircd:\
>:tc=default:\
>:copyright=/etc/COPYRIGHT:\
>:welcome=/etc/motd:\
>:setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
>:path=~/bin /bin /usr/bin /usr/local/bin:\
>:manpath=/usr/share/man /usr/local/man:\
>:nologin=/var/run/nologin:\
>:ftp-chroot:\
>:cputime=1h30m:\
>:datasize=100M:\
>:vmemoryuse=100M:\
>:stacksize=2M:\
>:memorylocked=4M:\
>:memoryuse=8M:\
>:filesize=100M:\
>:coredumpsize=8M:\
>:openfiles=24:\
>:maxproc=32:\
>:priority=0:\
>:requirehome:\
>:idletime=30m:\
>:sessionlimit=2:\
>:umask=002:\
>:ignoretime@:\
> Then I proceed to run "cap_mkdb /etc/login.conf" then I make a user with the 
> login class of ircd, but the session limits dont seem to work, was curious if 
> anyone out there knew how to fix that

Which ones don't work?  [Not all of them are implemented.]

How did you add the new user?  Did the password database get rebuilt?

Do the limits appear to be changed in the output of limits(1)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[no subject]

2005-01-13 Thread Frederic R.

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


RE: How to use X without installing X?

2005-01-13 Thread Pietralla, Siegfried P
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Richard Morse
> Sent: Friday, 14 January 2005 07:37
> To: Daniel S. Haischt
> Cc: [EMAIL PROTECTED]
> Subject: Re: How to use X without installing X?
> 
> 
> On 13 Jan 2005, at 2:15 PM, Daniel S. Haischt wrote:
> 
> > simply try to export/set the DISPLAY variable before
> > installing any additional software.
> >
> > setenv DISPLAY foo.bar.com:0.0
> > 
> >|
> > Your actual X-Server -´
> 
> Hi!  I tried this (I had to use xhost first on my local machine), and 
> it sort of works.  I get a lot of errors about fonts, and the Oracle 
> installer keeps throwing various java exceptions and not doing 
> anything, but I don't know if that's because of problems with the 
> installer or the X connection.  The font errors I get are:
> 
>   Font specified in font.properties not found 
> [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> 
> if you have any idea what I'm missing that would solve this...
> 
> Thanks muchly,
> Ricky


hi ricky,

this is the way to go - you definitely don't need anything X related on the
server - I've just done this recently ( albeit with hpux and reflection X ).
the install notes should tell you what version of java you need and that
should help you fix up those errors. the font thing I can't help you with -
perhaps you just need to install a font with those properties? or make sure
all your fonts are on the right path / list / whatever ?

also, you could just use another X server - do you have a different working
unix workstation ( sgi, sun, hp, etc )? or even a p.c. running reflection X
or exceed. but note that I can't get cygwin to work for me - I only get
about a quarter of the initial installer screen to show up so I have to kill
it - although it's still worth a quick try if you have a windows box.

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


Re: Out of the frying pan...

2005-01-13 Thread John
On Thu, Jan 13, 2005 at 04:08:53PM -0600, Andrew L. Gould wrote:
> On Thursday 13 January 2005 03:24 pm, John wrote:
> > I just keep painting myself into corners, and I'm hoping that people
> > can point out some (presumably dumb) things that I am doing, and
> > recommend a course of action that will get me back to where I want
> > to be.

[ deleted for brevity ]

> > I see my options as this:
> > 1) Try to figure out the dependency trees for kde, install kde-lite
> >instead, and rip out the packages I don't need (theoretically
> >possible - but feasible?)
> > 2) Back up /home, reinstall a minimum 5.2.1 system, do the
> > installworld and installkernel again, and then do the install of the
> > kde (or kde-lite) then restore /home (but how much larger do I need
> > to make / and /usr?)
> > 3) Buy or build a 5.3 installation set, and redo the installation,
> >using only the distributions I need, and hope it fits.
> >
> > Other suggestions?  Anything obvious I'm missing?  You folks have
> > been extrememly helpful so far, so I'm hoping there's a good solution
> > I'm just missing!
> 
> 1. Upgrade the hard drive.

Yeah - thinking about that - but should I really need SEVERAL Gb to
support the environment I want?  Maybe...

> 2. If you're going to install Windows, install it before you install 
> FreeBSD.

Yup - learned THAT the hard way!  We do need to update the handbook
and other documentation in this regard - the current docs give the
impression that the only problem is that the boot manager gets
lost.  I was, therefore, entirely ready for that, and had everything
at hand to put it back - only to discover after putting the boot
manager back that the problem was far, far worse than that.  Of
course, that may be due to the ancient Windows I was installing.

> 3. Definitely go with a clean installation of FreeBSD 5.3 rather than 
> 5.2.1.

Sigh.  OK.  I'll have to see if I can build that from what I have
already...  Pointers to a way to build a distribution set for
5.3-STABLE from what I have built?

> 4. Building OpenOffice requires massive resources.  Use the binary 
> packages.

Oh, definitely!  That is what I intend to do.

Since I am using OpenOffice, should I use kde-lite instead of the
full kde installation?

> 5. When you install from ports, make sure you "make install clean" to 
> remove working files when they're no longer needed.

OK, but that system, where I have the sources and all, is not hurting
for space.

> 6. Use portupgrade (in the ports) to upgrade applications; but exclude 
> OpenOffice.  Not only can portupgrade take care of dependencies, but it 
> has options to look for binary packages online before opting to compile 
> from source.

Ah hah!  This is a trick I didn't know.  I'll learn that.

Thanks!

> Best of luck,
> 
> Andrew Gould

Thank you, Andrew.  I'd still like to know why the disk footprint
for what I want seems to have grown to dramatically.  My hunch is
that when I did the "installworld" I got a bunch of "distributions"
(to use the install terminology) that I didn't intend, but that's
just speculation on my part.
-- 

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


Re: Multihomed ISC-DHCPD

2005-01-13 Thread Kris Maglione
I get this from tcpdump when I boot the AP:
17:07:14.250764 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xa2dc15d6 
[|bootp] (DF)
17:07:14.251781 arp who-has 192.168.1.254 tell 192.168.1.1
17:07:15.000903 192.168.1.1.bootps > 192.168.1.254.bootpc: 
xid:0xa2dc15d6 Y:192.168.1.254 S:192.168.1.1 file ""[|bootp] [tos 0x10]
17:07:18.251051 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa2dc15d6 
secs:4 [|bootp] (DF)
17:07:18.251961 192.168.1.1.bootps > 192.168.1.254.bootpc: 
xid:0xa2dc15d6 secs:4 Y:192.168.1.254 S:192.168.1.1 [|bootp] [tos 0x10]
17:07:25.251540 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa2dc15d6 
secs:11 [|bootp] (DF)
17:07:25.252300 192.168.1.1.bootps > 192.168.1.254.bootpc: 
xid:0xa2dc15d6 secs:11 Y:192.168.1.254 S:192.168.1.1 [|bootp] [tos 0x10]
17:07:33.252146 arp who-has 192.168.0.225 tell 192.168.0.225 <-- ap uses 
default address of 192.168.0.255.
17:07:33.259898 arp who-has firewall. tell 192.168.0.225
17:07:41.252748 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa2dc15d6 
secs:27 [|bootp] (DF)
17:07:41.253484 192.168.1.1.bootps > 192.168.1.254.bootpc: 
xid:0xa2dc15d6 secs:27 Y:192.168.1.254 S:192.168.1.1 [|bootp] [tos 0x10]




signature.asc
Description: OpenPGP digital signature


Re: Out of the frying pan...

2005-01-13 Thread Andrew L. Gould
On Thursday 13 January 2005 03:24 pm, John wrote:
> I just keep painting myself into corners, and I'm hoping that people
> can point out some (presumably dumb) things that I am doing, and
> recommend a course of action that will get me back to where I want
> to be.
>
> I have a Compaq Armada M700 on which I had installed FreeBSD
> 4.9-STABLE (as of February, 2004) and life was pretty good.  There
> were a few annoyance, but it was a useful working environment.  I
> didn't have Java running, I probably needed to find a better browser
> than Konqeror, and the sound, touch-pad, and suspend/resume functions
> didn't work, so there were things I would have liked to have
> improved.
>
> All that changed when I tried to install Win98SE in the lower
> partition I had reserved for that purpose.  It totally trashed my
> / (with /usr) filesystem, though leaving /home (and /var) alone.
> [ I bit the bullet and bought Windows XP Home, which installed
> fine - but that's for my kids - I want my FreeBSD! ]
>
> This seemed like a good time to move forward.  I had a set of 5.2.1
> CD's, so I installed them.
>
> Things didn't work very well.  Part of it was ACPI problems I didn't
> correctly recognize, but my biggest problem was that I couldn't get
> OpenOffice to install, because it had moved to Xorg from XFree86,
> along with FreeBSD 5.3.
>
> I had a slower, desktop machine with a plenty of disk space, so
> I loaded up the source distribution from 5.2.1, cvsup'ed to -STABLE,
> did a buildworld, buildkernel, mounted /usr/src and /usr/obj via
> NFS, and upgraded the laptop to 5.3.  Since then, I've been playing
> a challenging game of "update the package" to try to get all the
> requisite packages for Xorg and kde in place (not to mention
> OpenOffice, and I'm not even there yet).
>
> Have you already guessed my problem?  My / and /usr single
> filesystem, which is 1.5Gb in size, that had been about 80% full with
> XFree86, kde, fvwm, and OpenOffice is now 101% full and I haven't
> even gotten all of kde installed (and all the dependent packages),
> let alone OpenOffice.
>
> I see my options as this:
> 1) Try to figure out the dependency trees for kde, install kde-lite
>instead, and rip out the packages I don't need (theoretically
>possible - but feasible?)
> 2) Back up /home, reinstall a minimum 5.2.1 system, do the
> installworld and installkernel again, and then do the install of the
> kde (or kde-lite) then restore /home (but how much larger do I need
> to make / and /usr?)
> 3) Buy or build a 5.3 installation set, and redo the installation,
>using only the distributions I need, and hope it fits.
>
> Other suggestions?  Anything obvious I'm missing?  You folks have
> been extrememly helpful so far, so I'm hoping there's a good solution
> I'm just missing!

1. Upgrade the hard drive.

2. If you're going to install Windows, install it before you install 
FreeBSD.

3. Definitely go with a clean installation of FreeBSD 5.3 rather than 
5.2.1.

4. Building OpenOffice requires massive resources.  Use the binary 
packages.

5. When you install from ports, make sure you "make install clean" to 
remove working files when they're no longer needed.

6. Use portupgrade (in the ports) to upgrade applications; but exclude 
OpenOffice.  Not only can portupgrade take care of dependencies, but it 
has options to look for binary packages online before opting to compile 
from source.

Best of luck,

Andrew Gould







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


Re: automake, autoconf compiling

2005-01-13 Thread Giorgos Keramidas
PLEASE DON'T TOP-POST.  THANK YOU :-)

On 2005-01-13 16:24, Tom Huppi <[EMAIL PROTECTED]> wrote:
>On Thu, 13 Jan 2005, Keith Bottner wrote:
>> I am trying to get a development system setup and am having trouble
>> identifying how FreeBSD handles automake, autoconf and the like.
>> [...] I did chase them down in the /usr/local/libexec/automake18 and
>> similar directories but placing them in the path still generates
>> errors (i.e. there continues to be things that are missing at various
>> stages).
>>
>> I guess my general question is: What is the standard way for setting
>> up FreeBSD to use these (GNU tools) with the least trouble across
>> disparate projects?
>
> I've recently been struggling with similar issues, and would be
> interested to know what others might have found effective.

I use autoconf/automake and libtool daily at work[1].

The programs I write have to run on at least 3 different operating
systems (FreeBSD, Linux and Solaris) without the need for constant
manual tweaking of the source.

The best way to do that is to use the same version of autotools on all
those platforms.  So, I install the latest possible versions of these
tools with --prefix=/opt/autotools on all the machines I have to use,
and stop worrying about all the details.

When I have to use the tools, I add /opt/autotools/bin at the beginning
of my PATH.  When I don't need them, I remove /opt/autotools/bin from my
path.

This has worked wonders so far.

- Giorgos



[1] The operative keyword here is "at work".  I don't use autoconf and
friends for programs I write on my own.  I prefer bsd.*.mk for that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel panic booting 5.3 releng

2005-01-13 Thread Alex Shaw
Hi,

Im experiancing a problem while updating my laptop to 5.3. I currently run a 
5.1-RELEASE version from a while back (should have updated a long time ago I 
know), on my Dell C840 Latitude. I followed the instructions on 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

cvsuping from RELENG_5_3

At the point where I reboot into single user mode it all falls over. The new 
GENERIC kernel fails to boot, stopping after the memory detection with a kernel 
panic page fault 12.

The instruction pointer is 0x8:0xc0621604

Digging about I found the faq here

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING

After following the instructions and running the following

nm -n /boot/kernel/kernel | grep 06216

I get the following two functions returned

c0621664 t sysctl_bus
c0621688 t sysctl_devices

>From this information can anyone give me an idea of whats going wrong ?, or 
>how/where I might go about fixing it ?. I have included the result of a boot 
>attempt below.

...
real memory = 536748032 (511MB)
avail memory = 515559424 (491MB)
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x696370
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc0621604
stack pointer   = 0x10:0xc0c21d48
frame pointer   = 0x10:0xc0c21d58
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, 10PL=0
current process = 0 (swapper)
trap number = 12
panic: page fault
uptime: 1s


I havent gone any further in the update process, as I can still boot my machine 
using the old kernel now saved to /boot/safe. I didnt want to run the install 
world if the new kernel wont boot, fearing it would update and overwrite 
crucial bits of the OS preventing the laptop from booting the old kernel.

I'm lost really in where to go from here or what the best options are to try 
and get the machine updated correctly. 

Thanks

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


Re: cross-building ports

2005-01-13 Thread Kris Kennaway
On Thu, Jan 13, 2005 at 01:27:17PM -0800, Jonathan Dama wrote:
> Thanks for clarifying that I wasn't just missing the
> obvious.  I suppose that's not surprising given all the
> complicated things some builds do to configure themselves
> based on testing the environment.
> 
> What about the "simple" case of building ia32 on an amd64
> host?  (Assuming WITH_LIB32 has been set in make.conf)
> 
> I have the impression that amd64 has been setup with an 
> eye toward running a pure amd64 setup, but one of the
> principle benefits of amd64 is it's support for i386
> binaries and libraries...
> 
> It would be nice (and probably easier on many ports) if the
> system was geared to have more ia32 centric userland--which
> I might add is the tradition for mang 64-bit OSs.  Having my
> 64-bit ls is great and all, but really unnecessary +
> wasteful.
> 
> Are these sorts of changes in the pipeline or?

I don't believe anyone is working on it, but you can always just use
precompiled packages.

Kris


pgpGttgNuwvh8.pgp
Description: PGP signature


Re: problem with mozilla/foxfire

2005-01-13 Thread Timothy Luoma
On Jan 13, 2005, at 2:50 PM, William Cox wrote:
Any suggestions how to solve this  problem which did not exist when I 
initially downloaded MF?
Just a guess, but one possibility is a corrupted file which is used by 
the app, such as a preferences file.  You might try renaming them and 
starting it again.

Does it work as expected if you login as another user?
TjL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Multihomed ISC-DHCPD

2005-01-13 Thread Kris Maglione
First off, my problem is that I can't get dhcpd to reply to a request on 
a new subnet/interface.

I have an isc-dhcpd server running on my gateway box. I just added a new 
nic to connect a wifi ap. I added this subnet declaration:
subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.10 192.168.1.254;
 option routers 192.168.1.1;
 option domain-name-servers 192.168.0.1;
 option domain-name "wifi";
}

to my dhcpd.conf.
I reran dhcpd as: dhcpd -q -f rl0 fxp0
fxp0, the new interface is configured as:
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
I added a firewall rule to allow all traffic via the interface and to 
log it. When I boot the AP, I get this in my log:
Jan 13 15:53:51 fw /kernel: ipfw: 1910 Accept UDP 0.0.0.0:68 
255.255.255.255:67
in via fxp0
Jan 13 15:53:51 fw /kernel: ipfw: 1910 Accept ICMP:8.0 192.168.1.1 
192.168.1.254
out via fxp0
Jan 13 15:53:55 fw /kernel: ipfw: 1910 Accept UDP 0.0.0.0:68 
255.255.255.255:67
in via fxp0
Jan 13 15:54:18 fw last message repeated 2 times

My netstat -r contains:
192.168.1  link#3 UC  10   fxp0
192.168.1.100:a0:c9:1a:a6:03  UHLW0  192lo0
although it sometimes contains a line for 192.168.1.254 via link#3
Any ideas?


signature.asc
Description: OpenPGP digital signature


Re: cross-building ports

2005-01-13 Thread Jonathan Dama
Thanks for clarifying that I wasn't just missing the
obvious.  I suppose that's not surprising given all the
complicated things some builds do to configure themselves
based on testing the environment.

What about the "simple" case of building ia32 on an amd64
host?  (Assuming WITH_LIB32 has been set in make.conf)

I have the impression that amd64 has been setup with an 
eye toward running a pure amd64 setup, but one of the
principle benefits of amd64 is it's support for i386
binaries and libraries...

It would be nice (and probably easier on many ports) if the
system was geared to have more ia32 centric userland--which
I might add is the tradition for mang 64-bit OSs.  Having my
64-bit ls is great and all, but really unnecessary +
wasteful.

Are these sorts of changes in the pipeline or?

-Paul

>From Kris Kennaway <[EMAIL PROTECTED]>, Thu, Jan 13, 2005 at 01:08:44PM -0800:
> On Thu, Jan 13, 2005 at 12:47:24PM -0800, Paul Allen wrote:
> > Is there a command-line option to cause ports to be built
> > for a different architecture than that of the native system?
> 
> This is not supported.
> 
> Kris


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


Re: automake, autoconf compiling

2005-01-13 Thread Tom Huppi

Hi Keith,

I've recently been struggling with similar issues, and would be
interested to know what others might have found effective.

I have a number of different versions of the auto-tools on my
machine, almost certainly as a result of installing various ports.
It is worth note that one can glean some info on how the FreeBSD
ports infrastructure handles this problem by looking at
/usr/ports/Mk/bsd.autotools.mk.  For my part, I found the details
to be too 'ugly' to attempt to emulate in my work, but they are
interesting all-the-same.  To date I have not resorted to
installing any custom, system-wide builds of any of these tools
for fear of harming my ability to use the ports infrastructure and
out of a desire to reduce future maintenance considerations.

For the most part, I have reasonable luck simply calling the
desired tool by it's installed name.  (i.e., 'autoconf259' instead
of 'autoconf'.)  Most of these tools know where to obtain their
helper files due to the PREFIX they were assigned when they
themselves were 'built'.

I have run into situations where aclocal got confused by multiple
macro definitions (for some libtool macros in my case.)  That was
a bit hard to debug, and it may be rare as my research didn't turn
up too many references.

I think it pertinent to expand this question to freebsd-questions
to include a wider audience.  Certainly these are FreeBSD specific
considerations, and probably not extremely arcane ones.

Thanks,

 - Tom


On Thu, 13 Jan 2005, Keith Bottner wrote:

> First let me say that I am definitely a newbie to FreeBSD but not to Linux
> or Windows.
>
> I am trying to get a development system setup and am having trouble
> identifying how FreeBSD handles automake, autoconf and the like.
> Specifically I am trying to get the Apache log4cxx source to compile and of
> course I am running into problems with automake, aclocal, autoheader,
> autoconf and libtoolize not being in the path. I did chase them down in the
> /usr/local/libexec/automake18 and similar directories but placing them in
> the path still generates errors (i.e. there continues to be things that are
> missing at various stages).
>
> I guess my general question is: What is the standard way for setting up
> FreeBSD to use these (GNU tools) with the least trouble across disparate
> projects?
>
> I have never had this problem on Linux as they have always been properly
> setup on install and I want to get FreeBSD going and do it the way that is
> accepted as the standard so that later generalizing my project with autoconf
> will be standardized as well.
>
> I appreciate any feedback and realize this is a rather broad question, but
> hey I said I was new to FreeBSD.
>
> Keith
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Out of the frying pan...

2005-01-13 Thread John
I just keep painting myself into corners, and I'm hoping that people
can point out some (presumably dumb) things that I am doing, and
recommend a course of action that will get me back to where I want
to be.

I have a Compaq Armada M700 on which I had installed FreeBSD 4.9-STABLE
(as of February, 2004) and life was pretty good.  There were a few
annoyance, but it was a useful working environment.  I didn't have
Java running, I probably needed to find a better browser than Konqeror,
and the sound, touch-pad, and suspend/resume functions didn't work,
so there were things I would have liked to have improved.

All that changed when I tried to install Win98SE in the lower
partition I had reserved for that purpose.  It totally trashed my
/ (with /usr) filesystem, though leaving /home (and /var) alone.
[ I bit the bullet and bought Windows XP Home, which installed
fine - but that's for my kids - I want my FreeBSD! ]

This seemed like a good time to move forward.  I had a set of 5.2.1
CD's, so I installed them.

Things didn't work very well.  Part of it was ACPI problems I didn't
correctly recognize, but my biggest problem was that I couldn't get
OpenOffice to install, because it had moved to Xorg from XFree86,
along with FreeBSD 5.3.

I had a slower, desktop machine with a plenty of disk space, so
I loaded up the source distribution from 5.2.1, cvsup'ed to -STABLE,
did a buildworld, buildkernel, mounted /usr/src and /usr/obj via
NFS, and upgraded the laptop to 5.3.  Since then, I've been playing
a challenging game of "update the package" to try to get all the
requisite packages for Xorg and kde in place (not to mention OpenOffice,
and I'm not even there yet).

Have you already guessed my problem?  My / and /usr single filesystem,
which is 1.5Gb in size, that had been about 80% full with XFree86,
kde, fvwm, and OpenOffice is now 101% full and I haven't even gotten
all of kde installed (and all the dependent packages), let alone
OpenOffice.

I see my options as this:
1) Try to figure out the dependency trees for kde, install kde-lite
   instead, and rip out the packages I don't need (theoretically
   possible - but feasible?)
2) Back up /home, reinstall a minimum 5.2.1 system, do the installworld
   and installkernel again, and then do the install of the kde (or
   kde-lite) then restore /home (but how much larger do I need to
   make / and /usr?)
3) Buy or build a 5.3 installation set, and redo the installation,
   using only the distributions I need, and hope it fits.

Other suggestions?  Anything obvious I'm missing?  You folks have been
extrememly helpful so far, so I'm hoping there's a good solution I'm
just missing!
-- 

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


Re: cross-building ports

2005-01-13 Thread Kris Kennaway
On Thu, Jan 13, 2005 at 12:47:24PM -0800, Paul Allen wrote:
> Is there a command-line option to cause ports to be built
> for a different architecture than that of the native system?

This is not supported.

Kris

pgpHuFhxC54fl.pgp
Description: PGP signature


Re: Hyperthreading hurts 5.3?

2005-01-13 Thread Anthony Atkielski
Andrea Venturoli writes:

AV> I've come to the same conclusion. Still I can't put this together with
AV> 100% load on both processors. If, as someone said, there is only one
AV> FPU, *how* are these figures coming out???

The operating system tracks a dispatch of a processor into a process
thread.  After that, it has no idea whether the processor is actually
doing anything or not--from the OS' standpoint, the processor is
"running."  So if one thread in one logical processor is actually
executing instructions, and the other is stalled while waiting for a
shared resource in the processor, the OS will still consider both
threads to be "running" and will charge all of the elapsed time as
processor time ... giving you a figure of 100% busy.

AV> I would have expected something like 50%-50% (instead of 100%-0% of
AV> the single threaded version). *If* there is only one FPU, I'd expect
AV> both virtual processors being frequently idle waiting for each
AV> other.

Yes ... but the OS can't see that, and so OS monitoring tools can't
report it.

-- 
Anthony


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


Re: How to use X without installing X?

2005-01-13 Thread Doug Poland
On Thu, Jan 13, 2005 at 03:32:10PM -0500, Richard Morse wrote:
> On 13 Jan 2005, at 2:34 PM, Doug Poland wrote:
> 
> >On my 5.3 servers, I install xorg-libraries so I can run X clients on
> >remote X servers.? From a remote host use a command similar to:
> >
> >xserver% ssh -Xf xclient.mydomain.com 
> >/path/to/install/directory/OracleInstaller
> 
> Hi!  When I do this, runInstaller complains that "$DISPLAY is not
> set"... (but see my other responses for more info...)
> 
You have xorg-libraries installed?
X11Forwarding yes in your /etc/ssh/sshd_config?  
If you changed sshd_config did you restart sshd?

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


cross-building ports

2005-01-13 Thread Paul Allen
Is there a command-line option to cause ports to be built
for a different architecture than that of the native system?

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


Re: Memory Question

2005-01-13 Thread Colin J. Raven
The essence of the original question was:

>> Is there something I can do in order to "optimize" -
>> which in this case
>> paradoxically would seem to mean "reduce" the amount
>> of free memory?

On Jan 13 at 15:12, Bryan Fullerton suggested:
>
> Run more processes that do interesting things. Your top output looks
> fairly normal for a machine that's freshly rebooted and/or not
> terribly busy.
>

On Jan 13 at 12:28, Gregor Mosheh also said in a similar vein:
>
> The simple answer is: "Use it!" Exactly how depends on
> what you're running. Basically, check the docs for all
> the stuff your server is running and see what you can
> do to throw more memory at it. A lot of software has
> docs about performance tuning, and its memory usage
> (and performance) can usually be cranked up.
>
> If you're using a database server, check the DB's
> config file (postgresql.conf or my.cnf) and allocate a
> bunch of memory to buffers. If you're running Apache,
> you can increase the spare servers; if your Apache
> runs Perl CGI programs, you could consider using
> mod_perl.

OK, this makes sense! All the while I was attempting to be as 
"economical" as seemed possible under the circumstances...or as 
economical as various config settings seemed to allow. I guess this goes 
back to the era I only recently emerged from, where any machine I owned 
had considerably less resources to spare. Or more accurately, *no* 
resources to spare. Odd feeling knowing there's a ton of horsepower 
available that's not (yet) being utilized.

Gentlemen, thank you for the feedback and guidance. My appreciation for 
this OS and this group grows exponentially - daily.

Boris and fellow trolls, please take note.


Regards,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Thu Jan 13 21:41:00 CET 2005
9:41PM  up 1 day, 10:29, 6 users, load averages: 0.00, 0.00, 0.00

Today's random silliness:
1.00 VEB (Veneualan Bolivares) = 0.000626468 CAD (Candadian Dollars)
http://www.xe.com: your universal useless currency conversion tool
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to use X without installing X?

2005-01-13 Thread Richard Morse
On 13 Jan 2005, at 2:15 PM, Daniel S. Haischt wrote:
simply try to export/set the DISPLAY variable before
installing any additional software.
setenv DISPLAY foo.bar.com:0.0

   |
Your actual X-Server -´
Hi!  I tried this (I had to use xhost first on my local machine), and 
it sort of works.  I get a lot of errors about fonts, and the Oracle 
installer keeps throwing various java exceptions and not doing 
anything, but I don't know if that's because of problems with the 
installer or the X connection.  The font errors I get are:

	Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]

if you have any idea what I'm missing that would solve this...
Thanks muchly,
Ricky
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hyperthreading hurts 5.3?

2005-01-13 Thread Andrea Venturoli
Anthony Atkielski wrote:
Andrea Venturoli writes:
AV> Not exactly the same algorithm and on different set of data.
But similar machine instructions, perhaps?
Yes, both numerical computations.
Basically one thread would model geometry and the other would mesh it.
Frequent stall would arise, as the two process would only by chance 
require the same time, even so the two CPUs were always at full load 
(!?!?!?). I also tried different combinations, e.g. three modelling 
threads and one mesher with, again, equal timings.

BTW, it's worth to mention, I *have* to use a compiler that knows 
nothing about SSE or the like, so all is done with FPU instructions as 
in the old 387s...



Just the contention for the FPU alone might have had the effect of
single-threading the workload.
I've come to the same conclusion. Still I can't put this together with 
100% load on both processors. If, as someone said, there is only one 
FPU, *how* are these figures coming out??? I would have expected 
something like 50%-50% (instead of 100%-0% of the single threaded 
version). *If* there is only one FPU, I'd expect both virtual processors 
being frequently idle waiting for each other.


That plus the SMP overhead might give
you a zero or negative gain with HT.
I tried a multithreaded version on a UP machine (nonsense, I know): the 
locking overhead is there, but very minimal: a process which takes 16 
minutes will require, maybe, 3 seconds more.

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


Re: How to use X without installing X?

2005-01-13 Thread Richard Morse
On 13 Jan 2005, at 2:34 PM, Doug Poland wrote:
On my 5.3 servers, I install xorg-libraries so I can run X clients on 
remote
X servers.  From a remote host use a command similar to:

xserver% ssh -Xf xclient.mydomain.com 
/path/to/install/directory/OracleInstaller
Hi!  When I do this, runInstaller complains that "$DISPLAY is not 
set"... (but see my other responses for more info...)

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


Re: Memory Question

2005-01-13 Thread Anthony Atkielski
Colin J. Raven writes:

CJR> I always understood in FreeBSD that "Free Memory is wasted memory"

In any operating system, free memory is wasted memory.  But if you
suddenly need more memory and you don't have it, system performance will
slide right down into the abyss, no matter which OS you are using ...
and very often it's cost-effective to "waste" some extra memory to
handle peak loads. Memory's cheap, anyway.

CJR> I compared this to the 5.3-RELEASE box of a colleague.
CJR>
CJR> AMD Athlon (1800-something-or-other) also 1GB RAM
CJR>
CJR> Mem: 467M Active, 224M Inact, 201M Wired, 33M Cache, 111M Buf, 71M Free
CJR> Swap: 4096M Total, 1672K Used, 4094M Free
CJR>
CJR> Other than the fact that swap doesn't add up (or doesn't seem to) the
CJR> box of my colleague seems to have a more "sensible" (classic) amount of
CJR> free memory.

No, he doesn't have enough memory.  A good operating system (which of
course would include FreeBSD) can make the best of the memory it has
under load, by judicious use of the swap file(s), but even the best
swapping algorithms are no match for more RAM.

You can never have too much memory.

CJR> Is there something I can do in order to "optimize" - which in this
CJR> case paradoxically would seem to mean "reduce" the amount of free
CJR> memory?

General rules: Reducing memory is never an optimization.  Increasing
memory never reduces performance.

-- 
Anthony


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


Re: Memory Question

2005-01-13 Thread Gregor Mosheh
> Is there something I can do in order to "optimize" -
> which in this case 
> paradoxically would seem to mean "reduce" the amount
> of free memory?

The simple answer is: "Use it!" Exactly how depends on
what you're running. Basically, check the docs for all
the stuff your server is running and see what you can
do to throw more memory at it. A lot of software has
docs about performance tuning, and its memory usage
(and performance) can usually be cranked up.

If you're using a database server, check the DB's
config file (postgresql.conf or my.cnf) and allocate a
bunch of memory to buffers. If you're running Apache,
you can increase the spare servers; if your Apache
runs Perl CGI programs, you could consider using
mod_perl.




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Memory Question

2005-01-13 Thread Bryan Fullerton
On Thu, 13 Jan 2005 21:01:19 +0100, Colin J. Raven
<[EMAIL PROTECTED]> wrote:
> Is there something I can do in order to "optimize" - which in this case
> paradoxically would seem to mean "reduce" the amount of free memory?

Run more processes that do interesting things. Your top output looks
fairly normal for a machine that's freshly rebooted and/or not
terribly busy.

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


Memory Question

2005-01-13 Thread Colin J. Raven
I'm wondering seriously about this top output:

(2.6 GhZ Celeron 1GB RAM)

Mem: 52M Active, 316M Inact, 134M Wired, 111M Buf, 494M Free
Swap: 2023M Total, 2023M Free

This does add up to the 1GB of memory that my 5.3-RELEASE box has, 
that's not my question.
I always understood in FreeBSD that "Free Memory is wasted memory"

I compared this to the 5.3-RELEASE box of a colleague.

AMD Athlon (1800-something-or-other) also 1GB RAM

Mem: 467M Active, 224M Inact, 201M Wired, 33M Cache, 111M Buf, 71M Free
Swap: 4096M Total, 1672K Used, 4094M Free

Other than the fact that swap doesn't add up (or doesn't seem to) the 
box of my colleague seems to have a more "sensible" (classic) amount of 
free memory.

Is there something I can do in order to "optimize" - which in this case 
paradoxically would seem to mean "reduce" the amount of free memory?

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


Re: Hyperthreading hurts 5.3?

2005-01-13 Thread Anthony Atkielski
Olivier Nicole writes:

ON> It was dead for good, well it is still dead as a matter of fact :)

The AMD processor on my XP system overheated and stalled a few times, before
I realized that the (brand-new) fan had failed.  It still runs okay now,
though, with a reliable fan.

The other AMD processor, on my server, dramatically overheated for 8-12
hours at a time (process stuck in a loop--I never found out why).  It
damaged something that failed intermittently at first (segment
violations in the kernel and in daemons that should never have such
problems), then got worse and worse over a few days, until it failed
completely.

ON> So did I, so did I, but one sees strange things when buying a machine
ON> from a cheap assembly shop (I was not the first buyer, I just got the
ON> machine when it became unusable and then I was curious so I opened it,
ON> what the first owner never did).

I decided to build my own.  I was tired of not knowing what was inside
the machine, and finding out the hard and expensive way that many
corners had been cut.  I also got tired of having stacks and stacks of
unused stereo mini-speakers, ultra-cheap keyboards, and equally cheap
mice.  Not to mention paying for Windows and a boatload of absolutely
useless garbage software that I was just going to wipe away immediately
in favor of FreeBSD (and I configure my FreeBSD systems to run FreeBSD
exclusively--none of this dual-boot stuff).  It gives me strange
pleasure to think that the current server has never gotten anywhere near
Windows.  FreeBSD was the first OS to deflower the virgin disk drives.

-- 
Anthony


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


Re: Hyperthreading hurts 5.3?

2005-01-13 Thread Anthony Atkielski
Andrea Venturoli writes:

AV> Not exactly the same algorithm and on different set of data.

But similar machine instructions, perhaps?

AV> Yes.

Just the contention for the FPU alone might have had the effect of
single-threading the workload.  That plus the SMP overhead might give
you a zero or negative gain with HT.

AV> In the past.
AV> Nowadays they have some sort of protection.

Unfortunately, AMD lost my business when the first processor nearly
burst into flames.  I try not to make the same mistake twice.  And I've
seen examples of AMD processors that _have_ burst into flames, so why
take a chance?

For me the weakest parts of any machine are the fans and the disk
drives, because they have to move.

-- 
Anthony


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


problem with mozilla/foxfire

2005-01-13 Thread William Cox
Every time I click on MF, the screen goes black.  Then white.  Next, the 
desktop page icons appear without color. Then, the screen goes white.  
Next, the icons reappear and gradually fill in.  Then, you can access 
MF.  Any suggestions how to solve this  problem which did not exist when 
I initially downloaded MF?

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


Re: Thank you!

2005-01-13 Thread Jacob S
On Thu, 13 Jan 2005 09:57:49 -0800 (PST)
Boris Spirialitious <[EMAIL PROTECTED]> wrote:

> I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> to linux and our application runs so much faster its unbelievable. I
> report a small problem and they work hard to fix it. Not like freebsd
> do they make fun of me or ask me to give them hardware. Its like a
> real product this linux!
>  
> Boris

Congratulations! For the first time in 6 years you have made me ashamed
of the fact that I learned Linux before I learned FreeBSD. I'm glad the
Linux lists I frequent aren't like that.

To the rest of the list members... don't hold him against the rest of
us Linux users. :-) 

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


Apache - Bad Output Compression? - “bad server response” (NSURLErrorDomain:-1011)

2005-01-13 Thread Evolve Networks
Hello! This is my first post here and fairly long but I've tried  
everything I know how to do and haven't been able to track down how to  
fix this error. Any help or suggestions are appreciated!

Just upgraded apache, php, perl and having some strange occassional  
problems. Pages are returned blank here and there.

5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0:
Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_ssl/2.0.52 OpenSSL/0.9.7e  
mod_perl/1.99_18 Perl/v5.8.5

 The only browser that returns an error is Safari, others just return a  
blank page
 “bad server response” (NSURLErrorDomain:-1011)

Looking around on the web I can't find a definitive solution but it  
appears to be a problem with gzip compression going wrong.

 Has anyone seen this before and can offer a solution? I've rebuilt  
apache, openssl, php, gzip multiple times with no luck.

 httpd-error log shows this
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1478): | 0190: 93  
5f 2d cd 23 0b ce 73-db 6e 57 06 ee 8b ab 7a ._-.#..s.nWz |
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1478): | 01a0: 85  
e0 77 fa 9e a5 d6 ef-3a 38 93 a9 0f b8 52 29 ..w.:8R) |
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1478): | 01b0: 0b  
f4 a5 98 66 3b 2e 53-8e 75 2d 02 ae 40 2a ce f;[EMAIL PROTECTED] |
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1478): | 01c0: 6e  
07 f8 18 8c 0e 33 91-d7 09 81 3b 51 60 de cd n.3;Q`.. |
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1478): | 01d0: 1a  
2e 02 f5 4b be b0 e2-e4 a4 5e 0f 11 48 0f 27 K.^..H.' |
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1478): | 01e0: 85  
6a 5a 1e 4c cb 8c b2-c0 5b 20 5c b2 4c fc 3a .jZ.L[ \\.L.: |
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1478): | 01f0: 32  
33 6e 23n |
 [Tue Jan 11 00:15:42 2005] [debug] ssl_engine_io.c(1484):  
+--- 
--+
 Fatal error 'Unable to read from thread kernel pipe' at line 1100 in  
file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0)
 [Tue Jan 11 00:15:46 2005] [notice] child pid 1347 exit signal Abort  
trap (6)

 /var/log/messages shows
 Jan 11 00:15:46 e kernel: pid 1347 (httpd), uid 80: exited on signal 6
Thanks!
Marc Hauge
Evolve Networks - Hosting, Design & Development for Business and  
Individuals
http://e.volve.net
[EMAIL PROTECTED]
888.517.4159
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to use X without installing X?

2005-01-13 Thread Doug Poland
On Thu, Jan 13, 2005 at 02:06:20PM -0500, Richard Morse wrote:
> Hi!  I have a FreeBSD 5 STABLE computer which is acting as a server.  
> Because it doesn't need it, I don't want to install all of X -- my goal 
> is that there shouldn't be anything that I can't do over ssh from a 
> command-line.
> 
> Unfortunately, Oracle doesn't agree with me.
> 
... snip ...
> 
> What is the minimum that I need to install to make this work?
> 
On my 5.3 servers, I install xorg-libraries so I can run X clients on remote
X servers.  From a remote host use a command similar to:

xserver% ssh -Xf xclient.mydomain.com /path/to/install/directory/OracleInstaller

where: 
  xserver = your X workstation
  xclient = your server w/xorg-libraries installed


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


Re: FreeBSD 5.3 on Dual Opteron -- experiences?

2005-01-13 Thread Chris Dillon
On Wed, 12 Jan 2005, sp0ng3b0b wrote:
I am getting a quote for a new server.
I would like to get a box with 2x AMD Opterons and an Intel MF 1000 
fiber gigabit card.

Does anyone have any good/bad experiences with Opterons and FreeBSD 
5.3?
FreeBSD 5.3/i386 and 5.3/amd64 both work just fine on my Tyan S2885 
(Thunder K8W) with dual Opteron 244's and 2GB RAM.

--
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to use X without installing X?

2005-01-13 Thread Daniel S. Haischt
simply try to export/set the DISPLAY variable before
installing any additional software.
setenv DISPLAY foo.bar.com:0.0
   
  |
Your actual X-Server -´
If you are using a bourn shell you need to use export
instead of setenv.
Richard Morse schrieb:
Hi!  I have a FreeBSD 5 STABLE computer which is acting as a server.  
Because it doesn't need it, I don't want to install all of X -- my goal 
is that there shouldn't be anything that I can't do over ssh from a 
command-line.

Unfortunately, Oracle doesn't agree with me.
I need to install the Oracle client software on this computer -- it 
won't actually be an Oracle server, but does need to be able to connect 
to various other servers (mostly from PHP and DBD::Oracle).

Apparently, in order to run the installer for 9i, it needs X.  But, I 
figure it shouldn't need all of X, because I intend to connect via `ssh 
-X` from a different computer which is running X to actualy do the 
display.  However, even once I've installed 'x11/xorg-libraries', when I 
`ssh -X` to the box $DISPLAY is not set.

What is the minimum that I need to install to make this work?
Thanks,
Ricky Morse
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

!DSPAM:41e6c6cb120362022840548!

--
Mit freundlichen Gruessen / With kind regards
Daniel S. Haischt
Wan't a complete signature??? Type at a shell prompt:
$ > finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to use X without installing X?

2005-01-13 Thread albi
Richard Morse wrote:
Apparently, in order to run the installer for 9i, it needs X.  But, I 
figure it shouldn't need all of X, because I intend to connect via `ssh 
-X` from a different computer which is running X to actualy do the 
display.  However, even once I've installed 'x11/xorg-libraries', when I 
`ssh -X` to the box $DISPLAY is not set.
did you enable X-forwarding in the sshd-config ? afaik indeed only the 
X-libraries are needed to make remote X over ssh work

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


How to use X without installing X?

2005-01-13 Thread Richard Morse
Hi!  I have a FreeBSD 5 STABLE computer which is acting as a server.  
Because it doesn't need it, I don't want to install all of X -- my goal 
is that there shouldn't be anything that I can't do over ssh from a 
command-line.

Unfortunately, Oracle doesn't agree with me.
I need to install the Oracle client software on this computer -- it 
won't actually be an Oracle server, but does need to be able to connect 
to various other servers (mostly from PHP and DBD::Oracle).

Apparently, in order to run the installer for 9i, it needs X.  But, I 
figure it shouldn't need all of X, because I intend to connect via `ssh 
-X` from a different computer which is running X to actualy do the 
display.  However, even once I've installed 'x11/xorg-libraries', when 
I `ssh -X` to the box $DISPLAY is not set.

What is the minimum that I need to install to make this work?
Thanks,
Ricky Morse
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Download from Windows

2005-01-13 Thread Jeff Spector
Thanks to all of you who responded. I am newbie to FreeBSD and UNIX so I 
may be asking some silly questions. I will try to burn it again and 
check the parameters. Perhaps I did not mount my cd to the /CDROM folder 
correctly and that is why I can not ls the file. Thanks again

jeff

-Original Message-
From: Chuck Swiger <[EMAIL PROTECTED]>
To: Jeff Spector <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Date: Thu, 13 Jan 2005 13:14:08 -0500
Subject: Re: Download from Windows

> Jeff Spector wrote:
> > I had downloaded the tar for apache on my windows 2000 machine. Is
> there 
> > anyway to burn a cd which will be recognized by FREEBSD ? 
> 
> Sure, popular Windows CD-ROM burning software like Adaptec's
> EZ/CD-Creator or 
> Nero will produce ISO-9660 CD-ROM images which will work with FreeBSD,
> or 
> almost anything else for that matter.
> 
> -- 
> -Chuck
> 

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


Re: burncd: "device busy" error when writing .iso

2005-01-13 Thread Jason Morgan
On Wed, Jan 12, 2005 at 01:42:43PM -0500, Jason Morgan wrote:
> I am attempting to burn an .iso of the 5.3 mini distribution and keep 
> running into the following error:
> 
> # burncd -f /dev/acd0 data 5.3-RELEASE-i386-miniinst.iso fixate
> next writeable LBA 0
> writing from file 5.3-RELEASE-i386-miniinst.iso size 274400 KB
> written this track 640 KB (0%) total 640 KB
> only wrote -1 of 32768 bytes: Device busy
> 
> fixating CD, please wait..
> 
> I have verified that the drive is working and is accessible.  I have 
> tried different media and keep running into the same result.
> 
> # dmesg | grep acd0
> acd0: DVDR  at ata1-master PIO4
> 
> This is a new drive, that I just recently installed.
> 
> Oh, I'm running FreeBSD 5.2.1-RELEASE-p11 #7.
> 
> Any suggestions?  I've only burned CDs with FreeBSD a few times and 
> never on this system, so I'm kinda a newb.
> 
> Thanks for your time.

I finally solved the problem.  I had to include "device atapicam" in my kernel, 
then used cdrecord instead of burncd, 
using the drive as a scsi device.  Hope this info will help some newb in the 
future.

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


Re: Thank you!

2005-01-13 Thread Colin J. Raven
On Jan 13 at 09:57, Boris Spirialitious vomited up some 1's and 0's 
thusly:

> I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> to linux and our application runs so much faster its unbelievable. I report
> a small problem and they work hard to fix it. Not like freebsd do they
> make fun of me or ask me to give them hardware.

Odd indeed, if anyone was going to be "made fun of" it might as well be 
me since I'm such a n00b and incredibly limited in my thinking, yet 
strange to say, I have never noted this to be the case. Yet. (*ducks*)

I assume the hardware you're attempting to run apps on under Linux is of 
absolutely *no* consequence whatsoever. Why ask? It doesn't work, so it 
must be the app. An unsuppported PCMCIA or PCI card? Noo, never happens!
A sound card that doesn't work under Mandrooky15..1? Can't possibly 
be.

> Its like a real product this linux!

I'm ecstatically happy that you have made such a revolutionary discovery 
and also that you are so delighted with it. Long may you continue to 
enjoy the fruits of your research into thoroughly supported OS's.


Troll [burp]

Kind Regards and penguin corpses,
-Colin


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


Re: Download from Windows

2005-01-13 Thread Chuck Swiger
Jeff Spector wrote:
I had downloaded the tar for apache on my windows 2000 machine. Is there 
anyway to burn a cd which will be recognized by FREEBSD ? 
Sure, popular Windows CD-ROM burning software like Adaptec's EZ/CD-Creator or 
Nero will produce ISO-9660 CD-ROM images which will work with FreeBSD, or 
almost anything else for that matter.

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


Re: Download from Windows

2005-01-13 Thread Jonathan Chen
On Thu, Jan 13, 2005 at 01:05:57PM -0500, Jeff Spector wrote:
> I had downloaded the tar for apache on my windows 2000 machine. Is there 
> anyway to burn a cd which will be recognized by FREEBSD ? 

FreeBSD will recognise Joilet filesystems (ie Window's CDROM
filesystems) just fine. Just use your vendor-supplied CD writing
software with Windows.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "You can get farther with a kind word and a gun
  than you can with a kind word alone" - Al Capone
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Download from Windows

2005-01-13 Thread Hexren
JS> I had downloaded the tar for apache on my windows 2000 machine. Is there 
JS> anyway to burn a cd which will be recognized by FREEBSD ? 

JS> Jeff

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

-

I would guess that a standard CD, meaning ISO 9660 Compliant should be
readable under nearly anything. (that is including FreeBSD :)
Burning an ISO CD with Nero should do the trick.

Hexren

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


Re: Thank you!

2005-01-13 Thread Jason Stewart
On 13/01/05 09:57 -0800, Boris Spirialitious wrote:
> I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> to linux and our application runs so much faster its unbelievable. I report
> a small problem and they work hard to fix it. Not like freebsd do they 
> make fun of me or ask me to give them hardware. Its like a real product 
> this linux!
>  
> Boris


You're Welcome!

And thanks for taking the time to earn yourself an entry in my hall of
fame!:

:0:
* ^From:[EMAIL PROTECTED]
/dev/null

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


Re: Thank you!

2005-01-13 Thread martin hudec
Hello,

On Thu, Jan 13, 2005 at 09:57:49AM -0800 or thereabouts, Boris Spirialitious 
wrote:
> I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> to linux and our application runs so much faster its unbelievable. I report
> a small problem and they work hard to fix it. Not like freebsd do they 
> make fun of me or ask me to give them hardware. Its like a real product 
> this linux!

   Nice to hear that you've found for what you have been looking for :).
   Just three things:

   1.) Maybe you could try to fix that problem (if it was really small)
   by yourself. Maybe you could be more regardful to others and their
   time.

   2.) Looks like you gonna shit on linux when something larger will
   emerge, and it will, and there will be noone to help you. Maybe then
   you will revert back to Windows.

   3.) Don't forget to shut the lights and close the door after you
   leave.


Bon voyage,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"


pgppQobNQmFEx.pgp
Description: PGP signature


Re: Thank you!

2005-01-13 Thread Duo
On Thu, 13 Jan 2005, Boris Spirialitious wrote:
I just wanted to thank you for making Freebsd 5.3 so badly. We changed
to linux and our application runs so much faster its unbelievable. I report
a small problem and they work hard to fix it. Not like freebsd do they
make fun of me or ask me to give them hardware. Its like a real product
this linux!
Boris
NEXT WE USE THIS LEENUX TO KILL MOOSE AND SQUIRREL!
Trolls, they stay so crunchy in milk.
*plonk*
--
Duo
Dispensing Cluepons, one moron at a time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thank you!

2005-01-13 Thread Kris Kennaway
On Thu, Jan 13, 2005 at 09:57:49AM -0800, Boris Spirialitious wrote:
> I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> to linux and our application runs so much faster its unbelievable. I report
> a small problem and they work hard to fix it. Not like freebsd do they 
> make fun of me or ask me to give them hardware. Its like a real product 
> this linux!

It's wonderful that you're so happy now!!

Kris

pgpLs3IHWPteQ.pgp
Description: PGP signature


Re: Thank you!

2005-01-13 Thread Jerry McAllister
> 
> I just wanted to thank you for making Freebsd 5.3 so badly. We changed
> to linux and our application runs so much faster its unbelievable. I report
> a small problem and they work hard to fix it. Not like freebsd do they 
> make fun of me or ask me to give them hardware. Its like a real product 
> this linux!

Glad you're happy.
Sorry you can not seem to comprehend a user volunteer supported system.

Bye,

jerry

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


Download from Windows

2005-01-13 Thread Jeff Spector
I had downloaded the tar for apache on my windows 2000 machine. Is there 
anyway to burn a cd which will be recognized by FREEBSD ? 

Jeff

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


Thank you!

2005-01-13 Thread Boris Spirialitious
I just wanted to thank you for making Freebsd 5.3 so badly. We changed
to linux and our application runs so much faster its unbelievable. I report
a small problem and they work hard to fix it. Not like freebsd do they 
make fun of me or ask me to give them hardware. Its like a real product 
this linux!
 
Boris


-
Do you Yahoo!?
 The all-new My Yahoo! – Get yours free!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dhcpd for ipv6

2005-01-13 Thread Miguel Mendez
On Thu, 13 Jan 2005 10:24:03 +0100
Erik Norgaard <[EMAIL PROTECTED]> wrote:

Hi,

> Does anyone know of alternatives? I would like to set up a lan with 
> ipv4/6 and an ipv6to4 gateway. How do you manage your ipv6 lan?

I just run rtadvd on the box that handles my ipv6 tunnel (I'm using
he.net for that) and let the other boxen autoconfigure. Since the
addresses are generated using the MAC address I wrote them down and
entered them in the dns config manually.

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1


pgpDlQusxoXti.pgp
Description: PGP signature


kernel panic booting 5.3 releng

2005-01-13 Thread Alex Shaw
Hi,

Im experiancing a problem while updating my laptop to 5.3. I currently run 
5.1-RELEASE version from a while back (should have updated a long time ago I 
know), on my Dell C840 Latitude. I followed the instructions on 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

cvsuping from the RELENG_5_3

At the point where I reboot into single user mode it all falls over. The new 
GENERIC kernel fails to boot, stopping after the memory detection with a kernel 
panic page fault 12.

The instruction pointer is 0x8:0xc0621604

Digging about I found the faq here

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING

After following the instructions and running the following

nm -n /boot/kernel/kernel | grep 06216

I get the following two functions returned

c0621664 t sysctl_bus
c0621688 t sysctl_devices

>From this information can anyone give me an idea of whats going wrong ?, or 
>how/where I might go about fixing it ?. I have included the result of a boot 
>attempt below.

...
real memory = 536748032 (511MB)
avail memory = 515559424 (491MB)
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x696370
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc0621604
stack pointer   = 0x10:0xc0c21d48
frame pointer   = 0x10:0xc0c21d58
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, 10PL=0
current process = 0 (swapper)
trap number = 12
panic: page fault
uptime: 1s


I havent gone any further in the update process, as I can still boot my machine 
using the old kernel now saved to /boot/safe. I didnt want to run the install 
world if the new kernel wont boot, fearing it would update and overwrite 
crucial bits of the OS and prevent the laptop from booting the old kernel.

I'm lost really in where to go from here or what the best options are to try 
and get the machine updated correctly. 

Thanks

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


Re: anyone using Putty and ssh-agent?

2005-01-13 Thread Brian McCann
I've had similar problems with PuTTY as well...and upgrading PuTTY
fixed the problem, but I'm curious about the whole
PasswordAuthentication thing.  I am testing out 5.3 now for our
production environment, and I haven't touched the sshd config file,
yet I can still login using usernames and passwords.  How is this
possible?  And how would have upgradding PuTTY fixed this?

Thanks,
--Brian

> Similiar problems have been noted on this list before with putty, the
> solution was to set PasswordAuthentication to yes in your sshd_config
> which is disabled by default in 5.3
> 
> Nelis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sound not working - none of the other posts helped

2005-01-13 Thread Karol Kwiatkowski
SRINIVASAN, KESHAV wrote:
> 
> I'm using the latest 5.3-stable build along with the Xfce4 window
> manager. I have a Sound Blaster Audigy card.
> I don't have the line 'device sound' in my kernel, but I have the
> following two lines in my loader.conf file:
> 
> sound_load="YES"
> 
> snd_emu10k1_load="YES"
> 
> Sound doesn't work in X (tried playing an MP3 using a graphical MP3
> player). It doesn't work in command line either (tried using a console
> MP3 player as well). Any idea how to fix this?

I don't use emu10k1 driver (emu10kx[1] instead), but since no one has
replied yet (probably due to missing details):

First I would check if modules are loaded and if card is recognized.

Try following commands (you should see similar output with emu10k1):

> blackacidevil: # kldstat
> Id Refs AddressSize Name
>  [...snip...]
>  31 0xc0827000 11c90snd_emu10kx.ko
>  [...snip...]

Here I've got only 'snd_emu10kx' listed because 'sound' is compiled in
the kernel. There should be module sound loaded on your system.


> blackacidevil: # dmesg | grep pcm
> pcm0:  on emu10kx0
> pcm0: 

> blackacidevil: # cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  on emu10kx0 (16p/1r/0v channels duplex default)


If all is OK try adjusting volume with /usr/sbin/mixer.

If not try 'pciconf -lv' and search for sound card information.
Also check emu10kx website (below) - scroll down to 'Basic
troubleshooting tips'.

Hope that helps a bit.

Karol

[1] emu10kx can be found:
http://chibis.persons.gfk.ru/audigy/
works great with 5.3-RELEASE-p4 and Audigy (class=0x040100
card=0x00511102 chip=0x00041102 rev=0x03 hdr=0x00)


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


  1   2   >