Re: FreeBSD Stability

2003-01-03 Thread Gary W. Swearingen
Mark <[EMAIL PROTECTED]> writes:

> What is it that makes people rave about the longest uptime? To me, this is
> just a list of sites whose admins have neglected to perform the necessary
> upgrade-maintenances, seemingly for almost three years even. To me, this is
> just a list of potentially vulnerable sites.

Are they raving about sites and administrators, or about an OS with a
history of infrequent crashing?

-- 

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



Re: UPS Hardware / Software

2003-01-03 Thread nate
kouryuu said:
> I'm considering a UPS for my home system, and was wondering if
> anyone has any hardware/software recommendations. I've looked around a few
> places., but when I ask about the software, they ask me
> what OS I'm running. Then of course when I tell them FreeBSD, I get that
> blank look that we've all come to know and love.

I reccomend NUT(Network UPS tools), www.exploits.org/nut/ is the URL I
think, sample:

http://portal.aphroland.org/cgi-bin/nut/multimon.cgi

or, embedded in a webpage:

http://portal.aphroland.org

nate




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



Re: FreeBSD Stability

2003-01-03 Thread J. Scott Edwards

On Fri, 3 Jan 2003, Dimitry Andric wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 2003-01-03 at 02:29:49 Chris Doherty wrote:
>
> >> Additionally HP-UX, Linux, Solaris and recent releases of FreeBSD cycle
> >> back to zero after 497 days
>
> > wacky. how/why is this the case?
>
> 2^32/100/24/60/60 ~= 497.1
>

What is the division by 100 for?  The uptime is accurate to 10 mS?

-Scott



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



UPS Hardware / Software

2003-01-03 Thread kouryuu
I'm considering a UPS for my home system, and was wondering if
(Banyone has any hardware/software recommendations. I've looked around a few
(Bplaces., but when I ask about the software, they ask me
(Bwhat OS I'm running. Then of course when I tell them FreeBSD, I get that
(Bblank look that we've all come to know and love.
(B
(BAny suggestions or pointers appreciated,
(B
(BAric
(B
(BTo Unsubscribe: send mail to [EMAIL PROTECTED]
(Bwith "unsubscribe freebsd-questions" in the body of the message



sshd and reverse lookups

2003-01-03 Thread Hari Bhaskaran
Hi,

(while I play around with dummynet, I have yet another q :)

I can't seem to avoid the initial login delay for sshd.
I have turned off reverse lookup - "VerifyReverseMapping no".
I don't use inetd - even then, hosts.allow has only one -
"ALL : ALL : allow". I have an ipfilter firewall which
lets only one tcp port for ssh in (from select IPs).

I see the question has been asked before 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2697694+0+archive/2002/freebsd-questions/20021117.freebsd-questions
However, I didn't see any answers there.

/etc/rc.conf: sshd_flags="-4 -u0"
  inetd_enable="NO"

I have turned off RhostsAuthentication, RhostsRSAAuthentication, 
HostbasedAuthentication
No user@host pattern in AllowUsers and DenyUsers -  Things that would
have required reverse DNS lookup according to man page.

An ssh 3.4p1 client running from a different machine with couple of -v's gives

debug1: got SSH2_MSG_SERVICE_ACCEPT
<--- A delay of almost 1 to 2 minutes.
debug3: input_userauth_banner

I use the 'Banner' thing at the server - that is the debug3 line.
I have tried with & without the banner (just being paranoid) but
still the same result.

Any help is appreciated

--
Hari Bhaskaran

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



Re: Updating Pico & Pine

2003-01-03 Thread Warren Block
On Fri, 3 Jan 2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

> #alias pico nano

alias pico  nano -Rimpwz

for the full effect.  If it'd scroll the whole screen for long lines,
it'd be a nearly perfect simple editor.

-Warren Block * Rapid City, South Dakota USA

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



Re: Mysterious problem with ldconfig and ld

2003-01-03 Thread Dan Nelson
In the last episode (Jan 03), Justin Hopper said:
> Hmmm, I guess I just assumed that since ldconfig had cached the
> absolute path to the library, ld would not need to know the library
> path as well, but for some reason it did.
> 
> What ultimately fixed the problem was hardcoding the -L
> /usr/local/lib in the configure script, since it refused to pick up
> that directory any other way.
> 
> Thanks for your help.  As a point of curiosity, I'd still like to
> know why ld would still need the -L /usr/local/lib if the full path
> to the library is already in the cache?

what cache?  ld and the run-time linker are separate entities and share
no inrofmation.


-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: Mysterious problem with ldconfig and ld

2003-01-03 Thread Justin Hopper
Hmmm, I guess I just assumed that since ldconfig had cached the absolute
path to the library, ld would not need to know the library path as well,
but for some reason it did.

What ultimately fixed the problem was hardcoding the -L /usr/local/lib
in the configure script, since it refused to pick up that directory any
other way.

Thanks for your help.  As a point of curiosity, I'd still like to know
why ld would still need the -L /usr/local/lib if the full path to the
library is already in the cache?
-- 
Justin Hopper
[EMAIL PROTECTED]
UNIX Systems Engineer
http://www.spry.com

--- Begin Message ---
> This may be a very simple fix, but so far I've found no solution.  Just
> installed expat-1.95.5 in a FreeBSD 4.4 machine.  The install went fine,
> and I verified that ldconfig had picked up the library:
>
> host# ldconfig -r | grep expat
> 73:-lexpat.4 => /usr/local/lib/libexpat.so.4
>
> However, I need to install other packages that require the expat
> library, and the configuration fails stating that the expat library
> cannot be found.  In fact, just a simple test fails:
>
> host# ld -lexpat
> /usr/libexec/elf/ld: cannot find -lexpat

How about ld -L/usr/local/lib -lexpat?  Works fine here:

gabby# ld -L /usr/local/lib -lexpat
/usr/libexec/elf/ld: warning: cannot find entry symbol _start; not setting
start address
/usr/local/lib/libexpat.so: undefined reference to `memmove'
/usr/local/lib/libexpat.so: undefined reference to `memcpy'
/usr/local/lib/libexpat.so: undefined reference to `malloc'
/usr/local/lib/libexpat.so: undefined reference to `realloc'
/usr/local/lib/libexpat.so: undefined reference to `memset'
/usr/local/lib/libexpat.so: undefined reference to `free'
gabby#

If some programs can't find it, it's probably because /usr/local/lib isn't
in their search path.

--
Matt Emmerton


--- End Message ---


Re: FreeBSD Stability

2003-01-03 Thread Mike Hogsett

> I haven't seen FBSD 4.7 system with uptime > 1000 days, for quite
> obvious reasons.. Should I recommend everyone to install FBSD 2.2.8
> since it has good uptime records? :)

Sorry to step into the middle of a thread here, but to me it says that
FreeBSD has had, and likely continues to have, a very good development and
testing process for several years now, if not longer.  This is my
justification for using FreeBSD for all of my core services while my users
demand Linux on the desktop.


# uname -a
FreeBSD buzby 4.4-RELEASE FreeBSD 4.4-RELEASE #3: Thu Sep 20 13:16:52 PDT 2001 
root@buzby:/usr/src/sys/compile/PRI-NIS  i386
# uptime 
8:29PM  up 433 days, 11:24, 1 user, load averages: 0.01, 0.00, 0.00

 - Mike

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



Re: FreeBSD Stability

2003-01-03 Thread Jukka Simila
On Fri, 2003-01-03 at 02:17, Mark wrote:
> 
> What is it that makes people rave about the longest uptime? To me, this is
> just a list of sites whose admins have neglected to perform the necessary
> upgrade-maintenances, seemingly for almost three years even. To me, this is
> just a list of potentially vulnerable sites.
> 
> - Mark

And, those uptimes just say that FreeBSD was stable 3 years ago.

I haven't seen FBSD 4.7 system with uptime > 1000 days, for quite
obvious reasons.. Should I recommend everyone to install FBSD 2.2.8
since it has good uptime records? :)

//Jukkis


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



Re: Mysterious problem with ldconfig and ld

2003-01-03 Thread Matthew Emmerton
> This may be a very simple fix, but so far I've found no solution.  Just
> installed expat-1.95.5 in a FreeBSD 4.4 machine.  The install went fine,
> and I verified that ldconfig had picked up the library:
>
> host# ldconfig -r | grep expat
> 73:-lexpat.4 => /usr/local/lib/libexpat.so.4
>
> However, I need to install other packages that require the expat
> library, and the configuration fails stating that the expat library
> cannot be found.  In fact, just a simple test fails:
>
> host# ld -lexpat
> /usr/libexec/elf/ld: cannot find -lexpat

How about ld -L/usr/local/lib -lexpat?  Works fine here:

gabby# ld -L /usr/local/lib -lexpat
/usr/libexec/elf/ld: warning: cannot find entry symbol _start; not setting
start address
/usr/local/lib/libexpat.so: undefined reference to `memmove'
/usr/local/lib/libexpat.so: undefined reference to `memcpy'
/usr/local/lib/libexpat.so: undefined reference to `malloc'
/usr/local/lib/libexpat.so: undefined reference to `realloc'
/usr/local/lib/libexpat.so: undefined reference to `memset'
/usr/local/lib/libexpat.so: undefined reference to `free'
gabby#

If some programs can't find it, it's probably because /usr/local/lib isn't
in their search path.

--
Matt Emmerton


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



Re: FreeBSD Stability

2003-01-03 Thread Kevin Stevens

On Thursday, Jan 2, 2003, at 17:17 US/Pacific, Mark wrote:


What is it that makes people rave about the longest uptime? To me, 
this is
just a list of sites whose admins have neglected to perform the 
necessary
upgrade-maintenances, seemingly for almost three years even. To me, 
this is
just a list of potentially vulnerable sites.

Yeah, I've always felt the same way.  If you're making runtime changes 
to your systems without testing that they restart properly, you're 
asking for disaster sooner or later; especially as you stack update 
upon update.  If you're not performing updates at all, you have other 
issues.

What's really significant is the (lowest) number of *unscheduled* 
restarts; unfortunately, that's not easily posted on a scoreboard.

KeS


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


Mysterious problem with ldconfig and ld

2003-01-03 Thread Justin Hopper
This may be a very simple fix, but so far I've found no solution.  Just
installed expat-1.95.5 in a FreeBSD 4.4 machine.  The install went fine,
and I verified that ldconfig had picked up the library:

host# ldconfig -r | grep expat
73:-lexpat.4 => /usr/local/lib/libexpat.so.4

However, I need to install other packages that require the expat
library, and the configuration fails stating that the expat library
cannot be found.  In fact, just a simple test fails:

host# ld -lexpat
/usr/libexec/elf/ld: cannot find -lexpat

I made sure any previous installations of expat were nuked and all files
deleted.  And the /usr/local/lib/libexpat.so.4 does exist:

higherinnovation# ll /usr/local/lib/libexpat.so.4
-rwxr-xr-x  1 root  wheel  294728 Jan  3 19:44
/usr/local/lib/libexpat.so.4

If ldconfig has an entry for the library and is pointing correctly, what
is the problem?

Maybe I've just been staring at this for too long.

Any help would be appreciated.
-- 
Justin Hopper
[EMAIL PROTECTED]
UNIX Systems Engineer
http://www.spry.com


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



Re: Softer crash a show-interrupter only (please CC me in reply)

2003-01-03 Thread Andreas Ntaflos
On Fri, Jan 03, 2003 at 06:42:42PM -0800, Peter Leftwich wrote:
> [Please CC me in your reply]
> 
> Can anything be gathered from the attached sysconsole messages?  Oh, also,
> is there a tcsh command line I can run that will "tee" messages both to the
> console and to a file, such as `startx &2> startx.out` or something? Thx!!

For that I would use script(1). I think with tcsh it is not possible to
direct stdout and stderr to both a file and the console.

Content-Description: startx.out
> box 1743 ~ # startx
> xauth: (argv):1:  bad display name "...r.com:0" in "list" command
> xauth: (argv):1:  bad display name "...r.com:0" in "add" command
> XFree86 Version 4.2.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6600)

I am afraid I don't use either Gnome nor Galeon nor GAIM, so I don't think I
can help you with that, but you should set your IP address and hostname in
/etc/hosts to avoid that xauth errormessage.
As for the rest, you sould probably check your jdk1.3.1 installation
or something like that. This libjavaplugin_oji.so-thingy is something I've
encountered too, but with the native FreeBSD version of Opera. Don't really
have a clue on that. 

HTH (a little)
regards
-- 
Andreas "ant" Ntaflos   |  "A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing."
Vienna, AUSTRIA |   Oscar Wilde

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



Re: how can I filter on subject with sendmail 8.12.6?

2003-01-03 Thread Mark
- Original Message -
From: "Fuzzy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 2:48 AM
Subject: how can I filter on subject with sendmail 8.12.6?

> we're having a problem with some cracker using addresses
> harvested from whois and the "abuse/www/webmaster" with
> domains they get from the database. The mail appears to
> come from us but it cannot as the addresses are oneway
> incoming only.
>
> the subject is always
>
> "XXX templates"
>
> It claims its advertising for www.liquid2d.com,


Hi Fuzzy, :)

Since you are running sendmail 8.12.6, I strongly recommend using milter. Of
course, you could also do a quick-and-dirty hack with a macro:

HSubject:   $>Check_Subject

D{MPat}XXX templates
D{MMsg}Go away, please.

SCheck_Subject

R${MPat} $* $#error $: 553 ${MMsg}

Something like that. :)

- Mark

System Administrator Asarian-host.org

---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx


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



Re: FreeBSD Stability

2003-01-03 Thread Mark
- Original Message -
From: "Marcus Reid" <[EMAIL PROTECTED]>
To: "Mike Hogsett" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 1:02 AM
Subject: Re: FreeBSD Stability


> I like to point people in the direction of:
>
> http://uptime.netcraft.com/up/today/top.avg.html
>
> The list is dominated by FreeBSD machines with
> uptimes of longer than 1000 days.


What is it that makes people rave about the longest uptime? To me, this is
just a list of sites whose admins have neglected to perform the necessary
upgrade-maintenances, seemingly for almost three years even. To me, this is
just a list of potentially vulnerable sites.

- Mark


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



Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-03 Thread Greg 'groggy' Lehey
On Thursday,  2 January 2003 at 16:53:05 +0100, Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2003-01-02 16:40:45 +0100:
>> # [EMAIL PROTECTED] / 2002-12-30 11:26:22 +1030:
>>> On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:

 ...

> For more information, take a look at the following, which is a message
> I send to systems which appear to be bona fide attempts from broken
> reverse addresses.  Looking at the name of the sender, I'm sure this
> one is not bona fide, and I didn't really send the message.  Most of
> my double bounces come from spammers.

 do you have that script publically available? I'd like to use
 that, too.
>>>
>>> Yes, it's at http://www.lemis.com/B.
>>
>> Is that the version you actually use? I believe I found a bug:
>
> ...
>
> plus, you stuff the output in $myfile, and get the input from it as
> well. How's that supposed to work? :)

Heh.  You're looking at this section, no doubt:

  cat > $myfile
  server=`egrep -i < $myfile "In:  [HE][HE]LO"|sed 's/^.*LO *//' `
  if [ "$server" = "" ]; then
server=`egrep -i < $myfile "^Subject.*errors from "|sed 's/^Subject.*errors from 
//; s:\[.*::g' `
  fi

Confusing, isn't it?  The thing is, this program is a filter.  The
first line copies stdin to $myfile for future (multiple) readings.  If
it weren't a filter, the cat command would still read from stdin, so
if it were a terminal, it would just appear to hang.

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

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



Re: how can I filter on subject with sendmail 8.12.6?

2003-01-03 Thread Andrew Prewett
On Jan 3 Fuzzy wrote:

>
> we're having a problem with some cracker using addresses
> harvested from whois and the "abuse/www/webmaster" with
> domains they get from the database. The mail appears to
> come from us but it cannot as the addresses are oneway incoming
> only.
>
> the subject is always
>
> "XXX templates"
[...]

Try with this at the end of your sendmail.mc
(don't forget to rebuild the sendmail.cf file and restart sendmail)


LOCAL_CONFIG

C{RejectSubject}XXX templates

LOCAL_RULESETS

HSubject:   $>CheckSubject

SCheckSubject
R$={RejectSubject}  $#error $@ 5.1.3 $: "554 Header error"
R$* $@ OK

-andrew


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



Re: Here are the logs...Re: qmail toaster wont deliver to v mailboxes

2003-01-03 Thread Brian Jackson

On Monday, December 30, 2002, at 09:52  PM, Keith Spencer wrote:


Typical whinges to log when trying to deliver to a shell account 
user...At least it thinks the account exists!

Dec 31 00:00:00 smmcroute newsyslog[34616]: logfile turned over
Dec 31 00:00:03 smmcroute mail: 1041256803.908619 starting delivery 
17893: msg 290936 to local [EMAIL PROTECTED]
Dec 31 00:00:03 smmcroute mail: 1041256803.909261 status: local 1/10 
remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.910348 starting delivery 
17894: msg 289996 to local [EMAIL PROTECTED]
Dec 31 00:00:03 smmcroute mail: 1041256803.911272 status: local 2/10 
remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.920062 delivery 17893: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:03 smmcroute mail: 1041256803.920384 status: local 1/10 
remote 1/255
Dec 31 00:00:03 smmcroute mail: 1041256803.920474 delivery 17894: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:03 smmcroute mail: 1041256803.920549 status: local 0/10 
remote 1/255
Dec 31 00:00:05 smmcroute mail: 1041256805.928609 starting delivery 
17895: msg 290849 to local [EMAIL PROTECTED]
Dec 31 00:00:05 smmcroute mail: 1041256805.929225 status: local 1/10 
remote 1/255
Dec 31 00:00:05 smmcroute mail: 1041256805.934214 delivery 17895: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 00:00:05 smmcroute mail: 1041256805.934480 status: local 0/10 
remote 1/255
Dec 31 00:00:10 smmcroute mail: 1041256810.059273 delivery 17886: 
deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/


		OR .when sending to a virtual user as created by 
qmailadmin/vpopmail system
 (and yes I checked the Maildir has been created in 
/usr/local/vpopmail/domains/smmc.qld.edu.au/cs

Dec 31 12:23:28 smmcroute mail: 1041301408.535012 new msg 290797
Dec 31 12:23:28 smmcroute mail: 1041301408.535628 info msg 290797: 
bytes 702 from <[EMAIL PROTECTED]> qp 49475 uid 89
Dec 31 12:23:28 smmcroute mail: 1041301408.541201 starting delivery 
22514: msg 292224 to local [EMAIL PROTECTED]
Dec 31 12:23:28 smmcroute mail: 1041301408.543116 status: local 2/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.544101 delivery 22513: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Dec 31 12:23:28 smmcroute mail: 1041301408.545985 status: local 1/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.549619 starting delivery 
22515: msg 290797 to local [EMAIL PROTECTED]
Dec 31 12:23:28 smmcroute mail: 1041301408.552142 status: local 2/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.553299 delivery 22515: 
failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Dec 31 12:23:28 smmcroute mail: 1041301408.554145 status: local 1/10 
remote 0/255
Dec 31 12:23:28 smmcroute mail: 1041301408.557766 bounce msg 290797 qp 
49484
Dec 31 12:23:28 smmcroute mail: 1041301408.558188 end msg 290797


Hm!

Hi Keith -

  Probably should keep the same thread going - I almost missed your 
reply on this - plus people use the archives to help solve issues :)

  I still think it's a permissions issue, but we can check a few other 
things as well.  What's the output of this command?

  $ps -aux | grep -i 'qmail-lspawn'

  On my system, this is what I get:

  nostromo:[~] >> ps -aux | grep -i 'qmail-lspawn'
  root   164  0.0  0.2   892  196 con- I 6Dec02   0:01.20 
qmail-lspawn ./Maildir/

  Notice the preceding . and the trailing / on the Maildir - do you see 
the same thing?  If not, check your rc file in /var/qmail - it should 
have your delivery method (or, if your directions call for it, it may 
be in a file called defaultdelivery in the /var/qmail/controls 
directory).

  I know that Matt has made the install "simple" by making allot of 
perl scripts  - so check in both places.  It's common to miss the last 
/ or the . in the command.

Brian
--
Brian Jackson
[EMAIL PROTECTED]


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


Softer crash a show-interrupter only (please CC me in reply)

2003-01-03 Thread Peter Leftwich
[Please CC me in your reply]

Well, Gnome/Galeon/GAIM/xterm crashed again; the windows all lost their
borders and this time thankfully all I could do was Ctrl-Alt-F1 to the
console again and Ctrl-Z to the "startx" process running.  I then hit
ScrollLock a number of times and copied and pasted the history buffer to a
file (attached, edited slightly).  By the way, thank you list posters (I
forget your email addresses) for your replies about "apmd_enable='YES'"
(fixed my `shutdown -p now` issue) and for the recent post about trying to
come in to my box from the network (an astute test to run if I ever get the
chance, unfortunately I'm on a 1-box LAN :) and don't want to leave my PC
in a crashed and possibly vulnerable state while I go find another PC)...

Can anything be gathered from the attached sysconsole messages?  Oh, also,
is there a tcsh command line I can run that will "tee" messages both to the
console and to a file, such as `startx &2> startx.out` or something? Thx!!

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

box 1743 ~ # startx
xauth: (argv):1:  bad display name "...r.com:0" in "list" command
xauth: (argv):1:  bad display name "...r.com:0" in "add" command
XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Jan  3 17:43:29 2003
(==) Using config file: "/etc/XF86Config"
(EE) R128(0): [dri] DRIScreenInit failed.  Disabling DRI.
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPo
Couldn't load XKB keymap, falling back to pre-XKB keymap
setenv: not found
SESSION_MANAGER=local/dhcp-407-32.san.rr.com:/tmp/.ICE-unix/185
** (gnome-session:185): WARNING **: Host name lookup failure on localhost.
** (gnome-settings-daemon:200): WARNING **: Unsupported in this build
setting Net/DoubleClickTime 400
setting Gtk/FontName Sans 10
setting Gtk/KeyThemeName Default
setting Net/CursorBlink 1
setting Net/CursorBlinkTime 1200
setting Net/ThemeName Redmond95
-1/-1
Reloading events
error in local config--> (void-value xterm-program)
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
(gnome-panel:208): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to 
`GtkWindow'
** (gnome-settings-daemon:200): WARNING **: Unsupported in this build
(gnome-panel:208): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to 
`GtkWindow'
** (gnome-settings-daemon:200): WARNING **: Unsupported in this build
** (gnome-settings-daemon:200): WARNING **: Encountered problems registering the 
settings daemon with bonobo-activation. Clients may not detect that the settings 
daemon is already running.
GnomeUI-WARNING **: Could not open help topics file NULL
*** Bad argument: #, (), 1
capplet-common-Message: cleanup_cb: Enter LoadPlugin: failed to initialize shared 
library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open 
"/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so"]

You have to leave in 5 minutes.
Just one more minute!
Time to leave! (etc etc)

assertion "window_in_stacking_list_p (w)" failed: file "stacking-list.c", line 67
rep: received fatal signal: Abort trap
struct debug_buf common:
Backtrace in `fatal_signal_handler':
<_thread_sig_wrapper+364>
0xbfbfde60
<_thread_sig_handle_pending+1722>
<_thread_sig_handler+722>
Lisp backtrace:
Jan  3 18:29:42 <0.6> dhcp-407-32 /kernel: pid 202 (sawfish), uid 0: exited on signal 
6 (core dumped)
<_thread_sig_handler+722>
Lisp backtrace:
Jan  3 18:29:42 <0.6> dhcp-407-32 /kernel: pid 202 (sawfish), uid 0: exited on signal 
6 (core dumped)
Gtk-CRITICAL **: file gtkwidget.c: line 3246 (gtk_widget_set_state): assertion `
widget != NULL' failed.
^Z
[1]  + Suspended startx
box 1831 COMPUTER UPTIME IS 50 mim ~ top



Re: Disable Mozilla profile

2003-01-03 Thread Lee Harr
Thanks for the reply, I am seeing the profile manager when I try to
open a second instance of Mozilla.  I cant open another instance
until I create another profile.  I understand that these profiles
can
be useful, but they can also be a sole reason not to use Mozilla.


If it is just you, maybe what you are looking for is Ctrl-N
(New window) or (even better) Ctrl-T (new Tab)  ;-)



The mozilla port installs a wrapper script at
/usr/X11R6/bin/mozilla that only launches mozilla the first time it
is
called, and after that passes commands to the running instance.


Hmm... yup. I am pretty sure that is what I am using.
I updated to 1.1 soon after it came out, maybe I should try the
latest version of the port. Thanks.




_
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: Majordomo results

2003-01-03 Thread Ullrich 'Jason' Haag
Sorry guys. Not just once but twice I am publicly screaming "I am
stupid"...

Please disregard my (hopefully temporary) stupidity...

-Jason


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



Re: ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Lauri Ahonen

- Original Message -
From: "Matthew Emmerton" <[EMAIL PROTECTED]>
To: "Lauri Ahonen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 4:13 AM
Subject: Re: ppp on freebsd 4.7 - disable ccp?


> - Original Message -
> From: "Lauri Ahonen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 9:06 PM
> Subject: ppp on freebsd 4.7 - disable ccp?
>
>
> > If I'm reading this logfile right trying to negotiate compression levels
> > kills my connection.
> > I got the connection working on windows by disabling software
compression.
> > Dns is static,
> > so it's defined in resolv.conf. No ipv6 thank you
> >
> > (This is a GPRS connection, that's why the odd dial-in number and low
com
> > speed)
> >

> Since you didn't ask a question, I assume you wanted to ask "how can I
> disable software compression on FreeBSD"?
>
> The answer is to add "disable vjcomp" to your ppp.conf file.
>
> --
> Matt Emmertno

Sorry. What I meant to ask is how to disable compression control protocol,
not only vj compression(tried disabling vjcomp, but my link still dies after
"LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
rejected!"). The problem might be something else than ccp, but the link dies
everytime at the same point




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



[no subject]

2003-01-03 Thread freebsd-questions
unsubscribe freebsd-questions


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



Majordomo results

2003-01-03 Thread Majordomo
--

 Unsubscribe freebsd-questions
 unsubscribe: '<[EMAIL PROTECTED]>' is not a member of list 
'freebsd-questions'.
 contact "[EMAIL PROTECTED]" if you need help.
 

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



Re: ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Matthew Emmerton
- Original Message -
From: "Lauri Ahonen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 9:06 PM
Subject: ppp on freebsd 4.7 - disable ccp?


> If I'm reading this logfile right trying to negotiate compression levels
> kills my connection.
> I got the connection working on windows by disabling software compression.
> Dns is static,
> so it's defined in resolv.conf. No ipv6 thank you
>
> (This is a GPRS connection, that's why the odd dial-in number and low com
> speed)
>
> -bash-2.05b$ ppp
> Working in interactive mode
> Using interface: tun0
> ppp ON libretto> set device /dev/cuaa0
> ppp ON libretto> set speed 57600
> ppp ON libretto> disable dns
> ppp ON libretto> disable ipv6
> ppp ON libretto> disable ipv6cp
> ppp ON libretto>  set log local phase lcp ipcp
> ppp ON libretto> term
> Phase: bundle: Establish
> Phase: deflink: closed -> opening
> Phase: deflink: Connected!
> deflink: Entering terminal mode on /dev/cuaa0
> Type `~?' for help
> Phase: deflink: opening -> carrier
> Phase: deflink: /dev/cuaa0 doesn't support CD
> Phase: deflink: carrier -> ready
> AT
> OK
> ATZ
> OK
> AT+CGDCONT=1,"IP","internet"
> OK
> ATDT*99***1#
> CONNECT
> Phase: deflink: PPP packet detected, coming up
> Phase: deflink: ready -> carrier
> Phase: deflink: carrier -> lcp
> LCP: FSM: Using "deflink" as a transport
> LCP: deflink: State change Initial --> Closed
> LCP: deflink: State change Closed --> Stopped
> ppp ON libretto> LCP: deflink: LayerStart
> LCP: deflink: SendConfigReq(1) state = Stopped
> LCP:  ACFCOMP[2]
> LCP:  PROTOCOMP[2]
> LCP:  ACCMAP[6] 0x
> LCP:  MRU[4] 1500
> LCP:  MAGICNUM[6] 0xd8c553ad
> LCP: deflink: State change Stopped --> Req-Sent
> LCP: deflink: RecvConfigNak(1) state = Req-Sent
> LCP:  ACCMAP[6] 0x000a
> LCP: deflink: SendConfigReq(2) state = Req-Sent
> LCP:  ACFCOMP[2]
> LCP:  PROTOCOMP[2]
> LCP:  ACCMAP[6] 0x000a
> LCP:  MRU[4] 1500
> LCP:  MAGICNUM[6] 0xd8c553ad
> LCP: deflink: RecvConfigAck(2) state = Req-Sent
> LCP:  ACFCOMP[2]
> LCP:  PROTOCOMP[2]
> LCP:  ACCMAP[6] 0x000a
> LCP:  MRU[4] 1500
> LCP:  MAGICNUM[6] 0xd8c553ad
> LCP: deflink: State change Req-Sent --> Ack-Rcvd
> LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
> LCP:  ACCMAP[6] 0x000a
> LCP:  PROTOCOMP[2]
> LCP:  ACFCOMP[2]
> LCP:  MAGICNUM[6] 0x7e8713c3
> LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
> LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
> LCP:  ACCMAP[6] 0x000a
> LCP:  PROTOCOMP[2]
> LCP:  ACFCOMP[2]
> LCP:  MAGICNUM[6] 0x7e8713c3
> LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
> LCP: deflink: State change Ack-Rcvd --> Opened
> LCP: deflink: LayerUp
> LCP: deflink: SendIdent(0) state = Opened
> LCP:  MAGICNUM d8c553ad
> LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
> Phase: bundle: Authenticate
> Phase: deflink: his = CHAP 0x05, mine = none
> Ppp ON libretto> Phase: Chap Input: CHALLENGE (20 bytes)
> Phase: Chap Output: RESPONSE ()
> Phase: Chap Input: SUCCESS
> Phase: deflink: lcp -> open
> Phase: bundle: Network
> IPCP: FSM: Using "deflink" as a transport
> IPCP: deflink: State change Initial --> Closed
> IPCP: deflink: LayerStart.
> IPCP: deflink: SendConfigReq(1) state = Closed
> IPCP:  IPADDR[6] 127.0.0.1
> IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
> IPCP: deflink: State change Closed --> Req-Sent
> PPp ON libretto> LCP: deflink: RecvProtocolRej(4) state = Opened
> LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
> rejected!
> IPCP: deflink: RecvConfigRej(1) state = Req-Sent
> LCP: deflink: SendIdent(1) state = Opened
> LCP:  MAGICNUM d8c553ad
> LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
> IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
> IPCP: deflink: SendConfigReq(2) state = Req-Sent
> IPCP:  IPADDR[6] 127.0.0.1
> LCP: deflink: RecvTerminateReq(5) state = Opened
> LCP: deflink: LayerDown
> LCP: deflink: SendTerminateAck(5) state = Opened
> LCP: deflink: State change Opened --> Stopping
> Phase: deflink: open -> lcp
> IPCP: deflink: State change Req-Sent --> Starting
> IPCP: deflink: LayerFinish.
> IPCP: Connect time: 1 secs: 0 octets in, 0 octets out
> IPCP: 0 packets in, 0 packets out
> IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan  4 04:02:01 2003
> IPCP: deflink: State change Starting --> Initial
> Phase: bundle: Terminate
> ppp ON libretto> LCP: deflink: LayerFinish
> LCP: deflink: State change Stopping --> Stopped
> LCP: deflink: State change Stopped --> Closed
> LCP: deflink: State change Closed --> Initial
> Phase: deflink: Disconnected!
> Phase: deflink: Connect time: 132 secs: 289 octets in, 362 octets out
> Phase: deflink: 13 packets in, 10 packets out
> Phase:  total 4 bytes/sec, peak 129 bytes/sec on Sat Jan  4 04:02:03 2003
> Phase: deflink: lcp -> closed
> Phase: bundle: Dead
> ppp ON libretto>

Since you didn't ask a question, I assume you wanted to ask "how can I
disable software compression on FreeBSD"?

The answer is to add "disable vjcomp" to your ppp.conf file.

--
Matt Emmertno


To Unsubscribe: 

iomega usb zip 100

2003-01-03 Thread Ted
Dear FreeBSDers,
I've tried using the mount command to mount my USB Iomega Zip 100 drive 
but have failed. Upon boot w/ the device plugged into the pc, the 
kernal recognizes it as umass0 but on the very next line it states that 
"Get Lun (stalled)".

How do I mount a USB Iomega Zip 100 drive under FreeBSD 4.7?

Thank you for your assistance,
Ted


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


ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Lauri Ahonen
If I'm reading this logfile right trying to negotiate compression levels
kills my connection.
I got the connection working on windows by disabling software compression.
Dns is static,
so it's defined in resolv.conf. No ipv6 thank you

(This is a GPRS connection, that's why the odd dial-in number and low com
speed)

-bash-2.05b$ ppp
Working in interactive mode
Using interface: tun0
ppp ON libretto> set device /dev/cuaa0
ppp ON libretto> set speed 57600
ppp ON libretto> disable dns
ppp ON libretto> disable ipv6
ppp ON libretto> disable ipv6cp
ppp ON libretto>  set log local phase lcp ipcp
ppp ON libretto> term
Phase: bundle: Establish
Phase: deflink: closed -> opening
Phase: deflink: Connected!
deflink: Entering terminal mode on /dev/cuaa0
Type `~?' for help
Phase: deflink: opening -> carrier
Phase: deflink: /dev/cuaa0 doesn't support CD
Phase: deflink: carrier -> ready
AT
OK
ATZ
OK
AT+CGDCONT=1,"IP","internet"
OK
ATDT*99***1#
CONNECT
Phase: deflink: PPP packet detected, coming up
Phase: deflink: ready -> carrier
Phase: deflink: carrier -> lcp
LCP: FSM: Using "deflink" as a transport
LCP: deflink: State change Initial --> Closed
LCP: deflink: State change Closed --> Stopped
ppp ON libretto> LCP: deflink: LayerStart
LCP: deflink: SendConfigReq(1) state = Stopped
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0xd8c553ad
LCP: deflink: State change Stopped --> Req-Sent
LCP: deflink: RecvConfigNak(1) state = Req-Sent
LCP:  ACCMAP[6] 0x000a
LCP: deflink: SendConfigReq(2) state = Req-Sent
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x000a
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0xd8c553ad
LCP: deflink: RecvConfigAck(2) state = Req-Sent
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x000a
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0xd8c553ad
LCP: deflink: State change Req-Sent --> Ack-Rcvd
LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
LCP:  ACCMAP[6] 0x000a
LCP:  PROTOCOMP[2]
LCP:  ACFCOMP[2]
LCP:  MAGICNUM[6] 0x7e8713c3
LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
LCP:  ACCMAP[6] 0x000a
LCP:  PROTOCOMP[2]
LCP:  ACFCOMP[2]
LCP:  MAGICNUM[6] 0x7e8713c3
LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
LCP: deflink: State change Ack-Rcvd --> Opened
LCP: deflink: LayerUp
LCP: deflink: SendIdent(0) state = Opened
LCP:  MAGICNUM d8c553ad
LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
Phase: bundle: Authenticate
Phase: deflink: his = CHAP 0x05, mine = none
Ppp ON libretto> Phase: Chap Input: CHALLENGE (20 bytes)
Phase: Chap Output: RESPONSE ()
Phase: Chap Input: SUCCESS
Phase: deflink: lcp -> open
Phase: bundle: Network
IPCP: FSM: Using "deflink" as a transport
IPCP: deflink: State change Initial --> Closed
IPCP: deflink: LayerStart.
IPCP: deflink: SendConfigReq(1) state = Closed
IPCP:  IPADDR[6] 127.0.0.1
IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
IPCP: deflink: State change Closed --> Req-Sent
PPp ON libretto> LCP: deflink: RecvProtocolRej(4) state = Opened
LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
rejected!
IPCP: deflink: RecvConfigRej(1) state = Req-Sent
LCP: deflink: SendIdent(1) state = Opened
LCP:  MAGICNUM d8c553ad
LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
IPCP: deflink: SendConfigReq(2) state = Req-Sent
IPCP:  IPADDR[6] 127.0.0.1
LCP: deflink: RecvTerminateReq(5) state = Opened
LCP: deflink: LayerDown
LCP: deflink: SendTerminateAck(5) state = Opened
LCP: deflink: State change Opened --> Stopping
Phase: deflink: open -> lcp
IPCP: deflink: State change Req-Sent --> Starting
IPCP: deflink: LayerFinish.
IPCP: Connect time: 1 secs: 0 octets in, 0 octets out
IPCP: 0 packets in, 0 packets out
IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan  4 04:02:01 2003
IPCP: deflink: State change Starting --> Initial
Phase: bundle: Terminate
ppp ON libretto> LCP: deflink: LayerFinish
LCP: deflink: State change Stopping --> Stopped
LCP: deflink: State change Stopped --> Closed
LCP: deflink: State change Closed --> Initial
Phase: deflink: Disconnected!
Phase: deflink: Connect time: 132 secs: 289 octets in, 362 octets out
Phase: deflink: 13 packets in, 10 packets out
Phase:  total 4 bytes/sec, peak 129 bytes/sec on Sat Jan  4 04:02:03 2003
Phase: deflink: lcp -> closed
Phase: bundle: Dead
ppp ON libretto>




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



Re: [resolution] Re: sendmail (Re: 5.0-RC2 informal PR: 90 sec sendmail delay)

2003-01-03 Thread Terry Lambert
"Gary W. Swearingen" wrote:
> Thanks.  I tried that and some other things (eg service.switch).  Even
> read the book and help files some more.  Terry's suggestion regarding
> "expensive" seemed like the opposite of what I needed (I was trying to
> keep the msg out of the queues) and I had no luck trying to disable some
> DNS which he hinted at.
> 
> I got my first good clue after adding level 15 logging to see an 80-sec
> delay between MUA-launched sendmail and the MTA daemon.  I then used
> level-99 logging to find

The book is pretty useless.  The reason the fix you are using
works is because you have an IPv6 connection by default, and by
explicitly specifying an IPv4 address, IPv4 is used.

The issue here is the .in-addr.arpa. delegation for localhost
is considered to be local.  When the getpeername() happens, it
gets an IPv6 address instead of an IPv4, and the the gethostbyaddr()
hangs looking for "::1.in-addr.arpa.", but has no problem finding
"1.0.0.127.in-addr.arpa.".

You can "fix" this by disabling the DNS cross-check in the file
sendmail.cf, and by getting rid of the peer name lookup in the
loopback case.  What you did with the IPv4 just took advanatage
of the fact that the in-addr.arpa. IPv4 delegations existed, when
the IPv6 loopback address ones did not.


> Is there a quick way to disable IPv6?  While I figure that out or
> rebuild my kernel, I got a quick fix by changing, in my "submit.mc",
> this
> FEATURE(`msp')
> to this
> FEATURE(`msp',`[127.0.0.1]')

This isn't the correct fix.  The correct fix is to add an IPv6 address
and in-addr.arap. delegation for the loopback in your local DNS.


As far as the HoldExpensive I recommended, the way you stated the
problem seemed to indicate that it was a failure to connect, not
a failure to validate a connection was going through.  In general,
ou want to queue up any mail that can bring up a link, if your link
is transiently connected, and then control the link with a seperate
queue interval.  The other DNS statements I made were to ensure that
the interface did not end up bouncing up when sendmail was started,
for local mail delivery, or for remote mail delivery, outside the
administratively controlled queueing intervals (which could be on
the order of seconds, if you wanted).

-- Terry

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



Re: FreeBSD Handbook NIS/YP Instructions

2003-01-03 Thread Mike Hogsett

portmap is also required for NIS.

- Mike

> >From: Adam Stroud <[EMAIL PROTECTED]>
> >
> >Since NIS uses RPC,
> >do I need to configure inetd.conf to allow RPC on the NIS server and 
> >clients?
> >The handbook does not make any mention of editing the inetd.conf file.
> 
> inetd doesn't handle RPC.
> 
> Use the rc.conf settings suggested in the tutorial and the necessary rpc
> servers will be started at boot time by /etc/rc
> 
> Once you've got everything running, you can use
> ps -ax | grep rpc
> to see what rpc servers were started.  I don't actually remember what's
> started for NIS, although I believe rpc.statd at least needs to run.
> 
> -Bill
> 
> _
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> 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



Redirecting root's email

2003-01-03 Thread Adam Lofstedt
I am having trouble redirecting root's email to an external email
account.  This is a 4.7-Release box with not very modifications done to
the standard installation.

I have tried creating a .forward file and placing it in /root with my
external email address in the file.  No luck.

I tried editing /etc/aliases and changed the line:
#root: [EMAIL PROTECTED]
to:
root : [EMAIL PROTECTED]

and then I ran the newaliases command.  Still no luck.

I think it has something to do with name resolution, but I'm not sure
what's going on.  In /etc/hosts I have the following:

127.0.0.1  localhost.visimation.com localhost
xxx.xxx.xxx.xxxforcefield.visimation.com forcefield
xxx.xxx.xxx.xxxforcefield.visimation.com.

In /etc/resolv.conf I have this:
Domain  visimation.com
Nameserver  10.0.0.x

When I look at /var/spool/clientmqueue, it is full of messages.  Here is
a snippet of one:


V6
T1041606452
K1041638852
N19
P1651680
I116/131076/293
MDeferred: Operation timed out with localhost.visimation.com.
Frs
$_localhost
$r
$slocalhost
${daemon_flags}c u
SMAILER-DAEMON
MDeferred: Operation timed out with localhost.visimation.com.
C:root
rRFC822; [EMAIL PROTECTED]
RPF:root
H?P?Return-Path: <g>
H??Received: from localhost (localhost)
by forcefield.visimation.com (8.12.6/8.12.6/Submit) id
h03F7WAs006196;
Fri, 3 Jan 2003 07:07:32 -0800 (PST)
H?D?Date: Fri, 3 Jan 2003 07:07:32 -0800 (PST)
H?F?From: Mail Delivery Subsystem 
H?x?Full-Name: Mail Delivery Subsystem
H?M?Message-Id: <[EMAIL PROTECTED]>
H??To: root
H??MIME-Version: 1.0
H??Content-Type: multipart/report; report-type=delivery-status;
boundary="h03F7WAs006196.1041606452/forcefield.visimation.com"
H??Subject: Warning: could not send message for past 4 hours
H??Auto-Submitted: auto-generated (warning-timeout)
.
***

Can someone tell me what I am doing wrong?  Thanks a lot,

Adam



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



Re: Redirecting root's email

2003-01-03 Thread Konstantin Borovik
> MDeferred: Operation timed out with localhost.visimation.com.

For some reason sendmail tries to contact localhost.visimation.com

What is the result of command

host visimation.com 

on your box?

Can you check /var/log/maillog file for error messages?

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



realplayer8

2003-01-03 Thread T. Green
help !
i am trying to install realplayer 8 no freebsd ver 4.7 using netscape 7.01.
i need to know what file go's where.
thank you



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



Re: FreeBSD Handbook NIS/YP Instructions

2003-01-03 Thread Bill Moran
From: Adam Stroud <[EMAIL PROTECTED]>

Since NIS uses RPC,
do I need to configure inetd.conf to allow RPC on the NIS server and 
clients?
The handbook does not make any mention of editing the inetd.conf file.

inetd doesn't handle RPC.

Use the rc.conf settings suggested in the tutorial and the necessary rpc
servers will be started at boot time by /etc/rc

Once you've got everything running, you can use
ps -ax | grep rpc
to see what rpc servers were started.  I don't actually remember what's
started for NIS, although I believe rpc.statd at least needs to run.

-Bill

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


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

2003-01-03 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

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

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

You can get the current document in four forms:

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

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

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

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

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

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

 Page 1






The Complete FreeBSD


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

Page ii
___

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

Pages 190 and 191
_

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

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

Replace the text from the middle of page 191 with:

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

Please insert MFS root floppy and press enter:

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

UserConfig: Modifying the boot configuration


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

Page 206


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


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


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


Page 265


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

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

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

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

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

2003-01-03 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

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

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

This list is available in four forms:

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

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

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

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

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

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

 Page 1






The Complete FreeBSD


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

General changes
___


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

  $ ps aux | grep foo

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

  $ ps waux | grep foo

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


Location of the sample files


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

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

Page 2






Errata and addenda for the Complete FreeBSD, second edition


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

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

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

See page 209 for more information on using tar.

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

How to get best results from FreeBSD-questions

2003-01-03 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 3 September 1999

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

  Welcome to the freebsd-questions mailing list!

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

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

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

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

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

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

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

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

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

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

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

FreeBSD Handbook NIS/YP Instructions

2003-01-03 Thread Adam Stroud
I am tryin to setup a NIS/YP domain.  I just get done reading that chapter in 
the FreeBSD handbook and I just have a quick question.  Since NIS uses RPC, 
do I need to configure inetd.conf to allow RPC on the NIS server and clients?  
The handbook does not make any mention of editing the inetd.conf file.

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



Re: Adaptec 1200A Driver?

2003-01-03 Thread Justin T. Gibbs
> Hi
> 
> I know this card is not supported - is anyone planning on writing a driver
> or is the card fundamentally not compatible with FreeBSD?

The 1200A is an Adaptec branded HighPoint controller.  As such, I believe
that Soren's HighPoint driver should drive it.

--
Justin


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



Re: Driver for DVD-RAM

2003-01-03 Thread Bill Moran
From: [EMAIL PROTECTED]

Greetings fellow BSD enthusiast.   Can you let me know how to persue the
following question, in the event that it has already been posted and
answered.  I am interested in attaching a DVD-RAM drive to an Intel
computer with FreeBSD operating system.  The computer has a S.C.S.I. board,
and Panasonic makes a drive that attaches to a S.C.S.I. board.  Panasonic
offers no device drivers for FreeBSD.  Has anyone else tried to do this?
Is a device driver available?  Can the proposed arrangement work with a
default S.C.S.I. driver?  Could such a device be made bootable? Any advice
is appreciated.  [EMAIL PROTECTED]


I'm no SCSI or or DVD-RAM expert, but I think I can answer some of your
questions.

For reading, the DVD-RAM should look like a CD-ROM to the SCSI system.
Whether or not there is a driver is something you can check at the
hardware list on www.freebsd.org.  Even if there isn't a specific driver,
it _might_ work anyway, if it's pretty standard in its design.

As far as writing to the device, there are no drivers that I know of.
However, FreeBSD has a spiffy SCSI passthru system that allows software
to directly control SCSI devices: this is how cdrecord works.  Last I
checked, cdrecord did work for many DVD burners, but you couldn't get
the DVD capable version for free, you had to purchase it.  That's been
almost a year, so things may have changed, but there's a point for you
to start researching.

Good luck,
Bill

_
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: Updating Pico & Pine

2003-01-03 Thread Kevin D. Kinsey, DaleCo, S.P.
> From: "Danny" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 9:59 AM
> Subject: Updating Pico & Pine
> 
> Danny wrote:
> 
 > On a FreeBSD 4.3R major production system. Recommended steps to
 > upgrade *without* 'portupgrade' and do you see any implications?
 >E.g.  address books, config settings, etc.
 >
 > Current version is 4.21.
 >
 > Thank you.
 
 Heh, the upgrade to 'pico' is:
 
 #cd /usr/ports/editors/nano
#make install clean
#alias pico nano
 
 :-)
 
 KDK 


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



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Avleen Vig
On Fri, 3 Jan 2003, randall ehren wrote:

> not to stray too far, but if IPFW is set to allow all incoming packets and is
> only used for shaping, and you have ipfilter handling nat, then it seems it
> would just be:
>  network card --> IPFW (traffic shape) --> IPF (filter+nat) --> userland
>  i guess an internally NAT address would go back out as:
>   IPF --> IPFW --> network card

We actually found it goes:

Internal Net -> NIC -> IPF+NAT -> IPFW -> World
World -> IPF+NAT -> IPFW -> NIC -> Internal net

After seeing this, I didn't even bother to see what the interal side of
the router processed as. I'm sure it would have given me a headache trying
to set up the runs.

Suffice to say, IPF+NAT always sees the packets first (at least on the
outer side of the router)

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



Re: Updating Pico & Pine

2003-01-03 Thread Warren Block
On Fri, 3 Jan 2003, Danny wrote:

> On a FreeBSD 4.3R major production system. Recommended steps to
> upgrade *without* 'portupgrade' and do you see any implications? E.g.
> address books, config settings, etc.
>
> Current version is 4.21.

I just upgraded to 4.51.  My dependencies were all messed up, so I
pkg_deleted cclient and the old pine, used pkgdb -F to fix, and then
installed the new Pine from ports.  No problems with old mail or
settings, at least that I've noticed.

(Why don't you want to use portupgrade?)

-Warren Block * Rapid City, South Dakota USA

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



4.7 release with shuttle s40g xpc

2003-01-03 Thread jay
hello,
does anyone have freebsd working with a shuttle s40g xpc?
at random times, under heavy disk access, i will get either a bus error or
kernel panic and the machine will restart itself.

errors i've seen are things like:

panicstr: softdep_lock: locking against myself
vm_page_unwire: invalid wire count: 0
bus error

i also have a promise fasttrack 100 tx2 IDE RAID card installed in the
box, but as far as i can tell it seems to be recognized and working well.
i have yet to pull that out and test it with a HD plugged into the
motherboard's IDE connectors, but i was wondering if anyone else was
using the ss40g without problems.

the ss40g uses a shuttle spacewalker fs40 amd motherboard w/ a sis 740/961
chipset.  cpu is an athlon 2100+ xp. 512mb ddr2100 ram. promise fasttrack
100 tx2 IDE RAID controller. two 40gb seagate barracuda IV HDs. one aopen
dvd-rom (dvd-1640 pro 0122).

dmesg output:
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 1500+ (1311.68-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2

Features=0x383f9ff
  AMD Features=0xc040
real memory  = 503316480 (491520K bytes)
avail memory = 484462592 (473108K bytes)
Preloaded elf kernel "kernel" at 0xc050f000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fde70
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib2:  at device 1.0 on pci0
pci1:  on pcib2
pci1:  at 0.0
isab0:  at device 2.0 on pci0
isa0:  on isab0
ohci0:  mem 0xed11-0xed110fff irq 11 at
device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem 0xed111000-0xed111fff irq 9 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1:  on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0:  port 0x4000-0x400f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0:  (vendor=0x13f6, dev=0x0111) at 10.0 irq 5
atapci1:  port 
0xe400-0xe40f,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 mem 0xed1
0-0xed10 irq 11 at device 12.0 on pci0
ata2: at 0xd400 on atapci1
ata3: at 0xdc00 on atapci1
rl0:  port 0xe800-0xe8ff mem 0xed112000-0xed1120ff irq 10 
at device 15.0 on pci0
rl0: Ethernet address: 00:30:1b:11:21:bd
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0:  (vendor=0x11c1, dev=0x5811) at 16.0 irq 11
pcib1:  on motherboard
pci2:  on pcib1
orm0:  at iomem
0xc-0xcbfff,0xcc000-0xc,0xd-0xd87ff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ar0: 38166MB  [4865/255/63] status: READY subdisks:
 0 READY ad4: 38166MB  [77545/16/63] at ata2-master UDMA100
 1 READY ad6: 38166MB  [77545/16/63] at ata3-master UDMA100
acd0: DVD-ROM  at ata0-master PIO4

=jay


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



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Konstantin Borovik
May be /usr/ports/sysutils/ipa is the answer to your problem.

Quote from port description:

ipa(8) allows to make IP accounting (network accounting) based on
FreeBSD IPv4/v6 Firewall (including IPFW2), OpenBSD Packet Filter and
IP Filter accounting rules on FreeBSD, NetBSD and OpenBSD.

It supports limits for accounting rules and limits events as "limit is
reached", "reached limit is expired", etc. It understands time intervals
like "end of day", "end of week", "end of month", etc.

ipastat(8) is a viewer for IP accounting database made by ipa(8).

WWW: http://www.simon.org.ua/ipa/

- Andrey Simonenko
[EMAIL PROTECTED]
[EMAIL PROTECTED]


> Hi,
> 
> Is there a way to limit incoming traffic (bandwidth) using
> ipfilter/ipfw or any such software tool?. I am running a mail
> server and I pay per GB transfered. If I have my ISP do the
> limiting, they charge extra $$ for it. I know I can limit
> incoming mail size via the mail server. But still doesn't
> prevent someone from sending a lot of mail or fill up
> a 100mbps line for 24 hrs/day.
> 
> 
> I am not looking for a perfect solution, and I do realize
> ddos attacks and such are still possible. I am only looking
> for a reasonable solution.
> 
> Any help is appreciated
> 
> --
> Hari Bhaskaran
> 
> 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: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
> > http://www.google.com/search?q=ipfilter+ipfw+together
> >  --> http://false.net/ipfilter/2000_02/0407.html
>
> This is what we settled with eventually, but the processing order for
> packets when you're using both IPF and IPFW plus ipnat is seriously
> f*rked.

not to stray too far, but if IPFW is set to allow all incoming packets and is
only used for shaping, and you have ipfilter handling nat, then it seems it
would just be:

 network card --> IPFW (traffic shape) --> IPF (filter+nat) --> userland

 i guess an internally NAT address would go back out as:
  IPF --> IPFW --> network card

 doesn't seem that bad...

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



Re: questions-digest V5 #1820

2003-01-03 Thread J. Seth Henry
I have a command line utility that handles the lights for now, but I'm
still working on shoehorning the business end into the blanksaver. I
didn't have a development system over the holidays, but I plan to make
another go of it this weekend. I can email you the C source for the
current program, though - it's not terribly complicated.

Right now, I have scripts that turn the green (power) light on during the
boot sequence, and I *almost* have an X server that handles the
extra keyboard/LED's. It translates the "function" buttons as F1-F10, F13
- remaps the volume/mute buttons as 147,148,149. The arrow keys are
simply mapped as, well arrow keys. I thought about having them produce
"ALT+RIGHT/LEFT", but I find I use them on the command line as well.
Lastly, the "PRINTER" button is now an "ESCAPE" key. I really wish I could
get xmodmap to recognize higher scancodes... Lastly, the power button
currently calls an empty function that will toggle the screen backlight on
and off. I'm still working out how this should work with the blanker, but
I get the feeling it won't be a big deal.

I hard-coded most of this in a modified Xfree86 3.3.6 SVGA server. 3.3.6
uses *FAR* less RAM than 4.x does, but it doesn't natively handle
keycodes above 150. I have tried mucking with the 3.x version of xmodmap,
but I can't make it see scancodes over 150 - even when the X server
clearly generates them (I can see them using xev). Otherwise, I would
simply have the server generate high value scancodes, and use Xmodmap to
remap. Can't have it all, I suppose. I find I have ~4Mb of free RAM after
everything is up on this testbed system. (I was swapping heavily with
4.1.2)

BTW - I have a good XF86Config for 3.3.6. 800x600@16bit color. It's
trimmed down to just the basics, but it works quite well.

If I could just get xdm to work! ARGHH - no one on the list seems to know
how to set up xdm at all, much less for remote logins. At least xfs is
working, so I still get pretty fonts in applications. Once I get xdm
licked, I'll be a long ways towards my dedicated x terminals.

Anyway, once I get all the code finished, I'll be more than happy to
share. The entire OS fits on a 340MB microdrive with nearly 50Mb to
spare.

Seth Henry

>>>
Date: Fri, 3 Jan 2003 12:53:45 -0500
From: "Joshua Coombs" <[EMAIL PROTECTED]>
Subject: Re: 5.0RC2 on an iPaq IA1

Mine's a white unit, no onboard ethernet.  The only bus powered device I'm
running right now is the aue ethernet, which I can easily dump for
testing.
The HD is self powered.  I'd love a microdrive, but figured I had this
60GB
IDE drive floating loose, and the enclosure/adapter was only $35... might
as
well try right? : )  Previously I've been netbooting but getting ticked
with
random locks under load, under both Net and FreeBSD.  No warning, no
errors
just stops dead in it's tracks.  Figured getting 'local' storage might
stabilize things.

Have you gotten the backlight control code ported over to FreeBSD for
these
rigs?  I'd love to have a screensaver module that just shut the LCD down.

Joshua Coombs

- - Original Message -
From: "J. Seth Henry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 10:25 AM
Subject: RE: 5.0RC2 on an iPaq IA1


> Don't rule out hardware problems. I have been working with 4.7R on an
> IA-1. The power supplies in there aren't the greatest, and I've had
> problems with wireless keyboards loading the units down to where they
had
> problems booting.
>
> I would suggest you get a self-powered USB hub, and make all your
> connections through it (or try one of those keychain NAND drives). I
> managed to get everything, including the wireless keyboard transciever,
to
> work just fine that way.
>
> That said, I've had the most success with booting my IA-1 from a
> microdrive. I did have to boost the CF Vcc to 5V by lifting and
jumpering
> the middle two pins to an unused serial connector (CN10), but that done,
> the system is remarkably stable.
>
> BTW - is your IA-1 a white or blue unit? I'm still trying to figure out
> how to get FBSD to recognize the external MII PHY on the clipper
ethernet
> port.
>
> Good luck,
> Seth Henry
>
> >>>
> iPaq# usbdevs -v
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x),
> VIA(0x), rev 1.00
>  port 1 powered
>  port 2 addr 2: full speed, self powered, config 2, USB 2.0 Storage
> Adaptor(0xb001), DMI(0x0c0b), rev 11.10
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x),
> VIA(0x), rev 1.00
>  port 1 powered
>  port 2 addr 2: full speed, power 156 mA, config 1, LINKSYS USB
> Adapter(0x400b), LINKSYS Inc.(0x066b), rev 1.01
>
> Suggestions on how to debug or reduce the errors?  The drive has good
> media
> (hooked direct to IDE it tests clean using Quantum's diag util) and the
> system will boot fine with a warm reboot of the comp itself, so I'm
> guessing
> the problem is driver related and not a fault wi

RE: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Daniel Goepp
The question is, are they charging you for total bandwidth used, or some
real time rate limit?  When you use bandwidth shaping, you can reduce
your rate, but that will just spread things out.  So if they are
charging you for total bytes moved, then you would have to do some math
to figure out what that breaks down to in Mbps, and put a throttle in to
that rate.  I'm not sure what Mike means by packets already traversing
the network.  If you shape your bandwidth, it's not like all those
packets just pile up at your server's front door, waiting to get in.
The IP protocol will pause within itself to not exceed your defined
bandwidth.

-Daniel


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Hari Bhaskaran
Sent: Friday, January 03, 2003 6:24 PM
To: [EMAIL PROTECTED]
Subject: Re: incoming bandwidth limiting using ipfilter


> Hari:
>
> I think you are going to find that rate-limiting at the box won't
> provide any fiscal relief.  The packets have already traversed your
> ISP's interface where the accounting is taking place.
>
> Mike

That's bad. But if the machine doesn't accept more than N packets/sec,
why would the ISP router forward any more packets to it? I wouldn't
know the internals, but isn't there any kind of flow control in the
protocol?

-- 
Hari Bhaskaran

(Mike, although I have cc-ed the list
I haven't included your email
anywhere in the reply)

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: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Avleen Vig
On Fri, 3 Jan 2003, randall ehren wrote:

> > Darren could you answer this question please?
> > Maybe we could get Phil to add the answer to the FAQ.
>
> http://www.google.com/search?q=ipfilter+ipfw+together
>  --> http://false.net/ipfilter/2000_02/0407.html

This is what we settled with eventually, but the processing order for
packets when you're using both IPF and IPFW plus ipnat is seriously
f*rked.

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



Re: Disable Mozilla profile

2003-01-03 Thread Dan Nelson
In the last episode (Jan 03), Adam Stroud said:
> Thanks for the reply, I am seeing the profile manager when I try to
> open a second instance of Mozilla.  I cant open another instance
> until I create another profile.  I understand that these profiles can
> be useful, but they can also be a sole reason not to use Mozilla.

You should not try and open a second instance of Mozilla on the same
profile, since they won't communicate with each other and you'll
probably end up corrupting your cache files, bookmarks, history, etc
etc.  The mozilla port installs a wrapper script at
/usr/X11R6/bin/mozilla that only launches mozilla the first time it is
called, and after that passes commands to the running instance.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Hari Bhaskaran

> Hari:
>
> I think you are going to find that rate-limiting at the box won't
> provide any fiscal relief.  The packets have already traversed your
> ISP's interface where the accounting is taking place.
>
> Mike

That's bad. But if the machine doesn't accept more than N packets/sec,
why would the ISP router forward any more packets to it? I wouldn't
know the internals, but isn't there any kind of flow control in the
protocol?

-- 
Hari Bhaskaran

(Mike, although I have cc-ed the list
I haven't included your email
anywhere in the reply)

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



Re: Procmail and Exim - Freebsd

2003-01-03 Thread Greg 'groggy' Lehey
On Friday,  3 January 2003 at 10:10:56 +, Ian Watkinson wrote:
> On Thu, 2003-01-02 at 23:39, Greg 'groggy' Lehey wrote:
>> On Thursday,  2 January 2003 at 15:39:07 +, Ian Watkinson wrote:
>>> Trying to get Fetmail - Procmail - Exim working.
>>
>> Please don't reply to a thread with a completely different topic.
>
> Thread? Threads are in usenet, this is a mailing list.

Mail uses threads as well.  See RFC 2822.

>> This message is:
>>
>> In-Reply-To: <[EMAIL PROTECTED]>
>>
>
> That's not in my original headers looking at the full headers of the
> message I posted.

Yes, that's there.  That's where I got it from.

>> That is a thread about problems starting X applications.  It makes it
>
> Er, no the subject makes it quite clear it's a post about Procmail and
> Exim, on Freebsd.

No, you replied to a thread on X.  You changed the subject, but you
left in the In-Reply-To: and Reference: headers.

>> really difficult to follow to find a completely unrelated set of
>> messages in the thread.  It also makes it much more difficult to
>> filter with procmail, BTW.
>
> What's wrong with filtering on Subject?

It doesn't show the relationships between the messages.  Look at the
two attachments.

> Can you tell me where the extra header is added,

Most MUAs do it when you reply.  From RFC 2822
(http://www.faqs.org/rfcs/rfc2822.html):

  The "In-Reply-To:" and "References:" fields are used when creating a
   reply to a message.  They hold the message identifier of the
   original message and the message identifiers of other messages (for
   example, in the case of a reply to a message which was itself a
   reply).  The "In-Reply-To:" field may be used to identify the
   message (or messages) to which the new message is a reply, while
   the "References:" field may be used to identify a "thread" of
   conversation.

In your specific case, the headers looked like this after they arrived
here:

  From [EMAIL PROTECTED]  Fri Jan  3 02:11:38 2003
  Return-Path: <[EMAIL PROTECTED]>
  Delivered-To: [EMAIL PROTECTED]
  Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119])
  by wantadilla.lemis.com (Postfix) with ESMTP id BEB2051948
  for <[EMAIL PROTECTED]>; Fri,  3 Jan 2003 02:11:37 +1030 (CST)
  Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
  by mx2.freebsd.org (Postfix) with ESMTP id 0A1C75560B
  for <[EMAIL PROTECTED]>; Thu,  2 Jan 2003 07:41:36 -0800 (PST)
  (envelope-from [EMAIL PROTECTED])
  Received: by hub.freebsd.org (Postfix)
  id D205437B409; Thu,  2 Jan 2003 07:41:35 -0800 (PST)
  Delivered-To: [EMAIL PROTECTED]
  Received: by hub.freebsd.org (Postfix, from userid 538)
  id B28E937B405; Thu,  2 Jan 2003 07:41:34 -0800 (PST)
  Received: from localhost (localhost [127.0.0.1])
  by hub.freebsd.org (Postfix) with SMTP
  id 973AE2E8020; Thu,  2 Jan 2003 07:41:34 -0800 (PST)
  Received: by hub.freebsd.org (bulk_mailer v1.12); Thu, 2 Jan 2003 07:41:34 -0800
  Delivered-To: [EMAIL PROTECTED]
  Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
  by hub.freebsd.org (Postfix) with ESMTP id 1BA1637B401
  for <[EMAIL PROTECTED]>; Thu,  2 Jan 2003 07:41:33 -0800 (PST)
  Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130])
  by mx1.FreeBSD.org (Postfix) with ESMTP id 18D4243ED1
  for <[EMAIL PROTECTED]>; Thu,  2 Jan 2003 07:41:32 -0800 (PST)
  (envelope-from [EMAIL PROTECTED])
  Received: from pan.ehsrealtime.com ([213.52.146.196])
  by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2)
  id 18U7TM-0007lW-01
  for [EMAIL PROTECTED]; Thu, 02 Jan 2003 15:41:28 +
  Subject: Procmail and Exim - Freebsd
  From: Ian Watkinson <[EMAIL PROTECTED]>
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  In-Reply-To: <[EMAIL PROTECTED]>
  References: <[EMAIL PROTECTED]>
  Content-Type: text/plain
  Organization: EHS Brann
  Message-Id: <[EMAIL PROTECTED]>
  Mime-Version: 1.0
  X-Mailer: Ximian Evolution 1.2.0 
  Date: 02 Jan 2003 15:39:07 +
  Content-Transfer-Encoding: 7bit
  Sender: [EMAIL PROTECTED]
  List-ID: 
  List-Archive:  (Web Archive)
  List-Help:  (List Instructions)
  List-Subscribe: 
  List-Unsubscribe: 

  X-Loop: FreeBSD.ORG
  Precedence: bulk

The In-Reply_To: and References: headers were almost certainly added
by your MUA.

> and where the posting FAQ is for the list, as I seem to have missed
> the don't reply to the list and change the subject bit..

Try http://www.lemis.com/questions.html.  But this isn't related only
to FreeBSD-questions.  It's a general issue.  Note also that it makes
people less likely to want to reply to them.

>> information in this email is confidential and is intended s

Re: SOLVED: XFree86 lockfile?

2003-01-03 Thread Greg 'groggy' Lehey
On Friday,  3 January 2003 at 11:11:13 +0100, Marcel Stangenberger wrote:
>> I'm afraid I don't know enough about Microsoft to give you any further
>> information, but since you say that it happened after the DHCP lease
>> expires, you should check your configuration files on the Microsoft
>> machine to see if they are making any assumptions about IP addresses.
>> You could also try manually starting the client on eldar, pointing it
>> at the (running) X server on your Microsoft box.  Something like:
>>
>>   xterm -display microsoft:0
>
> this did the trick, after i started it, it gave the report that it
> couldn't find the computername. I checked the DNS entry's and they where
> all correct. After that i checked the /etc/hosts and saw that there was
> an error there. (the computername was listed multiple times with diverent
> IP's). After correcting this, xdm gave my Xserver a beautifull login
> prompt. :-)

Glad to hear that we've solved the problem.  But looking back,
consider the approach.  Reinstalling seldom helps.

Greg
--
See complete headers for address and phone numbers

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



Re: Disable Mozilla profile

2003-01-03 Thread Adam Stroud
Thanks for the reply, I am seeing the profile manager when I try to open a 
second instance of Mozilla.  I cant open another instance until I create 
another profile.  I understand that these profiles can be useful, but they 
can also be a sole reason not to use Mozilla.

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



RE: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Daniel Goepp
Here is another article that summarizes what you need to do, it's pretty
straight forward really.  I just did this recently on my server, and it
appears to work like a charm so far.

http://www.onlamp.com/pub/a/bsd/2001/07/26/Big_Scary_Daemons.html

Peace.

-Daniel


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of randall ehren
Sent: Friday, January 03, 2003 5:29 PM
To: Hari Bhaskaran
Cc: [EMAIL PROTECTED]
Subject: Re: incoming bandwidth limiting using ipfilter

> Does anyone know any hardware (of the size of a regular home
> DSL router) that can give me a simple limit of X bps for two
> IP addresses. I am running out of time and removing ipfilter
> (which I use now) and adding ipfw, learning dummynet and then
> figuring out will take time (at least 5 days with my FreeBSD IQ
level).
> I am also hoping it would be in < $500 range.

just add IPFW, IPFIREWALL_DEFAULT_TO_ACCEPT, and DUMMYNET to your
kernel, no
need to remove IPFILTER.

then just add whatever rules are needed for dummynet. IPFW should then
leave
your packets alone for ipfilter to handle.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



[resolution] Re: sendmail (Re: 5.0-RC2 informal PR: 90 sec sendmail delay)

2003-01-03 Thread Gary W. Swearingen
(cc'd to -questions, where I first post my problem, with no luck)

Valentin Nechayev <[EMAIL PROTECTED]> writes:

> I fix it with:
> define(`confDIRECT_SUBMISSION_MODIFIERS',`CC u')dnl
> For now I has no such problem at my home machine.
> Yes, this solution isn't intuitive.

Thanks.  I tried that and some other things (eg service.switch).  Even
read the book and help files some more.  Terry's suggestion regarding
"expensive" seemed like the opposite of what I needed (I was trying to
keep the msg out of the queues) and I had no luck trying to disable some
DNS which he hinted at.

I got my first good clue after adding level 15 logging to see an 80-sec
delay between MUA-launched sendmail and the MTA daemon.  I then used
level-99 logging to find

Jan  3 13:43:56 localhost sendmail[63611]: h03Lgf6p063607:\
makeconnection (localhost.localdomain. [IPv6:::1]) \
failed: Operation timed out with localhost.localdomain.

I shoulda considered that one big config difference between my 4.7
config and 5.0 is custom kernel without IPv6 on 4.7 and still using
GENERIC kernel with IPv6 on 5.0!  I do have
::1 localhost localhost.localdomain
in my /etc/hosts, but there's apparently something else wrong.

Is there a quick way to disable IPv6?  While I figure that out or
rebuild my kernel, I got a quick fix by changing, in my "submit.mc",
this
FEATURE(`msp')
to this
FEATURE(`msp',`[127.0.0.1]')

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



Re: archos and freebsd

2003-01-03 Thread Matt Gostick
Okay - I added a couple more things to my kernel config file - but for
all I know they have nothing to do with getting what I want.  From what
I've read, this is just supposed to work.  I feel like I'm taking shots
in the dark trying different kernel configs, etc. 

I did read the firewire/00README file - but given my level of knowledge
with kernel source and modules it didn't really help much.  I assumed
that everything was done when I did a build/installworld to 4.7 stable. 
I have tried the two methods that I thought would work...  first was the
complete build/installworld.  When that didn't work I did what the
firewire/00README file stated, downloaded the latest firewire tarball
and made it manually.  Neither worked.

I'm still getting 'Device not configured' when I try and mount
/dev/da0s1.

Here is my dmesg from boot -v 


Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-STABLE #4: Fri Jan  3 16:41:59 EST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/GUTROT
Calibrating clock(s) ... TSC clock: 400872843 Hz, i8254 clock: 1193074
Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
 
Features=0x183f9ff
real memory  = 402640896 (393204K bytes)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x00401000 - 0x17ff4fff, 398409728 bytes (97268 pages)
avail memory = 387559424 (378476K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f9ce0
bios32: Entry = 0xf0520 (c00f0520)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x720
pnpbios: Found PnP BIOS data at 0xc00fd110
pnpbios: Entry = f:d140  Rev = 1.0
pnpbios: OEM ID cd041
Other BIOS signatures found:
ACPI: 000f7f20
Preloaded elf kernel "kernel" at 0xc03da000.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
Math emulator present
pci_open(1):mode 1 addr port (0x0cf8) is 0x805c
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=00] is there (id=71908086)
Using $PIR table, 6 entries at 0xc00f0d10
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
found-> vendor=0x8086, dev=0x7190, revid=0x03
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base e400, size 26
found-> vendor=0x8086, dev=0x7191, revid=0x03
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=1secondarybus=1
found-> vendor=0x8086, dev=0x7110, revid=0x02
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0secondarybus=0
found-> vendor=0x8086, dev=0x7111, revid=0x01
class=01-01-80, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[20]: type 1, range 32, base d800, size  4
found-> vendor=0x8086, dev=0x7112, revid=0x01
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=d, irq=9
map[20]: type 1, range 32, base d400, size  5
found-> vendor=0x8086, dev=0x7113, revid=0x02
class=06-80-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[90]: type 1, range 32, base e800, size  4
found-> vendor=0x10b7, dev=0x9055, revid=0x30
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=5
map[10]: type 1, range 32, base d000, size  7
map[14]: type 1, range 32, base df80, size  7
found-> vendor=0x121a, dev=0x0001, revid=0x02
class=04-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base e100, size 24
pci0:  on pcib0
pcib1:  at device 1.0 on
pci0
found-> vendor=0x102b, dev=0x0521, revid=0x01
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base e300, size 24
map[14]: type 1, range 32, base e080, size 14
map[18]: type 1, range 32, base e000, size 23
pci1:  on pcib1
pci1:  (vendor=0x102b,
dev=0x0521) at 0.0 irq 11
isab0:  at device 4.0 on pci0
isa0:  on isab0
atapci0:  port 0xd800-0xd80f at device 4.1
on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800
ata0: mask=03 ostat0=50 ostat2=50
ata0-slave: ATAPI 00 00
ata0-master: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=50
ata0-master: ATA 01 a5
ata0-slave: ATA 01 a5
ata0: devices=03
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
ata1: mask=03 ostat0=50 ostat2=50
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 14 eb
ata1: mask=03 stat0=00 stat1=10
ata1:

Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
> > Is there anything that limits us from using ipfilter on top of this ipfw
> > b/w control?
>
> Darren Reed, the owner of IPF is probably in the best position to answer
> that question. I posed it a week ot two ago on the ipf mailing list.. I'm
> waiting for a reply, not sure if it was seen amongst the flurry or mail on
> the topic.
>
> Darren could you answer this question please?
> Maybe we could get Phil to add the answer to the FAQ.

http://www.google.com/search?q=ipfilter+ipfw+together

 --> http://false.net/ipfilter/2000_02/0407.html

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



Re: FreeBSD Stability

2003-01-03 Thread Matthew Whelan

On Fri, 3 Jan 2003 10:05:05 -0800 (PST) Philip Hallstrom <[EMAIL PROTECTED]> 
wrote:
> 26   www.cravath.com   102 ok892   939   940   Solaris 8
> Apache/1.3.27 (Unix) PHP/4.2.3
> 
> That's certainly more than 492 days... so even if they do reboot,
> netcraft is ignoring it or accomodating it seems like.

As it's running Solaris 8, it could be a 64-bit machine.

-- 
Matthew Whelan <[EMAIL PROTECTED]>


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



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
> Does anyone know any hardware (of the size of a regular home
> DSL router) that can give me a simple limit of X bps for two
> IP addresses. I am running out of time and removing ipfilter
> (which I use now) and adding ipfw, learning dummynet and then
> figuring out will take time (at least 5 days with my FreeBSD IQ level).
> I am also hoping it would be in < $500 range.

just add IPFW, IPFIREWALL_DEFAULT_TO_ACCEPT, and DUMMYNET to your kernel, no
need to remove IPFILTER.

then just add whatever rules are needed for dummynet. IPFW should then leave
your packets alone for ipfilter to handle.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



Re: Disable Mozilla profile

2003-01-03 Thread Lee Harr
I once suggested on bugzilla that there ought to be a
-never-ever-show-the-profile-manager option when starting
mozilla, but I don't think it went over very well.
Here is the (fairly active) bug, relating to mozilla
opening a new window when it is already running and
its icon is clicked again:
http://bugzilla.mozilla.org/show_bug.cgi?id=122698

Not sure in what context you are seeing the unwanted
profile manager.

I have a bunch of X-terminals running from a FreeBSD
server, and when the (mostly windows-trained) users get
the profile manager they tend to panic. And even if
they don't panic, there is a somewhat tricky proxy
setup which needs to be set up if they try to make
a new profile. It never works. It would be very nice
to just disable profiles completely.

You might also want to try this question on the
freebsd-mozilla list.






_
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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


Re: YP/NIS timeout.

2003-01-03 Thread lewiz
On Wed, Jan 01, 2003 at 08:29:58PM -0600, Dan Nelson wrote:
> In the last episode (Jan 01), lewiz said:
> > At the login: prompt I enter my username (lewiz), hit return and get
> > nothing for a while until:
> > 
> > yp_order: clnt_call: RPC: Timed out
> Hit ^T during the pause and find out what program is hanging.  You
> probably have a command in your shell's startup script that is trying
> to resolve an NIS username.

^T shows:
load: 1.28  cmd: login 45573 [nanslp] 0.00u 0.04s 0% 1016k

I couldn't find anything about nanslp (locate shows nothing but I
eventually tracked it down to sys/kern/kern_time.c, where it shows up:

sys/kern/kern_time.c:   error = tsleep(&nanowait, PWAIT |
PCATCH, "nanslp",

Hence, it has something to do with the nanosleep(2) syscall.  Other than
this, I don't know what it's doing.  Maybe you are correct that the
shell is trying to do some stuff but I could find nothing like this in
/etc/profile, /etc/csh.cshrc, /etc/csh.login or any of the user's
personal copies.

-lewiz.

-- 
If only one could get that wonderful feeling of accomplishment without
having to accomplish anything.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14154/pgp0.pgp
Description: PGP signature


Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Hari Bhaskaran
On Fri, Jan 03, 2003 at 12:39:52PM -0800, randall ehren wrote:
> 
> you'll want to lookup information on dummynet:
>  http://info.iet.unipi.it/~luigi/ip_dummynet/

Does anyone know any hardware (of the size of a regular home
DSL router) that can give me a simple limit of X bps for two
IP addresses. I am running out of time and removing ipfilter
(which I use now) and adding ipfw, learning dummynet and then
figuring out will take time (at least 5 days with my FreeBSD IQ level).
I am also hoping it would be in < $500 range.


> 
> you can use it to shape traffic and limit bandwidth.
> 
>  -randall
> 

Any help is appreciated.

--
Hari Bhaskaran

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



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Avleen Vig
On Fri, 3 Jan 2003, Murat Bicer wrote:

> Is there anything that limits us from using ipfilter on top of this ipfw
> b/w control?

Darren Reed, the owner of IPF is probably in the best position to answer
that question. I posed it a week ot two ago on the ipf mailing list.. I'm
waiting for a reply, not sure if it was seen amongst the flurry or mail on
the topic.

Darren could you answer this question please?
Maybe we could get Phil to add the answer to the FAQ.
Phil? :-)

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



Re: Spontaneous 4.7-S reboots when using a Serial over USB adapter

2003-01-03 Thread William E Reid
I have noticed that if I disconnect the serial port from my usb to serial adapter and 
leave the dongle
in(Aten International Serial adapter,  SiS 5571 usb controller),  my machine will 
reset as soon as I
[Attempt to] send data from the usb side.  So maybe you are losing carrier signal 
sometime during the
transfer.  Another machine with a Via 83C572 USB controller does the same thing.

Sis is running 4.7 Stable from Jan 2 2003.
Via is running 4.6 Stable from Aug 23 2002.



-=Bill


Hans Lambermont wrote:

> Some more info: setting the serial line speed from 115200 baud down to
> 9600 does not help; after a few minutes syncing my palmpilot I got
> another reboot. Is anyone succesfully using a Prolific Technology PL2303
> Serial adapter with a 82801CA/CAM ICH3 USB controller ?
> Any hints are welcome.
>
> I got no response yet to my previous mail:
>
> > I'm seeing spontaneous reboots when using a Prolific Technology PL2303
> > Serial adapter (this is a serial to USB convertor) for a palm-pilot full
> > backup (using pilot-xfer) on one of my FreeBSD 4.7-STABLE machines.
> > The reboots are reproduceable. Nothing shows up in the logs.
> > Small data transfers, like syncing my addressbook, go without problems.
> >
> > Here is the problem-box relevant dmesg log:
> >
> > FreeBSD 4.7-STABLE #2: Sat Oct 26 16:36:31 CEST 2002
> > uplcom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 
>1.10/2.02, addr 2
> > uhci0:  port 0xb400-0xb41f irq 9 at 
>device 4.2 on pci0
> > usb0:  on uhci0
> > usb0: USB revision 1.0
> >
> > My other FreeBSD 4.7-STABLE machine runs the backup without problems
> > using the same PL2303 Serial adapter (and palm pilot ;-).
> >
> > FreeBSD 4.7-STABLE #0: Sat Oct 26 19:16:48 CEST 2002
> > uplcom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 
>1.10/2.02, addr 2
> > uhci0:  port 0x1800-0x181f irq 10 
>at device 29.0 on pci0
> > usb0:  on uhci0
> > usb0: USB revision 1.0
> >
> > But it has a different USB controller chipset.
> >
> > Is this perhaps a known issue with the 82801CA/CAM ICH3 USB controller ?
>
> regards,
>Hans Lambermont
> --
> http://lambermont.webhop.org/
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message


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



Driver for DVD-RAM

2003-01-03 Thread Lee_Shackelford
Greetings fellow BSD enthusiast.   Can you let me know how to persue the
following question, in the event that it has already been posted and
answered.  I am interested in attaching a DVD-RAM drive to an Intel
computer with FreeBSD operating system.  The computer has a S.C.S.I. board,
and Panasonic makes a drive that attaches to a S.C.S.I. board.  Panasonic
offers no device drivers for FreeBSD.  Has anyone else tried to do this?
Is a device driver available?  Can the proposed arrangement work with a
default S.C.S.I. driver?  Could such a device be made bootable? Any advice
is appreciated.  [EMAIL PROTECTED]


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



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
> Is there anything that limits us from using ipfilter on top of this ipfw
> b/w control?

doesn't appear so...

from http://home.earthlink.net/~jaymzh666/ipf/IPFfreebsd.html#12:

IPF and IPFW both have features I want to use, must I choose between them?

No. You can run them both on a single machine. However, you must take care to
ensure that one package's rules do not interfere with the other's. Note that
the packages get access to rules in the order in which they were loaded, e.g.
if IPFW is compiled in the kernel and IPF is loaded as a module, IPFW "sees"
packets before IPF.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



Installing FreeBSD 4.7

2003-01-03 Thread Ying Shi
Dear Sir,

  I'm trying to install FreeBSD 4.7 onto a device.
It's a PIII-1.2GHz with 1024 megs of memory,
two-drive RAID supported by Promise FastTrak100.

I can boot the Kernel floppy and MFS root floppy with no problem.

After all the conflicts had been resolved, /stand/sysinstall Main Menu
was displayed. Then I selected a "standard" installation.
I got a message --- No disks found!

I'm wondering if FreeBSD 4.7 can be installed in above device.


Any help would be appreciated. Thanks!


Ying


--
Ying Shi
IPv6 Consortium
UNH InterOperability Lab
University of New Hampshire
[EMAIL PROTECTED]
--


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



Re: incoming bandwidth limiting using ipfilter

2003-01-03 Thread Murat Bicer
Is there anything that limits us from using ipfilter on top of this ipfw
b/w control?

> Is there a way to limit incoming traffic (bandwidth) using
> ipfilter/ipfw or any such software tool?. 

you'll want to lookup information on dummynet:
 http://info.iet.unipi.it/~luigi/ip_dummynet/

you can use it to shape traffic and limit bandwidth.
Murat Bicer
[EMAIL PROTECTED]

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



RE: incoming bandwidth limiting using ipfilter

2003-01-03 Thread charles pelletier
ipfilter won't allow you to limit bandwidth, ipfw will. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hari Bhaskaran
Sent: Friday, January 03, 2003 2:36 PM
To: [EMAIL PROTECTED]
Subject: incoming bandwidth limiting using ipfilter


Hi,

Is there a way to limit incoming traffic (bandwidth) using
ipfilter/ipfw or any such software tool?. I am running a mail
server and I pay per GB transfered. If I have my ISP do the
limiting, they charge extra $$ for it. I know I can limit
incoming mail size via the mail server. But still doesn't
prevent someone from sending a lot of mail or fill up
a 100mbps line for 24 hrs/day.


I am not looking for a perfect solution, and I do realize
ddos attacks and such are still possible. I am only looking
for a reasonable solution.

Any help is appreciated

--
Hari Bhaskaran

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: incoming bandwidth limiting using ipfilter

2003-01-03 Thread randall ehren
> Is there a way to limit incoming traffic (bandwidth) using
> ipfilter/ipfw or any such software tool?. I am running a mail
> server and I pay per GB transfered. If I have my ISP do the
> limiting, they charge extra $$ for it. I know I can limit
> incoming mail size via the mail server. But still doesn't
> prevent someone from sending a lot of mail or fill up
> a 100mbps line for 24 hrs/day.

you'll want to lookup information on dummynet:
 http://info.iet.unipi.it/~luigi/ip_dummynet/

you can use it to shape traffic and limit bandwidth.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



incoming bandwidth limiting using ipfilter

2003-01-03 Thread Hari Bhaskaran
Hi,

Is there a way to limit incoming traffic (bandwidth) using
ipfilter/ipfw or any such software tool?. I am running a mail
server and I pay per GB transfered. If I have my ISP do the
limiting, they charge extra $$ for it. I know I can limit
incoming mail size via the mail server. But still doesn't
prevent someone from sending a lot of mail or fill up
a 100mbps line for 24 hrs/day.


I am not looking for a perfect solution, and I do realize
ddos attacks and such are still possible. I am only looking
for a reasonable solution.

Any help is appreciated

--
Hari Bhaskaran

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



Disable Mozilla profile

2003-01-03 Thread Adam Stroud
Does anyone know how to disable the profile in Mozilla?  I have tried 
re-building the port with the "--disable-profile" option, but profiles are 
still active.

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



drive errors?

2003-01-03 Thread Bryce Newall
Hi all,

Just looking for a second opinion... does this look like my hard drive is
on its way to a slow (and possibly painful) death?

Thanks!

Jan  3 10:52:39 cosmos /kernel: swap_pager: indefinite wait buffer: device: 
#da/0x20001, blkno: 648, size: 4096
Jan  3 10:53:21 cosmos /kernel: swap_pager: indefinite wait buffer: device: 
#da/0x20001, blkno: 648, size: 4096
Jan  3 10:53:21 cosmos /kernel: (da0:ahc0:0:0:0): SCB 0x7e - timed out
Jan  3 10:53:21 cosmos /kernel: ahc0: Dumping Card State in Command phase, at SEQADDR 
0x15c
Jan  3 10:53:21 cosmos /kernel: ACCUM = 0x80, SINDEX = 0xac, DINDEX = 0xc0, ARG_2 = 
0x27
Jan  3 10:53:21 cosmos /kernel: HCNT = 0x0 SCBPTR = 0x7
Jan  3 10:53:21 cosmos /kernel: SCSISEQ = 0x12, SBLKCTL = 0x0
Jan  3 10:53:21 cosmos /kernel: DFCNTRL = 0x4, DFSTATUS = 0x6d
Jan  3 10:53:22 cosmos /kernel: LASTPHASE = 0x80, SCSISIGI = 0x84, SXFRCTL0 = 0x88
Jan  3 10:53:22 cosmos /kernel: SSTAT0 = 0x7, SSTAT1 = 0x2
Jan  3 10:53:22 cosmos /kernel: STACK == 0x186, 0x156, 0x0, 0x35
Jan  3 10:53:22 cosmos /kernel: SCB count = 230
Jan  3 10:53:22 cosmos /kernel: Kernel NEXTQSCB = 202
Jan  3 10:53:22 cosmos /kernel: Card NEXTQSCB = 126
Jan  3 10:53:22 cosmos /kernel: QINFIFO entries: 126 123 3 182 4
Jan  3 10:53:22 cosmos /kernel: Waiting Queue entries:
Jan  3 10:53:22 cosmos /kernel: Disconnected Queue entries:
Jan  3 10:53:22 cosmos /kernel: QOUTFIFO entries:
Jan  3 10:53:22 cosmos /kernel: Sequencer Free SCB List: 5 13 10 4 2 3 15 12 1 0 8 14 
6 9 11
Jan  3 10:53:22 cosmos /kernel: Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0xff) 1(c 
0x60, s 0x7, l 0, t 0xff) 2(c 0x40, s 0x57, l 0, t 0xff) 3(c 0x40, s 0x57, l 0, t 
0xff) 4(c 0x40, s 0x57, l 0, t 0xff) 5(c 0x40, s 0x57, l 0, t 0xff) 6(c 0x60, s 0x7, l 
0, t 0xff) 7(c 0x40, s 0x57, l 0, t 0x9c) 8(c 0x60, s 0x7, l 0, t 0xff) 9(c 0x60, s 
0x7, l 0, t 0xff) 10(c 0x60, s 0x7, l 0, t 0xff) 11(c 0x60, s 0x7, l 0, t 0xff) 12(c 
0x60, s 0x7, l 0, t 0xff) 13(c 0x60, s 0x7, l 0, t 0xff) 14(c 0x60, s 0x7, l 0, t 
0xff) 15(c 0x60, s 0x7, l 0, t 0xff)
Jan  3 10:53:22 cosmos /kernel: Pending list: 4(c 0x62, s 0x7, l 0), 182(c 0x60, s 
0x7, l 0), 3(c 0x60, s 0x7, l 0), 123(c 0x60, s 0x7, l 0), 126(c 0x62, s 0x7, l 0), 
156(c 0x40, s 0x57, l 0)
Jan  3 10:53:22 cosmos /kernel: Kernel Free SCB list: 93 228 80 133 18 169 196 50 87 
217 90 20 165 22 173 114 209 159 189 41 172 214 94 76 68 178 82 131 215 30 49 108 216 
86 16 84 75 11 77 14 116 89 183 45 42 211 153 121 21 63 24 125 44 70 175 103 185 229 
177 187 195 19 193 197 119 188 181 145 194 85 179 60 37 161 25 147 39 97 32 65 71 132 
34 109 141 192 67 152 128 143 99 200 171 100 226 73 204 9 227 51 206 111 218 138 31 
198 48 146 78 112 57 98 29 91 13 191 17 168 95 5 54 207 201 47 180 36 129 38 212 122 
43 117 83 61 127 115 176 55 102 144 113 139 74 52 15 58 27 213 56 79 160 69 150 96 7 
174 118 8 205 154 107 210 134 28 203 208 120 10 53 199 190 148 1 186 59 62 81 137 40 
64 104 170 135 219 6 140 155 26 184 166 157 0 142 158 2 164 106 72 162 110 105 66 167 
101 124 12 35 149 136 46 151 130 23 88 163 92 33 225 224 223 222 221 220
Jan  3 10:53:22 cosmos /kernel: Untagged Q(5): 156
Jan  3 10:53:22 cosmos /kernel: sg[0] - Addr 0x562f000 : Length 4096
Jan  3 10:53:22 cosmos /kernel: sg[1] - Addr 0x20d : Length 4096
Jan  3 10:53:22 cosmos /kernel: (da0:ahc0:0:0:0): Other SCB Timeout
Jan  3 10:53:22 cosmos /kernel: (da0:ahc0:0:0:0): SCB 0x7b - timed out
Jan  3 10:53:22 cosmos /kernel: ahc0: Dumping Card State in Command phase, at SEQADDR 
0x15c
Jan  3 10:53:22 cosmos /kernel: ACCUM = 0x80, SINDEX = 0xac, DINDEX = 0xc0, ARG_2 = 
0x27
Jan  3 10:53:22 cosmos /kernel: HCNT = 0x0 SCBPTR = 0x7
Jan  3 10:53:22 cosmos /kernel: SCSISEQ = 0x12, SBLKCTL = 0x0
Jan  3 10:53:22 cosmos /kernel: DFCNTRL = 0x4, DFSTATUS = 0x6d
Jan  3 10:53:22 cosmos /kernel: LASTPHASE = 0x80, SCSISIGI = 0x84, SXFRCTL0 = 0x88
Jan  3 10:53:22 cosmos /kernel: SSTAT0 = 0x7, SSTAT1 = 0x2
Jan  3 10:53:23 cosmos /kernel: STACK == 0x186, 0x156, 0x0, 0x35
Jan  3 10:53:23 cosmos /kernel: SCB count = 230
Jan  3 10:53:23 cosmos /kernel: Kernel NEXTQSCB = 202
Jan  3 10:53:23 cosmos /kernel: Card NEXTQSCB = 126
Jan  3 10:53:23 cosmos /kernel: QINFIFO entries: 126 123 3 182 4
Jan  3 10:53:23 cosmos /kernel: Waiting Queue entries:
Jan  3 10:53:23 cosmos /kernel: Disconnected Queue entries:
Jan  3 10:53:23 cosmos /kernel: QOUTFIFO entries:
Jan  3 10:53:23 cosmos /kernel: Sequencer Free SCB List: 5 13 10 4 2 3 15 12 1 0 8 14 
6 9 11
Jan  3 10:53:23 cosmos /kernel: Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0xff) 1(c 
0x60, s 0x7, l 0, t 0xff) 2(c 0x40, s 0x57, l 0, t 0xff) 3(c 0x40, s 0x57, l 0, t 
0xff) 4(c 0x40, s 0x57, l 0, t 0xff) 5(c 0x40, s 0x57, l 0, t 0xff) 6(c 0x60, s 0x7, l 
0, t 0xff) 7(c 0x40, s 0x57, l 0, t 0x9c) 8(c 0x60, s 0x7, l 0, t 0xff) 9(c 0x60, s 
0x7, l 0, t 0xff) 10(c 0x60, s 0x7, l 0, t 0xff) 11(c 0x60, s 0x7, l 0, t 0xff) 12(c 
0x60, s 0x7, l 0, t 0xff) 13(c 0x60, s 0x7, l 0, t 0xff) 14(c 0x60, s 0x7, l 0, t 
0xff) 15(c 0x60, s 0x7, l 0,

Re: archos and freebsd

2003-01-03 Thread Gary Jennejohn
Matt Gostick writes:
> Hello,
> 
>   I got an Archos Jukebox Studio 20 for Christmas, and want to hook it
> up to my FreeBSD box.  It's uses a usb cable for data transfer, and I've
> never had to use usb on FreeBSD before.  I've done some research and the
> best page I could find with instructions was
> http://www.stalker.org/~sean/freebsd-p2040/... but the kernel config and
> supplied archos.sh script doesn't work for me.  I'm a little behind when
> it comes to usb...  is that what firewire is?
> 
>   On his page it says to compile firewire, sbp, scbus, da and umass. 
> I'm cvsup'ed to 4.7 stable from release and did what he said.  When I
> try and 'mount -t msdos /dev/da0s1 /archos'  I get 'Device not
> configured'.
> 
>   Any advice would be greatly appreciated.  Could you reply to my email
> address as well as the list please b/c I'm not subscribed.
> 

I have an Archos Jukebox Recorder and can use it with no problem.
I would expect the Studio to work very similarly. However, I always
plug it in _after_ the kernel comes up so that it's guaranteed to be
recognized. I've never tried booting my box with the Archos already
plugged in.

I use this to mount it:

mount -t msdos -o longnames /dev/da0s1 /mnt

Otherwie your boot message and kernel config file looks very similar
to what I see.

BTW my computer only has USB 1.0 and I'm running -stable.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


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



Re: Shell guru needed.(xargs question)

2003-01-03 Thread David S. Jackson
On Fri, Jan 03, 2003 at 10:55:09AM -0500 Danny <[EMAIL PROTECTED]> wrote:
> Could you please give another realworld example of using xargs and
> your definition of it. I had a glance through man xargs, but I enjoy input
> from humans that use it as well. :)

Xargs is pretty neat.  You have to remember that there are different
implementations of it, too, so xargs on Linux would probably be
different than xargs on *BSD (it always is different in my experience).
The differences would mainly be in switches and default behavior.

I use xargs with lots of different utilities, just depending on what I
need to do with whatever files I'm catching.  For example, let's say I
wanted to rename some files:

locate *.PDF | xargs -I % mv % `basename % .PDF`.pdf

It's handy if you have a bunch of files in one directory that you want
to check somehow:

ls *.{jpg,gif} | xargs -J % file % | grep -v 'JPEG\|GIF'

Moving files to another directory is a popular use:

locate *.suf | xargs -J % mv % /path/to/dir


Note that you do not always need to use xargs.

locate *.PDF | while read name; do
mv $name ${name%.PDF}.pdf
done


There's lots more you can do with it.  Your imagination is almost your
only limitation.  :-)


-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
And now for something completely the same.

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



Re: maxsize of a file

2003-01-03 Thread Lowell Gilbert
"Jan Blomqvist" <[EMAIL PROTECTED]> writes:

> how big can a file be in freebsd 4.1, cause i have problem with a database
> file wich is very large 1,5-2Gb, now you can,t list the file or move or
> copy, but it exist on disc cause the database can read data from it.Any idea
> ???

Multi-terabyte files are possible, so that's not it.

You're probably looking in the wrong place, or else the file is
unlinked but held open by the database program.

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



Re: Bug, show-stopper or hardware?! (please CC me in reply)

2003-01-03 Thread Lowell Gilbert
Peter Leftwich <[EMAIL PROTECTED]> writes:

> Could this be a Gnome issue (my lib-bonobo-activation-server or something
> is busted so I run Gnome and Sawfish without a panel at the bottom, middle
> clicking to open apps and creating new launchers when I need to run an
> "application &" :)  Or does this sound like a possible "atkbd" driver flaw or
> hardware problem (time to replace the keyboard)?

No way to tell, at this point.  One thing to check is whether the
system was really dead or just the console.  Coming in via the network
can tell you.  You could always learn about building a debug kernel,
too.  

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



ipfw dummynet port & ip priority

2003-01-03 Thread Kevin S. Brackett
I've looked around the achieves but I couldn't find anything that really
explained how this was done:

anyone have any examples for:

1, priority to port 22?
2, priority to ip 192.168.0.3?

thanks,
- kevin

PS: please CC: me :)

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



Re: archos and freebsd

2003-01-03 Thread Dirk-Willem van Gulik

> On his page it says to compile firewire, sbp, scbus, da and umass.
> I'm cvsup'ed to 4.7 stable from release and did what he said.  When I
> try and 'mount -t msdos /dev/da0s1 /archos'  I get 'Device not
> configured'.

I take it you've seen /sys/dev/firewire/00README ?

Perhaps you want to do a verbose (-v) boot; and/or try pciconf -v -l.

As in the dmesg you supplied there does not seem to be a fwohci entry.
Which is the thing which connects to the actual hardware.

Dw.



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



Re: FreeBSD Stability

2003-01-03 Thread Philip Hallstrom
> On Thu, Jan 02, 2003 at 06:09:11PM -0600, Dave Uhring said:
> > You do realize, I hope, that Linux and Solaris roll over their uptimes
> > at something like 492 days.
>
> from http://uptime.netcraft.com/up/accuracy.html#whichos
> --
> Additionally HP-UX, Linux, Solaris and recent releases of FreeBSD cycle
> back to zero after 497 days, exactly as if the machine had been rebooted
> at that precise point. Thus it is not possible to see a HP-UX, Linux or
> Solaris system with an uptime measurement above 497 days.
> --

It's been years since I've used solaris, but if this is really the case
then how come there's this entry:

26   www.cravath.com   102 ok892   939   940   Solaris 8
Apache/1.3.27 (Unix) PHP/4.2.3

That's certainly more than 492 days... so even if they do reboot, netcraft
is ignoring it or accomodating it seems like.

-philip


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



Re: 5.0RC2 on an iPaq IA1

2003-01-03 Thread Joshua Coombs
Mine's a white unit, no onboard ethernet.  The only bus powered device I'm
running right now is the aue ethernet, which I can easily dump for testing.
The HD is self powered.  I'd love a microdrive, but figured I had this 60GB
IDE drive floating loose, and the enclosure/adapter was only $35... might as
well try right? : )  Previously I've been netbooting but getting ticked with
random locks under load, under both Net and FreeBSD.  No warning, no errors
just stops dead in it's tracks.  Figured getting 'local' storage might
stabilize things.

Have you gotten the backlight control code ported over to FreeBSD for these
rigs?  I'd love to have a screensaver module that just shut the LCD down.

Joshua Coombs

- Original Message -
From: "J. Seth Henry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 10:25 AM
Subject: RE: 5.0RC2 on an iPaq IA1


> Don't rule out hardware problems. I have been working with 4.7R on an
> IA-1. The power supplies in there aren't the greatest, and I've had
> problems with wireless keyboards loading the units down to where they had
> problems booting.
>
> I would suggest you get a self-powered USB hub, and make all your
> connections through it (or try one of those keychain NAND drives). I
> managed to get everything, including the wireless keyboard transciever, to
> work just fine that way.
>
> That said, I've had the most success with booting my IA-1 from a
> microdrive. I did have to boost the CF Vcc to 5V by lifting and jumpering
> the middle two pins to an unused serial connector (CN10), but that done,
> the system is remarkably stable.
>
> BTW - is your IA-1 a white or blue unit? I'm still trying to figure out
> how to get FBSD to recognize the external MII PHY on the clipper ethernet
> port.
>
> Good luck,
> Seth Henry
>
> >>>
> iPaq# usbdevs -v
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x),
> VIA(0x), rev 1.00
>  port 1 powered
>  port 2 addr 2: full speed, self powered, config 2, USB 2.0 Storage
> Adaptor(0xb001), DMI(0x0c0b), rev 11.10
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x),
> VIA(0x), rev 1.00
>  port 1 powered
>  port 2 addr 2: full speed, power 156 mA, config 1, LINKSYS USB
> Adapter(0x400b), LINKSYS Inc.(0x066b), rev 1.01
>
> Suggestions on how to debug or reduce the errors?  The drive has good
> media
> (hooked direct to IDE it tests clean using Quantum's diag util) and the
> system will boot fine with a warm reboot of the comp itself, so I'm
> guessing
> the problem is driver related and not a fault with the HW.
>
> Joshua Coombs
> [EMAIL PROTECTED]
>
>
>
>



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



Re: audacity is creating (??) unwritable-by-cdrecord wave files

2003-01-03 Thread paul beard
joe wrote:

As the subject says I am creating and manipulating wav files of audio 
tap recordings.  The extent of manipulation is to join sides A & B into 
one file and do some noise reduction cleanup, and write the file in wav 
format.

then attempting to write the file to cd with cdrecord
cdrecord -v -eject speed=12 -pad -audio  file.wav results in the 
following error.

  cdrecord: Inappropriate audio coding

can you play them with wavplay? How do they sound? If they're 
mono, do you want to immortalize them on CDs? I just made that 
mistake . . . 6 times.

I don't know a lot about, just what I've managed to pick up in the 
past week or so, but I wonder if the file headers are correct for 
what you want to do. gramofile's extracts, for example, makde 
cdrecord/cdrdao complain, but once they're processed/filtered, all 
is well.

I'd suggest gramofile to capture the audio unless there's a 
compelling reason to use audacity: you can always edit in 
audactity later.


--
Paul Beard: seeking UNIX/internet engineering work

8040 27th Ave NE Seattle WA 98115 / 206 529 8400

"Why are we importing all these highbrow plays like `Amadeus'?  I 
could
have told you Mozart was a jerk for nothing."
		-- Ian Shoales


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


audacity is creating (??) unwritable-by-cdrecord wave files

2003-01-03 Thread joe
As the subject says I am creating and manipulating wav files of audio 
tap recordings.  The extent of manipulation is to join sides A & B into 
one file and do some noise reduction cleanup, and write the file in wav 
format.

then attempting to write the file to cd with cdrecord
cdrecord -v -eject speed=12 -pad -audio  file.wav results in the 
following error.

  cdrecord: Inappropriate audio coding

Googling on the error gets me this "solution" 
  After some poking around I found that these files are often mono (one
  channel) and that the following conversion makes them writable by both
  cdrecord and xcdroast: 

  > sox infile.wav -c 2 outfile.wav split

Can someone explain the problem behind thise solution as I'd much rather 
fix this in writing the file from audacity.

Thanks,


-
Joe Sotham

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



Re: Testing serial ports

2003-01-03 Thread Nathan Kinkade
On Fri, Jan 03, 2003 at 02:36:06AM -0500, Dragoncrest wrote:
>   I've got a slight problem where I think that I've got a serial port 
>   that has failed on one of my machines.  So I'm looking for the simplest way 
> to test a serial port to see if it is in fact working.  Thanks for the info.

Do you have any external serial devices, like a modem?  You could also
use another computer and place a null modem cable between them.  Then
use a command like tip(1) or minicom from the ports to connect to the
device.  What evidence leads you to believe that the serial port is bad?
You're positive that it's turned on in the BIOS?  Does dmesg reveal any
"sio" entries?

Nathan

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



difs between 4.6.2 and 4.7

2003-01-03 Thread David Bear
I'm installing freebsd on a dell laptop (latituted).  It only has a 6 gig drive.

I guess my concern is to keep the install small both required memory and disk space.  
Yet, i would like to use the 'newest' version in hopes that it will have the latest 
kde and xfree stuff.  This may be a mistake though.

if the choice is between 4.6.2 and 4.7 which would be a better install if the 
criterion were
1) keep the install small (hard disk space)
2) keep the working set small in ram
3) make sure the important ports will work  -- kde, openoffice, -- a good gui browser 
(any recommendations) and zope

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

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



Re: JDK13

2003-01-03 Thread Joseph Olatt
I believe that you need to get the source for JDK from the sun site
(after agreeing to their license agreement) and then compile it using
the patches provided at the following site:

http://www.eyesbeyond.com/freebsddom/java/jdk13.html

See above site for more info.


On Fri, Jan 03, 2003 at 08:14:30AM -0500, Alvaro Rosales R. wrote:
> HEllo guys, Im trying to install JDK 13 in my FreeBSD BOx but I cant 
> find the src files the port asks me to  fetch from SUN's website, there I 
> can only find a linux binary and a Solarys tar.Z file. Can yoou tell me  
> where else can I look for it? or Does anyone of you have it in an FTP 
> server?. Thanks in advance for all your help!
> 
> 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: FreeBSD Stability

2003-01-03 Thread Giorgos Keramidas
On 2003-01-02 17:41, "J. Scott Edwards" <[EMAIL PROTECTED]> wrote:
> That is impressive.  I'm curious if they stayed at a particular version or
> if they update as new versions are available?  I thought I read somewhere
> that FreeBSD could load a new kernel without rebooting?

Nope.


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



Re: Updating Pico & Pine

2003-01-03 Thread doug
man pkg_version
man pkg_info
man pkg_delete

"pkg_version -c > file" will produce a file containing a script with the
necessary instructions. You must edit this script and then run as root.

"pkg_info -rR -x pine" will tell you what packages require and are
required by pine. Use pkg_delete and re-install.



On Fri, 3 Jan 2003, Danny wrote:

> On a FreeBSD 4.3R major production system. Recommended steps to
> upgrade *without* 'portupgrade' and do you see any implications? E.g.
> address books, config settings, etc.
> 
> Current version is 4.21.
> 
> Thank you.
> 
> 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



Adaptec 1200A Driver?

2003-01-03 Thread G D McKee
Hi

I know this card is not supported - is anyone planning on writing a driver
or is the card fundamentally not compatible with FreeBSD?

Many thanks

Gordon



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



archos and freebsd

2003-01-03 Thread Matt Gostick
Hello,

  I got an Archos Jukebox Studio 20 for Christmas, and want to hook it
up to my FreeBSD box.  It's uses a usb cable for data transfer, and I've
never had to use usb on FreeBSD before.  I've done some research and the
best page I could find with instructions was
http://www.stalker.org/~sean/freebsd-p2040/... but the kernel config and
supplied archos.sh script doesn't work for me.  I'm a little behind when
it comes to usb...  is that what firewire is?

  On his page it says to compile firewire, sbp, scbus, da and umass. 
I'm cvsup'ed to 4.7 stable from release and did what he said.  When I
try and 'mount -t msdos /dev/da0s1 /archos'  I get 'Device not
configured'.

  Any advice would be greatly appreciated.  Could you reply to my email
address as well as the list please b/c I'm not subscribed.

Thanks,
Matt.


Here is my dmesg:


Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 4.7-STABLE #2: Fri Jan  3 10:07:48 EST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/GUTROT
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
 
Features=0x183f9ff
real memory  = 402640896 (393204K bytes)
avail memory = 387649536 (378564K bytes)
Preloaded elf kernel "kernel" at 0xc03c5000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f0d10
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on
pci0
pci1:  on pcib1
pci1:  at 0.0 irq 11
isab0:  at device 4.0 on pci0
isa0:  on isab0
atapci0:  port 0xd800-0xd80f at device 4.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port 0xd400-0xd41f irq
9 at device 4.2 on pci0
usb0:  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
ugen0: In-System Design USB Storage Adapter, rev 1.10/1.10, addr 2
chip1:  port 0xe800-0xe80f at
device 4.3 on pci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd000-0xd07f mem
0xdf80-0xdf80007f irq 5 at device 11.0 on pci0
xl0: Ethernet address: 00:10:5a:6a:4e:74
miibus0:  on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <3Dfx Voodoo graphics accelerator> at 12.0
orm0:  at iomem 0xc-0xc7fff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on
isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0:  on ppbus0
lpt0: Interrupt-driven port
sbc0:  at port 0x220-0x22f,0x300-0x301,0x388-0x38b
irq 10 drq 0,1 on isa0
pcm0:  on sbc0
ad0: 29311MB  [59554/16/63] at ata0-master UDMA33
ad1: 9787MB  [19885/16/63] at ata0-slave
UDMA33
acd0: CDROM  at ata1-master PIO4
acd1: CD-RW  at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a
can't re-use a leaf (firewire_debug)!
can't re-use a leaf (fwmem_debug)!
module_register: module fwohci/firewire already exists!
linker_file_sysinit "firewire.ko" failed to register! 17
can't re-use a leaf (sbp_debug)!
module_register: module firewire/sbp already exists!



Here is my kernel config file:


#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#   
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you
are
# in doubt as to the purpose or necessity of a line, check first in
LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26
obrien Exp $

machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   GUTROT
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options MATH_EMULATE#Support for x87 emulation
options

Re: Shell guru needed.

2003-01-03 Thread David Bear
On Thu, Jan 02, 2003 at 08:03:37PM -0500, mike wrote:
> Hey guys. heres the skinny. I have a huge library and i want to organize it. I want 
>find to go through recursively, and move any "pdf" files it finds to a certain 
>directory. I need an example piece of script on how i would confront this. It will 
>save me hours if not days so thanks in advance.

I'm no shell guru but how about something like

find ./yourdirectory -name "*pdf" -exec mv {} ./newdirectory \;

you may have to play with the syntax a little but wouldn't this do it?

> 

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

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



Super Low Interest Rates on Mortgages!

2003-01-03 Thread rosiemary2nf827
Lowest Rate In Thirty Years 

Rates as low as 5.25% won't stay this low forever

Follow the link below
http://www.fast.bz/mort/





8447OCxN3-725xOVF0775lupR3-418TgiJ8291gimO7-628icxB5916l52èR{.nÇ+‰·¬zwfj)m¢f£¢·hškyàRŠàÂ+aº{.nÇ+‰·Ÿ­ç›±Ú®zËb¢{"žØ^n‡r¡ûazg¬±¨


Updating Pico & Pine

2003-01-03 Thread Danny
On a FreeBSD 4.3R major production system. Recommended steps to
upgrade *without* 'portupgrade' and do you see any implications? E.g.
address books, config settings, etc.

Current version is 4.21.

Thank you.

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



Re: Shell guru needed.(xargs question)

2003-01-03 Thread Danny
Could you please give another realworld example of using xargs and
your definition of it. I had a glance through man xargs, but I enjoy input
from humans that use it as well. :)

Thanks.

- Original Message - 
From: "David S. Jackson" <[EMAIL PROTECTED]>
To: "mike" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 10:25 AM
Subject: Re: Shell guru needed.


> On Thu, Jan 02, 2003 at 08:03:37PM -0500 mike <[EMAIL PROTECTED]> wrote:
> > Hey guys. heres the skinny. I have a huge library and i want to
> > organize it. I want find to go through recursively, and move any "pdf"
> > files it finds to a certain directory. I need an example piece of
> > script on how i would confront this. It will save me hours if not days
> > so thanks in advance.
> 
> Can't believe no one has used xargs yet...
> 
> find /path/to/messydir -name '*.pdf' -type f | xargs -I % mv \
> /path/to/messydir/% /path/to/newdir/%
> 
> -- 
> David S. Jackson[EMAIL PROTECTED]
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don't worry about the world coming to an end today.
> It's already tomorrow in Australia.  -- Charles Schulz
> 
> 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



/etc/make.conf Examples

2003-01-03 Thread Danny
Greetings,

I am trying to wrap my head around the make.conf file, and I am curious
to know if others have multiple /etc/make.conf files for certain situations,
or just one.

Could you please post your /etc/make.conf(s) and explain the contents
and resulting actions of your file.

Thank you!

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



Re: command host does not check /etc/hosts.

2003-01-03 Thread Ceri Davies
On Thu, Jan 02, 2003 at 08:38:33PM -0700, Konstantin Borovik wrote:

> Command host does not check /etc/hosts file. Is it a bug or normal behavior?

That's normal.

DESCRIPTION
 Host looks for information about Internet hosts.  It gets this informa-
 tion from a set of interconnected servers that are spread across the
 world.

Ceri
-- 
Death before treachery!

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



RE: 5.0RC2 on an iPaq IA1

2003-01-03 Thread J. Seth Henry
Don't rule out hardware problems. I have been working with 4.7R on an
IA-1. The power supplies in there aren't the greatest, and I've had
problems with wireless keyboards loading the units down to where they had
problems booting.

I would suggest you get a self-powered USB hub, and make all your
connections through it (or try one of those keychain NAND drives). I
managed to get everything, including the wireless keyboard transciever, to
work just fine that way.

That said, I've had the most success with booting my IA-1 from a
microdrive. I did have to boost the CF Vcc to 5V by lifting and jumpering
the middle two pins to an unused serial connector (CN10), but that done,
the system is remarkably stable.

BTW - is your IA-1 a white or blue unit? I'm still trying to figure out
how to get FBSD to recognize the external MII PHY on the clipper ethernet
port.

Good luck,
Seth Henry

>>>
iPaq# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
VIA(0x), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, self powered, config 2, USB 2.0 Storage
Adaptor(0xb001), DMI(0x0c0b), rev 11.10
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
VIA(0x), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, power 156 mA, config 1, LINKSYS USB
Adapter(0x400b), LINKSYS Inc.(0x066b), rev 1.01

Suggestions on how to debug or reduce the errors?  The drive has good
media
(hooked direct to IDE it tests clean using Quantum's diag util) and the
system will boot fine with a warm reboot of the comp itself, so I'm
guessing
the problem is driver related and not a fault with the HW.

Joshua Coombs
[EMAIL PROTECTED]



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



Re: Shell guru needed.

2003-01-03 Thread David S. Jackson
On Thu, Jan 02, 2003 at 08:03:37PM -0500 mike <[EMAIL PROTECTED]> wrote:
> Hey guys. heres the skinny. I have a huge library and i want to
> organize it. I want find to go through recursively, and move any "pdf"
> files it finds to a certain directory. I need an example piece of
> script on how i would confront this. It will save me hours if not days
> so thanks in advance.

Can't believe no one has used xargs yet...

find /path/to/messydir -name '*.pdf' -type f | xargs -I % mv \
/path/to/messydir/% /path/to/newdir/%

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don't worry about the world coming to an end today.
It's already tomorrow in Australia.  -- Charles Schulz

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



Re: Is there a way to get a MAC address from an IP address

2003-01-03 Thread Fernando Gleiser
On Thu, 2 Jan 2003, Dan Malaby wrote:

> Is there a way if given an IP address to get the MAC address. The problem I
> am having is that there are two nic's that are using the same IP address on
> my network, but the error message my FBSD box gives me is only the MAC
> address for the offending card. I belive that the offending card does have
> another ligit IP address. I do have a map of all IP that respond on my
> network, but do not have a way of knowing which IP goes with which MAC address.

arp -an | grep 

replace  with the MAC addr you have.




Fer

>
> Any help would be appreciated.
>
>
> Daniel Malaby   voice:(510) 531-6500
> Peritek Corp.   fax:   (510) 530-8563
> 5550 Redwood Road   email: [EMAIL PROTECTED]
> Oakland, CA 94619
>
>
> 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



  1   2   >