Re: Vinum, concantination and filesystems

2003-02-25 Thread Greg 'groggy' Lehey
On Saturday, 22 February 2003 at 23:20:00 -0600, Josh Paetzel wrote:
 On Sun, Feb 23, 2003 at 01:28:46AM -0300, David Feig wrote:
 Also, I can't seem to get dns resolution for the Vinum website. Have
 these guys not been paying their bills? (www.vinumvm.org)

 Shh.  Don't say vinum too loudly...it will wake Greg up.

*sigh* It's back on line now.  Take a look at
http://www.lemis.com/grog/diary-feb2003.html#20 for the background.
In addition, it seems that one of the offsite NSs is lame; I don't
understand why dns.itworks.com.au didn't answer, however.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
Please note: we block mail from major spammers, notably yahoo.com.
See http://www.lemis.com/yahoospam.html for further details.


pgp0.pgp
Description: PGP signature


Testtool for Sendmail

2003-02-25 Thread Andreas Widerøe Andersen


Hi all,
I'm looking for a FreeBSD tool that will automatically test my smtp server 
for relaying. I'm looking for something like the webpage described here: 
http://www.freebsddiary.org/sendmail.php (Testing the relay).

Any tools or website-tools appreciated.

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


Dummie question: The versioning system

2003-02-25 Thread Per olof Ljungmark
Hi all,

I am wondering what type of versioning is used  for various documents in 
many *nix OS's. For instance,
# $FreeBSD: src/etc/master.passwd,v 1.25.2.5.2.1 2002/07/16 12:33:21 
des Exp $

Is this something that could be used for an office enviroment or just 
for developing software?

Thanks,

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


enlightenment-16 and radeon 7500

2003-02-25 Thread Michael Soboleff
I have a terrible problem! my beloved e16 works very ugly with my new radeon 
7500 (manli with TV/OUT) - everytime new window is created on the screen a 
lots of junk lines appear... FreeBSD 4.7-R and 5.0-R were tested with no 
luck. XFree 4.2, dri on. 
With GeForce MX400 it works superb, but i want E!
P.S. I suppose this a problem of e, because KDE for ex. functions OK...

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


Map backspace key to backspace, not delete

2003-02-25 Thread Odhiambo Washington

Hello BSD Likes,

I have a quick one:

I just installed KDE3.1 and although it looks good, I am annoyed with one
thing I cannot figure out. When I ssh to a remote box from a terminal of 
my box, I get the backspace key doing DELETE instead of BACKSPACE.
How do I fix this?

Thanks

  
-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


Nobody wants constructive criticism.  It's all we can do to put up with
constructive praise.

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


Re: add user with shell account

2003-02-25 Thread Gary Dunn
On Mon, 24 Feb 2003 08:19:32 -0600
default013 [EMAIL PROTECTED] wrote:

 I'm working on a script that will automate making shell accounts and I
 guess I'm a bit stumped on how one enters the encrypted password into
 the deal.

adduser does it; it's a Perl script.



-- 

   _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  _/ _/
 _/  Gary Dunn  _/
_/  Open Slate Project _/
   _/  http://openslate.sourceforge.net/  _/
  _/  http://www.aloha.com/~knowtree/_/
 _/  Honolulu   _/
_/  registered Linux user #273809  _/
   _/ _/
  _/  This tagline is umop apisdn.   _/
 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/

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


panic! dqsync: dquot

2003-02-25 Thread Dennis S. Davidoff
Hi all.
I have a problem, while rebooting I saw a message:
panic: dqsync: dquot
I've guessed it's about sync disk quotas to quotafile:

/usr/src/sys/ufs/ufs/ufs_quota.c:
[..snip..]
/*
 * Update the disk quota in the quota file.
 */
static int
dqsync(vp, dq)
struct vnode *vp;
struct dquot *dq;
[..snip..]
if (dq == NODQUOT)
panic(dqsync: dquot);

Cuts from /etc/fstab:
/dev/da0s1e /home   ufs
rw,nosuid,userquota=/var/quotas/quota.user,nodev2   2
/dev/da1s1c /usr/local/vpopmail ufs
rw,nosuid,userquota=/var/quotas/quota.user,nodev2   2

quotafile:
-rw-r--r--  1 root  wheel  - 2097120 25  13:11 /var/quotas/quota.user

Could you give me advice? What's problem here?
P.S. I can't read the C code, bacause I poorly known that language.

-- 
Sincerely,
Dennis

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


Re: Testtool for Sendmail

2003-02-25 Thread Ken McGlothlen
Andreas Widerøe Andersen [EMAIL PROTECTED] writes:

| I'm looking for a FreeBSD tool that will automatically test my smtp server
| for relaying. I'm looking for something like the webpage described here:
| http://www.freebsddiary.org/sendmail.php (Testing the relay).

I tend to use external testing services, which perform a variety of tests.

One reputable open-relay tester can be found at

http://www.abuse.net/relay.html

If you want to be a little more daring, you can use ordb.net's relay-tester to
poke your server and see if it's closed.  It does a variety of tests, and then
emails you the results of the tests.

For more information, see

http://www.ordb.net/submit/

The downside to this is that there is a danger that if you *have* an open
relay, it'll be listed in ORDB until it tests clean, and there are delays
before the tests take place.  So consider this course of action only after
you've used abuse.net's tester.  :)



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


/bin/sh logout script

2003-02-25 Thread dick hoogendijk
For bash I can use .bash_profile and .bash_logout to get things done at
login/logout time.

On my fbsd machine I use /bin/sh and I can't find how to execute things
at logout time (login is set in .profile). I.e. I want to remove the
ssh-agent pig at logout time and clear the screen)

Does /bin/sh has a logout file ??? and if so, what's it called?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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


Re: /bin/sh logout script

2003-02-25 Thread Matthew Seaman
On Tue, Feb 25, 2003 at 12:19:45PM +0100, dick hoogendijk wrote:
 For bash I can use .bash_profile and .bash_logout to get things done at
 login/logout time.
 
 On my fbsd machine I use /bin/sh and I can't find how to execute things
 at logout time (login is set in .profile). I.e. I want to remove the
 ssh-agent pig at logout time and clear the screen)
 
 Does /bin/sh has a logout file ??? and if so, what's it called?

Hmmm... I don't think that /bin/sh does have a logout script.
However, you may still be able to use ssh-agent using the alternative
syntax.  You can tell ssh-agent to spawn another command, which is
usually used for something like a window manager.

Try putting a line like this at the end of your .profile:

exec ssh-agent /bin/sh

which should put you into your usual shell running as a child of the
ssh-agent.  Once in, check your environment: there should be
SSH_AUTH_SOCK and SSH_AGENT_PID environment variables.  The ssh-agent
will run until you exit from the shell, and you can load keys into it
as normal.

Warning: make sure you have an alternate login you can use to fix your
account if this all goes horribly wrong and stops you being able to
log in at all.  I haven't tested doing anything like this myself, so I
really don't know if it will work properly or not.

Cheers,

Matthew

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

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


Re: /bin/sh logout script

2003-02-25 Thread Ciprian Badescu
Hi,

I saw something about this long time ago. The ideea was to use 'trap' i
login script to install a handler, and so you will catch a signal (i don't
remember what signal - INT, ??), and make a function in login script that
executes the desired actions.

Hope will help you
--
__V__   Ciprian Badescu
A L C A T E L   Mobile Networks Division RD Center
Phone: +40 56 303100 (ext. 5786)
Fax: +40 56 295386
Email: [EMAIL PROTECTED]

On Tue, 25 Feb 2003, Matthew Seaman wrote:

 Date: Tue, 25 Feb 2003 11:33:58 +
 From: Matthew Seaman [EMAIL PROTECTED]
 To: freebsd-questions [EMAIL PROTECTED]
 Subject: Re: /bin/sh logout script

 On Tue, Feb 25, 2003 at 12:19:45PM +0100, dick hoogendijk wrote:
  For bash I can use .bash_profile and .bash_logout to get things done at
  login/logout time.
 
  On my fbsd machine I use /bin/sh and I can't find how to execute things
  at logout time (login is set in .profile). I.e. I want to remove the
  ssh-agent pig at logout time and clear the screen)
 
  Does /bin/sh has a logout file ??? and if so, what's it called?

 Hmmm... I don't think that /bin/sh does have a logout script.
 However, you may still be able to use ssh-agent using the alternative
 syntax.  You can tell ssh-agent to spawn another command, which is
 usually used for something like a window manager.

 Try putting a line like this at the end of your .profile:

 exec ssh-agent /bin/sh

 which should put you into your usual shell running as a child of the
 ssh-agent.  Once in, check your environment: there should be
 SSH_AUTH_SOCK and SSH_AGENT_PID environment variables.  The ssh-agent
 will run until you exit from the shell, and you can load keys into it
 as normal.

 Warning: make sure you have an alternate login you can use to fix your
 account if this all goes horribly wrong and stops you being able to
 log in at all.  I haven't tested doing anything like this myself, so I
 really don't know if it will work properly or not.

   Cheers,

   Matthew

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

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



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


Re: Testtool for Sendmail

2003-02-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-02-25 09:40:34 +0100:
 I'm looking for a FreeBSD tool that will automatically test my smtp server 
 for relaying. I'm looking for something like the webpage described here: 
 http://www.freebsddiary.org/sendmail.php (Testing the relay).

You can try relays.osirusoft.com if you trust your setup enough. If
the mail gets relayed you have the best incentive to fix your MTA
ASAP. :)

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

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


Re: Dummie question: The versioning system

2003-02-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-02-25 09:43:03 +0100:
 I am wondering what type of versioning is used  for various documents in 
 many *nix OS's. For instance,
 # $FreeBSD: src/etc/master.passwd,v 1.25.2.5.2.1 2002/07/16 12:33:21 
 des Exp $
 
 Is this something that could be used for an office enviroment or just 
 for developing software?

the above line is a CVS tag. CVS is fine for plain text documents,
and mostly source code, because it's line based.

if you want something for management, you might be better with a SVN
server accessed over WebDAV (I don't exactly keep up with
Subversion's development, so this might not be available just yet).

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

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


Re: upgrade of Mailman from ports fails: unable to set GID

2003-02-25 Thread Heinrich Rebehn
Tim Kellers wrote:
I just portupgraded an instance of Mailman from 2.1b4 to 2.1.1 and, while I 
was able to set the GID without a problem (sendmail MTA), I had this response 
to both /usr/local/etc/rc.d/mailman.sh start and mailmanctl:

eris# ./mailmanctl -s start
Site list is missing: mailman
I compared the files in /usr/local/mailman/bin with another machine that's 
running 2.1b4 and I didn't find anything startlingly different --even the 
Defaults.py and mm_cfg.py files were the same.

I ftp'd the mailmanctl file from the 2.1b4 server to the server with 2.1.1 
installed, ran the mailman.sh start script and everything (appears, so far) 
to be working fine.  Just to verify that it wasn't a portupgrade issue, I 
pkg_delete'd mailman and built a fresh install; I got the same error on 
starting mailmanctl with the file from 2.1.1.

Looks like 2.1.1 has some issues, has anyone gotten it to run out-of-the-box 
from ports??

Tim Kellers
CPE/NJIT
Hi, Tim

From /usr/local/share/doc/mailman/NEWS:

o There is now a `site list' which is a mailing list that must
  be created first, and from which all password reminders
  appear to come from.  It is recommended that this list be
  called [EMAIL PROTECTED].
After creating the above list, mailmanctl worked!

Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Random spurious reboots / lockups

2003-02-25 Thread Tuc
Hi,

Recently started having complete system reboots while in X, as
well as lookups.


REBOOTS:

It seems to have started only when I portupgraded my
XFree86 libraries and clients.  I can work on the machine in X for hours
and hours and hours straight, and then when I'm not next to it for a few
hours, it reboots. I was on this morning, took a shower/shave, and when I
came out it was in the process of rebooting.

LOCKUPS:

This seems to happen 99.99% of the time when I'm
trying to get out of xlockmore. If I enter a bad password and try to get
back in again it'll completely lock up. 

Is there any way to find out atleast whats causing the reboots?
I'm not seeing anything in the logs about it.

Thanks, Tuc/TTSG Internet Services, Inc.

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


[FBSD-Q] /kernel: uhub1: device problem, disabling port 2

2003-02-25 Thread David Gilbert
 JacobRhoden == JacobRhoden  [EMAIL PROTECTED] writes:

JacobRhoden Hi, Whenever I attempt to attach my digital camera on my
JacobRhoden work computer, I get the afformetioned error, this error
JacobRhoden occurs when I plug my device into any usb port on my
JacobRhoden computer:

JacobRhoden Feb 21 15:02:46 elkanah /kernel: uhub1: device problem,
JacobRhoden disabling port 2

JacobRhoden Has anyone else ever had this problem, how was it fixed?
JacobRhoden (It is not the camera, because this same camera works in
JacobRhoden my similarly setup FreeBSD 4.7-STABLE laptop at home)

I have the exact opposite problem.  Both my desktopos talk to USB
devices properly, but my laptop disables it's ports whenever the same
devices are connected.  My laptop chipset is similar to yours.

uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0x1440-0x145f irq 11
 at device 31.2 on pci0
usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: unknown card (vendor=0x8086, dev=0x2443) at 31.3 irq 9
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0x1460-0x147f irq 11
 at device 31.4 on pci0
usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered

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


UDMA ICRC error reading fsbn (Possible Fix)

2003-02-25 Thread Rob Clark
ISSUE: UDMA ICRC error reading fsbn in dmesg and /var/log/messages

$ dmesg
...
FreeBSD 4.7-STABLE #0: Tue Feb 20 22:06:43 EST 2003
... 
 ICRC error reading fsbn 257696511 of 128848224-128848479
(ad1s1 bn 257696511; cn 16040 tn 220 sn 51) retrying
ad1s1e: UDMA ICRC error reading fsbn 6803007 of 3401472-3401727
(ad1s1 bn 6803007; cn 423 tn 119 sn 15) retrying
...

After adding a Seagate 80GB Barracuda IDE (ad1s1e) hard drive recently I began
to notice the above errors in dmesg and /var/log/messages.  After reading
posts and researching I did some testing with transferring files using
both cp and mv on:

/dev/ad1s1e

results were sporadic at best, sometimes producing the errors and sometimes not.
Believing this to be a cabling issue, I replaced the new IDE 80wire/40pin
another 80wire/40pin IDE cable only to receive even more errors of this type. 
After shutting down, reopening the box, and staring blank-facedly at the
motherboard and cables I remembered what an old hardware guru suggested once
when adding additional hard drives,

Run the IDE cable to from the controller to the interim connector
(master drive) to the end connector (slave drive).

i.e., (diagram 1)
|---IDE 80 WIRE CABLE--|
::---::-::
controller   interim connector  end connector
MOTHERBOARDMASTER DRIVE  SLAVE DRIVE
(My Seagate 80GB)

I figured it couldn't be that easy.  I tried to find some info on this using
google, of course there were differing opinions on the subject. One argument
suggests that the drives will fight for bandwidth, so the logic suggested here
seems correct. 

Before this, I had the drives reversed and in the order of:
(diagram 2)
|-ide cable--|
controller---slave---master
  (Seagate 80G)
repeating this with other cables gave same type of error messages.


Following diagram 1 above I used the original IDE cable, this seems to have
solved the problem. 5 days later still no error messages.  So it seems this
is a possible fix to this issue. Outside my bad diagrams,
I figured this might just be worth a try to others having similar issues.
All opinions and any additional information on this topic are welcome.

Regards,
Rob Clark


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


Re: APC UPS

2003-02-25 Thread Dan Pelleg
Mark [EMAIL PROTECTED] writes:

 Hi,
 
 A while ago I posted that I could not get my APC UPS BK350 to work under
 FreeBSD 4.7R, using apcupsd. Problem was that, though apcupsd test prog sees
 the power go off-line, the apcupsd daemon itself does not. :(
 
 So, since I do need a solution, maybe I just need a smart UPS. I was
 thinking of buying the APC Smart-UPS 700VA. But before I shell out good
 money for that, does anyone have that one working for FreeBSD? And with
 apcupsd? (or other daemon). If so, I would much appreciate you telling me.
 :)
 

FWIW, and I realize that's not a lot, the APC 1400RM2 does work with
apcupsd.

-- 

  Dan Pelleg

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


Re: systat like statistics to a flat file ?

2003-02-25 Thread Andy Farkas
On Mon, 24 Feb 2003, Sean O'Neill wrote:

 Is there anything in FreeBSD or the ports that will collect statistics
 similar to those displayed by systat and drop them to a flat file ?

man systat says:

SEE ALSO
netstat(1), kvm(3), icmp(4), ip(4), tcp(4), udp(4), iostat(8), vmstat(8)

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/




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


Re: Dummie question: The versioning system

2003-02-25 Thread Bill Moran
Per olof Ljungmark wrote:
Hi all,

I am wondering what type of versioning is used  for various documents in 
many *nix OS's. For instance,
# $FreeBSD: src/etc/master.passwd,v 1.25.2.5.2.1 2002/07/16 12:33:21 
des Exp $

Is this something that could be used for an office enviroment or just 
for developing software?
The software is CVS, which is used in many, many software development
projects.  www.cvshome.org
CVS is designed with special features for tracking versions within text
files (such as C source code) and does an excellent job not only of
keeping versions, but allowing one to see the progress as changes are
made.
CVS is not so good at tracking changes in non-text files (such as images,
OpenOffice documents, etc) but can still do so.  You maintain versioning,
but CVS is unable to understand the content of the file, thus it can't
give you the changes from version 1.15 to 1.16 or insert version strings
in the document (as you see above).
Hope this helps.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


?

2003-02-25 Thread .......
Title: ²`©]1ÂI¤F






²`©]1ÂI¤F
½ö¦b§É¤Wªº§Ú¤£Â_ªº«ä¯Á...µLªk¤JºÎ
¸£¤¤¥X²{ªº¬O¤÷¥À¿Ë¯h¾Îªº¨­Åé...
§ÚºÎ¤£µÛ...ºÎ¤£µÛ...
´¿¸g...§Ú¸Ø¤U®ü¤f­nÅý¥L­Ì¹L¦n¤é¤l
¥i¬O·LÁ¡Á~¤ô«oµLªkÅý§Ú¼i¦æ©Ó¿Õ
[EMAIL PROTECTED]
µuµuªº40´X¤ÀÄÁ...§Ú¬Ý¨ì¤F§Æ±æ

[EMAIL PROTECTED]@¨Bªº¦b¹ïªº¦a¤è¬°®a§V¤O

¦Ó§Úªº©Ó¿Õ¤]±N§I²{

¦pªG§A¤]·QÅý®a¤H¹L§ó¦nªº¥Í¬¡

½Ð¯d¤U¸ê®Æ,§Ú±N§â³o¤ù¥úºÐ±Hµ¹§A

§Ú«OÃÒ,¥u­n§A¬ÝÀ´¤F,[EMAIL PROTECTED]|¬°§A¶}±Ò«GÄRªº¤H¥Í

©m¦W
©m§O
¦~ÄÖ
®a¤¤¹q¸Ü
¦æ°Ê¹q¸Ü
¶l±H¦a§}
¶l»¼°Ï¸¹
½Ð±H¨ì[EMAIL PROTECTED]





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


krb5 port and permissions on forwarded credentials

2003-02-25 Thread Tillman
Howdy,

When running telnetd (for example) under inetd like this:

telnet  stream  tcp nowait  root/usr/local/krb5/sbin/telnetd telnetd -a user

and logging in as a non-root user (the most likely scenario), the
credentials cache is not chown'ed to the user (remaining 600
root:wheel). klist returns this:

$ klist
klist: Credentials cache permissions incorrect while setting cache flags
(ticket cache FILE:/tmp/krb5cc_p3866)

This effectively means that forwarded credentials don't work.

After reading README.FreeBSD (provided by the port), I believe that this
is because the FreeBSD /usr/bin/login program doesn't know that it's
supposed to manage cache permissions and that using login.krb5 instead
will fix this. I'd prefer not to do this - I agree with the port author
that /usr/bin/login is the better way to go.

Is there a place where I can configure the default login process to
change the ownership of the cache file? I suspect that this will boil
down to a PAM problem, but I don't know enough of the details of the
/usr/bin/login authentication process to take it any further.

TIA,

- Tillman


-- 
Dialects:  Formerly variations in language produced by geographic isolation,
dialects are now the variations encouraged by specialists to prevent non-
specialists access to their professional territory. What is the one subject on
which a nuclear engineer cannot be frank in public? Nuclear engineering.
The Doubter's Companion: A Dictionary of Aggressive Common Sense

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


?

2003-02-25 Thread .......
Title: ²`©]1ÂI¤F






²`©]1ÂI¤F
½ö¦b§É¤Wªº§Ú¤£Â_ªº«ä¯Á...µLªk¤JºÎ
¸£¤¤¥X²{ªº¬O¤÷¥À¿Ë¯h¾Îªº¨­Åé...
§ÚºÎ¤£µÛ...ºÎ¤£µÛ...
´¿¸g...§Ú¸Ø¤U®ü¤f­nÅý¥L­Ì¹L¦n¤é¤l
¥i¬O·LÁ¡Á~¤ô«oµLªkÅý§Ú¼i¦æ©Ó¿Õ
[EMAIL PROTECTED]
µuµuªº40´X¤ÀÄÁ...§Ú¬Ý¨ì¤F§Æ±æ

[EMAIL PROTECTED]@¨Bªº¦b¹ïªº¦a¤è¬°®a§V¤O

¦Ó§Úªº©Ó¿Õ¤]±N§I²{

¦pªG§A¤]·QÅý®a¤H¹L§ó¦nªº¥Í¬¡

½Ð¯d¤U¸ê®Æ,§Ú±N§â³o¤ù¥úºÐ±Hµ¹§A

§Ú«OÃÒ,¥u­n§A¬ÝÀ´¤F,[EMAIL PROTECTED]|¬°§A¶}±Ò«GÄRªº¤H¥Í

©m¦W
©m§O
¦~ÄÖ
®a¤¤¹q¸Ü
¦æ°Ê¹q¸Ü
¶l±H¦a§}
¶l»¼°Ï¸¹
½Ð±H¨ì[EMAIL PROTECTED]





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


isp connection woes

2003-02-25 Thread Brian Henning



I have ATTBI for an isp, someone told me that the IP TTL is expiring on the way
to the server.  Their network design supports no more than 16 hops on the way to
a DHCP server,
but increasing the (hard-coded) TTL
(at line 159 in /usr/src/contrib/isc-dhcp/common/packet.c) can help fix the
problem.
I would like to manually try to connect to my isp before i try changing the code
for DHCP.
I got my network info from my lrp operating system. I would like to switch that
to bsd.
can i use traceroute to find out the number of hops i am currently taking to get
to my isp's dhcp server?


manual configuration

ifconfig_rl0=inet 66.41.139.87 netmask 255.255.248.0#66.41.139.87/21
ifconfig_rl1=inet 192.168.1.254 netmask 255.255.255.0

default_router=66.41.136.1 rl0
default_router=192.168.1.254 rl1


domain the-matrix.net
nameserver 63.240.76.19
nameserver 204.127.198.19

is there anything else i need to manually connect to my isp?

thanks,

brian

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


help

2003-02-25 Thread Steve Dupras
i am trying to install freebsd
so i downloaded the disk1 i386 5.0 version and i cant install with the cd 
because it goes through the whole process and then says its rebooting.
and when i use the floppie method it cant see the cd in the rom and it cant 
use a ftp connection?? and it cant install from ms dos partition if you 
could help me please e-mail me
[EMAIL PROTECTED]
steve
thanks!





_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


ñîîáùåíèå äëÿ Freebsd-questions Ïðàâîâàÿ áàçà çàêîíîäàòåëüñòâà Ðîññèè. #4 ò.(095) 268-09-65 / 502-54-47

2003-02-25 Thread Ýëekñ

 !

 (
)
 CD-ROM
  (   ).

   , 
   
   ( 115  ) CD-
ROM.   .  
 ,
 ,  
,,  ,
  , 

 .
   15
  ( , ,
, ,
,   ,  ,  ,   ,
   , -
- ).
.  
  ,  . .  
 RTF.
   ( 
   ) - 1620 . 
   . 
  (- 275 ).
   
   ,  
 , .
   Internet  
(095) 268-09-65,  502-54-47.  
.

  

 ..

 ,  
  .









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


RE: help

2003-02-25 Thread Wolfpaw - Dale Corse
Hi Steve,

 i am trying to install freebsd
 so i downloaded the disk1 i386 5.0 version and i cant install with the cd 
 because it goes through the whole process and then says its rebooting.

It's supposed to do that .. what's the problem when it reboots? Which part does
it reboot at?

 and when i use the floppie method it cant see the cd in the rom and it cant 
 use a ftp connection?? and it cant install from ms dos partition if you 
 could help me please e-mail me

What kind of network card are you using? Is there more then one in the system? What
type of CDRom is in the system? SCSI, IDE?

Can't help you much without knowing more about it :)
D.

Dale Corse
System Administrator
Wolfpaw Services Inc.
http://www.wolfpaw.net
(780) 474-4095 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steve Dupras
Sent: Tuesday, February 25, 2003 8:23 AM
To: [EMAIL PROTECTED]
Subject: help








_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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



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


Re: isp connection woes

2003-02-25 Thread Bill Moran
Brian Henning wrote:
I have ATTBI for an isp, someone told me that the IP TTL is expiring on the way
to the server.  Their network design supports no more than 16 hops on the way to
a DHCP server,
but increasing the (hard-coded) TTL
(at line 159 in /usr/src/contrib/isc-dhcp/common/packet.c) can help fix the
problem.
I would like to manually try to connect to my isp before i try changing the code
for DHCP.
I got my network info from my lrp operating system. I would like to switch that
to bsd.
can i use traceroute to find out the number of hops i am currently taking to get
to my isp's dhcp server?
Don't see why not, assuming:
1) The DHCP server returns icmp echo requests
2) You know the IP of the DHCP server
manual configuration

ifconfig_rl0=inet 66.41.139.87 netmask 255.255.248.0#66.41.139.87/21
ifconfig_rl1=inet 192.168.1.254 netmask 255.255.255.0
default_router=66.41.136.1 rl0
This should be:
defaultrouter=66.41.136.1
default_router=192.168.1.254 rl1
  ^
This is wrong.  Don't put that in.
domain the-matrix.net
nameserver 63.240.76.19
nameserver 204.127.198.19
This goes in your /etc/resolv.conf

is there anything else i need to manually connect to my isp?
As long as they allow the use of that IP, no.  You should be
good to go.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: help

2003-02-25 Thread Bill Moran
Steve Dupras wrote:
i am trying to install freebsd
so i downloaded the disk1 i386 5.0 version and i cant install with the 
cd because it goes through the whole process and then says its rebooting.
and when i use the floppie method it cant see the cd in the rom and it 
cant use a ftp connection?? and it cant install from ms dos partition if 
you could help me please e-mail me
If you're new to FreeBSD, you should use 4.7, not 5.0.  5.0 is still in
the development process and is not suitable for all users.
If you still have trouble with the installation of 4.7, please post
details of your hardware to the list.  Otherwise, we can't really advise
you on hardware related problems.
Also, we'll need more information on why the FTP and DOS installations
are failing.  Error messages?  Timeouts?  Are you using DHCP?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: rfd0 fd0

2003-02-25 Thread Mike Meyer
In [EMAIL PROTECTED], Konrad Heuer [EMAIL PROTECTED] typed:
 On Mon, 24 Feb 2003, Brian Henning wrote:
  what is the difference between these two devices?
 fd0 ist a block-oriented device, data are cached in the buffer cache;
 rfd0 is a byte-oriented raw device; data are always read from or
 immediately written to the device.

This is out-of-date information. Both fd0 and rfd0 are raw character
devices these days. The old names were kept around for backwards
compatability, but there is no difference between them.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Re: isp connection woes

2003-02-25 Thread Brian Henning

- Original Message -
From: Bill Moran [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: freebsd [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 9:53 AM
Subject: Re: isp connection woes


 Brian Henning wrote:
  I have ATTBI for an isp, someone told me that the IP TTL is expiring on the
way
  to the server.  Their network design supports no more than 16 hops on the
way to
  a DHCP server,
  but increasing the (hard-coded) TTL
  (at line 159 in /usr/src/contrib/isc-dhcp/common/packet.c) can help fix the
  problem.
  I would like to manually try to connect to my isp before i try changing the
code
  for DHCP.
  I got my network info from my lrp operating system. I would like to switch
that
  to bsd.
  can i use traceroute to find out the number of hops i am currently taking to
get
  to my isp's dhcp server?

 Don't see why not, assuming:
 1) The DHCP server returns icmp echo requests
 2) You know the IP of the DHCP server

  manual configuration
  
  ifconfig_rl0=inet 66.41.139.87 netmask 255.255.248.0#66.41.139.87/21
  ifconfig_rl1=inet 192.168.1.254 netmask 255.255.255.0
 
  default_router=66.41.136.1 rl0

 This should be:
 defaultrouter=66.41.136.1

  default_router=192.168.1.254 rl1
^
 This is wrong.  Don't put that in.

  domain the-matrix.net
  nameserver 63.240.76.19
  nameserver 204.127.198.19

 This goes in your /etc/resolv.conf

  is there anything else i need to manually connect to my isp?

 As long as they allow the use of that IP, no.  You should be
 good to go.

 --
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com


Bill,

Why do i not need to have two default routes, I have 2 networks? I am sure you
are correct, I guess i just don't understand why. is there a way i can find out
the ip addr of my dhcp server?
does this even work: default_router=192.168.1.254 rl1
Thanks again for the help,
Brian



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


Portupgrade failing to upgrade a port

2003-02-25 Thread Marc LeMaire
Hello you all, 
I've made a complete reinstall, made a make world, recompiled the kernel 
during the last week-end. So I've come to the last step of syncronizing my 
port tree. While upgrading my ports, I've got this while updating 
XF86-clients

__
usr/include/stdlib.h:110: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:114: warning: ANSI C does not support `long long'
cc -O -pipe -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith 
-I/usr/ports/x11/XFree86-4-clients/work/xc 
-I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include  
-I/usr/X11R6/include -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO-DMITSHM 
-DXFT `pkg-config xft --cflags`  -c do_text.c
do_text.c:403: X11/Xft/Xft.h: No such file or directory
In file included from x11perf.h:28,
 from do_text.c:26:
/usr/include/stdlib.h:110: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:114: warning: ANSI C does not support `long long'
do_text.c:405: syntax error before `*'
do_text.c:405: warning: type defaults to `int' in declaration of `aafont'
do_text.c:405: ANSI C forbids data definition with no type or storage class
do_text.c:406: syntax error before `*'
do_text.c:406: warning: type defaults to `int' in declaration of `aadraw'
do_text.c:406: ANSI C forbids data definition with no type or storage class
do_text.c:407: syntax error before `aacolor'
do_text.c:407: warning: type defaults to `int' in declaration of `aacolor'
do_text.c:407: ANSI C forbids data definition with no type or storage class
do_text.c: In function `InitAAText':
do_text.c:416: warning: implicit declaration of function `XftFontOpenName'
do_text.c:416: warning: assignment makes pointer from integer without a cast
do_text.c:425: warning: implicit declaration of function `XftDrawCreate'
do_text.c:427: warning: assignment makes pointer from integer without a cast
do_text.c:432: warning: implicit declaration of function `XftFontClose'
do_text.c:439: warning: implicit declaration of function `XftColorAllocValue'
do_text.c:446: warning: implicit declaration of function `XftDrawDestroy'
do_text.c:453: request for member `height' in something not a structure or 
union
do_text.c: In function `DoAAText':
do_text.c:483: warning: implicit declaration of function `XftDrawString8'
do_text.c: In function `EndAAText':
do_text.c:508: warning: implicit declaration of function `XftColorFree'
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/x11perf.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade75378.9 
make
** Fix the problem and try again.
---  Build of x11/XFree86-4-clients ended at: Tue, 25 Feb 2003 10:38:37 -0500 
(consumed 00:03:00)
---  Upgrade of x11/XFree86-4-clients ended at: Tue, 25 Feb 2003 10:38:37 
-0500 (consumed 00:03:06)
** No need to upgrade 'XFree86-fontEncodings-4.2.0' (= 
XFree86-fontEncodings-4.2.0). (specify -f to force)
** No need to upgrade 'XFree86-font75dpi-4.2.0' (= XFree86-font75dpi-4.2.0). 
(specify -f to force)

I also got this while upgrading Mozilla:

usr/include/stdlib.h:110: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:114: warning: ANSI C does not support `long long'
cc -O -pipe -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith 
-I/usr/ports/x11/XFree86-4-clients/work/xc 
-I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include  
-I/usr/X11R6/include -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO-DMITSHM 
-DXFT `pkg-config xft --cflags`  -c do_text.c
do_text.c:403: X11/Xft/Xft.h: No such file or directory
In file included from x11perf.h:28,
 from do_text.c:26:
/usr/include/stdlib.h:110: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:114: warning: ANSI C does not support `long long'
do_text.c:405: syntax error before `*'
do_text.c:405: warning: type defaults to `int' in declaration of `aafont'
do_text.c:405: ANSI C forbids data definition with no type or storage class
do_text.c:406: syntax error before `*'
do_text.c:406: warning: type defaults to `int' in declaration of `aadraw'
do_text.c:406: ANSI C forbids data definition with no type or storage class
do_text.c:407: syntax error before `aacolor'
do_text.c:407: warning: type defaults to `int' in declaration of `aacolor'
do_text.c:407: ANSI C forbids data definition with no type or storage class
do_text.c: In function `InitAAText':
do_text.c:416: warning: implicit declaration of function `XftFontOpenName'
do_text.c:416: warning: assignment makes pointer from integer without a cast
do_text.c:425: warning: implicit declaration of function `XftDrawCreate'
do_text.c:427: warning: assignment makes pointer from integer without a cast
do_text.c:432: warning: implicit declaration of function `XftFontClose'

Re: Dummie question: The versioning system

2003-02-25 Thread Mike Meyer
In [EMAIL PROTECTED], Per olof Ljungmark [EMAIL PROTECTED] typed:
 I am wondering what type of versioning is used  for various documents in 
 many *nix OS's. For instance,
 # $FreeBSD: src/etc/master.passwd,v 1.25.2.5.2.1 2002/07/16 12:33:21 
 des Exp $

That's CVS. 

 Is this something that could be used for an office enviroment or just 
 for developing software?

It can be reasonably used on anything that stores files as plain text
documents. So the answer depends on your office environment. If you're
using one of the XML-based office systems, you can use it with some
success. If you're still using a system that stores data in binary
files, it'll work - but isn't nearly as useful.

I've had very good experiences using Perforce - which I perfer to CVS
- to store system configuration files.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


tcsh redirect

2003-02-25 Thread Brian Henning
hello-
can anyone tell me how to redirect just the stderr in tcsh?

command  /dev/null   #suppress stdout
command  /dev/null  #suppress stderr and stdout

what can i run to suppress just the stderr?

thanks,

brian

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


Re: tcsh redirect

2003-02-25 Thread John Bleichert
On Tue, 25 Feb 2003, Brian Henning wrote:
 
 hello-
 can anyone tell me how to redirect just the stderr in tcsh?
 
 command  /dev/null   #suppress stdout
 command  /dev/null  #suppress stderr and stdout
 
 what can i run to suppress just the stderr?
 
 thanks,
 
 brian
 

From UNIX in a Nutshell, 3rd ed.:

(command  file1)  file2

sends standard output to file1 and standard error to file2. I don't think 
that's exactly what you were looking for, but hope it helps. 

Note that in bash or ksh:

command 2file1

sends *only* stderr to file1. 

JB 

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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


EPoX ep-4g4m+ ?

2003-02-25 Thread Len Conrad
An integrator wants to use in some 1U boxes for us.

With Intel 845G

Any body have any horror stories?  EPoX ok in general?

Len

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


Is Apache+Perl behaving correctly? Am I insane?

2003-02-25 Thread Kirk Strauser
I'm trying to enable mod_perl support for my TWiki-based website
(http://subwiki.honeypot.net/).  I'm seeing some really strange behaviour,
though, and I don't know which of mod_perl or I are going insane.

In my httpd.conf, I have:

User www
Group www

and it behaves in the expected way.  TWiki ships with a script called
`testenv' that shows some information about the current Apache environment,
and it calls some very simple code to determine the user its running as:

my $usr = lc( getlogin || getpwuid($) );
print trth align=\right\User:/thtd$usr/td/tr\n;

When I execute that script from a browser, I see User: root, and I'm not
sure where that's coming from.  Right now, the following httpd processes are
running on the server:

# ps auxwww | grep -- -DSSL
root   34839  0.0  0.9 14092 7032  ??  Ss   10:55AM   0:00.95 
/usr/local/sbin/httpd -DSSL
www35394  0.0  0.9 14100 7068  ??  I11:11AM   0:00.01 
/usr/local/sbin/httpd -DSSL
www35395  0.0  0.9 14100 7064  ??  I11:11AM   0:00.01 
/usr/local/sbin/httpd -DSSL
www35396  0.0  0.9 14160 7112  ??  I11:11AM   0:00.02 
/usr/local/sbin/httpd -DSSL
www35397  0.0  0.9 14160 7120  ??  I11:11AM   0:00.02 
/usr/local/sbin/httpd -DSSL
www35398  0.0  0.9 14160 7120  ??  I11:11AM   0:00.02 
/usr/local/sbin/httpd -DSSL
www35403  0.0  0.9 14092 7040  ??  I11:12AM   0:00.01 
/usr/local/sbin/httpd -DSSL

Doesn't the process running as root exist solely to spawn other children?
If so, why does Perl (both with and without mod_perl enabled) think that
it's running as root instead of www?
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: isp connection woes

2003-02-25 Thread Bill Moran
Brian Henning wrote:
- Original Message -
From: Bill Moran [EMAIL PROTECTED]
Brian Henning wrote:

Their network design supports no more than 16 hops on the
way to
a DHCP server,
but increasing the (hard-coded) TTL
(at line 159 in /usr/src/contrib/isc-dhcp/common/packet.c) can help fix the
problem.
I would like to manually try to connect to my isp before i try changing the
code
for DHCP.
I got my network info from my lrp operating system. I would like to switch
that
to bsd.
can i use traceroute to find out the number of hops i am currently taking to
get
to my isp's dhcp server?
Had another thought, can you traceroute from the machine that is properly
connecting?  Are you sure that you can't get an IP address because of the
TTL?  I find it very odd that the DHCP server would be that far away, but
stranger things have happened.
manual configuration

ifconfig_rl0=inet 66.41.139.87 netmask 255.255.248.0#66.41.139.87/21
ifconfig_rl1=inet 192.168.1.254 netmask 255.255.255.0
default_router=66.41.136.1 rl0
This should be:
defaultrouter=66.41.136.1

default_router=192.168.1.254 rl1
  ^
This is wrong.  Don't put that in.
Bill,

Why do i not need to have two default routes, I have 2 networks? I am sure you
are correct, I guess i just don't understand why.
A default route or default gateway is defined as the place the software
sends traffic when it doesn't know how else to reach the machine in question.
The assumption is that the default route computer will know where to send it.
Other routes are added automagically, without needing your intervention.  For
example, when you ifconfig the rl1 interface, the network software automatically
adds a route to 192.168.1.*, based on the IP/netmask that you configured.  The
network software then knows that all computers in that range can be reached
through that network card.
Additionally, having a default route that points back to itself results in an
infinite loop (if the machine will even let you do it).  The effect is: machine
doesn't know how to reach host, so sends to default route, doesn't know how
to reach host, sends to default route.  It just keeps receiving the same traffic
that it doesn't know what to do with.
is there a way i can find out
the ip addr of my dhcp server?
Call your ISP, or if you have a machine that is working properly, check where
it got it's IP address.  Most OSes will tell you (even Windows).
does this even work: default_router=192.168.1.254 rl1
No.  default_router is a syntax error, it should be defaultrouter and
the interface name at the end is not supposed to be there.  The system will
automagically determine the interface that belongs to the route.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: systat like statistics to a flat file ?

2003-02-25 Thread Matthew Seaman
On Mon, Feb 24, 2003 at 10:40:24PM -0600, Sean O'Neill wrote:
 Is there anything in FreeBSD or the ports that will collect statistics 
 similar to those displayed by systat and drop them to a flat file ?

systat actually provides a handy constantly updating display of data
equivalent to a number of well known status reporting tools under
Unix.  So, going full circle, you have:

uptime(1)

System load averages

ps(1)

Process Status --- the systat 'pigs' mode selects those
processes using a large fraction of the available processor
power, which is roughly equivalent to runnign 'ps -rla' and
picking out processes from the top of that list.

netstat(1)

Various counters to do with network traffic. Thus the systat
icmp display shows the same sort of information as:

netstat -s -p icmp

The tcp and ip displays can be shown similarly.  netstat(1)
can show statistics for more traffic categories than
systat(1), eg: igmp, udp, ip6, icmp6, and it can show the
traffic counters just for a specific network interface:

netstat -I lo0 -s -p ip6

netstat(1) also displays mbuf counts, similar to systat's mbuf
mode:

netstat -m

The default output from netstat(1) is to show the status of
all open sockets on the system --- equivalent to systat(1)'s
netstat mode (unsurprisingly...)

pstat(8), swapinfo(8)

swapinfo(1) is just a special way of invoking 'pstat -s'.
Anyhow, pstat(1) is a general interface for reporting various
kernel statistics to do with swap, filesystems and terminals.

swapinfo

shows how much capacity is in use in each of the swap areas on
the system, equivalently to systat's swap mode.

vmstat(8)

This comand will tell you all about the performance of the
virtual memory system.  The systat(1) vmstat mode manages to
summarise several of vmstat(1)'s output modes onto one page

vmstat -s

shows counts (since the last reboot) of various types of
paging event in the system.

vmstat -i

shows the number of interrupts per device since the last
reboot, and plain

vmstat

produces a condensed display showing inter-alia the amount of
virtual memory in use, the free memory available, page faults,
paging disk IO. faults and cpu usage, averaged over the time
since the last reboot.  vmstat in this mode is intended to be
run using the '-w' flag which causes it to loop and print out
statistics for each successive period.

iostat(8)

Overlaps somewhat with vmstat(8), and has a similar one-line
report which it will print out at intervals given the '-w'
flag.  However, the principal focus is on disk IO throughput.
systat(1)'s iostat mode shows the same information spread out
over a whole page.

There's several other statistics or status reporting tools that come
with the system and which don't have an analog within systat(1), such
as sockstat(1), fstat(1), nfsstat(1), ifmcstat(8), arp(8) all of which
are well worth knowing about.

Cheers,

Matthew

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

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


Re: tcsh redirect

2003-02-25 Thread Giorgos Keramidas
On 2003-02-25 10:53, Brian Henning [EMAIL PROTECTED] wrote:
 hello-
 can anyone tell me how to redirect just the stderr in tcsh?

 command  /dev/null   #suppress stdout
 command  /dev/null  #suppress stderr and stdout

 what can i run to suppress just the stderr?

The easiest way I can think is to use sh(1) to redirect descriptors,
which has a much cleaner and easy to use syntax for redirection.

tcsh cat lala
#!/bin/sh
echo This shows up on stdout
echo This shows up on stderr 2
tcsh /bin/sh -c './lala 2/dev/null'
This shows up on stdout
tcsh

- Giorgos


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


Re: Is Apache+Perl behaving correctly? Am I insane?

2003-02-25 Thread Matthew Seaman
On Tue, Feb 25, 2003 at 11:16:09AM -0600, Kirk Strauser wrote:
 I'm trying to enable mod_perl support for my TWiki-based website
 (http://subwiki.honeypot.net/).  I'm seeing some really strange behaviour,
 though, and I don't know which of mod_perl or I are going insane.
 
 In my httpd.conf, I have:
 
 User www
 Group www
 
 and it behaves in the expected way.  TWiki ships with a script called
 `testenv' that shows some information about the current Apache environment,
 and it calls some very simple code to determine the user its running as:
 
 my $usr = lc( getlogin || getpwuid($) );
 print trth align=\right\User:/thtd$usr/td/tr\n;
 
 When I execute that script from a browser, I see User: root, and I'm not
 sure where that's coming from.  Right now, the following httpd processes are
 running on the server:
 
 # ps auxwww | grep -- -DSSL
 root   34839  0.0  0.9 14092 7032  ??  Ss   10:55AM   0:00.95 
 /usr/local/sbin/httpd -DSSL
 www35394  0.0  0.9 14100 7068  ??  I11:11AM   0:00.01 
 /usr/local/sbin/httpd -DSSL
 www35395  0.0  0.9 14100 7064  ??  I11:11AM   0:00.01 
 /usr/local/sbin/httpd -DSSL
 www35396  0.0  0.9 14160 7112  ??  I11:11AM   0:00.02 
 /usr/local/sbin/httpd -DSSL
 www35397  0.0  0.9 14160 7120  ??  I11:11AM   0:00.02 
 /usr/local/sbin/httpd -DSSL
 www35398  0.0  0.9 14160 7120  ??  I11:11AM   0:00.02 
 /usr/local/sbin/httpd -DSSL
 www35403  0.0  0.9 14092 7040  ??  I11:12AM   0:00.01 
 /usr/local/sbin/httpd -DSSL
 
 Doesn't the process running as root exist solely to spawn other children?
 If so, why does Perl (both with and without mod_perl enabled) think that
 it's running as root instead of www?

The problem is the getlogin(2) call.  getlogin(2) tells you who the
current user logged in as, which, given intervening calls to functions
like setruid(3), setuid(2) or seteuid(2) is not necessarily the same
thing as the uid running the process.  In your case, the apache daemon
has to be started up as root so it can bind port 80, but it's child
processes all call setuid() or similar to switch to the standard UID
the daemon runs under. You can easily see the effect by using su(1) or
sudo(1):

% sudo perl -e 'print scalar getlogin(), \n;'
matthew
% sudo perl -e 'print scalar getpwuid($), \n;'
root

Cheers,

Matthew

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

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


RE: Dmesg filled with arp: link address is broadcast for IP address

2003-02-25 Thread Brent Wiese
arp: link address is broadcast for IP address 10.6.8.22!
arp: link address is broadcast for IP address 10.6.8.22!
arp: link address is broadcast for IP address 10.6.8.22!
arp: link address is broadcast for IP address 10.6.8.22!
 
 Then I put the suspect host on to DHCP  on reboot I got this 
 in dmesg:
 -
arp: link address is broadcast for IP address 169.254.14.80!

Sounds like the IP address on your unix box is an IP that falls on a
subnet boundry.

IE: 10.6.8.31 mask 255.255.255.224

Brent


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


.text area copy-on-write (COW)

2003-02-25 Thread Salmaan Ahmed
I'm trying to determine just how much *physical* memory is required by
one of my programs.  I have a simple program with a .text size of about
1.7MB and, when running, a resident memory size of about 2.3MB.  So far
so good.  What I don't understand is that when this program fork()s,
shouldn't the .text area be shared between parent and child (actually,
shouldn't both .text and .data be shared until modified)?  If so, then
why does the child process also have a resident memory (RES under
top) of 2.2MB instead of 600k?

Am I misreading top? Is there some other way of determining the amount
of physical memory being used by a process?

Salmaan


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


Minimize downtime(kernel loading)

2003-02-25 Thread Remington L.
Is there any way to load a new kernel without having to reboot?



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


Re: APC UPS

2003-02-25 Thread Jack L. Stone
At 09:29 AM 2.25.2003 -0500, Dan Pelleg wrote:
Mark [EMAIL PROTECTED] writes:

 Hi,
 
 A while ago I posted that I could not get my APC UPS BK350 to work under
 FreeBSD 4.7R, using apcupsd. Problem was that, though apcupsd test prog
sees
 the power go off-line, the apcupsd daemon itself does not. :(
 
 So, since I do need a solution, maybe I just need a smart UPS. I was
 thinking of buying the APC Smart-UPS 700VA. But before I shell out good
 money for that, does anyone have that one working for FreeBSD? And with
 apcupsd? (or other daemon). If so, I would much appreciate you telling me.
 :)
 

FWIW, and I realize that's not a lot, the APC 1400RM2 does work with
apcupsd.


That is a good brand and works well with apcupsd. Mine are APC Smart-UPS
1000 and 1500, but believe they employ the same eproms as the 700

Best regards,
Jack L. Stone,
Administrator

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

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


RE: Minimize downtime(kernel loading)

2003-02-25 Thread Wolfpaw - Dale Corse
Nope, absolutely no way.

D.

Dale Corse
System Administrator
Wolfpaw Services Inc.
http://www.wolfpaw.net
(780) 474-4095 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Remington L.
Sent: Tuesday, February 25, 2003 11:09 AM
To: [EMAIL PROTECTED]
Subject: Minimize downtime(kernel loading)


Is there any way to load a new kernel without having to reboot?



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



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


stupid question

2003-02-25 Thread Antoine Jacoutot
Hi ! 
 
I am sure it is a common question, but I can't find the answer: 
- how can I save my defined settings when building a port ? 
Putting them in /etc/make.conf does not seem to work. 
For exemple, if I want to build imapd with drac support, I go make 
WITH_DRAC=yes install, but I would love to go like make install, putting 
WITH_DRAC=yes in some configuration file somewhere so I don't have to write 
nor remember it all the time (especially when upgrading). 
 
Is that even possible ? 
 
Thanks in advance. 
 
--  
Antoine Jacoutot  
[EMAIL PROTECTED]  
http://www.lphp.org  
Unix is user friendly. He's just very picky about who his friends are...   
   

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


Galeon crashing on startup

2003-02-25 Thread stan
I've cvsup'd and done make world and portupgrdae for the last 2 weekends,
and I still have a Ga;eon that core dumps right after starting to connect
to the home page.

I'rs working on another, slightly less current 4.7 box.

Help, please. What should I be checking?

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

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


Re: Minimize downtime(kernel loading)

2003-02-25 Thread Bill Moran
Remington L. wrote:
Is there any way to load a new kernel without having to reboot?
You know, from what I understand of Mach, Mac OS X should be able
to do this.  I don't think they've actually achieved that level
of functionality yet, though.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


scroll mouse

2003-02-25 Thread Brian Henning
Hello-
i have a logitech 2 button mouse with a wheel in the middle.
i would like to get the wheel to work in x-windows, but i can't get the
scrolling to work.
here is what i have done so far.

rc.conf

moused_type=ps/2
moused_port=/dev/psm0
moused_enable=YES
moused_flags=-z 4

/usr/X11R6/lib/X11/XF86Config
...
Section InputDevice
Identifier Mouse0
Driver mouse
Option Protocol MouseSystems
Option Device /dev/sysmouse
Option Buttons 5
Option ZAxisMapping 4 5
EndSection
...

any suggestions?
cheers,

brian

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


freebsd 5.0 + monitor settings

2003-02-25 Thread Richard morris
I was wondering is it possible or if i can change the refresh rate on 
XF86Config file. I've seen a line in the file that says vertrefresh 50 - 120 
 i was wondering if i can just have one value there and if that would 
change my refresh rate on my monitor because my screen is out of range at 
certain resolutions. that is why i need to change my refresh rate. I can 
assure you that the resolutions i use are supported by the monitor and video 
adaptor. I WOULD APPRECIATE IT IF I CAN GET SOME HELP ON THIS SUBJECT.





_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

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


Re: scroll mouse

2003-02-25 Thread joshua lokken
 
--

On Tue, 25 Feb 2003 13:05:11  
 Brian Henning wrote:
Hello-
i have a logitech 2 button mouse with a wheel in the middle.
i would like to get the wheel to work in x-windows, but i can't get the
scrolling to work.
here is what i have done so far.

rc.conf

moused_type=ps/2
moused_port=/dev/psm0
moused_enable=YES
moused_flags=-z 4

/usr/X11R6/lib/X11/XF86Config
...
Section InputDevice
Identifier Mouse0
Driver mouse
Option Protocol MouseSystems
Option Device /dev/sysmouse
Option Buttons 5
Option ZAxisMapping 4 5
EndSection
...

any suggestions?
cheers,

brian

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


You can try using the Auto protocol, that's always worked for me.  I don't spot any 
[obvious] problems...

Joshua


Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

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


Re: scroll mouse

2003-02-25 Thread Brian Henning

- Original Message -
From: joshua lokken [EMAIL PROTECTED]
To: freebsd [EMAIL PROTECTED]; Brian Henning
[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:11 PM
Subject: Re: scroll mouse



 --

 On Tue, 25 Feb 2003 13:05:11
  Brian Henning wrote:
 Hello-
 i have a logitech 2 button mouse with a wheel in the middle.
 i would like to get the wheel to work in x-windows, but i can't get the
 scrolling to work.
 here is what i have done so far.
 
 rc.conf
 
 moused_type=ps/2
 moused_port=/dev/psm0
 moused_enable=YES
 moused_flags=-z 4
 
 /usr/X11R6/lib/X11/XF86Config
 ...
 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol MouseSystems
 Option Device /dev/sysmouse
 Option Buttons 5
 Option ZAxisMapping 4 5
 EndSection
 ...
 
 any suggestions?
 cheers,
 
 brian
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

 You can try using the Auto protocol, that's always worked for me.  I don't
spot any [obvious] problems...

 Joshua


 Need a new email address that people can remember
 Check out the new EudoraMail at
 http://www.eudoramail.com


i have tried 'auto' in the past, but without success.
thanks,
brian

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


Re: scroll mouse

2003-02-25 Thread Willie Viljoen
On Tuesday 25 February 2003 21:11, someone, possibly joshua lokken, typed:
 /usr/X11R6/lib/X11/XF86Config
 ...
 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol MouseSystems
 Option Device /dev/sysmouse
 Option Buttons 5
 Option ZAxisMapping 4 5
 EndSection

 You can try using the Auto protocol, that's always worked for me.  I
 don't spot any [obvious] problems...

 Joshua

Joshua is spot on. With any PS/2 mouse that is properly supported by moused, 
you should use the auto protocol in your XF86Config. The reason for this 
specific problem is that the MouseSystems protocol (which is the obsolete 
protocol that used to be used for 3 button mice) does not have a Z axis. 
The auto protocol will work just fine though.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

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


Re: scroll mouse

2003-02-25 Thread John Bleichert
On Tue, 25 Feb 2003, Brian Henning wrote:
  On Tue, 25 Feb 2003 13:05:11
   Brian Henning wrote:
  Hello-
  i have a logitech 2 button mouse with a wheel in the middle.
  i would like to get the wheel to work in x-windows, but i can't get the
  scrolling to work.
  here is what i have done so far.
  
  rc.conf
  
  moused_type=ps/2
  moused_port=/dev/psm0
  moused_enable=YES
  moused_flags=-z 4
  
  /usr/X11R6/lib/X11/XF86Config
  ...
  Section InputDevice
  Identifier Mouse0
  Driver mouse
  Option Protocol MouseSystems
  Option Device /dev/sysmouse
  Option Buttons 5
  Option ZAxisMapping 4 5
  EndSection
  ...
snip
 
  You can try using the Auto protocol, that's always worked for me.  I don't
 spot any [obvious] problems...
 
  Joshua
 
 
  Need a new email address that people can remember
  Check out the new EudoraMail at
  http://www.eudoramail.com
 
 
 i have tried 'auto' in the past, but without success.
 thanks,
 brian
 

For what it's worth, I have a couple Logitech mice like yours and the 
wheel only works with the Auto protocol and with moused *disabled*. I 
could never get it to work with moused enabled, apparently X must have 
direct access to it. Which of course never bothered me, as I hate a mouse 
pointer in terminal mode...

HTH - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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


MRTG and aliased IP's

2003-02-25 Thread Adam Lofstedt
Hi all.  I'm running FreeBSD 4.7 with net-snmp-5.0.3_2.

I have two NICs, and one of them has several IP's bound to it through
ifconfig alias.  When I try to run MRTG, it only gives me the statistics
for one of the aliased IPs (I think).

System: my.domain.com in  
Maintainer: [EMAIL PROTECTED] 
Description: xl0  
ifType: ethernetCsmacd (6) 
ifName:  
Max Speed: 1250.0 kBytes/s 
Ip: xxx.xxx.xxx.xxx (xxx-xxx-xxx-xxx.domain.com) 

xxx.xxx.xxx.xxx is the first aliased IP in /etc/rc.conf.  Does anyone
know of a way to get statistics for each individual aliased IP?  

With the above output, does anyone know if I am actually getting
statistics for all bound IP's combined, or for just that one single
aliased IP?

Thanks,

Adam


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


Re: scroll mouse

2003-02-25 Thread Brian Henning

- Original Message -
From: Willie Viljoen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; freebsd [EMAIL PROTECTED]; Brian
Henning [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:18 PM
Subject: Re: scroll mouse


 On Tuesday 25 February 2003 21:11, someone, possibly joshua lokken, typed:
  /usr/X11R6/lib/X11/XF86Config
  ...
  Section InputDevice
  Identifier Mouse0
  Driver mouse
  Option Protocol MouseSystems
  Option Device /dev/sysmouse
  Option Buttons 5
  Option ZAxisMapping 4 5
  EndSection

  You can try using the Auto protocol, that's always worked for me.  I
  don't spot any [obvious] problems...
 
  Joshua

 Joshua is spot on. With any PS/2 mouse that is properly supported by moused,
 you should use the auto protocol in your XF86Config. The reason for this
 specific problem is that the MouseSystems protocol (which is the obsolete
 protocol that used to be used for 3 button mice) does not have a Z axis.
 The auto protocol will work just fine though.

 Will

 --
 Willie Viljoen
 Freelance IT Consultant

 214 Paul Kruger Avenue, Universitas
 Bloemfontein
 9321
 South Africa

 +27 51 522 15 60
 +27 51 522 44 36 (after hours)
 +27 82 404 03 27 (mobile)

 [EMAIL PROTECTED]


You are talking about Auto in the XF86Config file and not the rc.conf file,
correct?
Option Device auto
i will give that a try.

thanks,
brian

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


Re: freebsd 5.0 + monitor settings

2003-02-25 Thread Willie Viljoen
On Tuesday 25 February 2003 21:08, someone, possibly Richard morris, typed:
 I was wondering is it possible or if i can change the refresh rate on
 XF86Config file. I've seen a line in the file that says vertrefresh 50 -
 120 i was wondering if i can just have one value there and if that would
 change my refresh rate on my monitor because my screen is out of range at
 certain resolutions. that is why i need to change my refresh rate. I can
 assure you that the resolutions i use are supported by the monitor and
 video adaptor.

The information you need is in the XF86Config(5) manpage, but the briefe 
version follows:

There are infact two settings you can use in the monitor section to do this. 
The HorizSync options sets horizontal syncronization frequency, and 
VertRefresh sets the (vertical) refresh rate.

The easiest way to do this, if you know the exact refresh rates your monitor 
wants for these resolutions, is to set them like this: (For a monitor that 
wants 68.5KHz horizontal and 85.0 vertical)

HorizSync   68.5
VertRefresh 85.0

Be warned, this will force XFree86 to operate ONLY at those refresh rates. 
This will disable all modes that do not function properly at those rates. 
You may want to include values for each mode your monitor supports and 
which you want to use, this can be done like:

HorizSync   31.5,68.5
VertRefresh 60.,85.0

The standard setting is to specify a range of possible values, and let the 
video card BIOS take its pick. Most people have non-standard monitors 
though. These do not follow VESA specifications and will behave strangely 
with range settings. Even so, setting a range is still optimal, and if you 
monitor supports digital controle, I would sugest rather setting the 
monitor to the proper CRT limits than limiting refresh rates available to 
your system.

 I WOULD APPRECIATE IT IF I CAN GET SOME HELP ON THIS
 SUBJECT.

Totally off topic, but I must have my 2 cents worth. An all capitals line of 
text is widely considered to be shouting according to internet conventions.

Those who answer questions on this list do so without receiving 
compensation, and in some cases, without even receiving thanks. This is a 
service that we provide as volunteers, and we attempt to do our best at it. 
Being shouted at is not nice though, and we would appreciate if you ask 
politely in the future.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

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


Re: scroll mouse

2003-02-25 Thread Bill Moran
Brian Henning wrote:
Hello-
i have a logitech 2 button mouse with a wheel in the middle.
i would like to get the wheel to work in x-windows, but i can't get the
scrolling to work.
here is what i have done so far.
rc.conf

moused_type=ps/2
moused_port=/dev/psm0
moused_enable=YES
moused_flags=-z 4
/usr/X11R6/lib/X11/XF86Config
...
Section InputDevice
Identifier Mouse0
Driver mouse
Option Protocol MouseSystems
Option Device /dev/sysmouse
Option Buttons 5
Option ZAxisMapping 4 5
EndSection
...
I have a Logitech Mouseman Optical Dual Sensor (highly recommended, BTW)
and it works fine (wheel and all)  My mouse has 6 buttons (has a little
thumb button that I never use) but hopefully my config will help you
sort out yours.
First off, I don't use moused.  Just don't see any need for it.  However,
I think (guessing) that you might do better without the -z option.
Here is the applicable entry in XF86Config:

Identifier Mouse1
Driver mouse
Option Protocol Auto
Option Device /dev/psm0
Option Buttons 6
Option ZAxisMapping 4 5
You may find that your z-axis (i.e. scroll) isn't the same numbers, try
3 4 maybe.  I had to do a little guesswork to get mine working correctly
at first.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: scroll mouse

2003-02-25 Thread Asenchi
I believe everyone is talking about:

[snip]
Option Protocol auto
[snip]

Curt

On Tue, 2003-02-25 at 14:25, Brian Henning wrote:
 
 - Original Message -
 From: Willie Viljoen [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; freebsd [EMAIL PROTECTED]; Brian
 Henning [EMAIL PROTECTED]
 Sent: Tuesday, February 25, 2003 1:18 PM
 Subject: Re: scroll mouse
 
 
  On Tuesday 25 February 2003 21:11, someone, possibly joshua lokken, typed:
   /usr/X11R6/lib/X11/XF86Config
   ...
   Section InputDevice
   Identifier Mouse0
   Driver mouse
   Option Protocol MouseSystems
   Option Device /dev/sysmouse
   Option Buttons 5
   Option ZAxisMapping 4 5
   EndSection
 
   You can try using the Auto protocol, that's always worked for me.  I
   don't spot any [obvious] problems...
  
   Joshua
 
  Joshua is spot on. With any PS/2 mouse that is properly supported by moused,
  you should use the auto protocol in your XF86Config. The reason for this
  specific problem is that the MouseSystems protocol (which is the obsolete
  protocol that used to be used for 3 button mice) does not have a Z axis.
  The auto protocol will work just fine though.
 
  Will
 
  --
  Willie Viljoen
  Freelance IT Consultant
 
  214 Paul Kruger Avenue, Universitas
  Bloemfontein
  9321
  South Africa
 
  +27 51 522 15 60
  +27 51 522 44 36 (after hours)
  +27 82 404 03 27 (mobile)
 
  [EMAIL PROTECTED]
 
 
 You are talking about Auto in the XF86Config file and not the rc.conf file,
 correct?
 Option Device auto
 i will give that a try.
 
 thanks,
 brian
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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


Folding@Home install question

2003-02-25 Thread Steven Lake
Hi all.  Tried downloading the linux version of [EMAIL PROTECTED] to
put on one of my servers, but my box won't recognize it.  Am I missing
something?  It just says command not recognized.  I've downloaded and I
am trying to run this file.
http://www.stanford.edu/group/pandegroup/release/FAH3Console-Linux.exe

Please don't tell me I'm being an idiot trying to do this.  :)
But any help getting this installed and going would be welcome.  Thanks.


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


Windows and Dos apps in Freebsd Console

2003-02-25 Thread Steven Lake
HI all.  Curiousity question.  Is there a tool similar to Wine
that will run windows and dos based console apps under freebsd?  I think I
saw something like that not too long ago, so I just wanted to ask to be
sure.  Thanks.


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


Re: scroll mouse

2003-02-25 Thread Brian Henning
[snip]

thanks for all the input. I will give it a try. i am pretty sure i can get it
working from here.

Brian

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


[no subject]

2003-02-25 Thread x . man

(B
(B[PR]
(BŽg‚¢ˆÕ‚¢»ÌÞ±Äނͺڂ¾š
(Bhttp://xtend.co.jp/?32   
(B
(B
(BTo Unsubscribe: send mail to [EMAIL PROTECTED]
(Bwith "unsubscribe freebsd-questions" in the body of the message

Newest Arrivals

2003-02-25 Thread info
Title: HBT Newsletter FEB 03




   
 
 
 
  
   
 
  
   
 
  
   
 
  
   
 
  
   
 
  
   
 
  
   
 
  
   
 
  
   
 
  
   
 Did 
  someone forward you this? Opt in to hear it first. Please click.
  
  
If 
  You no no longger wish to receive our mail, please click here.
  




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


Re: Concerns about your 403 errors

2003-02-25 Thread Joshua Lokken
Very well said.

---
--
Joshua Lokken
FreeBSD:  The Power to Serve!
[EMAIL PROTECTED]


On Tue, 25 Feb 2003 15:22:16  
 Bill Moran wrote:
Dear Mysterious Unnamed Tech Support Person,

I frequently donate time to the FreeBSD project by answering questions
on the [EMAIL PROTECTED] mailing list.

We recently had one of your users ask what is the daemon and why is
it on my web page:  http://www.users.globalnet.co.uk/~hhorse/

I'm sure I speak for many people involved with FreeBSD when I say,
We're glad to see that you're using FreeBSD and glad that you promote
it, but we would appreciate it if you could provide a little more
information to your users.

Something like If you are having difficulties, click on this link
to email tech support that would take the user's attention away
from the beastie and keep them from searching in the wrong place
for the answer to their problem.

As you can guess, we were unable to do anything more for your user
than refer him back to your tech support.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

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


Re: Is Apache+Perl behaving correctly? Am I insane?

2003-02-25 Thread Kirk Strauser
At 2003-02-25T17:36:34Z, Matthew Seaman [EMAIL PROTECTED] writes:

 The problem is the getlogin(2) call.  getlogin(2) tells you who the
 current user logged in as, which, given intervening calls to functions
 like setruid(3), setuid(2) or seteuid(2) is not necessarily the same thing
 as the uid running the process.

Actually, the problem I was encountering turned out to be even more
annoying, involving some subtle interaction between mod_perl, Apache, and
rcs.  Apparently rcs looks at $LOGNAME to determine what user to lock files
as.  Since that variable wasn't explicitly set anywhere in Apache's
environment, rcs decided to go with getlogin() or similar.  The solution was
to export $ENV{'LOGNAME'} = 'www', as per:

http://twiki.org/cgi-bin/view/Codev/RcsNonStrictLocking
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


majordomo@FreeBSD.org rejecting messages from certain MUAs

2003-02-25 Thread Nathan J. Yoder

Whenever I send a message to [EMAIL PROTECTED] I get the error:
550 Error: Message content rejected

After some experimentation I found out that my mail was being rejected
on be basis of my X-Mailer header which is:

X-Mailer: The Bat! (v1.62 Christmas Edition) Educational

I also tried:
X-Mailer: The Bat!

I tried both of these in a message with no other headers, and just a
single command in the body and they got rejected with the 550 error.
Trying a full fledged message without the X-Mailer, and a bare one
with Outlook Express as the X-Mailer and got no errors at all. So
what I'm wondering is, why is The Bat! getting rejected?

P.S. I just tried sending THIS message to freebsd-questions and it got
rejected from my MUA, so I suspect other freebsd.org lists do the same.
I'm only able to send this message by doing it by hand.

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


saving port settings (Was: stupid question)

2003-02-25 Thread Mike Meyer
In [EMAIL PROTECTED], Antoine Jacoutot [EMAIL PROTECTED] typed:

First, next time choose a better subect. Nearly every original post is
a question.

 I am sure it is a common question, but I can't find the answer: 
 - how can I save my defined settings when building a port ? 
 Putting them in /etc/make.conf does not seem to work. 
 For exemple, if I want to build imapd with drac support, I go make 
 WITH_DRAC=yes install, but I would love to go like make install, putting 
 WITH_DRAC=yes in some configuration file somewhere so I don't have to write 
 nor remember it all the time (especially when upgrading). 
 Is that even possible ? 

Use portupgrade, from the ports tree. Then you can do portupgrade
imapd to update it, and it'll look in $(PREFIX)/etc/pkgtools.conf to
see what settings you want to use.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Re: Input on solution to temporary routing

2003-02-25 Thread Lowell Gilbert
Morten Grunnet Buhl [EMAIL PROTECTED] writes:

  opensesamy 192.168.0.2 ftp
 
 which would then temporary route outside ftp connections to 192.168.0.2.

You could do something like this, but it wouldn't work for more than
one inside box at a time.  As far as the rest of the world is
concerned, there is only one machine in your network (assuming you
only have one global IP address).  

FTP is particularly hard, because it uses multiple TCP connections,
and passes the port number for the data connection *inside* the
control connection, so it doesn't mix well with packet-filtering
firewalls anyway.  Unless you really know what you're doing, I'd
advise staying away from FTP with this sort of thing.

For protocols that stick to a single port, it's easier.  For protocols
that can use any port, it's easier yet -- but whoever's connecting
from the outside needs to know what it is.  For example, you could use
natd to redirect external port 8001 to the web server of inside host
number 1, 8002 to the web server of inside host number 2, and so on.

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


Re: rfd0 fd0

2003-02-25 Thread Lowell Gilbert
Brian Henning [EMAIL PROTECTED] writes:

 what is the difference between these two devices?

None:

$ ls -l /dev/fd0 /dev/rfd0
crw-r-  18 root  operator9,   0 Feb 13 21:53 /dev/fd0
crw-r-  18 root  operator9,   0 Feb 13 21:53 /dev/rfd0
$

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


/dev/fd0.1680

2003-02-25 Thread Brian Henning
Hello,
/dev/fd0.1200   /dev/fd0.1440   /dev/fd0.1720   /dev/fd0.640/dev/fd0.800
/dev/fd0.1232   /dev/fd0.1480   /dev/fd0.360/dev/fd0.720/dev/fd0.820


i see all these devices, but i don't see /dev/fd0.1680, is there a way to create
this device?
thanks,
brian

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


Re: majordomo@FreeBSD.org rejecting messages from certain MUAs

2003-02-25 Thread Kris Kennaway
On Tue, Feb 25, 2003 at 01:19:19PM -0800, Nathan J. Yoder wrote:
 
 Whenever I send a message to [EMAIL PROTECTED] I get the error:
 550 Error: Message content rejected

Problems of this nature should be sent to postmaster@

Kris


pgp0.pgp
Description: PGP signature


Re: freebsd 5.0 + monitor settings

2003-02-25 Thread Giorgos Keramidas
On 2003-02-25 13:08, Richard morris [EMAIL PROTECTED] wrote:
 I was wondering is it possible or if i can change the refresh rate
 on XF86Config file. I've seen a line in the file that says
 vertrefresh 50 - 120 i was wondering if i can just have one value
 there and if that would change my refresh rate on my monitor because
 my screen is out of range at certain resolutions. that is why i need
 to change my refresh rate. I can assure you that the resolutions i
 use are supported by the monitor and video adaptor. I WOULD
 APPRECIATE IT IF I CAN GET SOME HELP ON THIS SUBJECT.

The X server will use the vertica refresh and horizontal refresh
frequncies that you specify in the ModeLine you're using.  The two
lines shown below are only used as limits that keep your X server
from attempting to push the video adapter or monitor too high
(possibly causing one of them to have serious problems in the
process):

HorizSync30.0 - 70.0
VertRefresh  50.0 - 120.0

The part that tells your X server what horizontal and vertical refresh
rate to use is the ModeLine if you have one.  If you search in Google
for +x11 +modeline you will find lots of pages that explain what a
ModeLine is, how to set it up, even some links to CGI scripts that
will guide you through the process of calculating the proper values
for a custom ModeLine of yours.

- Giorgos


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


Re: stupid question

2003-02-25 Thread Giorgos Keramidas
On 2003-02-25 19:43, Antoine Jacoutot [EMAIL PROTECTED] wrote:
 I am sure it is a common question, but I can't find the answer: -
 how can I save my defined settings when building a port?

 Putting them in /etc/make.conf does not seem to work.

Why not?  What did you put in /etc/make.conf?

I just tried rebuiding textproc/ispell with ISPELL_FR=yes in my
make.conf file.  Ports correctly tries to build ispell with French
support by typing:

# cd /usr/ports/txtproc/ispell
# make

 For exemple, if I want to build imapd with drac support, I go make
 WITH_DRAC=yes install, but I would love to go like make install,
 putting WITH_DRAC=yes in some configuration file somewhere so I
 don't have to write nor remember it all the time (especially when
 upgrading).

 Is that even possible ?

Another possibility is to create a metaport, that depends on other
ports.  I call mine my-workstation, and I have created it under
/usr/ports/misc/my-workstation.  The purpose of this port is not to
build anything or install anything of its own; just to have proper
dependencies for all the programs I usually want around.  The Makefile
of that port includes:

# Feature customization for the `contained' ports.
.MAKEFLAGS+=WITHOUT_X11=YES \
ISPELL_FR=YES \
ISPELL_IT=YES \
WITH_SSL=YES

These flags are passed down to all the dependencies of the port, when
it's installed.  This way, all the ports that my-workstation pulls in
by dependencies will compile without X11 support, ispell will include
both Italian and French support, Pine will have SSL support compiled
in by default, etc.

- Giorgos


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


Re: saving port settings (Was: stupid question)

2003-02-25 Thread Antoine Jacoutot
 First, next time choose a better subect. Nearly every original post is
 a question.

Sorry about this.

 Use portupgrade, from the ports tree. Then you can do portupgrade
 imapd to update it, and it'll look in $(PREFIX)/etc/pkgtools.conf to
 see what settings you want to use.

Hum I can't find anything to resolve my problem within that file.

Thanks anyway.

ANTOINE


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


Re: stupid question

2003-02-25 Thread Antoine Jacoutot
On Tuesday 25 February 2003 20:51, Giorgos Keramidas wrote:
  Putting them in /etc/make.conf does not seem to work.

 Why not?  What did you put in /etc/make.conf?

Well, besides some settings, I put WITH_DRAC=yes...

 I just tried rebuiding textproc/ispell with ISPELL_FR=yes in my
 make.conf file.  Ports correctly tries to build ispell with French

OK, I'll give a nother try...

 Another possibility is to create a metaport, that depends on other
 ports.  I call mine my-workstation, and I have created it under
 /usr/ports/misc/my-workstation.  The purpose of this port is not to
 build anything or install anything of its own; just to have proper
 dependencies for all the programs I usually want around.  The Makefile
 of that port includes:

Well, this does not sound like an easy solution to deploy.

Thanks a lot.

ANTOINE


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


Re: saving port settings (Was: stupid question)

2003-02-25 Thread Mike Meyer
In [EMAIL PROTECTED], Antoine Jacoutot [EMAIL PROTECTED] typed:
  Use portupgrade, from the ports tree. Then you can do portupgrade
  imapd to update it, and it'll look in $(PREFIX)/etc/pkgtools.conf to
  see what settings you want to use.
 Hum I can't find anything to resolve my problem within that file.

Quoting the comments in my copy of that file:

  # MAKE_ARGS: hash
  #
  # This is a hash of ports glob = arguments mapping.  portupgrade(1)
  # and portinstall(1) look it up to pick command line arguments to
  # pass to make(1).  You can use wildcards (ports glob).  If a
  # port/package matches multiple entries, all the arguments are
  # joined using the space as separator.
  #
  # cf. -m/--make-args of portupgrade(1), ports_glob(1)
  #
  # e.g.:
  #   MAKE_ARGS = {
  # 'databases/mysql323-*' = 'WITH_CHARSET=ujis',
  #   }

That looks like exactly what you're looking for.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


cons25 or vt100

2003-02-25 Thread Brian Henning
is there a veriable set on login that can tell me weather i am logged in on as
vt100 or cons25?
is there anyway to tell?
thanks,
brian

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


Re: saving port settings (Was: stupid question)

2003-02-25 Thread Antoine Jacoutot
On Tuesday 25 February 2003 23:37, Mike Meyer wrote:
   # e.g.:
   #   MAKE_ARGS = {
   # 'databases/mysql323-*' = 'WITH_CHARSET=ujis',
   #   }
 That looks like exactly what you're looking for.

Sorry, I didn't see it... Well, this is great ;-) 
It only work for portupgrade though, right ? There's no other place to save 
those args... like an /etc/make.ports.conf ? 
Thank you so so much... 
 
Regards. 
 
ANTOINE


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


Re: cons25 or vt100

2003-02-25 Thread Giorgos Keramidas
On 2003-02-25 16:40, Brian Henning [EMAIL PROTECTED] wrote:
 is there a veriable set on login that can tell me weather i am logged in on as
 vt100 or cons25?
 is there anyway to tell?

Try the following shell command:

echo $TERM

The TERM variable is always[1] set to your current terminal type.

[1] Well, almost always... but for your particular question, let's
assume that this is indeed 'always'.


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


Re: cons25 or vt100

2003-02-25 Thread Brian Henning
here is my result.
[EMAIL PROTECTED] ~ echo $TERM
xterm

i think the term should come up as vt100 not xterm.
why does this happen?

cheers,
brian


- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:49 PM
Subject: Re: cons25 or vt100


 On 2003-02-25 16:40, Brian Henning [EMAIL PROTECTED] wrote:
  is there a veriable set on login that can tell me weather i am logged in on
as
  vt100 or cons25?
  is there anyway to tell?

 Try the following shell command:

 echo $TERM

 The TERM variable is always[1] set to your current terminal type.

 [1] Well, almost always... but for your particular question, let's
 assume that this is indeed 'always'.


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


Re: cons25 or vt100

2003-02-25 Thread Jens Rehsack
Brian Henning wrote:
here is my result.
[EMAIL PROTECTED] ~ echo $TERM
xterm
i think the term should come up as vt100 not xterm.
why does this happen?
1st: Do not toppost
2nd: There is a file, /etc/termcap, which contains almost each valid
 terminal type, vt100 as well as cons25 as well as xterm.
Maybe the read of termcap(3X) and terminfo(5) may help to get more 
clearence.

Ciao
Jens
cheers,
brian
- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:49 PM
Subject: Re: cons25 or vt100


On 2003-02-25 16:40, Brian Henning [EMAIL PROTECTED] wrote:

is there a veriable set on login that can tell me weather i am logged in on

as

vt100 or cons25?
is there anyway to tell?
Try the following shell command:

echo $TERM

The TERM variable is always[1] set to your current terminal type.

[1] Well, almost always... but for your particular question, let's
assume that this is indeed 'always'.


--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/


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


Re: cons25 or vt100

2003-02-25 Thread Giorgos Keramidas
On 2003-02-25 16:52, Brian Henning [EMAIL PROTECTED] wrote:
 here is my result.
 [EMAIL PROTECTED] ~ echo $TERM
 xterm

You're obviously using this command in an X11 terminal window.
It is correctly set to xterm.

 i think the term should come up as vt100 not xterm.
 why does this happen?

No, it's correct as it is.  Why should it be set to vt100?


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


dump: skewed I/O, why?

2003-02-25 Thread Christian Weisgerber
During a dump(8) of a filesystem on da0 to a holding file on da1,
with nothing else going on, iostat(8) reports figures such as these:

 da0  da1  cd0  cd1 
  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s 
 64.00 148  9.28  64.00  24  1.52   0.00   0  0.00   0.00   0  0.00 
 64.00 134  8.38  64.00  17  1.07   0.00   0  0.00   0.00   0  0.00 
 63.63 134  8.32  64.00  18  1.10   0.00   0  0.00   0.00   0  0.00 
 64.00 143  8.96  60.30  24  1.41   0.00   0  0.00   0.00   0  0.00 
 64.00 140  8.73  63.85  21  1.33   0.00   0  0.00   0.00   0  0.00 
 64.00 130  8.14  62.13  15  0.93   0.00   0  0.00   0.00   0  0.00 
 64.00 138  8.63  64.00  18  1.10   0.00   0  0.00   0.00   0  0.00 
 63.79 137  8.56  64.00  18  1.10   0.00   0  0.00   0.00   0  0.00 
 63.82 140  8.74  64.00  18  1.10   0.00   0  0.00   0.00   0  0.00 
 64.00 138  8.61  61.67  24  1.47   0.00   0  0.00   0.00   0  0.00 

Why is the I/O ratio so skewed towards reading?  I would have
expected the I/O on the reading side to mostly match the writing
side.  Instead, several times as much data appears to be read as
is written.

And yes, this uses dump's recently introduced -C cache option.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]


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


Re: saving port settings (Was: stupid question)

2003-02-25 Thread Philip Hallstrom
# e.g.:
#   MAKE_ARGS = {
# 'databases/mysql323-*' = 'WITH_CHARSET=ujis',
#   }
  That looks like exactly what you're looking for.

 Sorry, I didn't see it... Well, this is great ;-)
 It only work for portupgrade though, right ? There's no other place to save
 those args... like an /etc/make.ports.conf ?
 Thank you so so much...

/etc/make.conf

will work, but it will define whatever you set for *everything* you do
with make... works for me though (I set all the various LITE and
WITHOUT_X11 stuff that ports seem to check for)


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


Re: dump: skewed I/O, why?

2003-02-25 Thread Daxbert
Quoting Christian Weisgerber [EMAIL PROTECTED]:
 During a dump(8) of a filesystem on da0 to a holding file on da1,
 with nothing else going on, iostat(8) reports figures such as these:
 
  da0  da1  cd0  cd1 
   KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s 
  64.00 148  9.28  64.00  24  1.52   0.00   0  0.00   0.00   0  0.00 
  64.00 138  8.61  61.67  24  1.47   0.00   0  0.00   0.00   0  0.00 
 
 Why is the I/O ratio so skewed towards reading?  
 
 And yes, this uses dump's recently introduced -C cache option.

It might be helpful to know what argument you're passing to dump
and how you are redirecting the output.

I normally redirect the output to a compression utility 
and then to disk... so, for me what you're seeing is normal.
However, I gather from your surprise that you're
not using a compression utility?

--daxbert

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


Re: cons25 or vt100

2003-02-25 Thread Lars Eighner
On Tue, 25 Feb 2003, Brian Henning wrote:

 is there a veriable set on login that can tell me weather i am logged in on as
 vt100 or cons25?
 is there anyway to tell?
 thanks,
 brian

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


 echo $TERM

 (or as may be appropriate in your shell to read the TERM
 environmental variable.)

-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751



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


video recording

2003-02-25 Thread kitsune
Has any one had any luck at recording video in freebsd?


/me has not had any luck with fxtv

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


ipfw rule placement

2003-02-25 Thread Joshua Lokken
Hello,

Primary harddisk failed on my 4.7-release gateway (ipfw+natd) box last weekend, and I 
had not backed things up properly.  Attached is my ipfw ruleset.  After the rebuild, I 
rewrote things from memory.  

When I remove the default deny rule from the list, nat works fine, port redirections 
and all, but with the deny rule in place, nat isn't working, so I'm thinking I have a 
rule in the wrong place.  Can anyone point out any obvious missing/misplaced rules 
here?  Thanks much.

---

Joshua Lokken
FreeBSD:  The Power to Serve!
[EMAIL PROTECTED]




Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

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


Fwd: ipfw rule placement

2003-02-25 Thread Joshua Lokken


- Forwarded Message -

DATE: Tue, 25 Feb 2003 16:06:22
From: Joshua Lokken [EMAIL PROTECTED]
To: Questions [EMAIL PROTECTED]

Hello,

Primary harddisk failed on my 4.7-release gateway (ipfw+natd) box last weekend, and I 
had not backed things up properly.  Attached is my ipfw ruleset.  After the rebuild, I 
rewrote things from memory.  

When I remove the default deny rule from the list, nat works fine, port redirections 
and all, but with the deny rule in place, nat isn't working, so I'm thinking I have a 
rule in the wrong place.  Can anyone point out any obvious missing/misplaced rules 
here?  Thanks much.

---

Joshua Lokken
FreeBSD:  The Power to Serve!
[EMAIL PROTECTED]


- End Forwarded Message -
My apologies for the missing attachment...
and for the M$ formatted file ;(


Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com$fwcmd -f flush

$fwcmd add allow all from any to any via lo0

$fwcmd add divert natd all from any to any via $oif

$fwcmd add allow tcp from any to $oip 22,80,443,6346,22002,22003,22010 setup

$fwcmd add allow tcp from any to any established

$fwcmd add allow icmp from any to any icmptypes 3,4,11,12

$fwcmd add check-state

$fwcmd add allow ip from $oip to any keep-state out via $oif

$fwcmd add allow ip from $inwr to any keep-state via $iif

$fwcmd add 65435 deny log ip from any to any

Re: Fwd: ipfw rule placement

2003-02-25 Thread Giorgos Keramidas
On 2003-02-25 16:09, Joshua Lokken [EMAIL PROTECTED] wrote:
 When I remove the default deny rule from the list, nat works fine,
 port redirections and all, but with the deny rule in place, nat
 isn't working, so I'm thinking I have a rule in the wrong place.
 Can anyone point out any obvious missing/misplaced rules here?

For NAT to be working, you hav to make sure natd(8) is running and has
a proper configuration file.

Now, as far as the ipfw(8) rules are concerned, try using the
following ruleset:

# $fwcmd -f flush
# $fwcmd add allow all from any to any via lo0
# $fwcmd add divert natd all from any to any via $oif
# $fwcmd add allow icmp from any to any icmptypes 3,4,11,12
# $fwcmd add check-state
# $fwcmd add allow udp from $oip to any via $oif keep-state
# $fwcmd add allow tcp from any to $oip 22,80,443,6346,22002,22003,22010 setup via 
$oif keep-state
# $fwcmd add allow ip from $oip to any keep-state out via $oif
# $fwcmd add allow ip from $inwr to any keep-state via $iif
# $fwcmd add 65435 deny log ip from any to any

The changes from your own set of rules are summarized below:

  - moved icmp checking higher, since they're unrelated to tcp or udp
and state checking

  - added a rule for udp packets, since DNS resolving and a few other
useful things depend on them

  - moved check-state higher, to minimise the delay for packets that
are parts of an existing connection (ipfw rules are checked
sequentially, from start to end)

  - added keep-state in your 'setup' rule for incoming connections to
$oip and 'via $oif' to make sure that packets destined for $oip
are only accepted on $oif (good measure against spoofing)

Before using this set of rules, make sure you give proper values to
$iip, $oip, $iif, $oif and $inwr.

- Giorgos

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


Re: Fwd: ipfw rule placement

2003-02-25 Thread Joshua Lokken



On Wed, 26 Feb 2003 02:25:12  
 Giorgos Keramidas wrote:
On 2003-02-25 16:09, Joshua Lokken [EMAIL PROTECTED] wrote:
 When I remove the default deny rule from the list, nat works fine,
 port redirections and all, but with the deny rule in place, nat
 isn't working, so I'm thinking I have a rule in the wrong place.
 Can anyone point out any obvious missing/misplaced rules here?

For NAT to be working, you hav to make sure natd(8) is running and has
a proper configuration file.

Now, as far as the ipfw(8) rules are concerned, try using the
following ruleset:

# $fwcmd -f flush
# $fwcmd add allow all from any to any via lo0
# $fwcmd add divert natd all from any to any via $oif
# $fwcmd add allow icmp from any to any icmptypes 3,4,11,12
# $fwcmd add check-state
# $fwcmd add allow udp from $oip to any via $oif keep-state
# $fwcmd add allow tcp from any to $oip 22,80,443,6346,22002,22003,22010 setup via 
$oif keep-state
# $fwcmd add allow ip from $oip to any keep-state out via $oif
# $fwcmd add allow ip from $inwr to any keep-state via $iif
# $fwcmd add 65435 deny log ip from any to any

The changes from your own set of rules are summarized below:

  - moved icmp checking higher, since they're unrelated to tcp or udp
and state checking

  - added a rule for udp packets, since DNS resolving and a few other
useful things depend on them

  - moved check-state higher, to minimise the delay for packets that
are parts of an existing connection (ipfw rules are checked
sequentially, from start to end)

  - added keep-state in your 'setup' rule for incoming connections to
$oip and 'via $oif' to make sure that packets destined for $oip
are only accepted on $oif (good measure against spoofing)

Before using this set of rules, make sure you give proper values to
$iip, $oip, $iif, $oif and $inwr.

- Giorgos

Indeed!  I do have the variables listed defined, and have natd configured and working. 
 Thank you very much--not only did you answer my question, but gave me a better 
understanding of ipfw!

Joshua  


Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

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


Re: dump: skewed I/O, why?

2003-02-25 Thread Christian Weisgerber
Daxbert [EMAIL PROTECTED] wrote:

 It might be helpful to know what argument you're passing to dump
 and how you are redirecting the output.

Nothing exciting there:

$ dump -0a -C 8 -f /holding/foo /foo

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]


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


Invalid partition error after install

2003-02-25 Thread Chris Miller

It seems everytime I install on a scsi disk without the boot manager
option (i.e. it's a single OS machine), I cannot boot the system after
install. I have to create a fixit disk and install the boot manager in
order to use the system. I've seen various complaints in the email
archives about boot problems after install, but no definitive explanation
of this specific problem. Am I doing something wrong or is this something
that can be fixed. I've had this problem since I started with 4.5, but I
suspect it's been around longer.

Regards,
Chris


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


pthreads compile fails on alpha

2003-02-25 Thread Joakim Lundborg
I'm trying to compile pthreads 2.0-0 from ports on an AlphaServer 5/400
running FreeBSD 5.0. (Pthreads is needed for php4)

I get this error 
./configure:Error: decision on mandatory system headers and functions
failed.

What should I do to help make decide?

-- 
Joakim Lundborg [EMAIL PROTECTED]


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


question

2003-02-25 Thread matrix
I had installed the ports with sysinstall
but how do I can start them loll
thank you for your answer

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


Re: question

2003-02-25 Thread Giorgos Keramidas
On 2003-02-25 20:15, [EMAIL PROTECTED] wrote:
 I had installed the ports with sysinstall
 but how do I can start them loll
 thank you for your answer

The FreeBSD Handbook includes a nice chapter that explains how ports
and packages are used.  Take a look at it:

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

If, after reading through this, you still have questions about what
ports or what packages are, where to find them, or how to use them for
installing your favorite applications, then you're always welcome to
post questions here on freebsd-questions.

- Giorgos


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


Re: video recording

2003-02-25 Thread Mike Meyer
In [EMAIL PROTECTED], kitsune [EMAIL PROTECTED] typed:
 Has any one had any luck at recording video in freebsd?
 /me has not had any luck with fxtv

fxtv works fine for me. What have you tried, on what hardware, and
what kind of problems are you having.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Re: pthreads compile fails on alpha

2003-02-25 Thread Kris Kennaway
On Wed, Feb 26, 2003 at 02:06:39AM +0100, Joakim Lundborg wrote:
 I'm trying to compile pthreads 2.0-0 from ports on an AlphaServer 5/400
 running FreeBSD 5.0. (Pthreads is needed for php4)

I think you're confused about the need for this pthreads port (I can't
find a 'pthreads' port anyway)..pthreads means posix threads which
are supported by the FreeBSD base system (libc_r).  The php4 port
should automatically do the right thing.

Kris


pgp0.pgp
Description: PGP signature


  1   2   >