Re: Phenom II 975 BE shows 0 celsius

2011-08-01 Thread Matthew D. Fuller
On Sun, Jul 31, 2011 at 09:28:29PM -0300 I heard the voice of
Mario Lobo, and lo! it spake thus:
 
 Unfortunately this Mobo died and only found AM3 boards for which my
 phenom 955 doesn't fit.

Not that it helps you now, but the 955 _is_ perfectly compatible with
AM3.  It's only the initial 920 and 940 that were AM2-only.


-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading the Installed package

2008-02-06 Thread Matthew D. Fuller
On Wed, Feb 06, 2008 at 01:51:33AM -0800 I heard the voice of
Jeremy Chadwick, and lo! it spake thus:
 
 So let's tell Navneet exactly what he's getting into, shall we?

OK, but let's do that by telling him what he's getting into, not vague
gestures at overblown half-truths.


   - Ruby is not included in the base system; you have to install it
 from ports (read: just another thing to have to maintain...)

My workstation has about 800 ports installed.  A relatively lean
server has 300.  1 more is so deep in the noise, you can't hardly
measure it, much less see it.


 ports base system:
   - C-based, and includes all of the pkg_* utilities.  Nearly every
 FreeBSD user/administrator is familiar with these tools.

Can't upgrade things.  Show me how I use pkg_* to upgrade a package
(let's say, gtk), and have all the metadata set right afterward.

Requires either stupid amounts of manual work, or a lot of scripting
(I upgrade perl.  How do I rebuild p5-*?).


 portupgrade:
   - Maintains its own database of ports installed, dependencies, and
 so on -- COMPLETELY separate from that of the ports base system.

Which is just a cache of the existing files, and can be blown away at
any time with no consequences other than a minute or two remaking
them.


   - Said database must be kept in sync with ports base system
 dependencies and other whatnots; and if they go out of sync

Which it rebuilds when it notices is out of date.  The only time I've
had problems out of it in years of using portupgrade is when I do
something like update BDB (or less often, portupgrade or ruby-bdb).
Whoopie.  Consider the recent case involving sudo and portmaster; when
you use a tool to update a low-level piece of itself, you have to take
some care how you go about it.


   - Said database is Berkeley DB-based, which means you have to install
 Oracle/Sleepycat BDB from ports.  (I believe you can pick DB1.x
 which comes with libc, but it's not recommended due to bugs).

So now we're up to 4 ports to install?  If you can make that my
biggest worry, I'll sent you a ginormous certified check first thing
in the morning.



There are a lot of things to hate in portupgrade, but let's don't pile
handwaving anthills into mountains on top of that.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Don't buy AMD products (was Re: Xorg and ATI card query.)

2007-03-14 Thread Matthew D. Fuller
On Wed, Mar 14, 2007 at 10:43:12AM +1100 I heard the voice of
Andrew Reilly, and lo! it spake thus:
 
 Matrox used to have a reputation for goodness (I used to have a G400
 or the like), but it's been a long time...

I'm sitting on a G450 here.  Works great.  I've never heard anything
bad about the 550 either, and it's a bit more capable.  But then, the
550 is also like 6 years old now (and still $100 new, and uncommon
used), and none of the newer Matrox cards have info released either.
Your choices for a late-model graphics card with released information
for an open driver are limited to...  ahh...  well...  no, not that
one either...   uh...


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to build or update vcdimager

2006-03-12 Thread Matthew D. Fuller
On Sat, Mar 11, 2006 at 08:29:36PM -0800 I heard the voice of
Ade Lovett, and lo! it spake thus:
 
 Since libtool has precisely nothing to do with texinfo files, I'm
 curious as to how you came to this co-incidental guess.  libtool is
 merely a wrapper around compiling and linking executable code and
 libraries.  Nothing more, nothing less.

In that it's the only relatively major structural change in ports I'm
aware of recently, and I had the same problem with 2 seemingly
unrelated ports at the same time (earlier today, in fact) after
pulling myself across that boundary, both of which use libtool.  I
have only the vaguest clue what libtool actually does; the two just
seemed to come about at the same time.  I've never seen the info
errors before either, and I've built both ports before.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to build or update vcdimager

2006-03-12 Thread Matthew D. Fuller
On Sun, Mar 12, 2006 at 10:51:32PM +0900 I heard the voice of
Norikatsu Shigemura, and lo! it spake thus:

 +  to the latest versions.  Please remove the following entries
 +  manually from $PREFIX/info/dir before upgrading them to
 +  vcdimager-0.7.23_2 (and later) and dirmngr-0.9.3_2 (and later)
 +  respectively.

I don't think that's right.  I DID remove them.  The problem is that
when doing the 'make install', the program's own installation process
installs then, THEN the bsd.ports.mk's INFO= process tries to install
them again and blows up.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to build or update vcdimager

2006-03-11 Thread Matthew D. Fuller
On Sat, Mar 11, 2006 at 09:29:15PM -0500 I heard the voice of
Gerard Seibert, and lo! it spake thus:
 
 I would have thought that the port maintainer would have foreseen
 this predicament and taken steps to alleviate it however.

My offhand guess (based on coincidence, not any knowledge that it
actually is so) is that it's fallout from the recent libtool changes.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with X11 Forwarding

2006-01-15 Thread Matthew D. Fuller
[ shifting to -questions@ ]

On Sun, Jan 15, 2006 at 10:24:04AM -0700 I heard the voice of
Aaron Dalton, and lo! it spake thus:
 
 editors/fte is fully installed (with X11libs and all that) but I
 wonder if there is more I need installed on the FreeBSD end to make
 things work.

You have to have the xorg-clients (or xfree-clients, if you're going
that way) installed to get the xauth(1) binary, so ssh can set the key
for the display it allocates.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with X11 Forwarding

2006-01-15 Thread Matthew D. Fuller
On Sun, Jan 15, 2006 at 01:36:36PM -0700 I heard the voice of
Aaron Dalton, and lo! it spake thus:
 
 *files this away in his head*  I just never saw anything that
 explicit in the docs anywhere.  I apologize for my ignorance and
 thank you for your help!

Oh, I don't think it's in docs anywhere (at least, nowhere I've seen),
so that's probably why you never saw it  ;)

I just know because when you login without it available, you get a
warning message about it.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive size being reported incorrectly?

2005-12-29 Thread Matthew D. Fuller
On Thu, Dec 29, 2005 at 12:02:51PM -0700 I heard the voice of
Travis Poppe, and lo! it spake thus:
 
 reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a
 305245MB (or 298GB drive) in two separate machines. When it has
 finally been formatted for use, I get 289GB of available space.
 
 Now, I understand that harddrive manufacturers measure things
 differently (1000kbytes per gbyte rather than 1024, or something
 like that) than expected, but I've been told by a few people that I
 should be getting around 305-312GB of available space after the
 drive has been formatted. 

Don't be told.  Do the math.

320,000,000,000 bytes (hard drive manufacturer 'gigabytes'), divided
by 1024 gives 312,500,000 kbytes, divided by 1024 gives 305,175.8
mbytes, divided by 1024 gives 298.023 gbytes according to a quick
dc(1).


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Matthew D. Fuller
On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of
Vittorio, and lo! it spake thus:
 
 6) I reciprocate the same  configuring steps on the other 
 machine uffbsd.
 
 Well in the end:
 # rsh uffbsd
 uffbsd.myd.prv: 
 Connection refused

rsh with no arguments uses rlogind, not the rshd.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Good BSD/Linux Article (somewhat off-topic)

2004-01-16 Thread Matthew D. Fuller
On Fri, Jan 16, 2004 at 03:51:23PM + I heard the voice of
Andrew Boothman, and lo! it spake thus:
 
 Scott W wrote:
 
 Hey all, just wanted to share a link to an interesting article 
 comparing/contrasting *BSD (primarily FreeBSD) and Linux, at
 http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php
 
 Yes that is a great read. Ideal for sending to Linux-using friends who 
 can't understand why I'm not using Linux myself.
 
 Personally I found it from my daily email from Google News which tells 
 me about any new postings to news sites that contain FreeBSD. I've 
 found it very useful for seeing what large and small sites are saying 
 about FreeBSD, even if just mentioning it in passing.

Y'know, I posted it to -advocacy and my local LUG mailing list on
Tuesday, hoping maybe a couple people would read it and have some good
comments and suggestions on it.  What happened is I haven't gotten
much of anything done the past few days, from using the comments and
suggestions, and answering all the emails I've gotten.

I guess somebody DID find it useful   :)


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vim and C code

2003-09-06 Thread Matthew D. Fuller
On Sat, Sep 06, 2003 at 11:50:40AM +0200 I heard the voice of
Martin Vana, and lo! it spake thus:
 
 PS: A bonus questions for those who haven't answered any newbie question
 yet: I can't get :s/aaa/bbb/g to be working from curosor till the end of
 file only.

:.,$s/aaa/bbb/g



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PAM, X11, and su as a normal user?

2003-09-06 Thread Matthew D. Fuller
On Sat, Sep 06, 2003 at 08:11:21AM -0700 I heard the voice of
Steven G. Kargl, and lo! it spake thus:
 
 Thanks for the hint.  I took the rather draconian action of
 deleting user sgk's .Xauthority file.  Then I used xauth to
 merge in user kargl's entire .Xauthority.  This appears to 
 work only if I use su -l sgk.  I guess I'm inheriting
 something in the environment that X doesn't lik when I 
 use su sgk.

FWIW, I just plain 'su' to root (toor, rather, but that's not relevant)
and use a one-off script to merge keys for running X apps:

root% cat /root/xauthset 
#!/bin/sh
xauth -f /home/fullermd/.Xauthority extract - $DISPLAY | xauth merge -

Never had any problems out of it.



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vi

2003-07-06 Thread Matthew D. Fuller
On Sun, Jul 06, 2003 at 03:04:16AM +0800 I heard the voice of
adrian kok, and lo! it spake thus:
 
 My friend puts some words in in.txt eg: 
 
 xxx
 wq!
 
 and vi  in.txt 
 
 then this program in in.txt will automatically do it
 and finally save and exit

With vim, use -s (see manpage).



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 screen area problem

2003-06-22 Thread Matthew D. Fuller
On Sun, Jun 22, 2003 at 12:15:44AM -0700 I heard the voice of
Alex, and lo! it spake thus:
 It looks like the screen area was set to 640 x 480 when it should be
 1024 x 768, but I'm having trouble figuring out why this is happening.

Find the Modes line in the Screen section.  It'll look something
like:
Modes   640x480 800x600 1024x768

It tries the modes in order, so just swap 'em around so the 1024x768 one
is first.  (Yup, bloody stupid system, that it puts the LOWEST first in
the configurator)


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Networking/Routing

2003-06-18 Thread Matthew D. Fuller
On Wed, Jun 18, 2003 at 07:45:43AM -0700 I heard the voice of
Bryan W. Maxwell, and lo! it spake thus:
 
 Thanks everyone! I fixed the local address with the eth0 now so thats all 
 good. But my serial line only allows me to ping 192.168.2.2, the otherside 
 is connected to a micropic web server and its address is 192.168.2.3. Thats 
 when it returns, the ping: sendto: Network dropped connection on reset. Any 
 ideas? How would i route it? Thanks once again guys, your all awesome.

Well, to go to the basics: Is the OTHER side trying to run SLIP with the
same IP configuration?



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Networking/Routing

2003-06-17 Thread Matthew D. Fuller
On Tue, Jun 17, 2003 at 06:51:59PM -0400 I heard the voice of
Bill Moran, and lo! it spake thus:
 
 192.168.2.0 is not a valid IP address.  The last number must be somewhere
 between 1 and 254 (inclusive).

Well, just to be anal about it...   false.
192.168.2.0 is a perfectly valid IP address in any number of cases; for
instance, it's a fine address about 3/4 of the way through the
192.168.0.0/22 subnet.

Of course, sticking it (or any other address, except in some cases which
don't apply here) on loopback is just silly.  The addresses used in the
SLIP attachment make a lot more sense.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell scripting - automating rotation of files in differentdirectories

2003-06-12 Thread Matthew D. Fuller
On Thu, Jun 12, 2003 at 02:58:32PM -0400 I heard the voice of
Dave [Hawk-Systems], and lo! it spake thus:
 For example,
 brutally pseudo script
 for($i=30; $i0;$1--){ # 30 days is maximum retained
   for LOG in `ls /users/*/logs/ | grep .$i'`; do
   # move any of the previous logs into the current existing
   # so that we don't add to number of logs per user
   $prevLOG = strreplace(($i-1)($i) on $LOG)
   mv $prevLOG $LOG
   done
 )
 /brutally pseudoscript
 
 Am thinking that the shell script will need to drop to awk to perform the
 disection of the log number extensions...  any thoughts on this/easier methods
 before I sit down and devote some time to it?

You want jot(1) and expr(1).

Something along the lines of:

for i in `jot 29 29 1`; do
if [ -r /some/dir/log.${i} ] ; then
mv -f /some/dir/log.${i} /some/dir/log.`expr ${i} + 1`
fi
done

(more simplistic than yours, since it doesn't recurse across directories,
but the idea gets across)


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tty's root restriction access...

2003-06-10 Thread Matthew D. Fuller
On Tue, Jun 10, 2003 at 09:29:10AM -0400 I heard the voice of
Xpression, and lo! it spake thus:
 Hi list, I wonder if I can restrict several users to access the
 system by some ttys, for example: root only can take access to the
 server/system by the first terminal...thanks

See /etc/ttys (ttys(5)), in particular the secure flag.  That's more
for local terminals

For remote access, see /etc/login.access (login.access(5)).



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick question please

2003-06-10 Thread Matthew D. Fuller
On Tue, Jun 10, 2003 at 01:31:08PM -0400 I heard the voice of
Steve, and lo! it spake thus:
 i know this might be common question but id really like to know, why 
 your logo is a small devil? please reply thanks.

Because the normal size of button-banners for webpages is too small to
make it a large devil.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/tty keeps changing permissions..?

2003-06-09 Thread Matthew D. Fuller
On Sat, Jun 07, 2003 at 10:21:17PM -0700 I heard the voice of
Thomas Park, and lo! it spake thus:
 Hello,
 
 I've been having an interesting problem with my FreeBSD 5.0 install -
 for whatever reason, the permissions and ownership on /dev/tty keep on
 being automatically changed in such a way that it becomes impossible for
 most users of the system to initiate outbound SSH sessions.

If you're having a problem with ssh, /dev/tty permissions have nothing to
do with it.  It's something of a phantom device which always refers to
YOUR tty.  YOUR tty will naturally be owned by you, and either 620 or 600
(depending on mesg(1)).  Vis:

-
[18:10:13] mortis:~
(ttyp3):{672}% whoami
fullermd
[18:10:17] mortis:~
(ttyp3):{673}% ls -al /dev/tty
crw---  1 fullermd  tty5,   3 Jun  8 18:10 /dev/tty
[18:10:23] mortis:~
(ttyp3):{674}% ssh -t -lmatt localhost ls -al /dev/tty
Password:
crw--w  1 matt  tty5,  23 Jun  8 18:10 /dev/tty
Connection to localhost closed.
-

So, something else would be causing your ssh permissions.  We'd need more
details to try and track that down.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/tty keeps changing permissions..?

2003-06-09 Thread Matthew D. Fuller
On Mon, Jun 09, 2003 at 09:41:01AM -0700 I heard the voice of
Thomas Park, and lo! it spake thus:
 
 Interesting.  I have access to several FreeBSD 4.6 STABLE boxes, and
 /dev/tty on each of them looks thusly:

4.x doesn't have devfs, so /dev is static.  It's just internally (in the
kernel) that /dev/tty becomes 'dynamic' pointing to the current tty.  In
5.x with devfs, it shows through in /dev.


 I'm pretty sure the ssh problem is with /dev/tty - I've scoured quite a
 few message boards and newsgroups looking for a solution to the SSH
 problem.  The symptom:a user who doesn't currently own /dev/tty attempts
 to open an outbound SSH session and gets a permission denied error with
 an error message along the lines of Host key verification failed.  SCP
 likewise doesn't work.

Don't say, show:)

Try `ssh -vvv` to be really verbose about it.



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ADSL: Using mpd(8) for PPPoE

2003-06-09 Thread Matthew D. Fuller
On Sun, Jun 08, 2003 at 10:35:25PM -0700 I heard the voice of
Kris Kennaway, and lo! it spake thus:
 
 ppp(8) also uses netgraph for PPPoE.  Anyway, are you sure you need to
 worry about mpd?  My Pentium 120 router handles my 1.5MBit ADSL at
 full speed with ppp(8)'s pppoe.

Don't be silly8-}


My 486 DX2/66 router handles my 1.5mbit ADSL at full speed with ppp(8).



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/tty keeps changing permissions..?

2003-06-09 Thread Matthew D. Fuller
On Mon, Jun 09, 2003 at 09:59:18AM -0700 I heard the voice of
Thomas Park, and lo! it spake thus:
 
 By God, I see that you're right!

This is what I've been telling you8-}


 I think the problem arises when I su into another account and try to ssh
 outbound.  Which should arguably be possible without having to do arcane
 manipulations to the tty device, IMHO..?

Well, it should be, yah.


Here's what's happening (after a quick foray into the source):

In the routine (readpassphrase(), readpassphrase.c) where it reads in a
password, it tries to open() /dev/tty, and if THAT fails, then use
stdin/stdout:


if ((input = output = open(_PATH_TTY, O_RDWR)) == -1) {
if (flags  RPP_REQUIRE_TTY) {
errno = ENOTTY;
return(NULL);
}
input = STDIN_FILENO;
output = STDERR_FILENO;
}


So, if it can't open /dev/tty (which it can't), and the RPP_REQUIRE_TTY
flag is set, then it returns NULL here.  From what I can see, that gets
passed up, so it ends up sending nothing as the password, which is why
you see it looping a few times there like:

 debug1: Next authentication method: password
 debug2: we sent a password packet, wait for reply
 debug1: Authentications that can continue:
 publickey,password,keyboard-interactive
 Permission denied, please try again.


So, why is that flag set?  Let's look upward:

readpassphrase() is called from read_passphrase() (readpass.c), just to
confuse you with naming.  That sets the RPP_REQUIRE_TTY flag, unless IT
is passed RP_ALLOW_STDIN.  read_passphrase() is called in this case from
userauth_passwd (sshconnect2.c), with the flags set to 0:

password = read_passphrase(prompt, 0);


So, according to my reading, if you change that '0' to 'RP_ALLOW_STDIN'
there (line 458 in sshconnect2.c from the openssh-portable/ port, after
'make patch'), then make/make install it, you SHOULD be able to use that
ssh(1) binary, and get out just fine, I think.


You can probably patch it in the base source tree too (it's in
src/crypto/openssh/), then 'make clean objdir all install' in
src/secure/usr.bin/ssh/ to install it.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TWM focus

2003-06-02 Thread Matthew D. Fuller
On Sun, Jun 01, 2003 at 09:06:12AM +0200 I heard the voice of
Antoine Jacoutot, and lo! it spake thus:
 
 How can I make TWM to automatically focus a new window ?
 Each time I launch an application, a square (empty window) appears under
 my mouse pointer and I have to click to make the window appear, which
 is pretty annoying.
 If you have any idea...

Put RandomPlacement in your .twmrc and it will place new windows
itself.  It won't give them focus though, unless they're under the mouse
(since focus follows mouse).  I think there's some way to make focus
follow clicks instead of just the cursor, but who wants that?   :)



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing packages

2003-06-02 Thread Matthew D. Fuller
On Mon, Jun 02, 2003 at 04:48:42AM -0500 I heard the voice of
Bingrui Foo, and lo! it spake thus:
 
 I'm sure I'm doing something wrongly, wonder what it is.

See -I and -L in gcc(1).


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What ASCII sequence is used to set xterm title?

2003-06-02 Thread Matthew D. Fuller
On Mon, Jun 02, 2003 at 02:17:12PM +0400 I heard the voice of
Sergey Akifyev, and lo! it spake thus:
 Hello!
 
 I just want to make shell prompt with changing gnome-terminal window
 title (to show host on which I'm sitting now). Does someone know how?

I use a script to set it when I login to a box with some silly config
like a prompt that sets it:
---
(ttyp1):{507}% cat ~/bin/xttitle
#!/bin/sh
printf \033]0;${*}\007
---

You should be able to work that sequence into wherever you want...


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Signal-related kernel messages on threaded processes?

2003-03-09 Thread Matthew D. Fuller
So, I'm working on a small threaded program here, and I get these:


Mar  9 07:39:53 mortis kernel: failed to set signal flags properly for ast()
Mar  9 07:39:53 mortis kernel: failed to set signal flags properly for ast()
Mar  9 07:42:21 mortis last message repeated 3 times
Mar  9 07:51:00 mortis last message repeated 26 times


I _think_ (based on times) they're related to running the programs in
gdb, though it's possible I got some when I was running it by itself.
My system is: FreeBSD 5.0-CURRENT #0: Wed Jan  8 18:46:11 CST 2003

I've tracked it down to sys/kern/subr_trap.c:87, which looks like:


if (SIGPENDING(p)  ((p-p_sflag  PS_NEEDSIGCHK) == 0 ||
(td-td_kse-ke_flags  KEF_ASTPENDING) == 0))
printf(failed to set signal flags properly for ast()\n);


inside #ifdef INVARIANTS, but that starts to lose me in details of
housekeeping structs for procs/threads.  This _is_ just using libc_r, not
libkse, so the KSE tests wouldn't apply, right?


What should I be doing in the program that I'm not to avoid that message?
Or does it actually not really mean anything for my process, and is all
kernel-related?


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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


Re: Automatically include debug symbols?

2003-02-10 Thread Matthew D. Fuller
[ trim the cc's ]

On Mon, Feb 10, 2003 at 05:30:24PM +1030 I heard the voice of
Greg 'groggy' Lehey, and lo! it spake thus:
 
 As you see, this is in the kernel build directory.  There's no point
 in actually installing it into /boot.  Also note:

There is when you regularly blow away /usr/src and /usr/obj (conveniently
on their own partitions, so just a newfs away) to build other versions
for other systems, etc.  I rarely have a src/obj matching my installed
world around.


  $ du -s /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY
  513 /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY

Wow; you definately have bigger kernels than I do   :)
root% du -sh /usr/obj/usr/src/sys/MORTIS
262M/usr/obj/usr/src/sys/MORTIS



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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



Re: Automatically include debug symbols?

2003-02-09 Thread Matthew D. Fuller
On Mon, Feb 10, 2003 at 10:32:14AM +1030 I heard the voice of
Greg 'groggy' Lehey, and lo! it spake thus:
 On Sunday,  9 February 2003 at 18:42:15 -0500, Bill Moran wrote:
 
  It's just a disk space issue then?  Because ... if it doesn't eat up
  RAM, I have a hard time thinking why I shouldn't have all my
  binaries with debug symbols all of the time.
 
 I've been pushing for this, at least for the kernel build, for some
 time.  It can make a big difference in the size of the directories,
 though.

I've thought seriously several times about looking at making all my
buildworld'd binaries with debug symbols.  I expect it'd eat a massive
chunk of drive space though.  The kernel undergoes a rather notable size
increase:
-r-xr-xr-x  1 root  wheel   4242610 Jan 18 06:38 /boot/kernel/kernel*
-rwxr-xr-x  1 root  wheel  17684134 Jan 18 06:40 /boot/kernel/kernel.debug*


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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



Re: CVS

2002-12-13 Thread Matthew D. Fuller
On Fri, Dec 13, 2002 at 07:34:25PM + I heard the voice of
Philip M. Gollucci, and lo! it spake thus:
 I want to send 1 E-Mail for each commit to my cvs repositories to 
 any number of addresses.

Try the package I wrote for it.
http://www.over-yonder.net/~fullermd/projects/cvsmail/



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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



Re: Dump/Restore to disk and tape

2002-12-09 Thread Matthew D. Fuller
On Mon, Dec 09, 2002 at 08:44:29PM -0800 I heard the voice of
Oliver Crow, and lo! it spake thus:
 
 Of course this doesn't work because pax just creates the file
 'dump.0.2002-10-10'.
 
 Is there some way to move a dump file to a set of tapes, without having to
 do the dump from the original filesystem?

Have you tried symlinking dump.0.2002-10-10 to /dev/stdout, and then
doing the | restore?  Kinda a twisted way of doing it, but it may work.



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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



Re: Manage, centralize and backup configuration files

2002-11-24 Thread Matthew D. Fuller
On Fri, Nov 22, 2002 at 04:49:36PM -0500 I heard the voice of
Karl Vogel, and lo! it spake thus:
 
 J What about a combination of rsync and CVS?
 
Rsync is a good idea if you want your files backed up on a separate
server.  CVS is a bit inflexible with directories, so I prefer RCS.

Eh?  CVS is a *LOT* more flexible with directories.

I keep all my configs in one central repository, which I co on different
machines using CVS-over-[rs]sh.  Then I just have a set of Makefiles in
the CVS tree to install the configs to the system directories.  Simple.



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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



Re: Seeking command similar to dd

2002-11-17 Thread Matthew D. Fuller
On Sun, Nov 17, 2002 at 12:10:59PM -0800 I heard the voice of
Adam Weinberger, and lo! it spake thus:
 
 If the CD is all data (i.e. just one track):
   dd if=/dev/cdrom of=cd.iso bs=2048
 If the CD is multiple tracks:
   for i in `/compat/linux/usr/bin/seq 1 100`; do
 ^
   dd if=/dev/acd0t$i of=track$i.cdr bs=2352;
   done

/usr/bin/jot 100 1 100



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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