Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Josh Carroll
On 8/27/07, Paul Hoffman [EMAIL PROTECTED] wrote:
 Hi again. On a dual-core system, how do I tell how much of each of
 the CPU cores are in use? Is the CPU usage in 'top' for the two CPUs
 at once? Is there something in ports (that works without X...) that
 will give good info?

The CPU states line in top is for all processors combined. That is, if
you see 100% user, it's using all cores/processors. You will see
individual processes in state CPU1 or RUN. If a processes is
multi-threaded, you may see CPU %  100%.

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


RE: How to block 200K ip addresses?

2007-08-27 Thread Aminuddin
Will give this a try. Since my server is a remote server that I can accessed
only by ssh, what are other rules do I need to add in? I don't want to have
a situation where I will lock myself out.

Is it correct to say that the rules that I put in will only block those in
the rules and allow all that are not in the rules?


Thanks

-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 26, 2007 2:15 PM


To: Aminuddin
Cc: freebsd-questions@freebsd.org
Subject: Re: How to block 200K ip addresses?

In the last episode (Aug 26), Aminuddin said:
 From: Dan Nelson [mailto:[EMAIL PROTECTED] 
  In the last episode (Aug 26), Aminuddin said:
   From: Dan Nelson 
In the last episode (Aug 26), Aminuddin said:
 How do you block this large range of ip addresses from
 different subnet? IPFW only allows 65536 rules while this
 will probably use up a few hundred thousands of lines.
 
 I'm also trying to add this into my proxy configuration file,
 ss5.conf but it doesn't allow me to add this large number.
 
 IS this the limitation of IPF or FreeBSD? How do I work
 around this?

Even though there are 65536 rule numbers, each number can
actually have any amount of rules assigned to it.  What you're
probably looking for, though, is ipfw's table keyword, which
uses the same radix tree lookup format as the kernel's routing
tables, so it scales well to large amounts of sparse addresses. 
man ipfw, search for lookup tables.
  
   I intend to create a ruleset file consisting of this statement:
   
   Ruleset
  
   add 2300 skipto 2301 ip from 0.0.0.0/6 to any
   add 2400 skipto 2401 ip from any to 0.0.0.0/6
   add 2300 skipto 2302 ip from 4.0.0.0/6 to any
   add 2400 skipto 2402 ip from any to 4.0.0.0/6
  [...]
   add 2300 skipto 2363 ip from 248.0.0.0/6 to any
   add 2400 skipto 2463 ip from any to 248.0.0.0/6
   add 2300 skipto 2364 ip from 252.0.0.0/6 to any
   add 2400 skipto 2464 ip from any to 252.0.0.0/6
  
   add 2301 deny ip from 3.0.0.0/8 to any
   add 2401 reject ip from any to 3.0.0.0/8
   add 2302 deny ip from 4.0.25.146/31 to any
   add 2402 reject ip from any to 4.0.25.146/31
  [...]
   add 2302 deny ip from 4.18.37.16/28 to any
   add 2402 reject ip from any to 4.18.37.16/28
   add 2302 deny ip from 4.18.37.128/25 to any
   add 2402 reject ip from any to 4.18.37.128/25
   end ruleset
   
   Will the above rules block me from ssh into my remote server if
   the ip addresses of my local pc (dynamic ip) not within any of
   the above rules ip range as well as block my snmpd services?
  
  Yes; it's a little convoluted but should work.  You want to drop
  incoming packets from the listed IP ranges, and return a host
  unreachable to internal machines sending outgoing packets to the
  listed IP ranges?  Wouldn't it be easier to use ipfw's table
  feature and have something like this:
  
  add table 1 3.0.0.0/8
  add table 1 4.0.25.146/31
  add table 1 4.0.25.148/32
  [...]
  add table 1 4.18.37.16/28
  add table 1 4.18.37.128/25
  add 2300 deny ip from table 1 to any
  add 2400 reject ip from any to table 1
  
  That way you only have two ipfw rules, both of which use a single
  table lookup.

 My complete list has about 300K of lines. It takes about a few hours
 just to load the rules. Will it be faster to load using the table?
 
I did a quick test myself by fetching the safepeer ip list and adding
it via rules and tables.  This was a quick hack, so I'm just adding the
first IP in each line, not the whole netblock (I didn't want to write a
range-netmask converter).  On my heavily-loaded box (currently doing a
buildworld and some mrtg sweeps), I'm only able to insert about 60 ipfw
deny ip from 4.0.25.146 to any-format rules per second.  By contrast:

([EMAIL PROTECTED]) /tmp# head -3 splist1.table
table 1 add 0.0.0.0
table 1 add 4.0.25.146
table 1 add 4.0.26.14
([EMAIL PROTECTED]) /tmp# wc -l splist1.table
  191637 splist1.table
([EMAIL PROTECTED]) /tmp# time ipfw /tmp/splist1.table
ipfw /tmp/splist1.table: U:3.30s S:1.75s E:6.74s CPU:75% Faults:0/95 I/O:0/0
Swaps:0
([EMAIL PROTECTED]) /tmp# ipfw table 1 list | wc -l
  191637

Under 7 seconds to load all 191k entries :)

-- 
Dan Nelson
[EMAIL PROTECTED]

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


Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Wojciech Puchar


Hi again. On a dual-core system, how do I tell how much of each of the CPU 
cores are in use? Is the CPU usage in 'top' for the two CPUs at once? Is


top in first line sums all CPUs, while at process line gives usage of 
single CPU.


so for example running one CPU-hungry program you will see near 100% CPU 
at this process and 50% user at top line+50% idle

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


Re: How do I force ucom to attach?

2007-08-27 Thread Wojciech Puchar

something got broken, possibly device or USB port.


On Sun, 26 Aug 2007, Thomas D. Dean wrote:


# uname -a
FreeBSD asus.tddhome 6.2-STABLE FreeBSD 6.2-STABLE #2: \
 Fri Jun 22 10:14:36 PDT 2007 \
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC  i386

I have a Prologix USB to GPIB adapter.  I had it working, using
/dev/cuaU0.  Then, I rebooted the system.  No other changes.  I do not
remember the what I did initially to get it working.

Now, dmesg shows the device attaches to ugen0 and /dev/cuaU0 does not
exist.

I disconnnected the device, loaded ucom, reconnected the device.  Same
result.

How do I get the device to attach to ucom?

tomdean

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



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


Re: filesystem types

2007-08-27 Thread Wojciech Puchar
I installed an amd 64 bit 6.2 freebsd with the default filesystem (on 3 
drives)
and my MySQL seems to have a 4Gb limit. Is there another filesystem I can 
select

which bypasses this limit?


UFS2 doesn't have 4GB limit and it's the default. i have 9GB file at 
present.


it is mysql limit



Where can I read about available filesystems on FreeBSD?

Thanks.
Jim

2nd post. I think I screwed up the first post. sorry for the bandwidth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



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


/bin/sh vi mode command line editing and the period

2007-08-27 Thread [EMAIL PROTECTED]@mgedv.net

hi folks,

when someone uses set -o vi to put /bin/sh into vi-mode
for command line editing, he for example could use the
ESC-minus sequence for editing the last executed command.

but there's another bug/feature: ESC-. (period).
when i (of course by mistake) hit this feature,
all commands in the history IMMEDIATELY get executed
without even pressing enter.

is this a bug or a feature and how can i avoid this
to happen - even with being in vi mode and in /bin/sh.

from my point of view, this is a really dangerous thing,
because commands like rm -rf or kill could easily get
executed when they shouldn't!

the documentation for vi shows that . should be used
to edit the whole history and not to parse and execute it!
(allocated to cmdline editing).

cu / regards

ps: just reply to the list, i'm on it.

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


Re: /bin/sh vi mode command line editing and the period

2007-08-27 Thread Bahman M.
As far as I know, ESC-. (in fact hitting '.' when in command mode)
repeats your very last action whether it was an editing action or
executing a command.

Bahman

On 8/27/07, [EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] wrote:
 hi folks,

 when someone uses set -o vi to put /bin/sh into vi-mode
 for command line editing, he for example could use the
 ESC-minus sequence for editing the last executed command.

 but there's another bug/feature: ESC-. (period).
 when i (of course by mistake) hit this feature,
 all commands in the history IMMEDIATELY get executed
 without even pressing enter.

 is this a bug or a feature and how can i avoid this
 to happen - even with being in vi mode and in /bin/sh.

 from my point of view, this is a really dangerous thing,
 because commands like rm -rf or kill could easily get
 executed when they shouldn't!

 the documentation for vi shows that . should be used
 to edit the whole history and not to parse and execute it!
 (allocated to cmdline editing).

 cu / regards

 ps: just reply to the list, i'm on it.

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

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


Compiling CLisp 2.41a: Stack overflow. RESET

2007-08-27 Thread Bahman M.
Hello,

Please advise!

# cd /usr/ports/clisp
# uname -ai
FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386 GENERIC

# make
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/zlib/zlib.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/zlib/zlib.fas
*** - Program stack overflow. RESET

./clisp-link: failed in
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
*** Error code 1

Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
*** Error code 1

Stop in /usr/ports/lang/clisp.
*** Error code 1

At this point I though the problem may lie in zlib. So I ran 'make
config' again and removed zlib from configuration.
# make
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
*** - Program stack overflow. RESET

./clisp-link: failed in
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
*** Error code 1

Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
*** Error code 1

Stop in /usr/ports/lang/clisp.
*** Error code 1

I even removed wildcard library from configuration (make config) and
issued 'make' again:
# make
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
*** - Program stack overflow. RESET

./clisp-link: failed in
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
*** Error code 1

Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
*** Error code 1

Stop in /usr/ports/lang/clisp.
*** Error code 1

Stop in /usr/ports/lang/clisp

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


Re: Compiling CLisp 2.41a: Stack overflow. RESET

2007-08-27 Thread Wojciech Puchar

ulimit -s ?


On Mon, 27 Aug 2007, Bahman M. wrote:


Hello,

Please advise!

# cd /usr/ports/clisp
# uname -ai
FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
i386 GENERIC

# make
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/zlib/zlib.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/zlib/zlib.fas
*** - Program stack overflow. RESET

./clisp-link: failed in
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
*** Error code 1

Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
*** Error code 1

Stop in /usr/ports/lang/clisp.
*** Error code 1

At this point I though the problem may lie in zlib. So I ran 'make
config' again and removed zlib from configuration.
# make
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
*** - Program stack overflow. RESET

./clisp-link: failed in
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
*** Error code 1

Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
*** Error code 1

Stop in /usr/ports/lang/clisp.
*** Error code 1

I even removed wildcard library from configuration (make config) and
issued 'make' again:
# make
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
;; Loading file
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
...
;; Loaded file 
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
*** - Program stack overflow. RESET

./clisp-link: failed in
/usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
*** Error code 1

Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
*** Error code 1

Stop in /usr/ports/lang/clisp.
*** Error code 1

Stop in /usr/ports/lang/clisp

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



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


Re: Compiling CLisp 2.41a: Stack overflow. RESET

2007-08-27 Thread Bahman M.
I'm using tcsh.
 limit -h
cputime  unlimited
filesize unlimited
datasize 524288 kbytes
stacksize65536 kbytes
coredumpsize unlimited
memoryuseunlimited
vmemoryuse   unlimited
descriptors  11095
memorylocked unlimited
maxproc  5547
sbsize   unlimited

In bash I get this:
$ ulimit -s
65536

Bahman

On 8/27/07, Wojciech Puchar [EMAIL PROTECTED] wrote:
 ulimit -s ?


 On Mon, 27 Aug 2007, Bahman M. wrote:

  Hello,
 
  Please advise!
 
  # cd /usr/ports/clisp
  # uname -ai
  FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
  UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  i386 GENERIC
 
  # make
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/zlib/zlib.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/zlib/zlib.fas
  *** - Program stack overflow. RESET
 
  ./clisp-link: failed in
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
  *** Error code 1
 
  Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
  *** Error code 1
 
  Stop in /usr/ports/lang/clisp.
  *** Error code 1
 
  At this point I though the problem may lie in zlib. So I ran 'make
  config' again and removed zlib from configuration.
  # make
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/wildcard/wildcard.fas
  *** - Program stack overflow. RESET
 
  ./clisp-link: failed in
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
  *** Error code 1
 
  Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
  *** Error code 1
 
  Stop in /usr/ports/lang/clisp.
  *** Error code 1
 
  I even removed wildcard library from configuration (make config) and
  issued 'make' again:
  # make
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/postgresql.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/postgresql/sql.fas
  ;; Loading file
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
  ...
  ;; Loaded file 
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2/rawsock/sock.fas
  *** - Program stack overflow. RESET
 
  ./clisp-link: failed in
  /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2
  *** Error code 1
 
  Stop in /usr/ports/lang/clisp/work/clisp-2.41/i386-portbld-freebsd6.2.
  *** Error code 1
 
  Stop in /usr/ports/lang/clisp.
  *** Error code 1
 
  Stop in /usr/ports/lang/clisp
 
  Thanks in advance,
  Bahman
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

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


Re: How to make good Squid(Proxy ) Server in FreeBSD 5.4 ?

2007-08-27 Thread Tek Bahadur Limbu

Hi Prakash,

Prakash Poudyal wrote:

Hello Everybody,

Can anybody give me idea related to configure the squid (proxy server). I
need to know hhow much I need to fix the cache memeory . My machine consist
of 2 GB Ram and dual processor . And operating system is FreeBSD 5.4. And I
do have client more than 500 and most of them are research orriented. And
also I am trying to configure another proxy server as for the parent proxy.
So please tell me how to make parent proxy as well. So please give me some
idea or tips so that I could run the server properly and my clients would
have a good smile in there face.



Configuring a Squid proxy server is a long and enduring process. Also it 
depends upon what you want to achieve. A high hit ratio rate, fast 
median service times, etc. There is no shortcut in setting up a proxy 
server. As time goes on, you need different settings to tune it. What 
worked today might not work tomorrow.


With FreeBSD, you have an 2 options to install Squid. Either from ports 
or source.


If you are install Squid from source, the following options might help:

'--enable-removal-policies=lru heap'
'--enable-storeio=coss,ufs diskd null aufs' '--enable-delay-pools' 
'--enable-snmp' '--enable-cache-digests' '--with-large-files' 
'--enable-large-cache-files' '--enable-kill-parent-hack'



Also, I suggest you to go with the latest version of Squid which is 
squid-2.6.14 currently.


Version-2.6 is extremely CPU friendly.

Regarding the cache_mem parameter, just use 32 MB for a default option.

A system with 2 GB of memory and Dual processor should be able to handle 
500 or more customers.


Regarding a parent-child hierarchy using Squid, just configure and 
install the parent Squid as you would do normally.


In your child Squid proxy, just add the following lines in your squid.conf:


cache_peer ParentProxyIP   parent 3128  3130

That should do it for a basic parent/child relationship.

Your Squid Port and ICP port might be different.

Hope it helps.


Thanking you...





Thank you,



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






--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

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


Re: IPMI A Question to all Dell Users.

2007-08-27 Thread Sten Daniel Soersdal

Grant Peel wrote:

Hi all,

I have been reading a bit about IPMI.

I am running 6.2 on all my servers.

Does any Dell (PowerEdge) users have the IPMI port installed? Is it safe? Easy 
to use? Any problems with installation?

I am mostly interested in viewing sensor info and extracting SELs.

TIA,



Have been using IPMI on PE2850 without problems. Although i have not 
performed any extensive testing on the functionality, it appears correct 
and i have had no trouble with it.


I have used /usr/ports/sysutils/ipmitool on 6.1.
/usr/ports/sysutils/ipmi-kmod is either available as ports module or in 
base system on some versions of FreeBSD.





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


Re: How to block 200K ip addresses?

2007-08-27 Thread Andy Greenwood

Aminuddin wrote:

Will give this a try. Since my server is a remote server that I can accessed
only by ssh, what are other rules do I need to add in? I don't want to have
a situation where I will lock myself out.

Is it correct to say that the rules that I put in will only block those in
the rules and allow all that are not in the rules?

Thanks

-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 26, 2007 2:15 PM



To: Aminuddin
Cc: freebsd-questions@freebsd.org
Subject: Re: How to block 200K ip addresses?

In the last episode (Aug 26), Aminuddin said:
  
From: Dan Nelson [mailto:[EMAIL PROTECTED] 


In the last episode (Aug 26), Aminuddin said:
  
From: Dan Nelson 


In the last episode (Aug 26), Aminuddin said:
  

How do you block this large range of ip addresses from
different subnet? IPFW only allows 65536 rules while this
will probably use up a few hundred thousands of lines.

I'm also trying to add this into my proxy configuration file,
ss5.conf but it doesn't allow me to add this large number.

IS this the limitation of IPF or FreeBSD? How do I work
around this?


Even though there are 65536 rule numbers, each number can
actually have any amount of rules assigned to it.  What you're
probably looking for, though, is ipfw's table keyword, which
uses the same radix tree lookup format as the kernel's routing
tables, so it scales well to large amounts of sparse addresses. 
man ipfw, search for lookup tables.
  

I intend to create a ruleset file consisting of this statement:

Ruleset

add 2300 skipto 2301 ip from 0.0.0.0/6 to any
add 2400 skipto 2401 ip from any to 0.0.0.0/6
add 2300 skipto 2302 ip from 4.0.0.0/6 to any
add 2400 skipto 2402 ip from any to 4.0.0.0/6


[...]
  

add 2300 skipto 2363 ip from 248.0.0.0/6 to any
add 2400 skipto 2463 ip from any to 248.0.0.0/6
add 2300 skipto 2364 ip from 252.0.0.0/6 to any
add 2400 skipto 2464 ip from any to 252.0.0.0/6

add 2301 deny ip from 3.0.0.0/8 to any
add 2401 reject ip from any to 3.0.0.0/8
add 2302 deny ip from 4.0.25.146/31 to any
add 2402 reject ip from any to 4.0.25.146/31


[...]
  

add 2302 deny ip from 4.18.37.16/28 to any
add 2402 reject ip from any to 4.18.37.16/28
add 2302 deny ip from 4.18.37.128/25 to any
add 2402 reject ip from any to 4.18.37.128/25
end ruleset

Will the above rules block me from ssh into my remote server if
the ip addresses of my local pc (dynamic ip) not within any of
the above rules ip range as well as block my snmpd services?


Yes; it's a little convoluted but should work.  You want to drop
incoming packets from the listed IP ranges, and return a host
unreachable to internal machines sending outgoing packets to the
listed IP ranges?  Wouldn't it be easier to use ipfw's table
feature and have something like this:

add table 1 3.0.0.0/8
add table 1 4.0.25.146/31
add table 1 4.0.25.148/32
[...]
add table 1 4.18.37.16/28
add table 1 4.18.37.128/25
add 2300 deny ip from table 1 to any
add 2400 reject ip from any to table 1

That way you only have two ipfw rules, both of which use a single
table lookup.
  

My complete list has about 300K of lines. It takes about a few hours
just to load the rules. Will it be faster to load using the table?

 
I did a quick test myself by fetching the safepeer ip list and adding

it via rules and tables.  This was a quick hack, so I'm just adding the
first IP in each line, not the whole netblock (I didn't want to write a
range-netmask converter).  On my heavily-loaded box (currently doing a
buildworld and some mrtg sweeps), I'm only able to insert about 60 ipfw
deny ip from 4.0.25.146 to any-format rules per second.  By contrast:

([EMAIL PROTECTED]) /tmp# head -3 splist1.table
table 1 add 0.0.0.0
table 1 add 4.0.25.146
table 1 add 4.0.26.14
([EMAIL PROTECTED]) /tmp# wc -l splist1.table
  191637 splist1.table
([EMAIL PROTECTED]) /tmp# time ipfw /tmp/splist1.table
ipfw /tmp/splist1.table: U:3.30s S:1.75s E:6.74s CPU:75% Faults:0/95 I/O:0/0
Swaps:0
([EMAIL PROTECTED]) /tmp# ipfw table 1 list | wc -l
  191637

Under 7 seconds to load all 191k entries :)

  


Please don't top-post.

My understanding is that anything not blocked by these rules will be 
allowed, unless it is blocked somewhere else in your firewall config.


An easy way to make sure you don't lock yourself out (at least 
permanently) is to write up a shell script that will revert your rules 
to your current ruleset and enter it as a cron job set to be run every 5 
minutes or so. That way, even if you do lock yourself out, it'll only be 
a few minutes. If it works and you're not locked out, remove the cron job.

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


(error) Your apache does not support DSO modules

2007-08-27 Thread Anthony Philipp
Hi,

When I searched for DSO modules I found this page: 
http://httpd.apache.org/docs/1.3/dso but it doesn.t seem to have a similar page 
for the 2.2.x series of Apache. Am I hunting down the correct path? I also 
checked /usr/ports/UPDATING but unable to find anything of relevance there. 
I.ve included the error below. Any help is appreciated.

Regards,

Anthony


---  Cleaning out obsolete shared libraries
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 848 packages found 
(-0 +1) . done]
** Makefile possibly broken: lang/php5:
/usr/local/sbin/apxs: not found
/usr/ports/Mk/bsd.apache.mk, line 278: warning: /usr/local/sbin/apxs 
-q MPM_NAME returned non-zero status
/usr/local/sbin/apxs: not found
/usr/ports/Mk/bsd.apache.mk, line 278: warning: /usr/local/sbin/apxs 
-q MPM_NAME returned non-zero status
php5-5.2.3_1
: Your apache does not support DSO modules

---  Skipping 'security/php5-mcrypt' (php5-mcrypt-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'www/punbb' (punbb-1.2.15) because a requisite package 
'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'converters/php5-iconv' (php5-iconv-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'textproc/php5-ctype' (php5-ctype-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'graphics/php5-gd' (php5-gd-5.2.3_1) because a requisite package 
'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'net/php5-ldap' (php5-ldap-5.2.3_1) because a requisite package 
'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'textproc/php5-xml' (php5-xml-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'www/php5-session' (php5-session-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'ftp/php5-curl' (php5-curl-5.2.3_1) because a requisite package 
'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'databases/php5-mysql' (php5-mysql-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'devel/php5-pcre' (php5-pcre-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
** Detected a package name change: gpdf (graphics/evince) - 'evince' 
(graphics/evince)
** No need to upgrade 'gpdf-2.10.0_5' (= evince-0.8.3). (specify -f to force)
---  Skipping 'textproc/php5-simplexml' (php5-simplexml-5.2.3_1) because a 
requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'devel/php5-spl' (php5-spl-5.2.3_1) because a requisite package 
'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'textproc/php5-dom' (php5-dom-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
---  Skipping 'security/php5-mhash' (php5-mhash-5.2.3_1) because a requisite 
package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
! lang/php5 (php5-5.2.3_1)  (Makefile broken)
* security/php5-mcrypt (php5-mcrypt-5.2.3_1)
* www/punbb (punbb-1.2.15)
* converters/php5-iconv (php5-iconv-5.2.3_1)
* textproc/php5-ctype (php5-ctype-5.2.3_1)
* graphics/php5-gd (php5-gd-5.2.3_1)
* net/php5-ldap (php5-ldap-5.2.3_1)
* textproc/php5-xml (php5-xml-5.2.3_1)
* www/php5-session (php5-session-5.2.3_1)
* ftp/php5-curl (php5-curl-5.2.3_1)
* databases/php5-mysql (php5-mysql-5.2.3_1)
* devel/php5-pcre (php5-pcre-5.2.3_1)
* textproc/php5-simplexml (php5-simplexml-5.2.3_1)
* devel/php5-spl (php5-spl-5.2.3_1)
* textproc/php5-dom (php5-dom-5.2.3_1)
* security/php5-mhash (php5-mhash-5.2.3_1)
---  Packages processed: 7 done, 825 ignored, 15 skipped and 1 failed


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


tightvnc on amd64

2007-08-27 Thread Wojciech Puchar
tried to use it, compiled fine from ports but crashes with signal 11 when 
starting server


kernel says this:

WARNING pid 30650 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 30653 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 33771 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 34305 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 1682 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 2509 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 40453 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 47489 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 4996 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 7728 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 18607 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 18615 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 18675 (Xvnc): ioctl sign-extension ioctl c0106924
WARNING pid 18717 (Xvnc): ioctl sign-extension ioctl c0106924


are there any fixes for it?

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


What is proxy user for?

2007-08-27 Thread Riaan Kruger
Does anybody know why there is a proxy user?

I am trying to get an understanding what the different users in /etc/passwd
are for. A more general question probably would be, Is there any
documentation/resource that gives information/motivation for the users and
groups in /etc/?


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


Re: (error) Your apache does not support DSO modules

2007-08-27 Thread Bob Johnson
http://httpd.apache.org/docs/2.2/dso.html

What is it that you are actually trying to accomplish? What was the
command that resulted in these errors?

- Bob


On 8/27/07, Anthony Philipp [EMAIL PROTECTED] wrote:
 Hi,

 When I searched for DSO modules I found this page:
 http://httpd.apache.org/docs/1.3/dso but it doesn.t seem to have a similar
 page for the 2.2.x series of Apache. Am I hunting down the correct path? I
 also checked /usr/ports/UPDATING but unable to find anything of relevance
 there. I.ve included the error below. Any help is appreciated.

 Regards,

 Anthony


 ---  Cleaning out obsolete shared libraries
 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 848 packages
 found (-0 +1) . done]
 ** Makefile possibly broken: lang/php5:
 /usr/local/sbin/apxs: not found
 /usr/ports/Mk/bsd.apache.mk, line 278: warning:
 /usr/local/sbin/apxs -q MPM_NAME returned non-zero status
 /usr/local/sbin/apxs: not found
 /usr/ports/Mk/bsd.apache.mk, line 278: warning:
 /usr/local/sbin/apxs -q MPM_NAME returned non-zero status
 php5-5.2.3_1
 : Your apache does not support DSO modules

 ---  Skipping 'security/php5-mcrypt' (php5-mcrypt-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'www/punbb' (punbb-1.2.15) because a requisite package
 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'converters/php5-iconv' (php5-iconv-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'textproc/php5-ctype' (php5-ctype-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'graphics/php5-gd' (php5-gd-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'net/php5-ldap' (php5-ldap-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'textproc/php5-xml' (php5-xml-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'www/php5-session' (php5-session-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'ftp/php5-curl' (php5-curl-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'databases/php5-mysql' (php5-mysql-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'devel/php5-pcre' (php5-pcre-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ** Detected a package name change: gpdf (graphics/evince) - 'evince'
 (graphics/evince)
 ** No need to upgrade 'gpdf-2.10.0_5' (= evince-0.8.3). (specify -f to
 force)
 ---  Skipping 'textproc/php5-simplexml' (php5-simplexml-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'devel/php5-spl' (php5-spl-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'textproc/php5-dom' (php5-dom-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'security/php5-mhash' (php5-mhash-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ** Listing the failed packages (*:skipped / !:failed)
 ! lang/php5 (php5-5.2.3_1)  (Makefile broken)
 * security/php5-mcrypt (php5-mcrypt-5.2.3_1)
 * www/punbb (punbb-1.2.15)
 * converters/php5-iconv (php5-iconv-5.2.3_1)
 * textproc/php5-ctype (php5-ctype-5.2.3_1)
 * graphics/php5-gd (php5-gd-5.2.3_1)
 * net/php5-ldap (php5-ldap-5.2.3_1)
 * textproc/php5-xml (php5-xml-5.2.3_1)
 * www/php5-session (php5-session-5.2.3_1)
 * ftp/php5-curl (php5-curl-5.2.3_1)
 * databases/php5-mysql (php5-mysql-5.2.3_1)
 * devel/php5-pcre (php5-pcre-5.2.3_1)
 * textproc/php5-simplexml (php5-simplexml-5.2.3_1)
 * devel/php5-spl (php5-spl-5.2.3_1)
 * textproc/php5-dom (php5-dom-5.2.3_1)
 * security/php5-mhash (php5-mhash-5.2.3_1)
 ---  Packages processed: 7 done, 825 ignored, 15 skipped and 1 failed


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

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


Re: What is proxy user for?

2007-08-27 Thread Lowell Gilbert
Riaan Kruger [EMAIL PROTECTED] writes:

 Does anybody know why there is a proxy user?

pf, apparently.

 I am trying to get an understanding what the different users in /etc/passwd
 are for. A more general question probably would be, Is there any
 documentation/resource that gives information/motivation for the users and
 groups in /etc/?

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


Re: (error) Your apache does not support DSO modules

2007-08-27 Thread Anthony Philipp
Thanks for the quick response. I thought I had tried that link
earlier and it hadn't worked. I must have mistyped something.

In any case I was running portupgrade -aRR in an attempt to update
my system. While running it quit with this error. I reupdated my
ports tree to see if that was the issue, and tried again, but got
the same error.

Thanks for your help!

Anthony

On Mon, Aug 27, 2007 at 10:00:02AM -0400, 
Bob Johnson [EMAIL PROTECTED] wrote:

 http://httpd.apache.org/docs/2.2/dso.html
 
 What is it that you are actually trying to accomplish? What was the
 command that resulted in these errors?
 
 - Bob
 
 
 On 8/27/07, Anthony Philipp [EMAIL PROTECTED] wrote:
  Hi,
 
  When I searched for DSO modules I found this page:
  http://httpd.apache.org/docs/1.3/dso but it doesn.t seem to have a similar
  page for the 2.2.x series of Apache. Am I hunting down the correct path? I
  also checked /usr/ports/UPDATING but unable to find anything of relevance
  there. I.ve included the error below. Any help is appreciated.
 
  Regards,
 
  Anthony
 
 
  ---  Cleaning out obsolete shared libraries
  [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 848 packages
  found (-0 +1) . done]
  ** Makefile possibly broken: lang/php5:
  /usr/local/sbin/apxs: not found
  /usr/ports/Mk/bsd.apache.mk, line 278: warning:
  /usr/local/sbin/apxs -q MPM_NAME returned non-zero status
  /usr/local/sbin/apxs: not found
  /usr/ports/Mk/bsd.apache.mk, line 278: warning:
  /usr/local/sbin/apxs -q MPM_NAME returned non-zero status
  php5-5.2.3_1
  : Your apache does not support DSO modules
 
  ---  Skipping 'security/php5-mcrypt' (php5-mcrypt-5.2.3_1) because a
  requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'www/punbb' (punbb-1.2.15) because a requisite package
  'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'converters/php5-iconv' (php5-iconv-5.2.3_1) because a
  requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'textproc/php5-ctype' (php5-ctype-5.2.3_1) because a
  requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'graphics/php5-gd' (php5-gd-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'net/php5-ldap' (php5-ldap-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'textproc/php5-xml' (php5-xml-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'www/php5-session' (php5-session-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'ftp/php5-curl' (php5-curl-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'databases/php5-mysql' (php5-mysql-5.2.3_1) because a
  requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'devel/php5-pcre' (php5-pcre-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ** Detected a package name change: gpdf (graphics/evince) - 'evince'
  (graphics/evince)
  ** No need to upgrade 'gpdf-2.10.0_5' (= evince-0.8.3). (specify -f to
  force)
  ---  Skipping 'textproc/php5-simplexml' (php5-simplexml-5.2.3_1) because a
  requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'devel/php5-spl' (php5-spl-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'textproc/php5-dom' (php5-dom-5.2.3_1) because a requisite
  package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ---  Skipping 'security/php5-mhash' (php5-mhash-5.2.3_1) because a
  requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
  ** Listing the failed packages (*:skipped / !:failed)
  ! lang/php5 (php5-5.2.3_1)  (Makefile broken)
  * security/php5-mcrypt (php5-mcrypt-5.2.3_1)
  * www/punbb (punbb-1.2.15)
  * converters/php5-iconv (php5-iconv-5.2.3_1)
  * textproc/php5-ctype (php5-ctype-5.2.3_1)
  * graphics/php5-gd (php5-gd-5.2.3_1)
  * net/php5-ldap (php5-ldap-5.2.3_1)
  * textproc/php5-xml (php5-xml-5.2.3_1)
  * www/php5-session (php5-session-5.2.3_1)
  * ftp/php5-curl (php5-curl-5.2.3_1)
  * databases/php5-mysql (php5-mysql-5.2.3_1)
  * devel/php5-pcre (php5-pcre-5.2.3_1)
  * textproc/php5-simplexml (php5-simplexml-5.2.3_1)
  * devel/php5-spl (php5-spl-5.2.3_1)
  * textproc/php5-dom (php5-dom-5.2.3_1)
  * security/php5-mhash (php5-mhash-5.2.3_1)
  ---  Packages processed: 7 done, 825 ignored, 15 skipped and 1 failed
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  

Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Bob Johnson
On 8/27/07, Paul Hoffman [EMAIL PROTECTED] wrote:
 Hi again. On a dual-core system, how do I tell how much of each of
 the CPU cores are in use? Is the CPU usage in 'top' for the two CPUs
 at once? Is there something in ports (that works without X...) that
 will give good info?

Try:

top -S

or while you are running top, just press shift-S.

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


Re: How to block 200K ip addresses?

2007-08-27 Thread Dan Nelson
In the last episode (Aug 27), Aminuddin said:
 Will give this a try. Since my server is a remote server that I can
 accessed only by ssh, what are other rules do I need to add in? I
 don't want to have a situation where I will lock myself out.

The safest method is to have a serial console configured, so even if
you completely mess up your firewall you can still get to it. 
Otherwise, add some rules as the very beginning that permit traffic
to/from the server you are ssh'ing in from, and start off using count
log rules instead of deny, so you can tell which packets are being
matched.
 
 Is it correct to say that the rules that I put in will only block
 those in the rules and allow all that are not in the rules?

ipfw always has a final rule 65536, which is either allow ip from any
to any or deny ip from any to any depending on whether the kernel
option IPFIREWALL_DEFAULT_TO_ACCEPT was set or not.

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


Re: ldconfig problem after upgrade 4.11 to 5.5

2007-08-27 Thread Kris Kennaway
On Sun, Aug 26, 2007 at 05:35:46PM +0200, Martin Schweizer wrote:
 Hello Kris
 
 Am Wed, Aug 22, 2007 at 09:20:51AM -0400 Kris Kennaway schrieb:
   After I updated my 4.11 to an 5.5 system (following 
   /usr/src/UPDATING), I get 
   around 63 error messages while the system boot up:
   
   ldconfig: /var/run/ld.so.hints: No such file or directory
 search: trailing characters ignored
 No such file or directory
   0: - lmalloc.1.1: trailing characters ignored. No such 
   file or 
   directory
   ...
   ...
   
  Looks like it might be a broken symlink.
  
  Why are you updating to 5.5 though?  You should be using 6.2.
 
 If I'm understanding /usr/src/UPDATING correct I should first update 
 to 5.5 
 and then to 6.2?

OK.  It may have been easier (and still could be) to just do a binary
upgrade instead.

 Any ideas where I can check this symlink?

Use find(1) to look for libmalloc.so.1.1
   
   The files are all located in /usr/lib/compat/aout. The path is defined in 
   /etc/defaults/rc.conf
   [snip]
   ldconfig_paths_aout=/usr/lib/compat/aout /usr/X11R6/lib/aout 
   /usr/local/lib/aout
   [snip]
   
   Any ideas?
  
  Are you missing aout support from your kernel?  I think it's COMPAT_AOUT.
 
 After reading about ldconfig and playing with the parameters (see man page) I 
 find out that the processing of the pathes in /etc/defaults/rc.conf isn't 
 correct.
 /etc/defaults/rc.conf:
 [snip]
 ldconfig_insecure=NO# Set to YES to disable ldconfig security checks
 ldconfig_paths=/usr/lib/compat /usr/X11R6/lib /usr/local/lib
 ldconfig_paths_aout=/usr/lib/compat/aout /usr/X11R6/lib/aout 
 /usr/local/lib/aout
 ldconfig_local_dirs=/usr/local/libdata/ldconfig /usr/X11R6/libdata/ldconfig
   # Local directories with ldconfig configuration files.
 ldconfig_local32_dirs=/usr/local/libdata/ldconfig32 
 /usr/X11R6/libdata/ldconfig32
   # Local directories with 32-bit compatibility ldconfig
 [snip]
 
 Following this I set in /etc/rc.conf
 
 [snip]
 ldconfig_paths_aout=/usr/lib/compat/aout
 [snip]
 
 Any ideas why the kernel do not process the pathes correct?
 
 Now it works. Thank you for your help.
 

You need a.out support *IN YOUR KERNEL*.  i.e. you need to enable it
in your kernel configuration and recompile your kernel.

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


circumventing a powermac/NAT router

2007-08-27 Thread Luis Morales
Greetings,

I have been advised here previously to conceal my home network behind an old 
powermac which would be used as a NAT router.  Now I have to consider 
whether this is worth the expense because if someone is dead intent on 
pilfering your research papers and they know where you submit them, wouldn't 
they be able to defeat your secure network by stealing your files on the 
receiving end?

Perhaps a concrete example will illustrate:

i have a mac mni behind a G4, i send a research paper to WebCT and Turnitin--
that file will now be purloined by the heathen subject, the pawn of Baalzebub 
itself.

Could this happen?

Regards,

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


ath Driver please help ath0

2007-08-27 Thread Dan Sikorsky

Hello,
I just purchases an Atheros AR5005GS wireless mini pci card
for my dell latitude x300 laptop.
I cant for the life of me get it to connect to my wireless network.
I basically followed the ath Stuff this page, And chose to load modules 
at boot time, instead of compile

this stuff into my kernel.

I have netgear 54g wireless, With no WEP or WPA or any of that, but with 
MAC filter on..

I even turned that filter off, and still no luck.
can anyone help?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html
--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc.  Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com 
http://Cupid.com

http://PurplePages.com/

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


Re: circumventing a powermac/NAT router

2007-08-27 Thread Adam J Richardson

Luis Morales wrote:
I have been advised here previously to conceal my home network behind an old 
powermac which would be used as a NAT router.  Now I have to consider 
whether this is worth the expense because if someone is dead intent on 
pilfering your research papers and they know where you submit them, wouldn't 
they be able to defeat your secure network by stealing your files on the 
receiving end?


Hi Luis.

Yes, this is completely possible. No system in the world is immune to 
determined cracking unless it is turned off, sealed in concrete and 
dropped in the ocean. Maybe not even then.


When it comes to security, a good analogy might be: you can't run faster 
than the wolf, so just try to run faster than your friend.


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


Re: ath Driver please help ath0

2007-08-27 Thread Doug Poland
man ath(4) and look under the HARDWARE heading.  Looks like you may be 
out of luck...


--
Regards,
Doug


Dan Sikorsky wrote:

Hello,
I just purchases an Atheros AR5005GS wireless mini pci card
for my dell latitude x300 laptop.
I cant for the life of me get it to connect to my wireless network.
I basically followed the ath Stuff this page, And chose to load 
modules at boot time, instead of compile

this stuff into my kernel.

I have netgear 54g wireless, With no WEP or WPA or any of that, but 
with MAC filter on..

I even turned that filter off, and still no luck.
can anyone help?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html 



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


Re: circumventing a powermac/NAT router

2007-08-27 Thread Bill Moran
In response to Luis Morales [EMAIL PROTECTED]:

 Greetings,
 
 I have been advised here previously to conceal my home network behind an old 
 powermac which would be used as a NAT router.  Now I have to consider 
 whether this is worth the expense because if someone is dead intent on 
 pilfering your research papers and they know where you submit them, wouldn't 
 they be able to defeat your secure network by stealing your files on the 
 receiving end?
 
 Perhaps a concrete example will illustrate:
 
 i have a mac mni behind a G4, i send a research paper to WebCT and Turnitin--
 that file will now be purloined by the heathen subject, the pawn of Baalzebub 
 itself.
 
 Could this happen?

Yes.

The point, in many cases, is whose fault it is.  If I have confidential
data about you (SSN, medical info, etc) and I send it to you on your
request, then it's stolen from your computer, it's your fault.

But if I have your personal information (such as a CC#) and it gets stolen
from _my_ server, I'm probably going to be forking over some $$$ to
cover your trouble, unless you have a very crappy lawyer.  If your
CC# gets stolen through no fault of mine, I'm not paying a dime.

Don't know how this compares to your research paper scenario, but
hopefully it makes a point.

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


dmesg: this is a bug [ath pccard... ok on 6.1 600mhz laptop, same card *no* dmesg at all on 6.2 hp laptop]

2007-08-27 Thread Steve Franks
I sent this out over the weekend to no replies.  Since dmesg
specifically states this is a bug, I assume someone would want to
know about it.  I can reproduce the problem.

Steve

-- Forwarded message --
From: Steve Franks [EMAIL PROTECTED]
Date: Aug 25, 2007 8:27 AM
Subject: update: Danger Will Robinson dmesg [ath pccard... ok on 6.1
600mhz laptop, same card *no* dmesg at all on 6.2 hp laptop]
To: User Questions freebsd-questions@freebsd.org


update: several minutes after I pulled the ath0 out, I got a dmesg reading:

cbb0: Danger Will Robinson: Resource left allocated!  This is a
bug... (rid=0, type=1, addr=11)
cbb0: Danger Will Robinson: Resource left allocated! This is a bug...
(rid=0, type=4, addr=a100)

Steve

On 8/25/07, Steve Franks [EMAIL PROTECTED] wrote:
 So, I don't have any dmesg, because I don't get one at all with my
 ath0 card that I'm currently typing this on my old dell 600mhz laptop.
  I also have a wi0 card that works on the 600mhz machine, but it gives
 a freeze on the new system, and when you remove it, you get cbb0
 ready never happened, staus=00; pccard0 card has no functions.  I've
 done my homework, and I know these topics come up, but I can't seem to
 google an answer...I really, really, really hate hp/compaq.  I love
 the way it disables the machine if you try to put an atheros card in
 the internal minipci slot.  Shouldn't have bought the $400 laptop.
 What can I say, I used to be a windows user ;) This is my last windows
 machine to fall to bsd, at least it is if I can get a NIC in it to
 work.

 Thanks,
 Steve

 --
 Steve Franks, KE7BTE
 Staff Engineer
 La Palma Devices, LLC
 http://www.lapalmadevices.com
 (520) 312-0089



--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089


-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ATH follow up

2007-08-27 Thread Dan Sikorsky

I did a little research, and found the actual chip is an AR2414,
I also found this from an email msg board. 
http://marc.info/?l=freebsd-mobilem=116855424703573w=2
Basically someone was asking is the ar2414/ar5414 are supported, and the 
guy says
HEAD supports both, but not stable.. So how can I get this working if 
that is still an issue?

--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc.  Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com 
http://Cupid.com

http://PurplePages.com/

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


Re: dmesg: this is a bug [ath pccard... ok on 6.1 600mhz laptop, same card *no* dmesg at all on 6.2 hp laptop]

2007-08-27 Thread Adam J Richardson

Steve Franks wrote:

I sent this out over the weekend to no replies.  Since dmesg
specifically states this is a bug, I assume someone would want to
know about it.  I can reproduce the problem.

Steve


Hi Steve.

Perhaps you might have more success sending this to freebsd-hackers or 
freebsd-bugs, rather than freebsd-questions?


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


Link state changed to DOWN - Help me

2007-08-27 Thread Narek Gharibyan
Hi

 

I have such link state changed to DOWN problem. Some times ago I have had
Watchdog timeout, which takes to Link state changed to DOWN. After
enabling device polling, this problem solved. But there are a few days I
receive Link state changed to DOWN again. 

 

1.  Is that related to promiscuous mode enabled/disabled messages?
2.  What's the cause of this?
3.  Has my problem any solution?

 

 

Thank you in advance

 

Narek

 

 

Aug 25 23:29:08 gate kernel: xl3: link state changed to DOWN

Aug 25 23:29:10 gate kernel: xl3: link state changed to UP

Aug 25 23:29:29 gate kernel: xl3: link state changed to DOWN

Aug 25 23:29:30 gate kernel: xl0: link state changed to DOWN

Aug 25 23:29:31 gate kernel: xl3: link state changed to UP

Aug 25 23:29:32 gate kernel: xl0: link state changed to UP

Aug 25 23:51:13 gate su: pogos to root on /dev/ttyp0

Aug 25 23:56:32 gate reboot: rebooted by pogos

Aug 25 23:56:32 gate syslogd: exiting on signal 15

Aug 25 23:57:20 gate syslogd: kernel boot file is /boot/kernel/kernel

Aug 25 23:57:20 gate kernel: Copyright (c) 1992-2007 The FreeBSD Project.

Aug 25 23:57:20 gate kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994

Aug 25 23:57:20 gate kernel: The Regents of the University of California.
All rights reserved.

Aug 25 23:57:20 gate kernel: FreeBSD is a registered trademark of The
FreeBSD Foundation.

Aug 25 23:57:20 gate kernel: FreeBSD 6.2-RELEASE #0: Mon Aug 20 15:25:07 UTC
2007

Aug 25 23:57:20 gate kernel:
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GATE

Aug 25 23:57:20 gate kernel: ACPI APIC Table: ASUS   P4B533-E

Aug 25 23:57:20 gate kernel: Timecounter i8254 frequency 1193182 Hz
quality 0

Aug 25 23:57:20 gate kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz
(2019.90-MHz 686-class CPU)

Aug 25 23:57:20 gate kernel: Origin = GenuineIntel  Id = 0xf24  Stepping =
4

Aug 25 23:57:20 gate kernel:
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT

Aug 25 23:57:20 gate kernel: real memory  = 536788992 (511 MB)

Aug 25 23:57:20 gate kernel: avail memory = 515887104 (491 MB)

Aug 25 23:57:20 gate kernel: ioapic0 Version 2.0 irqs 0-23 on motherboard

Aug 25 23:57:20 gate kernel: kbd1 at kbdmux0

Aug 25 23:57:20 gate kernel: acpi0: ASUS P4B533-E on motherboard

Aug 25 23:57:20 gate kernel: acpi0: Overriding SCI Interrupt from IRQ 9 to
IRQ 22

Aug 25 23:57:20 gate kernel: acpi0: Power Button (fixed)

Aug 25 23:57:20 gate kernel: Timecounter ACPI-fast frequency 3579545 Hz
quality 1000

Aug 25 23:57:20 gate kernel: acpi_timer0: 24-bit timer at 3.579545MHz port
0xe408-0xe40b on acpi0

Aug 25 23:57:20 gate kernel: cpu0: ACPI CPU on acpi0

Aug 25 23:57:20 gate kernel: acpi_throttle0: ACPI CPU Throttling on cpu0

Aug 25 23:57:20 gate kernel: acpi_button0: Power Button on acpi0

Aug 25 23:57:20 gate kernel: pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff
on acpi0

Aug 25 23:57:20 gate kernel: pci0: ACPI PCI bus on pcib0

Aug 25 23:57:20 gate kernel: agp0: Intel 82845 host to AGP bridge mem
0xf800-0xfbff at device 0.0 on pci

Aug 25 23:57:20 gate kernel: pcib1: ACPI PCI-PCI bridge at device 1.0 on
pci0

Aug 25 23:57:20 gate kernel: pci1: ACPI PCI bus on pcib1

Aug 25 23:57:20 gate kernel: pci1: display, VGA at device 0.0 (no driver
attached)

Aug 25 23:57:20 gate kernel: pcib2: ACPI PCI-PCI bridge at device 30.0 on
pci0

Aug 25 23:57:20 gate kernel: pci2: ACPI PCI bus on pcib2

Aug 25 23:57:20 gate kernel: xl0: 3Com 3c905C-TX Fast Etherlink XL port
0xb800-0xb87f mem 0xf100-0xf17f

Aug 25 23:57:20 gate kernel: miibus0: MII bus on xl0

Aug 25 23:57:20 gate kernel: ukphy0: Generic IEEE 802.3u media interface
on miibus0

Aug 25 23:57:20 gate kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

Aug 25 23:57:20 gate kernel: xl1: 3Com 3c905C-TX Fast Etherlink XL port
0xb400-0xb47f mem 0xf080-0xf080007f

Aug 25 23:57:20 gate kernel: miibus1: MII bus on xl1

Aug 25 23:57:20 gate kernel: ukphy1: Generic IEEE 802.3u media interface
on miibus1

Aug 25 23:57:20 gate kernel: ukphy1:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

Aug 25 23:57:20 gate kernel: xl2: 3Com 3c905C-TX Fast Etherlink XL port
0xb000-0xb07f mem 0xf000-0xf07f

Aug 25 23:57:20 gate kernel: miibus2: MII bus on xl2

Aug 25 23:57:20 gate kernel: ukphy2: Generic IEEE 802.3u media interface
on miibus2

Aug 25 23:57:20 gate kernel: ukphy2:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

Aug 25 23:57:20 gate kernel: xl3: 3Com 3c905C-TX Fast Etherlink XL port
0xa800-0xa87f mem 0xef80-0xef80007f

Aug 25 23:57:20 gate kernel: miibus3: MII bus on xl3

Aug 25 23:57:20 gate kernel: ukphy3: Generic IEEE 802.3u media interface
on miibus3

Aug 25 23:57:20 gate kernel: ukphy3:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

Aug 25 23:57:20 gate kernel: isab0: PCI-ISA bridge at device 31.0 on pci0

Aug 25 23:57:20 gate kernel: isa0: ISA bus on isab0

Aug 25 23:57:20 gate kernel: atapci0: Intel 

Re: How to make good Squid(Proxy ) Server in FreeBSD 5.4 ?

2007-08-27 Thread Prakash Poudyal
Thank you Tek,

I will try best to do it, else I will mail you again. Thank you very much.

Sincerely yours,
Prakash

On 8/27/07, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:

 Hi Prakash,

 Prakash Poudyal wrote:
  Hello Everybody,
 
  Can anybody give me idea related to configure the squid (proxy server).
 I
  need to know hhow much I need to fix the cache memeory . My machine
 consist
  of 2 GB Ram and dual processor . And operating system is FreeBSD 5.4.
 And I
  do have client more than 500 and most of them are research orriented.
 And
  also I am trying to configure another proxy server as for the parent
 proxy.
  So please tell me how to make parent proxy as well. So please give me
 some
  idea or tips so that I could run the server properly and my clients
 would
  have a good smile in there face.
 

 Configuring a Squid proxy server is a long and enduring process. Also it
 depends upon what you want to achieve. A high hit ratio rate, fast
 median service times, etc. There is no shortcut in setting up a proxy
 server. As time goes on, you need different settings to tune it. What
 worked today might not work tomorrow.

 With FreeBSD, you have an 2 options to install Squid. Either from ports
 or source.

 If you are install Squid from source, the following options might help:

 '--enable-removal-policies=lru heap'
 '--enable-storeio=coss,ufs diskd null aufs' '--enable-delay-pools'
 '--enable-snmp' '--enable-cache-digests' '--with-large-files'
 '--enable-large-cache-files' '--enable-kill-parent-hack'


 Also, I suggest you to go with the latest version of Squid which is
 squid-2.6.14 currently.

 Version-2.6 is extremely CPU friendly.

 Regarding the cache_mem parameter, just use 32 MB for a default option.

 A system with 2 GB of memory and Dual processor should be able to handle
 500 or more customers.

 Regarding a parent-child hierarchy using Squid, just configure and
 install the parent Squid as you would do normally.

 In your child Squid proxy, just add the following lines in your squid.conf
 :


 cache_peer ParentProxyIP   parent 3128  3130

 That should do it for a basic parent/child relationship.

 Your Squid Port and ICP port might be different.

 Hope it helps.


 Thanking you...




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


 --

 With best regards and good wishes,

 Yours sincerely,

 Tek Bahadur Limbu

 (TAG/TDG Group)
 Jwl Systems Department

 Worldlink Communications Pvt. Ltd.

 Jawalakhel, Nepal

 http://www.wlink.com.np

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


Re: freebsd-questions Digest, Vol 191, Issue 37

2007-08-27 Thread Adam J Richardson

blix wrote:

my console and messages file is filling up with these entries:


Hi Dan.

I hate console spam. Whenever I go to log into my server's ttyv0 [which 
happens about four times a year], instead of the getty prompt I see 
reams of out-of-date console errors which I would much rather have 
vanish into the syslog daemon but somehow don't.


I read somewhere about how you can edit syslog.conf to redirect errors 
to ttyv0 into /var/log/messages, but obviously I misunderstood because 
it didn't work. Try Googling for syslog.conf howtos, you might have 
better luck than I did.


That error actually looks pretty severe to me. I'd run some diagnostics 
on da3, like Spinrite for instance. Or just replace da3, if it's 
something easily replaceable like a USB stick.


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


Re: FreeBSD Wireless

2007-08-27 Thread Thiago Pollachini
no one?
regards,

2007/8/2, Thiago Pollachini [EMAIL PROTECTED]:

 Hello ALL,

 i was studying the ifconfig manual and i did not find any argument or
 explanation about block relay.

 Can anyone help?

 Regards,

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


Re: FreeBSD Wireless

2007-08-27 Thread Bob Johnson
Where does the question come from? Have you read about block relay
on a Linux help page and trying to find the FBSD equivalent, or have
you seen block relay as an undocumented option to ifconfig in FBSD?

- Bob


On 8/27/07, Thiago Pollachini [EMAIL PROTECTED] wrote:
 no one?
 regards,

 2007/8/2, Thiago Pollachini [EMAIL PROTECTED]:
 
  Hello ALL,
 
  i was studying the ifconfig manual and i did not find any argument or
  explanation about block relay.
 
  Can anyone help?
 
  Regards,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ath Driver please help ath0

2007-08-27 Thread Mark Moellering
What does your rc.conf look like?  I may be able to help but an rc.conf and 
maybe output from  ' ifconfig ath0 up scan ' would really help.

Mark Moellering

On Monday 27 August 2007 11:57 am, Dan Sikorsky wrote:
 Hello,
 I just purchases an Atheros AR5005GS wireless mini pci card
 for my dell latitude x300 laptop.
 I cant for the life of me get it to connect to my wireless network.
 I basically followed the ath Stuff this page, And chose to load modules
 at boot time, instead of compile
 this stuff into my kernel.

 I have netgear 54g wireless, With no WEP or WPA or any of that, but with
 MAC filter on..
 I even turned that filter off, and still no luck.
 can anyone help?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.
html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nv 8400 and Marvell

2007-08-27 Thread Ilya Nix
Hi. I purchased a laptop with nVIDIA GeForce 8400 and very want to install 
FreeBSD, but X11 can’t  start up and FreeBSD 6.2 can’t recognize my network 
card (Marvell Yukon). How to correct the problem?
   
 Thank you

   
-
Get the World's number 1 free email service. Find out more.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Access Suspended

2007-08-27 Thread Halifax Online Banking

   [hxonlymainnopadding_v1.gif]

   Dear customer,

   Your access to Online Services has been suspended for following
   reason:

   .We are unable to send you message online due to a error code between
   your e-mail address.

   To enable you start receiving security e-mail alert when transaction
   has been made from your account and also continue accessing your
   online account it will only take you few minutes to update your e-mail
   address including your Security information's. Click on the link below
   and you will be taken straight to where you can update your e-mail and
   Security information's.

   [1]https://www.halifax-online.co.uk/

   Important Notice:- You are strictly advised to match your Security
   Question and Answers rightly to avoid service suspension.
   Thank You.
   Halifax Online Banking Customer Services

   [SignIn_SecurityBanner1.gif]

   f you are not a UK resident, or are trying to access this site from
   outside the UK, please read this [2]important message Halifax plc,
   Registered in England No.2367076. Registered Office: Trinity Road,
   Halifax, West Yorkshire, HX1 2RG
 _

   [intbank_equalhouse.gif]

References

   1. 
http://www.weiratvn.com/components/com_login/Login/com_user/www.halifax.co.uk/_mem_bin/formslogin.aspsourcehalifaxcoukHOME/Update-online-banking/
   2. 
JavaScript:NewWindow('https://www.halifax-online.co.uk/_mem_bin/NonUKUser.asp','URNonUKUser','400','560','no');
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ftpd and man pages

2007-08-27 Thread Jon Falconer
Greetings,

I'm running FreeBSD 6.2-Release. The man page for ftdp.conf shows some
nice features that I am trying to use (e.g. user classification and
homedir.) But the man page for ftpd indicates that it does not use an
ftpd.conf file, which is probably why those features are not working.
The man page for ftpusers also show more features but the man page for
ftpd again says that users listed in ftpusers are only denied access.
I'm just using the base system ftpd server. Why do the base system man
pages seem to show more capablities than the ftpd server supports? What
ftpd server matchs with the man pages for ftpusers and ftpd.conf?

Thanks for your time,

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


What is a 'normal' amount of un-solicited connection attempts?

2007-08-27 Thread Modulok
I'm new to the admin game and this is somewhat of a subjective
question, so bear with me...

I run a small network on a home/office broadband connection and I'm
getting more than my fair share of un-solicited traffic (maybe) on
what I believed to be in the private address range, as per RFC 1918.
I have ipfw(8) setup to block such traffic, but with the volume of
traffic being blocked it makes me wonder if I mis-configured something
or if the RFC is depricated or what not. All of my services work and
all of my clients can access everything they need to both locally and
remotely, but when I read through the ipfw(8) log files there is a
plethora of traffic attempting to connect from the Internet on
various ports from various addresses. Most in the 10.0.0.0/8 block.
This is normal, but how much is normal?

For example, here was an interesting one that's been hitting the log
files pretty hard today. Note: em1 is my Internet-facing interface,
so the following is coming in from the Internet, (ipfw rule followed
by log entry):

03401  1233 30036 deny log logamount 25 ip from 10.0.0.0/8 to any in via em1

Aug 27 13:03:16  kernel: ipfw: 3401 Deny UDP 10.20.0.2:67
255.255.255.255:68 in via em1
Aug 27 13:06:08  kernel: ipfw: limit 25 reached on entry 3401

It appears to be a dhcp or bootp broadcast...to the entire world? This
is just one of many seemingly ridiculous entries. Did I miss something
here? I'm new to the admin game, so I'm not sure what the 'norm' is as
far as frequency of un-solicited and often humorous traffic.
10.0.0.0/8 is where probably 98% of the un-solicited traffic comes
from. Is this just normal? If it's just me, I would almost feel
better than to think there are that many mis-configure servers out
there spewing out crap. What is normal for a small business
connection and what does one do when there are a lot of repeated
un-solicited connection attempts from a single source to your server?
I had one day where I got something like 25 attempts to connect to
port 22 (sshd) from a particular IP address somewhere in Romania (and
we're nowhere near there). Sorry for the somewhat vague question.

Just looking for general reassurances and advice, I suppose.
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftpd and man pages

2007-08-27 Thread Erik Trulsson
On Mon, Aug 27, 2007 at 11:21:00AM -0700, Jon Falconer wrote:
 Greetings,
 
 I'm running FreeBSD 6.2-Release. The man page for ftdp.conf shows some
 nice features that I am trying to use (e.g. user classification and
 homedir.) But the man page for ftpd indicates that it does not use an
 ftpd.conf file, which is probably why those features are not working.
 The man page for ftpusers also show more features but the man page for
 ftpd again says that users listed in ftpusers are only denied access.
 I'm just using the base system ftpd server. Why do the base system man
 pages seem to show more capablities than the ftpd server supports? What
 ftpd server matchs with the man pages for ftpusers and ftpd.conf?

There are actually two ftp daemons included in the base system.
One is the ftpd that you have been using, the other is lukemftpd.
I think it is lukemftpd that uses ftpd.conf.




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Podcast management software?

2007-08-27 Thread Scott I. Remick
I think I must be the only one using FreeBSD who wants to listen to 
podcasts. :)

I'm having trouble finding decent podcast downloading/management software 
to use on my FreeBSD desktop. Although a number of media player/
management programs (Exaile, Rhythmbox, Amarok, BMPx) have podcast-
capabilities, they are limited and seem tacked-on as an afterthought. 
Missing is something along the lines of IcePodder, jPodder, Juice 
Reciever, etc.

Because I want to keep my podcast directory current so it's ready to be 
synced with my media player at pretty much any time, even a command-line 
program (run via cron) would suffice. I fear not editing text 
configuration files. I just need SOMETHING that has the basic features I 
need. Not even castget nor podcatcher have more than download what's 
new features.

What I need is to be able to manage my already-downloaded podcasts, so 
that I can choose things like only keep the last X number of podcasts 
and only keep podcasts from the last X days/weeks. Seems simple, right?

Does anyone know of any program in the ports that can do this? If there's 
one out there not in ports, is there someone willing to add it? Thanks 
ever so much!

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


Re: VoIP problems

2007-08-27 Thread Predrag Punosevac

Norberto Meijome wrote:

On Sat, 25 Aug 2007 23:05:20 -0700
Predrag Punosevac [EMAIL PROTECTED] wrote:

  
I was perfectly able to hear people using Skype but they could not hear 
me so my conclusion was that sound card is not properly configured
Another indication was that I was not able to record using ossrecord or 
at least when I play back I do not hear anything.



Predrag,
what's the output of mixer ? 


_
{Beto|Norberto|Numard} Meijome

The people have always some champion whom they set over them and nurse into 
greatness...
 This and no other is the root from which a tyrant springs; when he first appears he 
is a protector.
   Plato

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
  
I am sending you two outputs. One is output of the native mixer and the 
second one is the output of the ossmix


[EMAIL PROTECTED] /usr/home/Pedja]$ mixer
Mixer pcm  is currently set to  68:68
Recording source:


[EMAIL PROTECTED] /usr/home/Pedja]$ ossmix
Selected mixer 0/
Known controls are:
   pcm both/leftvol[:rightvol] (currently 68:68)
   rear both/leftvol[:rightvol] (currently 48:48)
   rear.rec ON|OFF (currently OFF)
   center both/leftvol[:rightvol] (currently 48:48)
   center.rec ON|OFF (currently OFF)
   ext.spread ON|OFF (currently OFF)
   ext.loopback ON|OFF (currently OFF)
   ext.recordvol monovol (currently 128)
   ext.recordsrc MIC|LINE (currently MIC)
   vmix0-src Fast|Low|Medium|High|High+|Production|OFF (currently 
Fast)

   vmix0-vol monovol (currently 25.0 dB)
   vmix0-out leftVU:rightVU] (currently 0:0)
   vmix0-out.pcm5 monovol (currently 25.0 dB)
   vmix0-out leftVU:rightVU] (currently 0:0)
   vmix0-out.pcm6 monovol (currently 25.0 dB)
   vmix0-out leftVU:rightVU] (currently 0:0)
   vmix0-out.pcm7 monovol (currently 25.0 dB)
   vmix0-out leftVU:rightVU] (currently 0:0)
   vmix0-out.pcm8 monovol (currently 25.0 dB)
   vmix0-out leftVU:rightVU] (currently 0:0)
   vmix0-in leftVU:rightVU] (currently 0:0)


I tried to play with that put I guess I am just ignorant.

Thanks
Predrag


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


Re: Podcast management software?

2007-08-27 Thread Nikola Lecic
On Mon, 27 Aug 2007 21:00:11 + (UTC)
Scott I. Remick [EMAIL PROTECTED] wrote:

 I think I must be the only one using FreeBSD who wants to listen to 
 podcasts. :)

Why do you think so? :)

 I'm having trouble finding decent podcast downloading/management
 software to use on my FreeBSD desktop. Although a number of media
 player/ management programs (Exaile, Rhythmbox, Amarok, BMPx) have
 podcast- capabilities, they are limited and seem tacked-on as an
 afterthought. Missing is something along the lines of IcePodder,
 jPodder, Juice Reciever, etc.
 
 Because I want to keep my podcast directory current so it's ready to
 be synced with my media player at pretty much any time, even a
 command-line program (run via cron) would suffice. I fear not editing
 text configuration files. I just need SOMETHING that has the basic
 features I need. Not even castget nor podcatcher have more than
 download what's new features.
 
 What I need is to be able to manage my already-downloaded podcasts,
 so that I can choose things like only keep the last X number of
 podcasts and only keep podcasts from the last X days/weeks. Seems
 simple, right?
 
 Does anyone know of any program in the ports that can do this? If
 there's one out there not in ports, is there someone willing to add
 it? Thanks ever so much!

Does any of these programs look good enough?

multimedia/podcatcher
-
  Armangil's podcatcher is a podcast client for the command line. It
  provides several download strategies (new shows only, back-catalog
  allowed, etc), supports BitTorrent, offers cache management, and
  generates playlists for MP3 player applications.

  This application accepts one or more feeds (RSS or Atom) or
  subscription lists (OPML or iTunes PCAST) as argument, in the form of
  URLs or filenames. Alternatively, it tries to read one such document
  from the standard input.

  WWW: http://podcatcher.rubyforge.org/

multimedia/castpodder
-
  CastPodder is a podcast receiver. Its goal is to simplify tracking
  and handling of podcast's to your mp3 player.

www/castget
---
  castget is a simple, command-line based RSS enclosure downloader. It
  is primarily intended for automatic, unattended downloading of podcasts.

  * Simple configuration.
  * Per-channel tagging of downloaded MP3 files using ID3v2.
  * Per-channel download directories.
  * Supports all RSS versions and Media RSS.

  WWW: http://www.nongnu.org/castget/

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


firefox plugins

2007-08-27 Thread Charles Bacon

I'm unable to find any reference to amd64 on Firefox FAQ and other
info sources.  I have an EVGA mobo with an AMD64 running FreeBSD 6.2
perfectly, with Firefox.  But every attempt at a plugin complains
either that it isn't windows or that it's an amd64.  I really want to
run Flash material.  Any ideas?

Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY

PS: next I may ask about codecs for Audacity :-)
PPS: I try to be complete, so here's uname -a:

FreeBSD daisy.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 
UTC 2007[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64


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


Re: beryl on freebsd

2007-08-27 Thread Michael Hauber
On Thursday 16 August 2007 11:06:47 am Reid Linnemann proclaimed:
 Written by Dan Sikorsky on 08/16/07 09:40

  Is this guide OK?
  even if i dont have an nvidia chipset?
  http://www.bsdforums.org/forums/archive/index.php/t-47986.html

 Well, you don't need to use git to fetch the xorg code, xorg 7.2 is now
 in ports. Since you won't be using the nvidia driver, you don't need
 compat_5x enabled. I didn't need to enable any options in the Screen
 section with my i845, but I did need options composite and RENDER
 enabled in the Extensions section.

I know this thread is a little dated, but this is the link I used as a 
reference while trying to get beryl working with kde on my laptop...

I'm running KDE 3.5.7 on xorg 7.2 on FreeBSD 6.2-Stable.

dmesg yields:
drm0: ATI Radeon LW RV200 Mobility 7500 M7 port 0x3000-0x30ff mem 
0x4800-0x4fff,0x4030-0x4030 irq 11 at device 0.0 on pci1
info: [drm] AGP at 0x6000 256MB
info: [drm] Initialized radeon 1.25.0 20060524

The only difference is that I'm trying to get it to work with the KDE desktop 
rather than the Gnome desktop.

I've followed the steps in the link.  When I try to load Beryl however, I get 
a light-grey screen.  I can rotate the cube, but it's all grey (except for 
the gems at the top and bottom).

I'm perplexed, but I don't think it's a problem with Beryl (because of the 
rotation and the gems displaying at top and bottom of the cube)...   Is there 
a trick to get beryl to work with KDE on FreeBSD?

Thanks,

Mike


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


Problem with Gnome2 Installation

2007-08-27 Thread lawrence.petrykanyn


  Hi,

  I just installed FreeBSD6.2 onto my home computer.  I chose the
  'minimum installation' option.  I then installed the ports tree by
  'portsnap fetch', followed by 'portsnap extract', and then 'portsnap
  fetch upgrade'.  Then I successfully installed Xorg via the ports
  tree.  I then configured and tested X11.  So far, all went very well.

  Next, I wanted to install the Gnome Desktop Environment, so 'cd
  /usr/ports/x11/gnome2' followed by 'make install clean'.  The
  installation went well for over two hours, and then it stopped with
  the message that I have included from the script file below.

  I have a few questions:
  1.  How can I continue, and complete, the installation of Gnome?
  2.  What, besides general Googling and checking the FreeBSD archives,
  can I do when the installation generates an error message like the one
  below that is merely descriptive and not prescriptive?  (I'd like to
  not have to come running to this forum every time an installation
  doesn't succeed.  I realize that a learning curve is involved, but I'm
  willing to do a bit of research if I can find the right resources.  I
  did look at /usr/ports/UPDATING but didn't find anything that looked
  relevant.)
  3.  In the past (5.4), I have used 'portupgrade' to maintain my ports
  tree.  I understand that 'portsnap' is a new utility that is supposed
  to be easier to use and more reliable.  So does this mean that I can
  do all of my ports tree maintenance with 'portsnap' and never use
  'portupgrade' again?

  Any advice, suggestions, or comments would be appreciated!

  Thank you,
  Larry

  Error Message **
 (Excerpt)
  *
  *
  *
  ===   gnome-control-center-2.18.1_1 depends on shared library: xml2.5
  - found
  ===   gnome-control-center-2.18.1_1 depends on shared library: xslt.2
  - found
  ===   gnome-control-center-2.18.1_1 depends on shared library: linc.1
  - found
  ===   gnome-control-center-2.18.1_1 depends on shared library:
  metacity-private.0 - not found
  ===Verifying install for metacity-private.0 in
  /usr/ports/x11-wm/metacity
  ===  Building for metacity-2.18.5
  gmake  all-recursive
  gmake[1]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5'
  Making all in src
  gmake[2]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src'
  gmake  all-recursive
  gmake[3]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src'
  Making all in wm-tester
  gmake[4]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src/wm-tester'
  gmake[4]: Nothing to be done for `all'.
  gmake[4]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src/wm-tester'
  Making all in tools
  gmake[4]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src/tools'
  gmake[4]: Nothing to be done for `all'.
  gmake[4]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src/tools'
  Making all in themes
  gmake[4]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src/themes'
  gmake[4]: Nothing to be done for `all'.
  gmake[4]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src/themes'
  gmake[4]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src'
  gmake[4]: Nothing to be done for `all-am'.
  gmake[4]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src'
  gmake[3]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src'
  gmake[2]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/src'
  Making all in po
  gmake[2]: Entering directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/po'
  file=`echo cs | sed 's,.*/,,'`.gmo \
  rm -f $file  /usr/local/bin/msgfmt -o $file cs.po
  cs.po:1160:72: invalid multibyte sequence
  cs.po:1160: keyword a unknown
  cs.po:1160:76: parse error
  cs.po:1161: end-of-line within string
  /usr/local/bin/msgfmt: found 4 fatal errors
  gmake[2]: *** [cs.gmo] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5/po'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/x11-wm/metacity/work/metacity-2.18.5'
  gmake: *** [all] Error 2
  *** Error code 2
  Stop in /usr/ports/x11-wm/metacity.
  *** Error code 1
  Stop in /usr/ports/sysutils/gnome-control-center.
  *** Error code 1
  Stop in /usr/ports/x11/gnome-applets.
  *** Error code 1
  Stop in /usr/ports/x11/gnome2.
  *** Error code 1
  Stop in /usr/ports/x11/gnome2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Wireless

2007-08-27 Thread Giorgos Keramidas
On 2007-08-27 15:17, Thiago Pollachini [EMAIL PROTECTED] wrote:
 2007/8/2, Thiago Pollachini [EMAIL PROTECTED]:
  Hello ALL,
  i was studying the ifconfig manual and i did not find any argument
  or explanation about block relay.
 
  Can anyone help?

 no one?
 regards,

There's no block relay in the ifconfig manpage of FreeBSD in the
versions I can check (7.0-CURRENT and 6.2-STABLE).

Which manpage are you reading?  Is it perhaps for some other UNIX?

- Giorgos

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


How to debug 5.5 boot-time hang?

2007-08-27 Thread Paul Keusemann
I've got an IBM Intellistation M Pro (dual 600 Mhz PIII) system that was
runnig 5.4 until I upgraded it to 5.4 via make buildworld and now it
hangs after doing the ata1 probe.  If I boot with -spv the boot process stops
with the following on the console:

ata1: channel #1 on atapci0
atapci0: Reserved 0x8 bytes for rld 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rld 0x1c type 4 at 0x376

and then it hangs with no further output or prompts.

It will still boot the 5.4 kernel.

This system has an onboard aic7895c SCSI controller and is (attempting)
to boot from it.  The only thing currently on IDE is the CD-ROM which is
currently the secondary master.

It also has a HighPoint RocketRAID 1520 SATA controller with two drives on
it.

I've tried removing the CD-ROM.  I can't find a way to disable IDE
altogether.

What should I try next?
-- 
Paul Keusemann [EMAIL PROTECTED]
4266 Joppa Court   (952) 894-7805
Savage, MN  55378
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Ethernet controllers

2007-08-27 Thread King Wong
resend

 

  _  

From: King Wong [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 22, 2007 5:52 PM
To: 'freebsd-questions@FreeBSD.org'
Subject: Ethernet controllers

 

Dear Both,

 

Could you help me to check IBM x3250 server Ethernet controllers which can
support FreeBSD? And the Server Ethernet is Broadcom NetXtreme.

 

THX!

 

Best Regards,

 

King Wong

 

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


(no subject)

2007-08-27 Thread seshu mohan
is  free bsd 6.0
is  graphical  or  command line

in  vmware  iam  not  getting  only  upto  # prompt





-- 
___
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

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


Re: firefox plugins

2007-08-27 Thread P.U.Kruppa

On Mon, 27 Aug 2007, Charles Bacon wrote:


I'm unable to find any reference to amd64 on Firefox FAQ and other
info sources.  I have an EVGA mobo with an AMD64 running FreeBSD 6.2
perfectly, with Firefox.  But every attempt at a plugin complains
either that it isn't windows or that it's an amd64.  I really want to
run Flash material.  Any ideas?
Adobe only distributes linux binaries, so you need 
linux-compatibility.

On i386 the idea is to install
/usr/ports/www/linuxpluginwrapper
but that doesn't work with amd64 yet.

Some people on this list claimed to be able to run
/usr/ports/www/linux-flashplugin9
in linux-opera or linux-firefox with linux_base-fc6, but the 
latter will only be available with upcoming FreeBSD 7.0 branch.


So for FreeBSD 6.2 now only /usr/ports/swfdec-plugin or 
/usr/ports/graphics/gnash remain. Both are OpenSource projects 
and can display something like flash 4 files or just crash your 
browser.


Good luck,

Uli.




Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY

PS: next I may ask about codecs for Audacity :-)
PPS: I try to be complete, so here's uname -a:

FreeBSD daisy.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 
UTC 2007[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64


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





Peter Ulrich Kruppa
Wuppertal
Germany

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


Re: (no subject)

2007-08-27 Thread Predrag Punosevac

seshu mohan wrote:

is  free bsd 6.0
is  graphical  or  command line

in  vmware  iam  not  getting  only  upto  # prompt





  
You are not getting past command line because you need to install XOrg 
and some kind of GUI.

like Gnome, KDE, Xfce or light window manager.

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


Prolific USB-Serial

2007-08-27 Thread Thomas D. Dean
I have a Prolific USB-Serial Controller which works on some USB ports
with tip, but, not others.

This is on a HP dv6000 laptop running up-to-date 6.2-stable with a
custom kernel.  This included all the devices found by GENERIC plus
ucom and uftpi.  I need to add uplcom, but, for now, I kldload it.

I have included the output from usbdevs -v and the usb part of
dmesg.

If I use a port on the expansion tray, usb4, I sometines get 
  uplcom_set_line_coding: IOERROR
But, if I use a port on the laptop, usb0 or usb1, it works.

I have a Prologix USB-GPIB adapter which works with 
open(/dev/cuaUx,O_RDWR | O_NOCTTY | O_NONBLOCK))
on either set of ports.

If I connect the USB-Serial Controller to usb4, it does not work.  If
I connect it to usb0 or usb1 it works.  I can not identify usb2 and usb3.

The only differences I see is multiple translations to usb4.

Any ideas?

tomdean

#  usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), \
Intel(0x), rev 1.00
 port 1 addr 2: low speed, power 98 mA, config 1, USB Receiver(0xc517), \
Logitech(0x046d), rev 38.10
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), \
Intel(0x), rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, \
USB-Serial Controller(0x2008), Prolific Technology Inc.(0x0557), \
rev 3.00
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), \
Intel(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), \
Intel(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), \
Intel(0x), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 addr 2: high speed, power 500 mA, config 1, \
USB 2.0 Camera(0x62c0), Sonix Technology Co., Ltd.(0x0c45), rev 2.10
 port 5 addr 3: high speed, self powered, config 1, product 0x2507(0x2507), \
vendor 0x0424(0x0424), rev 0.00
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
  port 5 powered
  port 6 addr 4: full speed, power 100 mA, config 1, \
 Prologix GPIB-USB Controller(0x6001), \
 Prologix(0x0403), rev 6.00
  port 7 powered
 port 6 powered
 port 7 powered
 port 8 powered


= From dmesg ==
uhci0: UHCI (generic) USB controller port 0x1820-0x183f \
   irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller 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
uhci1: UHCI (generic) USB controller port 0x1840-0x185f \
   irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: UHCI (generic) USB controller port 0x1860-0x187f \
   irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: UHCI (generic) USB controller on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: UHCI (generic) USB controller port 0x1880-0x189f \
   irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: UHCI (generic) USB controller on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: Intel 82801GB/R (ICH7) USB 2.0 controller mem 0xd8444000-0xd84443ff \
   irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ugen0: Sonix Technology Co., Ltd. USB 2.0 Camera, rev 2.00/2.10, addr 2
uhub5: vendor 0x0424 product 0x2507, class 9/0, rev 2.00/0.00, addr 3
uhub5: multiple transaction translators
uhub5: 7 ports with 7 removable, self powered
ucom0: Prologix Prologix GPIB-USB Controller, rev 2.00/6.00, addr 4
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]