Re: how to play online TV program

2007-10-05 Thread Predrag Punosevac

ronggui wrote:

I tried to use mplayer to play it, but failed.

[EMAIL PROTECTED] -playlist
http://citytv.csc.cityu.edu.hk/citytv/channel5/cap5.asx
MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Resolving citytv.csc.cityu.edu.hk for AF_INET6...
Couldn't resolve name for AF_INET6: citytv.csc.cityu.edu.hk
Resolving citytv.csc.cityu.edu.hk for AF_INET...
Connecting to server citytv.csc.cityu.edu.hk[144.214.108.130]: 80...
STREAM_ASF, URL: http://citytv.csc.cityu.edu.hk/citytv/channel5/cap5.asx
Resolving citytv.csc.cityu.edu.hk for AF_INET6...
Couldn't resolve name for AF_INET6: citytv.csc.cityu.edu.hk
Resolving citytv.csc.cityu.edu.hk for AF_INET...
Connecting to server citytv.csc.cityu.edu.hk[144.214.108.130]: 80...
size_confirm mismatch!: 30835 28271
Error while parsing chunk header
Failed, exiting.
Resolving citytv.csc.cityu.edu.hk for AF_INET6...
Couldn't resolve name for AF_INET6: citytv.csc.cityu.edu.hk
Resolving citytv.csc.cityu.edu.hk for AF_INET...
Connecting to server citytv.csc.cityu.edu.hk[144.214.108.130]: 80...
Cache size set to 320 KBytes

Playing http://netshsvr.cityu.edu.hk/citytv/channel5/cap5.nsc.
Resolving netshsvr.cityu.edu.hk for AF_INET6...
Couldn't resolve name for AF_INET6: netshsvr.cityu.edu.hk
Resolving netshsvr.cityu.edu.hk for AF_INET...
Connecting to server netshsvr.cityu.edu.hk[144.214.108.130]: 80...
STREAM_ASF, URL: http://netshsvr.cityu.edu.hk/citytv/channel5/cap5.nsc
Resolving netshsvr.cityu.edu.hk for AF_INET6...
Couldn't resolve name for AF_INET6: netshsvr.cityu.edu.hk
Resolving netshsvr.cityu.edu.hk for AF_INET...
Connecting to server netshsvr.cityu.edu.hk[144.214.108.130]: 80...
size_confirm mismatch!: 25700 19978
Error while parsing chunk header
Failed, exiting.
Resolving netshsvr.cityu.edu.hk for AF_INET6...
Couldn't resolve name for AF_INET6: netshsvr.cityu.edu.hk
Resolving netshsvr.cityu.edu.hk for AF_INET...
Connecting to server netshsvr.cityu.edu.hk[144.214.108.130]: 80...
Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)


Exiting... (End of file)


Further more, I have enquire that CityTV center, they give me such info
about the media format as follows:

our CityTV broadcasting service, will only entertain those media players
which can support/decode the following codec formats for streaming:-

- multimedia data file bears the (asf/asx) file extensions ;
- streaming formats using in CityTV:
Video : Microsoft Mpeg- 4 codec V2 [320 x 240, 25fps]
Audio : Mpeg Layer-3 (16KB/s, 11kHz, mono)


Any suggestions? Thanks.


  
I watch TV and listen to a radio via Tunapie application. (Over 100 TV 
and over 1000 radio channels).
My default player for Tunapie is MPlayer but I must concede that VLC is 
exceptional and that I have it as well on my system. My default radio 
player for Tunapie is XMMS.

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


Re: good replacement for open office

2007-10-05 Thread michaelgrunewald
Frank Jahnke [EMAIL PROTECTED] writes:

 Mine are always heavy in equations and chemistry.

I had a five minute try of openoffice writer's equation editor, and my
first impression was that it renders equations very poorly. It seems
to do this even worse thant MS Word.

Since you seem to use the equation feature quite intensively, maybe
you have any clue on making the equation editor perform better.

For my personal use, I stick to TeX, but some people in my
surroundings are looking for a way out of MS-Word.

To those that might be annoyed by the topic shifting, I present my
excuses.
-- 
Cheers,
Michaël G.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with www.freebsd.org

2007-10-05 Thread Fernando Apesteguía
On 10/4/07, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Fernando Apesteguía wrote:
 
  I'm having some problems with the FreeBSD site. Basically, when I type
  www.freebsd.org in the address bar in Firefox I can't access the web.
  I get always a timeout.

 snip

  I tried just now:
  -
  [EMAIL PROTECTED] ~]$ traceroute www.freebsd.org
  traceroute to www.freebsd.org (32.1.4.248), 30 hops max, 40 byte packets

 (and it didn't work).  snip

  Right now, it works:
 
  [EMAIL PROTECTED] ~]$ ping www.freebsd.org
  PING www.freebsd.org (69.147.83.33) 56(84) bytes of data.

 32.1.4.248 is an ATT address, and I don't think
 freebsd.org should ever be there (do we have a Florida
 mirror?).  69.147.83.33 is Yahoo!, and I! think!
 that! seems! a! lot! more! correct! ;-)

 DNS problems/poisoning, perhaps?

It could be. Does it means that my ISP is responsible for this? Should
I contact them?

Cheers


 Kevin Kinsey
 --
 One nuclear bomb can ruin your whole day.

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


Re: minimal install is too big

2007-10-05 Thread Wojciech Puchar

specs if I could get the general system small enough.

The minimal install of FreeBSD as from the developers is about 130MB.
I want to get something working on a 8MB flash. (For those curious,
it's a ethernet NAS device)


compressed kernel (well stripped) 1.5MB
loader etc 300kB
libs - ca 2MB

4MB for programs. should fit.

if not, and there is enough ram, use mfsroot.gz so everything gets 
compressed and you could have about 16-20MB of binaries.



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


Re: Problems with www.freebsd.org

2007-10-05 Thread Fernando Apesteguía
On 10/5/07, Dimiter Ivanov [EMAIL PROTECTED] wrote:
 Yesterday i had problems too, i couldn't open www.freebsd.org with a
 browser, but pinging it was possible.

 I thought that my ISP was the problem so i switched to the other one
 (we have 2 ISPs in the office) and then again the page did not work.

 I'm  just writing to tell you that you are not alone :)

OK  ;)

I'm located in Spain. From the office I can connect directly, without
any problems. But not from my home.

Is there any kind of load balancer or virtual server or something in
the freebsd site that could be working wrong?

Cheers


 I'm located in bulgaria. (the bulgarian mirror worked fine)

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


Re: minimal install is too big

2007-10-05 Thread Dmitry Gorbik
On Thu, 4 Oct 2007 21:11:14 -0700 (PDT)
Tim Judd [EMAIL PROTECTED] wrote:

 Hi all,
 
 Recently, for pure entertainment and a little bit of a experience
 thing, I have been looking and/or finding many devices that have linux
 embedded.  While in of itself the fact that it works, I'm not
 discounting.  But I'd like to expand it or get it running on a system
 that I am familiar with.  So I was playing with the idea of using
 FreeBSD on such devices, and I would deal with the individual hardware
 specs if I could get the general system small enough.
 
 The minimal install of FreeBSD as from the developers is about 130MB. 
 I want to get something working on a 8MB flash. (For those curious,
 it's a ethernet NAS device)
 
 picobsd is discontinued, nanobsd claims it can fit in 64MB.  I'd even
 go with some NetBSD flavor, as long as it's not linux.  I've done
 some research and would like to see this happen, but may just end up
 using the GPL code from Linksys to get it working as I need it to.
 
 Thanks for any update/idea/clue.
 
 If opportunity doesn't knock, build a door.
 I can is a way of life.
 More and Bigger is not always Better.
 The road to success is always uphill.
 
 

 
 Be a better Globetrotter. Get better travel answers from someone who knows. 
 Yahoo! Answers - Check it out.
 http://answers.yahoo.com/dir/?link=listsid=396545469
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

See livecd Frenzy — http://frenzy.org/ua/eng That is livecd that uses 
compressed UFS (GEOM_ugz, if i'm not mistaken). Maybe something interesting for 
you?


signature.asc
Description: PGP signature


Re: Managing very large files

2007-10-05 Thread Jorn Argelo

Steve Bertrand wrote:

man 1 split

(esp. -l)
  

That's probably the best option for a one-shot deal like this.  On the
other hand, Perl itself provides the ability to go through a file one
line at a time, so you could just read a line, operate, write a line (to
a new file) as needed, over and over, until you get through the whole
file.

The real problem would be reading the whole file into a variable (or even
multiple variables) at once.



This is what I am afraid of. Just out of curiosity, if I did try to read
the entire file into a Perl variable all at once, would the box panic,
or as the saying goes 'what could possibly go wrong'?

Steve
  


Check out Tie::File on CPAN. This Perl module treats every line in a 
file as an array element, and the array element is loaded into memory 
when it's being requested. In other words: This will work great with 
huge files such as these, as not the entire file is loaded into memory 
at once.


http://search.cpan.org/~mjd/Tie-File-0.96/lib/Tie/File.pm

Jorn


___
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: Problems with www.freebsd.org

2007-10-05 Thread Dimiter Ivanov
Yesterday i had problems too, i couldn't open www.freebsd.org with a
browser, but pinging it was possible.

I thought that my ISP was the problem so i switched to the other one
(we have 2 ISPs in the office) and then again the page did not work.

I'm  just writing to tell you that you are not alone :)

I'm located in bulgaria. (the bulgarian mirror worked fine)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: autoconf failure

2007-10-05 Thread Barry Byrne
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Chad Perrin
 Sent: 04 October 2007 00:35
 To: FreeBSD Questions
 Subject: autoconf failure
 
 First, portversion reports as follows:
 
   # portversion -v|grep -v =
   autoconf-2.53_4   needs updating (port has 2.61_2) 
   autoconf-2.59_3   needs updating (port has 2.61_2)
 
 Then, /usr/ports/UPDATING fails to note anything about the 
 new autoconf
 version other than the following:
 
   The ports tree has been migrated to the latest version of autoconf,
   2.61.  Versions 2.53 and 2.59 were declared obsolete and removed.
 
 Finally, using portupgrade to try to update my autoconf version yields
 the following results:
 
   ===   autoconf-2.61_2 is already installed
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of 
 devel/autoconf261
 without deleting it first, set the variable 
 FORCE_PKG_REGISTER
 in your environment or the make install command line.
   *** Error code 1
 
   Stop in /usr/ports/devel/autoconf261.
   *** Error code 1
 
   Stop in /usr/ports/devel/autoconf261.
   ** Command failed [exit code 1]: /usr/bin/script -qa \
   /tmp/portupgrade.31535.1 env UPGRADE_TOOL=portupgrade \
   UPGRADE_PORT=autoconf-2.53_4 UPGRADE_PORT_VER=2.53_4 make reinstall
   ---  Restoring the old version
 
 I also get this:
 
   ** Port marked as IGNORE: x11-servers/xorg-server-snap:
   is outdated
 
 I'm not entirely sure what that's about.
 
 I imagine it wouldn't be safe to `make deinstall` all things autoconf,
 then try to `make install` autoconf.  Am I wrong about that?  Is there
 some other way to fix this?  Have I overlooked something obvious?
 

Chad,

Had the same thought's here - don't know for certain that it's the right
thing to do, but I did:

cd /usr/ports/devel/autoconf261
make deinstall
make reinstall

This seemed to remove the older versions of autoconf.

Following that a portupgrade -av built the few other ports that had been
skipped previously.

Cheers,

Barry

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


Re: Strange df

2007-10-05 Thread Brian A. Seklecki
The math is off because some space is reserved for UID 0 / root.  Read
these two man pages:

~BAS

NEWFS(8)   FreeBSD System Manager's Manual   NEWFS(8)

NAME
 newfs -- construct a new UFS1/UFS2 file system

 -m free-space
  The percentage of space reserved from normal users; the minimum
  free space threshold.  The default value used is defined by
  MINFREE from ufs/ffs/fs.h, currently 8%.  See tunefs(8) for
  more details on how to set this option.



TUNEFS(8)   NetBSD System Manager's ManualTUNEFS(8)

NAME
 tunefs -- tune up an existing file system

  -m minfree

 This value specifies the percentage of space held back from nor-
  mal users; the minimum free space threshold.  The default value
  is set during creation of the filesystem, see newfs(8).  This
  value can be set to zero, however up to a factor of three in
  throughput will be lost over the performance obtained at a 5%
  threshold.  Note that if the value is raised above the current
  usage level, users will be unable to allocate files until enough
  files have been deleted to get under the higher threshold.



On Fri, 2007-10-05 at 12:12 +0200, Albert Shih wrote:
 Hi all
 
 What's that mean ? 
 
 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad4s1a50763069050   39797015%/
 devfs   110   100%/dev
 /dev/ad4s1g  78017664 55539220 1623703277%/home
 /dev/ad4s1e507630-8960   475980-2%/tmp
   ^^
 
 Regards.
 
 
 
 
 --
 Albert SHIH
 Observatoire de Paris Meudon
 SIO batiment 15
 Heure local/Local time:
 Ven 5 oct 2007 12:11:30 CEST
 ___
 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: Problems with Courier-Authlib-Userdb

2007-10-05 Thread Lee Capps


On Oct 4, 2007, at 6:52 PM, Dantavious wrote:


I am attempting to upgrade courier-authlib-userdb and I get this error
message. I have an updated ports tree as of today. Here are the  
other courier
related ports install on the system. Has anyone else saw this error  
or can

help me out.


I'm having the same problem.  Anyone have a solution?

---
Lee Capps
Technology Specialist
[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: FreeBsd e-mail question

2007-10-05 Thread Mike Makonnen
On Fri, Oct 05, 2007 at 02:33:23AM +1000, Ian Smith wrote:
 
 Looks like that's exactly right.  Copying the maintainer and suggesting
 the no-brain patch, pardon the broken tabs from pasting, against the
 head / stable versions (checked) .. I should sendPR I guess .. time!
 
 Cheers, Ian
 
 --- /usr/sbin/rmuserSat Mar  3 16:48:29 2007
 +++ /home/smithi/rmuser Fri Oct  5 00:30:51 2007
 @@ -86,10 +86,10 @@
 echo -n  mailspool
 rm ${MAILSPOOL}/$login
 fi
 -   if [ -f ${MAILSPOOL}/${login}.pop ]; then
 -   verbose  echo -n  ${MAILSPOOL}/${login}.pop ||
 +   if [ -f ${MAILSPOOL}/.${login}.pop ]; then
 +   verbose  echo -n  ${MAILSPOOL}/.${login}.pop ||
 echo -n  pop3
 -   rm ${MAILSPOOL}/${login}.pop
 +   rm ${MAILSPOOL}/.${login}.pop
 fi
 verbose  echo '.'
  }
 

Thanks! I'll take care of this immediately.

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


Strange df

2007-10-05 Thread Albert Shih
Hi all

What's that mean ? 

Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad4s1a50763069050   39797015%/
devfs   110   100%/dev
/dev/ad4s1g  78017664 55539220 1623703277%/home
/dev/ad4s1e507630-8960   475980-2%/tmp
^^

Regards.




--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 5 oct 2007 12:11:30 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: autoconf failure

2007-10-05 Thread Mel
On Friday 05 October 2007 11:19:55 Barry Byrne wrote:
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Chad Perrin
  Sent: 04 October 2007 00:35
  To: FreeBSD Questions
  Subject: autoconf failure
 
  First, portversion reports as follows:
 
# portversion -v|grep -v =
autoconf-2.53_4   needs updating (port has 2.61_2)
autoconf-2.59_3   needs updating (port has 2.61_2)
 
  Then, /usr/ports/UPDATING fails to note anything about the
  new autoconf
  version other than the following:
 
The ports tree has been migrated to the latest version of autoconf,
2.61.  Versions 2.53 and 2.59 were declared obsolete and removed.
 

 Had the same thought's here - don't know for certain that it's the right
 thing to do, but I did:

 cd /usr/ports/devel/autoconf261
 make deinstall
 make reinstall

It's simpler then that:
pkg_delete -f autoconf-2.5[39]*

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


Re: Strange df

2007-10-05 Thread Ivailo Tanusheff
This seams as a wrong lable info.
Check: bsdlabel /dev/ad4s1

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD





Albert Shih [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
05.10.2007 13:06
Please respond to
[EMAIL PROTECTED]


To
freebsd-questions@freebsd.org
cc

Subject
Strange df






Hi all

What's that mean ? 

Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad4s1a50763069050   39797015%/
devfs   110   100%/dev
/dev/ad4s1g  78017664 55539220 1623703277%/home
/dev/ad4s1e507630-8960   475980-2%/tmp
 ^^

Regards.




--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 5 oct 2007 12:11:30 CEST
___
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]


Bind configuration in FreeBSD

2007-10-05 Thread dhaneshk k

Hi friends ,

I have a FreeBSD fresh installation in a new  server machine.


   Here I wants to run my DNS server , by default I found the   in  /etc/namedb 
 dir, named.conf  file  master  dir etc in the m/c after  OS installation  
, so I configured my DNS entries(I mean named.conf and zone file  for my 
domain I configured ) , and after that I tried to start   /etc/rc.d/named start 
but no message that it is starting or not .

I would like to ask you whether I have to install , bind 8  or bind 9  through 
/usr/ports/dns  to make this machine  as a DNS server or by default (I mean 
fresh installation) the bind is coming? (because I can see  /etc/namedb dir   
and named.conf  file  ,master dir  , etc ...  there)

pls guide me to setup Bind in FreeBSD6.2   to make A DNS server for my own 
domain 

thanks in Advance
kk

_
Search from any Web page with powerful protection. Get the FREE Windows Live 
Toolbar Today!
http://toolbar.live.com/?mkt=en-in___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bind configuration in FreeBSD

2007-10-05 Thread Brian A. Seklecki
You need to enable the service:

$ sudo vi /etc/rc.conf


named_enable=YES

:wq 

$ sudo /etc/rc.d/named restart

The bind in-tree is 9.3.4 and the chroot is already setup for you by
default.  You don't want to go installing a bitrot version from Ports.

~BAS

On Fri, 2007-10-05 at 12:08 +, dhaneshk k wrote:
 but no message that it is starting or not .

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


Re: Strange df

2007-10-05 Thread Brian A. Seklecki
On Fri, 2007-10-05 at 13:11 +0300, Ivailo Tanusheff wrote:
 This seams as a wrong lable info.
 Check: bsdlabel /dev/ad4s1

Oh wow, yea, I misread.

That's really scarry -- normally the kernel would panic.  I'm very
surprised bsdlabel(8) let you write that to the disk.

Does fsck(8) function?  Did sysinstall do this?

You probably want /tmp to be MFS anyway -- it's almost never a disk
partition.

Especially since you don't have /var on its own file system (/var/tmp)
~BAS




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: Managing very large files

2007-10-05 Thread Steve Bertrand
 The reason for the massive file size was my haste in running out of the
 office on Friday and forgetting to kill the tcpdump process before the
 weekend began.
 
 Sounds like you may want a Perl script to automate managing your
 tcpdumps.

99% of the time I use tcpdump for less than one minute to verify the
presence or lack thereof of ingress/egress traffic on a box or network.

This was the one time that I actually left the shell to continuously let
it capture.

I will next time however wrap it with something to stop this from
happening, or simply use the functions within the program itself:

-c Exit after receiving count packets.

Steve

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


Re: Strange df

2007-10-05 Thread Albert Shih
 Le 05/10/2007 à 13:11:34+0300, Ivailo Tanusheff a écrit
 
 This seams as a wrong lable info.
 Check: bsdlabel /dev/ad4s1
 

Why you say that ? the /dev/ad4s1e is really mounted on /tmp 

This strange thing appear after I make some clean up (rm old.pdf etc...) in
my /tmp

 
 
 Hi all
 
 What's that mean ?
 
 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad4s1a50763069050   39797015%/
 devfs   110   100%/dev
 /dev/ad4s1g  78017664 55539220 1623703277%/home
 /dev/ad4s1e507630-8960   475980-2%/tmp
   ^^
 
 
Regards.

--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 5 oct 2007 14:28:30 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cuba flies lone flag for sustainability

2007-10-05 Thread New Scientist
NewScientist.com newsletter, 4 October 2007

Dear Darling, welcome to the New Scientist newsletter, which this week reveals 
why Cuba is currently the world's only sustainable nation, how 'traitor' immune 
cells could be reprogrammed to fight cancer, and why a robot's mistakes mean 
that it is becoming more human...
 
EDITOR'S CHOICE
World Failing On Sustainable Development *
If the world is to start developing in a sustainable way, we are going in the 
wrong direction. This is the message from the first study to show the 
ecological impact of our changing lifestyles. The international team looked at 
93 nations over the last 30 years and found that just one nation - Cuba - is 
developing sustainably. Cuba was the only nation found to provide a decent 
standard of living for their people without consuming more than its fair share 
of resources... 
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6V0FP


TOP STORIES

Reprogrammed immune system fights cancer *
Immune cells called macrophages can be re-educated so that instead of helping 
tumours to grow, they turn against them instead
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6W0FQ

Robot brain makes the same mistakes as humans *
Recreating cognitive, human flaws in software programs - and one day robots - 
might prove to be a critical step towards building a true artificial 
intelligence
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6X0FR

Glittering star cluster is galactic heavyweight (Video available)
One of the Milky Way's most massive young star clusters is nestled in a nebula 
with enough gas and dust to form 400,000 Suns
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6Y0FS

Smart sheets let gadgets talk through their feet *
Flexible, electronic sheets could be embedded in tables, walls and floors, 
allowing devices anywhere in the home to communicate
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6Z0FT

Powerful solar outburst rips off comet's tail (Video available)
A wave of charged particles from the Sun rips off a comet's tail in a dramatic 
new video from NASA's STEREO spacecraft
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6a0Fa

World faces polio dilemma *
Virus from live polio vaccine used in developing countries could lead to 
outbreaks of the disease as vaccination is phased out - but there is a solution
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6b0Fb

Tea might pose fluoride risk *
Tea can boost fluoride intake, meaning it could pose a danger in areas with 
high levels of the substance
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6c0Fc

Tether mishap 'slingshots' satellite into space (Video available)
Despite the accident, the mission still shows that space tethers can provide a 
cheap, safe way of returning payloads to Earth, say scientists
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6d0Fd

Chemical 'sponge' could filter CO2 from the air
Sucking carbon dioxide from the atmosphere and storing it underground could 
provide a last-ditch solution to climate change, says a US scientist
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6e0Fe

Dawn spacecraft launches to study giant asteroids (Video available)
The mission will use an advanced ion engine to reach two titans of the asteroid 
belt - Vesta and Ceres
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6f0Ff

Invention: Brain radiator
This week's patent applications include a radiator to control epileptic 
seizures, plane parts that signal when they are stressed, and an 
energy-boosting treatment for cells during a heart-attack
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6g0Fg

AND FINALLY...
This week's Feedback reveals why you shouldn't talk to your spouse online, a 
crucial new feature of ice-cube trays, and where to find the secrets of the 
universe for just $388...
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6h0Fh



OUR TOP BLOG POSTS


Last Word blog: Breathless beagles
Why don't dogs hyperventilate when they pant in the heat?
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6i0Fi

Tech blog: Hybrid cars: Too damned quiet?
Virtually silent electric vehicles are a new danger to pedestrians
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6j0Fj

Space blog: A bridge built by monkeys?
NASA is a bemused participant in the strangest of court cases
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6k0Fk

Short Sharp Science blog: Fluid motion (Video available)
If you thought liquid only travelled downhill, think again
http://email.newscientist.com/cgi-bin1/DM/y/mBKCL0MRAnf0hIu0EZ6l0Fl

Environment blog: Solving the oystercatcher migration mystery
Join the scientists investigating where oystercatchers spend winter

Re: Managing very large files

2007-10-05 Thread Steve Bertrand
 Check out Tie::File on CPAN. This Perl module treats every line in a
 file as an array element, and the array element is loaded into memory
 when it's being requested. In other words: This will work great with
 huge files such as these, as not the entire file is loaded into memory
 at once.
 
 http://search.cpan.org/~mjd/Tie-File-0.96/lib/Tie/File.pm

Thanks everyone who replied to me regarding this issue.

The above appears to be my best approach.

Although I have not the time yet to look into Tie::Find (and I've never
used that module before) but I will.

So long as I can read chunks of the file, load the data into variables
(I like the array approach above) and process each array independently
without loading all of them at once into memory, and without having to
load the entire file into memory.

Tks!

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


Re: xmms crashing at startup (Solved)

2007-10-05 Thread Robert Huff

Robert Marella writes:

  Attempts to double the size result in a) window going wierd
   and freezing and b) process attempting to consume 100% of CPU.  (The
   process is killable.)
 
  Well, this is what I meant. When I attempt to double the size I
  lose the graphic. It actually give me a double size rectangle
  with random pixels (i.e. different pattern depending on which
  skin I am using).  There is no response to any mouse click
  anywhere in the window.

Details confirmed.


Robert Huff
___
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 play online TV program

2007-10-05 Thread ronggui
Unfortunately, both vlc and mplayer don't capable of. Is it due to he nsc
format which seems encrypted?


2007/10/5, Predrag Punosevac [EMAIL PROTECTED]:

 ronggui wrote:
  I tried to use mplayer to play it, but failed.
 
  [EMAIL PROTECTED] -playlist
  http://citytv.csc.cityu.edu.hk/citytv/channel5/cap5.asx
  MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
  CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13,
  Stepping: 6)
  CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
  Compiled with runtime CPU detection.
  Resolving citytv.csc.cityu.edu.hk for AF_INET6...
  Couldn't resolve name for AF_INET6: citytv.csc.cityu.edu.hk
  Resolving citytv.csc.cityu.edu.hk for AF_INET...
  Connecting to server citytv.csc.cityu.edu.hk[144.214.108.130]: 80...
  STREAM_ASF, URL: http://citytv.csc.cityu.edu.hk/citytv/channel5/cap5.asx
  Resolving citytv.csc.cityu.edu.hk for AF_INET6...
  Couldn't resolve name for AF_INET6: citytv.csc.cityu.edu.hk
  Resolving citytv.csc.cityu.edu.hk for AF_INET...
  Connecting to server citytv.csc.cityu.edu.hk[144.214.108.130]: 80...
  size_confirm mismatch!: 30835 28271
  Error while parsing chunk header
  Failed, exiting.
  Resolving citytv.csc.cityu.edu.hk for AF_INET6...
  Couldn't resolve name for AF_INET6: citytv.csc.cityu.edu.hk
  Resolving citytv.csc.cityu.edu.hk for AF_INET...
  Connecting to server citytv.csc.cityu.edu.hk[144.214.108.130]: 80...
  Cache size set to 320 KBytes
 
  Playing http://netshsvr.cityu.edu.hk/citytv/channel5/cap5.nsc.
  Resolving netshsvr.cityu.edu.hk for AF_INET6...
  Couldn't resolve name for AF_INET6: netshsvr.cityu.edu.hk
  Resolving netshsvr.cityu.edu.hk for AF_INET...
  Connecting to server netshsvr.cityu.edu.hk[144.214.108.130]: 80...
  STREAM_ASF, URL: http://netshsvr.cityu.edu.hk/citytv/channel5/cap5.nsc
  Resolving netshsvr.cityu.edu.hk for AF_INET6...
  Couldn't resolve name for AF_INET6: netshsvr.cityu.edu.hk
  Resolving netshsvr.cityu.edu.hk for AF_INET...
  Connecting to server netshsvr.cityu.edu.hk[144.214.108.130]: 80...
  size_confirm mismatch!: 25700 19978
  Error while parsing chunk header
  Failed, exiting.
  Resolving netshsvr.cityu.edu.hk for AF_INET6...
  Couldn't resolve name for AF_INET6: netshsvr.cityu.edu.hk
  Resolving netshsvr.cityu.edu.hk for AF_INET...
  Connecting to server netshsvr.cityu.edu.hk[144.214.108.130]: 80...
  Cache size set to 320 KBytes
  Cache fill:  0.00% (0 bytes)
 
 
  Exiting... (End of file)
 
 
  Further more, I have enquire that CityTV center, they give me such info
  about the media format as follows:
 
  our CityTV broadcasting service, will only entertain those media players
  which can support/decode the following codec formats for streaming:-
 
  - multimedia data file bears the (asf/asx) file extensions ;
  - streaming formats using in CityTV:
  Video : Microsoft Mpeg- 4 codec V2 [320 x 240, 25fps]
  Audio : Mpeg Layer-3 (16KB/s, 11kHz, mono)
 
 
  Any suggestions? Thanks.
 
 
 
 I watch TV and listen to a radio via Tunapie application. (Over 100 TV
 and over 1000 radio channels).
 My default player for Tunapie is MPlayer but I must concede that VLC is
 exceptional and that I have it as well on my system. My default radio
 player for Tunapie is XMMS.




-- 
Ronggui Huang

Department of Sociology, Fudan University, Shanghai, China

Department of Public and Social Administration, CityU, HK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xmms crashing at startup (Solved)

2007-10-05 Thread Fabian Keil
Robert Marella [EMAIL PROTECTED] wrote:

 On Thu, 4 Oct 2007 10:52:41 -1000
 Robert Marella [EMAIL PROTECTED] wrote:

  [EMAIL PROTECTED] ~ xmms
  Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 1463 error_code 8 request_code 72 minor_code 0
  
  All ports are up to date as of today.

 In the time honored FreeBSD tradition of answering my own email, I have
 XMMS working again.
 
 I moved the .xmms directory in my home directory to old.xmms and
 started XMMS again. Low and behold it created a new .xmms directory and
 XMMS started. The only problem that I have is I can no longer douvle
 the size of the graphic player. 

Try starting it with:

XLIB_SKIP_ARGB_VISUALS=1 xmms

Fabian


signature.asc
Description: PGP signature


Re: Managing very large files

2007-10-05 Thread Bart Silverstrim

Steve Bertrand wrote:

Heiko Wundram (Beenic) wrote:

Am Donnerstag 04 Oktober 2007 22:16:29 schrieb Steve Bertrand:

This is what I am afraid of. Just out of curiosity, if I did try to read
the entire file into a Perl variable all at once, would the box panic,
or as the saying goes 'what could possibly go wrong'?
Perl most certainly wouldn't make the box panic (at least I hope so :-)), but 
would barf and quit at some point in time when it can't allocate any more 
memory (because all memory is in use). Meanwhile, your swap would've filled 
up completely, and your box would've become totally unresponsive, which goes 
away instantly the second Perl is dead/quits.


Try it. ;-) (at your own risk)


LOL, on a production box?...nope.

Hence why I asked here, probing if someone has made this mistake before
I do ;)


Isn't that what VMWare is for? ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with Courier-Authlib-Userdb

2007-10-05 Thread Aldisa Admin

On 04-Oct-07 6:52 PM, Dantavious wrote:
libtool: link: cannot find the library `userdb/libuserdb.la' or unhandled 
argument `userdb/libuserdb.la'

gmake[2]: *** [libauthuserdb.la] Error 1
gmake[2]: Leaving directory 
`/usr/ports/databases/courier-authlib-userdb/work/courier-authlib-0.60.0'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/databases/courier-authlib-userdb/work/courier-authlib-0.60.0'

gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/databases/courier-authlib-userdb.
*** Error code 1

Stop in /usr/ports/databases/courier-authlib-userdb.

=== make failed for databases/courier-authlib-userdb
=== Aborting update


=== Update for courier-authlib-userdb-0.59.3 failed
=== Aborting update 


I am experiencing exactly the same problem as well.

I wonder if there is a way to go back to the 0.59 version of the port till this 
is sorted out?

Abid

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


Re: Strange df

2007-10-05 Thread Albert Shih
 Le 05/10/2007 à 12:12:26+0200, Albert Shih a écrit
 Hi all
 
 What's that mean ? 
 
 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad4s1a50763069050   39797015%/
 devfs   110   100%/dev
 /dev/ad4s1g  78017664 55539220 1623703277%/home
 /dev/ad4s1e507630-8960   475980-2%/tmp

Well after reboot, and manually fsck (one problem fix by fsck -y) everthing
become normal.

Lots of thanks.

I'm sorry I don't send all my partition (just for put the ) in fact
I've 

Filesystem  512-blocks  UsedAvail Capacity  Mounted on
/dev/ad4s1a1015260138100   79594015%/
devfs2 20   100%/dev
/dev/ad4s1g  156035328 111535712 3201679278%/home
/dev/ad4s1e1015260 10596   923444 1%/tmp
/dev/ad4s1f   60925272  23487372 3256388042%/usr
/dev/ad4s1d4025436268516  3434888 7%/var

And no I don't use MFS for /tmp it's real partition (I known I'm old
fashion).

Regards.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Téléphone : 01 45 07 76 26
Heure local/Local time:
Ven 5 oct 2007 16:21:29 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get pf to work

2007-10-05 Thread RW
On Fri, 05 Oct 2007 17:05:57 +0200
Peo Nilsson [EMAIL PROTECTED] wrote:

 Dear list.
 
 I'm trying to configure pf on FreeBSD 6.2-release
 with no success. Is there anyone that has time and
 can give me a clue for what I'm doing wrong?

If you do: /etc/rc.d/pf restart do you see any errors?

Is nve0 your correct interface e.g. for PPPoE it would be tun0 rather
than the card interface itself.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange df

2007-10-05 Thread Jerry McAllister
On Fri, Oct 05, 2007 at 04:24:33PM +0200, Albert Shih wrote:

  Le 05/10/2007 à 12:12:26+0200, Albert Shih a écrit
  Hi all
  
  What's that mean ? 
  
  Filesystem  1K-blocks UsedAvail Capacity  Mounted on
  /dev/ad4s1a50763069050   39797015%/
  devfs   110   100%/dev
  /dev/ad4s1g  78017664 55539220 1623703277%/home
  /dev/ad4s1e507630-8960   475980-2%/tmp

Sorry, I didn't notice the negative value in the Used column before.

 
 Well after reboot, and manually fsck (one problem fix by fsck -y) everthing
 become normal.

FSCk fixes all, I guess.Must have had a bit flip in the inode
somewhere or something like that.

jerry

 
 Lots of thanks.
 
 I'm sorry I don't send all my partition (just for put the ) in fact
 I've 
 
 Filesystem  512-blocks  UsedAvail Capacity  Mounted on
 /dev/ad4s1a1015260138100   79594015%/
 devfs2 20   100%/dev
 /dev/ad4s1g  156035328 111535712 3201679278%/home
 /dev/ad4s1e1015260 10596   923444 1%/tmp
 /dev/ad4s1f   60925272  23487372 3256388042%/usr
 /dev/ad4s1d4025436268516  3434888 7%/var
 
 And no I don't use MFS for /tmp it's real partition (I known I'm old
 fashion).
 
 Regards.
 --
 Albert SHIH
 Observatoire de Paris Meudon
 SIO batiment 15
 Téléphone : 01 45 07 76 26
 Heure local/Local time:
 Ven 5 oct 2007 16:21:29 CEST
 ___
 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: Problems with www.freebsd.org

2007-10-05 Thread Philip M. Gollucci
Fernando Apesteguía wrote:
 It could be. Does it means that my ISP is responsible for this? Should
 I contact them?
No -- actually over on current@ lies the answer.
http://blogs.freebsdish.org/simon/2007/09/18/web-server-fun/

-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Strange df

2007-10-05 Thread Jerry McAllister
On Fri, Oct 05, 2007 at 12:12:26PM +0200, Albert Shih wrote:

 Hi all
 
 What's that mean ? 

What does it look like?

It looks to me like the output of a df(1) command - 
specifically 'df -k'

The first line contains labels that explain what is in each column.
The file system or partition device name
How many 1K blocks in the partition
How much of it is used up
How much is still available to use
What percent of the capacity is used
and at what mount point is the partition mounted

devfs is a special psuedo partition used for creating devices


 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad4s1a50763069050   39797015%/
 devfs   110   100%/dev
 /dev/ad4s1g  78017664 55539220 1623703277%/home
 /dev/ad4s1e507630-8960   475980-2%/tmp
   ^^
 Regards.
 

So, it all really makes sense.  It is not a big mystery.
It is just what it says.

jerry

 --
 Albert SHIH
 Observatoire de Paris Meudon
 SIO batiment 15
 Heure local/Local time:
 Ven 5 oct 2007 12:11:30 CEST
 ___
 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]


Can't get pf to work

2007-10-05 Thread Peo Nilsson
Dear list.

I'm trying to configure pf on FreeBSD 6.2-release
with no success. Is there anyone that has time and
can give me a clue for what I'm doing wrong?

This is what I have done:

1) /etc/rc.conf:
pf_enable=YES # Enable PF (load module if required)
pf_rules=/etc/pf.conf # rules definition file for pf
pf_flags= # additional flags for pfctl startup
pflog_enable=YES  # start pflogd(8)
pflog_logfile=/var/log/pflog  # where pflogd should store the logfile
pflog_flags=  # additional flags for pflogd startup

2) /etc/pf.conf:
--
...snap
# 1. Macros
lo = lo0# loopback device
ext = nve0  # networkcard

# 2. Tables

# 3. Options
set block-policy drop
set optimization aggresive
set loginterface $ext

# 4. Packet normalization
scrub in on $ext all

# 5. Queueing.

# 6. Translation.

# 7. Filtering.
pass quick on $lo all   # Don't block loopback traffic
antispoof for { $lo, $ext } # Antispoof
block in on $ext all# Block all incoming as default
block out on $ext all   # Block all outgoing as default

# Eof
...snap
-

3) kldstat says:

 71 0xc4b1c000 3000 pflog.ko
 81 0xc4b26000 2d000pf.ko



As far as I get it, I shouldn't be able to enter the internet as it is,
but nothing is blocked and I can check my mail and so. What have I
missed ?

-- 
/Peo


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


Re: Can't get pf to work

2007-10-05 Thread Peo Nilsson
On Fri, 2007-10-05 at 16:17 +0100, RW wrote:
 If you do: /etc/rc.d/pf restart do you see any errors?
There was an syntax error in pf.conf.
aggresive should be: aggressive.
Guess I'm tired...:-)

I realy thank you for saving me time!

-- 
/Peo


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


Re: Can't get pf to work

2007-10-05 Thread Mel
On Friday 05 October 2007 17:42:10 Peo Nilsson wrote:
 On Fri, 2007-10-05 at 16:17 +0100, RW wrote:
  If you do: /etc/rc.d/pf restart do you see any errors?

 There was an syntax error in pf.conf.
 aggresive should be: aggressive.
 Guess I'm tired...:-)

 I realy thank you for saving me time!

alias pfcheck=/etc/rc.d/pf check is your friend. As is:
alias pflog=tcpdump -i pflog0 -ttt -v


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


Re: minimal install is too big

2007-10-05 Thread Anish Mistry
On Friday 05 October 2007, Tim Judd wrote:
 Hi all,

 Recently, for pure entertainment and a little bit of a experience
 thing, I have been looking and/or finding many devices that have
 linux embedded.  While in of itself the fact that it works, I'm not
 discounting.  But I'd like to expand it or get it running on a
 system that I am familiar with.  So I was playing with the idea of
 using FreeBSD on such devices, and I would deal with the individual
 hardware specs if I could get the general system small enough.

 The minimal install of FreeBSD as from the developers is about
 130MB. I want to get something working on a 8MB flash. (For those
 curious, it's a ethernet NAS device)
Checkout FreeNAS and Monowall.

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgp2CxkKZGWwN.pgp
Description: PGP signature


Re: autoconf failure

2007-10-05 Thread Chad Perrin
On Fri, Oct 05, 2007 at 12:10:12PM +0200, Mel wrote:
 
 It's simpler then that:
 pkg_delete -f autoconf-2.5[39]*

I came to the same conclusion before seeing this email, but figured I'd
see if anyone had said something about it.  pkg_cutleaves seemed to
indicate it was a leave package with no dependencies, and autoconf
--version indicates that the currently installed/used version is 2.6.1,
which of course would mean that the old version is just wedged on
uninstall.

. . . so thanks for confirming what I've surmised.  I'll feel a lot
better about removing it now.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
John Kenneth Galbraith: If all else fails, immortality can always be
assured through spectacular error.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rtadvd - network is down?

2007-10-05 Thread Wojciech Puchar
Oct  5 17:57:55 helnet rtadvd[43408]: ra_output sendmsg on em0: Network 
is down




getting this regularly, while network is up all the time everything else 
works

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


How to get best results from FreeBSD-questions

2007-10-05 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

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

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

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

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

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

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2007-10-05 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Equations (WAS: good replacement for open office)

2007-10-05 Thread Frank Jahnke
 Since you seem to use the equation feature quite intensively, maybe
 you have any clue on making the equation editor perform better.

Sorry I can't really be of much help with OO.o equations.  

What I do personally is a kludge, but it works well enough.  For
documents that I create for read-only use, I use groff and friends.  For
those that require collaboration, I use Wordperfect to create the
equations (it has an equation mode like troff's eqn), export them into
Word format, and then read them into Word.  The equation mode in Word is
crippled, and you need to purchase MathType (I think that is the name)
to make it usable.

The same goes for references, BTW: you really need to purchase an add-on
to make Word usable.  In troff I just use refer together with Refbase.

I've just not had much luck with OO.o's equation mode.  If often crashes
Word, and since all the people I collaborate with use Word, well, I use
Word rather than try to teach them troff (or TeX).  While they are all
top-flight scientists and engineers at major US research Universities,
their computer literacy is surprisingly low.  

I've given up on trying to find a BSD or Linux program that is good
enough for this purpose -- none really are.  So I just use Word in a VM
and am done with it.

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


Re: Equations (WAS: good replacement for open office)

2007-10-05 Thread Andrew Gould
On 10/5/07, Frank Jahnke [EMAIL PROTECTED] wrote:

  Since you seem to use the equation feature quite intensively, maybe
  you have any clue on making the equation editor perform better.

 Sorry I can't really be of much help with OO.o equations.

 What I do personally is a kludge, but it works well enough.  For
 documents that I create for read-only use, I use groff and friends.  For
 those that require collaboration, I use Wordperfect to create the
 equations (it has an equation mode like troff's eqn), export them into
 Word format, and then read them into Word.  The equation mode in Word is
 crippled, and you need to purchase MathType (I think that is the name)
 to make it usable.

 The same goes for references, BTW: you really need to purchase an add-on
 to make Word usable.  In troff I just use refer together with Refbase.

 I've just not had much luck with OO.o's equation mode.  If often crashes
 Word, and since all the people I collaborate with use Word, well, I use
 Word rather than try to teach them troff (or TeX).  While they are all
 top-flight scientists and engineers at major US research Universities,
 their computer literacy is surprisingly low.

 I've given up on trying to find a BSD or Linux program that is good
 enough for this purpose -- none really are.  So I just use Word in a VM
 and am done with it.


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


Re: Equations (WAS: good replacement for open office)

2007-10-05 Thread Chad Perrin
On Fri, Oct 05, 2007 at 12:34:00PM -0500, Andrew Gould wrote:
 On 10/5/07, Frank Jahnke [EMAIL PROTECTED] wrote:
 
  I've given up on trying to find a BSD or Linux program that is good
  enough for this purpose -- none really are.  So I just use Word in a VM
  and am done with it.
 
 Have you tried LyX?

I think this purpose, in this case, means collaborating with people
using MS Word.  That being the case, LyX is sort of the opposite of what
he needs, even if it handles equation work excellently for print --
because, of course, it *doesn't* handle MS Word DOC format at all.

At least, it didn't the last time I checked.  I imagine the LyX
maintainers haven't suddenly jumped on the interoperate with MS Office
bandwagon lately.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: In computer science, we stand on each other's feet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what cpu type to use for a intel duo e6850 (i386 or amd64)

2007-10-05 Thread mario . lobo
 On Sat, 29 Sep 2007 16:03:05 +
 Aryeh Friedman [EMAIL PROTECTED] wrote:

 I have more then 4gb and was wondering why it didn't all show up is
there anyway to do a in place upgrade (I have a lot of user
 data)... also someone should think about changing the naming on the
iso/cpu types since 20 years of industry experience (15 with FreeBSD)
and reading hardware.txt did not give a clue on this.

 What's confusing?

 i386 is for 386 compatible processors - a 32-bit OS for 32-bit
 processors, which is therefore limited to 2^32 bytes (4GiB) without the
PAE workaround.

 amd64 is for AMD 64 compatible processors operated in 64-bit mode.

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


A while back, when a bought my current machine (an Pentium(R) D CPU
3.20GHz Dual core) and was wondering which FreeBSD to install (i386 or
amd64), someone advised me that amd64 was better for servers. On a desktop
machine, i386 would be a better. As far as ports are concerned, this makes
sence since some (or a lot, I don't know) ports (nvidia driver is a
classic) do not compile on, or don't have versions for amd64.

So, I did an SMP/i386 install. I cannot say I regret it since everything
runs absolutely smooth and fast here.

On the tecnical side (not practical) was it correct to give up 64 bit
processing?

-- 
**
   //| //| Mario Lobo
  // |// | http://www.ipad.com.br
 //  //  |||  FreeBSD since 2.2.8 - 100% Rwindows-free
**




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


Re: Equations (WAS: good replacement for open office)

2007-10-05 Thread Andrew Gould
On 10/4/07, Chad Perrin [EMAIL PROTECTED] wrote:

 On Fri, Oct 05, 2007 at 12:34:00PM -0500, Andrew Gould wrote:
  On 10/5/07, Frank Jahnke [EMAIL PROTECTED] wrote:
  
   I've given up on trying to find a BSD or Linux program that is good
   enough for this purpose -- none really are.  So I just use Word in a
 VM
   and am done with it.
 
  Have you tried LyX?

 I think this purpose, in this case, means collaborating with people
 using MS Word.  That being the case, LyX is sort of the opposite of what
 he needs, even if it handles equation work excellently for print --
 because, of course, it *doesn't* handle MS Word DOC format at all.

 At least, it didn't the last time I checked.  I imagine the LyX
 maintainers haven't suddenly jumped on the interoperate with MS Office
 bandwagon lately.

 --
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
 Brian K. Reid: In computer science, we stand on each other's feet.


You are so right about that.  I saw equations in the subject line and
jumped a little to quickly.  ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Equations (WAS: good replacement for open office)

2007-10-05 Thread Wojciech Puchar

Word rather than try to teach them troff (or TeX).  While they are all

i'm not top-flight scientist but i was able to learn latex...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what cpu type to use for a intel duo e6850 (i386 or amd64)

2007-10-05 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

[EMAIL PROTECTED] wrote:

 So, I did an SMP/i386 install. I cannot say I regret it since everything
 runs absolutely smooth and fast here.
 
 On the tecnical side (not practical) was it correct to give up 64 bit
 processing?

This is a question to which there is no simple answer, other than
'It depends.'

What it depends on are such things as:

   * software compatibility with 32 or 64 bit system

   * what application load you require

   * how large the disk and memory structures you're dealing with are

   * how much RAM you have

You'll find that programs like databases that have to do large
amounts of IO benefit greatly from being on a 64bit system,
especially if that system is fully populated with memory and disks.

On the other hand, really compute-intensive programs can often gain
on a 32bit system by virtue of being able to fit more 32bit sized
objects into cache RAM.

Desktops tend to be run at 32bit because of software compatibility
problems.  Machines with Nvidia graphics cards need to be 32bit in
order to use the Nvidia accelerated graphics driver.

As it is, for your server it seems that you have achieved that happy
performance level of fast enough.  Anything else is just gravy.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBoKV8Mjk52CukIwRCNgRAJ4vB8AhlbMtTsenzX+A1RvUdGTjZwCdFiND
2LLzNVMlNYjuZalUsUXyeEc=
=jEbr
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what cpu type to use for a intel duo e6850 (i386 or amd64)

2007-10-05 Thread Mario Lobo
On Friday 05 October 2007, Matthew Seaman wrote:
 [EMAIL PROTECTED] wrote:
  So, I did an SMP/i386 install. I cannot say I regret it since everything
  runs absolutely smooth and fast here.
 
  On the tecnical side (not practical) was it correct to give up 64 bit
  processing?

 This is a question to which there is no simple answer, other than
 'It depends.'

 What it depends on are such things as:

* software compatibility with 32 or 64 bit system

* what application load you require

* how large the disk and memory structures you're dealing with are

* how much RAM you have

 You'll find that programs like databases that have to do large
 amounts of IO benefit greatly from being on a 64bit system,
 especially if that system is fully populated with memory and disks.

 On the other hand, really compute-intensive programs can often gain
 on a 32bit system by virtue of being able to fit more 32bit sized
 objects into cache RAM.

 Desktops tend to be run at 32bit because of software compatibility
 problems.  Machines with Nvidia graphics cards need to be 32bit in
 order to use the Nvidia accelerated graphics driver.

 As it is, for your server it seems that you have achieved that happy
 performance level of fast enough.  Anything else is just gravy.

   Cheers,

   Matthew

I have both types running (dual-core servers as 64 and dual-core desktops at 
32). 

I was just curious as to what would happen if the roles were reversed. You 
sure cleared that up

Thanks for the confirmation !
-- 
**
   //| //| Mario Lobo
  // |// | http://www.ipad.com.br
 //  //  |||  FreeBSD since 2.2.8 - 100% Rwindows-free
**


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


PHEN//TERE, MINE less than 200

2007-10-05 Thread W S Clayton


PH,,,ENTER  EMINE now under 200
link is direct to order form

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


Re: BASH as root shell (static linking)

2007-10-05 Thread Brian A. Seklecki


On Sat, 2007-10-06 at 04:54 +1000, Jerahmy Pocott wrote:
 Hello,
 
 I'm wanting to use BASH as my root shell, so I compiled a statically  
 linked
 version then tried to log in with only / mounted. But I was locked  
 out because
 elf.ld.so could not be found..

JP:

Did:

$ ldd /bin/bash 

Return anything? It should not.

~BAS

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


BASH as root shell (static linking)

2007-10-05 Thread Jerahmy Pocott

Hello,

I'm wanting to use BASH as my root shell, so I compiled a statically  
linked
version then tried to log in with only / mounted. But I was locked  
out because

elf.ld.so could not be found..

I though elf was the native binary format these days? But it needs a  
library to
run them? Is it possible to statically link against elf? Or do  
standalone binary
have to be in aout format? I'm a bit confused as to why it requires  
this dynamic

library..

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


freebsd, scsi waiting on device to settle.

2007-10-05 Thread Fidel Garcia
This morning our IBM x306 series was rebooted and for some reason it does
not complete the booting process.

The machine is showing on the screen a message that says: Waiting 5 seconds
for SCSI devices to settle. I believe this message comes from FreeBSD and
not the machine because FreeBSD was already showing the hardware details on
the screen. The problem is that the machine gets stuck on the message and it
does not go anywhere.

 

Any idea of what might be causing this problem? I have not done any changes
to the machine lately and it was rebooting fine until now.

The hard drive seems to be working because the machine recognizes it and
FreeBSD started the booting process.

 

 

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


Re: Netcraft do not display uptime graph, why?

2007-10-05 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


That URL states that we 'default to 1000Hz' ... is it lowerable, and what are 
the ramifications of doing so?  My first thought is that 1000Hz is giving us 
higher timer granularity (1000 cycles per sec vs 100 cycles per sec) ... is 
this correct?

Thx

- --On Friday, September 21, 2007 12:36:24 -0400 Bill Moran 
[EMAIL PROTECTED] wrote:

 In response to Byung-Hee HWANG [EMAIL PROTECTED]:

 Hi there,

 My machine is FreeBSD 6.x currently. But Netcraft do not display of my
 machine's uptime graph. When I used FreeBSD 4.x, actually I could see
 the uptime graph in Netcraft.

 What happened?

 http://uptime.netcraft.com/up/accuracy.html#hz1000

 --
 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]



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHBo5Z4QvfyHIvDvMRAjxKAJ9UKlOnb7A61yPA7p7OTmAO7gK/2gCgvq4K
Av0c/f0kq1JaRepAhnWofgo=
=La6B
-END PGP SIGNATURE-

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


bcm4318

2007-10-05 Thread nastjakam

Hi,
I have the same problem as
http://lists.freebsd.org/pipermail/freebsd-questions/2006-February/112800.html
He had, but the how-to what He recommended later
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2006-11/msg01344.html
didnt work for me, the same problem I have with the long error message, 
start as


Generating Makefile... done.
Building kernel module... In file included from 
/usr/share/misc/windrv_s

tub.c:57:
./windrv.h:821: error: excess elements in char array initializer
./windrv.h:821: error: (near initialization for `ndis_regvals[262].nc_val')
./windrv.h:822: warning: braces around scalar initializer
./windrv.h:822: warning: (near initialization for 
`ndis_regvals[262].nc_val[0]')
./windrv.h:822: warning: initialization makes integer from pointer 
without a cast

...

Someone has any idea?

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


Re: BASH as root shell (static linking)

2007-10-05 Thread RW
On Sat, 6 Oct 2007 04:54:26 +1000
Jerahmy Pocott [EMAIL PROTECTED] wrote:

 Hello,
 
 I'm wanting to use BASH as my root shell, so I compiled a statically  
 linked

I would suggest using bash as your toor shell instead. toor exist
precisely for this purpose.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#TOOR-ACCOUNT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Equations (WAS: good replacement for open office)

2007-10-05 Thread Frank Jahnke

On Fri, 2007-10-05 at 20:13 +0200, Wojciech Puchar wrote:
  Word rather than try to teach them troff (or TeX).  While they are all
 i'm not top-flight scientist but i was able to learn latex...

That may be true, but trust me, the faculty with whom I work just would
not do it.  No way, no how, never.

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


Re: Equations (WAS: good replacement for open office)

2007-10-05 Thread Frank Jahnke

On Fri, 2007-10-05 at 12:34 -0500, Andrew Gould wrote:

 
 Have you tried LyX? 

I'm aware of it, and will indeed try it one of these days, but that is
not the issue.  I'm fine with troff -- I've used it for so many years
that I can get it to jump through hoops.  Time has passed it by, though,
so moving to TeX (or LaTeX or Lyx) one of these days is probably a good
idea.

The issue is the skill of the people with whom I collaborate, and their
inclination to change.  They won't, at least not for me alone.  This is
not a battle worth fighting.  You are of course welcomed to disagree for
your own case.



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


Re: Netcraft do not display uptime graph, why?

2007-10-05 Thread RW
On Fri, 05 Oct 2007 16:19:53 -0300
Marc G. Fournier [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 That URL states that we 'default to 1000Hz' ... is it lowerable, and
 what are the ramifications of doing so?  My first thought is that
 1000Hz is giving us higher timer granularity (1000 cycles per sec vs
 100 cycles per sec) ... is this correct?

I think it's more to do with lowering latency on polled
network interfaces.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .PICT mac file

2007-10-05 Thread Eric Osterweil

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Oct 3, 2007, at 4:27 PM, jekillen wrote:



On Oct 3, 2007, at 6:42 AM, Norberto Meijome wrote:


Hi everyone,
I have a load of .pict files which I can't seem to be able to open  
with anything under FBSD. I just want to convert them into  
something more useful (jpg / tiff / svg).


ImageMagick doesn't understand it, so i think this is the Packbits  
compressed .PICT filetype. neither Gimp or XV like them either.


file doesn't identify the files either.

Alternatively, any tool I can script under OSX to conver them to  
something useful? (FYI, 'Preview' under Tiger doens't recognise  
them either, but I can drag them just fine into an Omnigraffle Pro  
diagram).


One of these files is at http://www.meijome.net/files/freebsd/ 
image64.pict


thanks,
Beto
_
{Beto|Norberto|Numard} Meijome

Intellectual: 'Someone who has been educated beyond his/her  
intelligence'

   Arthur C. Clarke, from 3001, The Final Odyssey, Sources.

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.


You may have to use a program like Photoshop; Mac version to do the  
work. I have been using Mac since 1996 and have seen pict files but  
have avoided them mostly
in favor of tif or jpeg. I do not have any Classic Mac  
installations and do not do graphics as much as I used to but I  
don't recall even seeing pict as a file option for
graphics software on Mac, Photoshop, or other program that edits  
image files.
Since X11 can be installed on OSX and Gimp will run on Mac under  
X11, I would think that it would have accommodation for that.
I just launched it and did not see that as a save as option. There  
is a stripped down version of Photoshop available, Photoshop Elements

that may do it without the cost of Photoshop.
But there is probably someone with more knowledge on this than I.
Good Luck;
Jeff k


Save it from OmniGraffle as a pdf (via the Export option), then  
anything should be able to convert it from there (like Preview).\


Eric

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHBp3LK/tq6CJjZQIRAniAAJ4jysJxbttx7+NhKqpKe6g1TDxU/gCgkRCG
o0bNFzoDFmWAALmSokJebOI=
=uofz
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BASH as root shell (static linking)

2007-10-05 Thread Jerahmy Pocott


On 06/10/2007, at 4:59 AM, Brian A. Seklecki wrote:




On Sat, 2007-10-06 at 04:54 +1000, Jerahmy Pocott wrote:

Hello,

I'm wanting to use BASH as my root shell, so I compiled a statically
linked
version then tried to log in with only / mounted. But I was locked
out because
elf.ld.so could not be found..


JP:

Did:

$ ldd /bin/bash

Return anything? It should not.


It's saying:

libintl.so.6 = /usr/local/lib/libintl.so.6 (0x2819d000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x281a6000)

Why is it linking these dynamically? It's not linking ncurses or
libc dynamically..

Thanks!


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


Re: BASH as root shell (static linking)

2007-10-05 Thread Jerahmy Pocott


On 06/10/2007, at 5:45 AM, RW wrote:


On Sat, 6 Oct 2007 04:54:26 +1000
Jerahmy Pocott [EMAIL PROTECTED] wrote:


Hello,

I'm wanting to use BASH as my root shell, so I compiled a statically
linked


I would suggest using bash as your toor shell instead. toor exist
precisely for this purpose.


Yeah, I'v done that in the past, but I really dislike csh, I don't  
want to use

it EVER =p

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


Re: Problems with Courier-Authlib-Userdb

2007-10-05 Thread Abid Saigol (Aaina Jewelry)

I am told that there was bug in the port that has now been fixed.  We need to 
update your ports tree and re-make.

On 04-Oct-07 6:52 PM, Dantavious wrote:
	Hi, 
I am attempting to upgrade courier-authlib-userdb and I get this error 
message. I have an updated ports tree as of today. Here are the other courier 
related ports install on the system. Has anyone else saw this error or can 
help me out.

v/r
Derrick


courier-authlib-base-0.60.0 Courier authentication library base
courier-authlib-mysql-0.60.0 MySQL support for the Courier authentication 
library
courier-authlib-userdb-0.59.3 Userdb support for the Courier authentication 
library
courier-imap-4.1.3,1 IMAP (and POP3) server that provides access to Maildir 
mail



/bin/sh ./libtool --tag=CC   --mode=link 
cc  -O2 -fno-strict-aliasing -pipe  -Wall -I.. -I./.. -Wl,-lcrypt -L/usr/local/lib -o 
libcourierauthcommon.la -rpath /usr/local/lib/courier-authlib 
authpwdenumerate.lo authsaslfrombase64.lo authsasltobase64.lo 
authsyschangepwd.lo authsyscommon.lo cramlib.lo checkpassword.lo 
cryptpassword.lo checkpasswordmd5.lo checkpasswordsha1.lo libcourierauth.la

cc -shared  .libs/authpwdenumerate.o .libs/authsaslfrombase64.o 
.libs/authsasltobase64.o .libs/authsyschangepwd.o .libs/authsyscommon.o 
.libs/cramlib.o .libs/checkpassword.o .libs/cryptpassword.o 
.libs/checkpasswordmd5.o .libs/checkpasswordsha1.o  -Wl,--rpath 
-Wl,/usr/ports/databases/courier-authlib-userdb/work/courier-authlib-0.60.0/.libs
 -Wl,--rpath -Wl,/usr/local/lib/courier-authlib -L/usr/local/lib 
./.libs/libcourierauth.so  -Wl,-lcrypt -Wl,-soname 
-Wl,libcourierauthcommon.so.0 -o .libs/libcourierauthcommon.so.0
(cd .libs  rm -f libcourierauthcommon.so  ln -s libcourierauthcommon.so.0 
libcourierauthcommon.so)
(cd .libs  rm -f libcourierauthcommon.so  ln -s libcourierauthcommon.so.0 
libcourierauthcommon.so)
ar cru .libs/libcourierauthcommon.a  authpwdenumerate.o authsaslfrombase64.o 
authsasltobase64.o authsyschangepwd.o authsyscommon.o cramlib.o 
checkpassword.o cryptpassword.o checkpasswordmd5.o checkpasswordsha1.o

ranlib .libs/libcourierauthcommon.a
creating libcourierauthcommon.la
(cd .libs  rm -f libcourierauthcommon.la  ln -s ../libcourierauthcommon.la 
libcourierauthcommon.la)
/bin/sh ./libtool --tag=CC   --mode=link 
cc  -O2 -fno-strict-aliasing -pipe  -Wall -I.. -I./.. -module -rpath /usr/local/lib/courier-authlib -export-symbols-regex 'courier_auth.*_init' -L/usr/local/lib -o 
libauthuserdb.la  authuserdb.lo preauthuserdb.lo preauthuserdbcommon.lo 
authuserdbpwd.lo libcourierauthcommon.la userdb/libuserdb.la 
bdbobj/libbdbobj.la
libtool: link: cannot find the library `userdb/libuserdb.la' or unhandled 
argument `userdb/libuserdb.la'

gmake[2]: *** [libauthuserdb.la] Error 1
gmake[2]: Leaving directory 
`/usr/ports/databases/courier-authlib-userdb/work/courier-authlib-0.60.0'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/databases/courier-authlib-userdb/work/courier-authlib-0.60.0'

gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/databases/courier-authlib-userdb.
*** Error code 1

Stop in /usr/ports/databases/courier-authlib-userdb.

=== make failed for databases/courier-authlib-userdb
=== Aborting update


=== Update for courier-authlib-userdb-0.59.3 failed
=== Aborting update 
___

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: BASH as root shell (static linking)

2007-10-05 Thread Philip Hallstrom

On 06/10/2007, at 5:45 AM, RW wrote:


On Sat, 6 Oct 2007 04:54:26 +1000
Jerahmy Pocott [EMAIL PROTECTED] wrote:


Hello,

I'm wanting to use BASH as my root shell, so I compiled a statically
linked


I would suggest using bash as your toor shell instead. toor exist
precisely for this purpose.


Yeah, I'v done that in the past, but I really dislike csh, I don't want to 
use

it EVER =p


Use sudo... and alias 'su' to 'sudo -H bash'.

That's what I do... but can always fall back to the default if necessary.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Equations

2007-10-05 Thread michaelgrunewald
Frank Jahnke [EMAIL PROTECTED] writes:

 Since you seem to use the equation feature quite intensively, maybe
 you have any clue on making the equation editor perform better.

 Sorry I can't really be of much help with OO.o equations.  

 What I do personally is a kludge, but it works well enough.  For
 ...

Thank you for your nice answer. It seems there is no reason to be
optimistic about the existence of an ``office-like'' program
that deals smartly with equations. I am always a bit surprised that
TeX was released in 78 (before my birth!) and---despite its algorithms
are published---its output quality remains unmatched [1] by common
programs. Why these programs do not apply TeX's strategies to solve
their problems? This makes me wonder.

[1] Lyx was mentioned elsethread, on the project's website I found
a text example processed by TeX and Word. The text is four pages
long, the columns ist not especially narrow. To prepare this text,
Word needs 8 word hyphenations in the first page, with three of
them in a row (which is very bad). In the TeX processed version,
theres is only two word hyphenations in the whole document.

WWW: http://wiki.lyx.org/Examples/ComparingLyXAndWord

This is not a definite proof that TeX's output quality remains
unmatched, but just an example.
-- 
Cheers,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Abit Motherboard

2007-10-05 Thread Doug Hardie
I am planning for replacing one of my servers.  I want to upgrade to  
at least a dual-core machine.  I found the Abit IP 35 Pro motherboard  
at Frys which looks like it has most everything I need.  However, I  
don't find any discussions about that particular board in the  
archives or Google.  Has anyone used that board and does it work well  
with FreeBSD 6? Thanks.

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


Re: Equations

2007-10-05 Thread Frank Jahnke

On Fri, 2007-10-05 at 23:34 +0200, [EMAIL PROTECTED] wrote:
 It seems there is no reason to be
 optimistic about the existence of an ``office-like'' program
 that deals smartly with equations. 

The input method from MathType (which is what WP uses) actually is quite
good.  The formatting, however...

 I am always a bit surprised that
 TeX was released in 78 (before my birth!) and---despite its algorithms
 are published---its output quality remains unmatched [1] by common
 programs. Why these programs do not apply TeX's strategies to solve
 their problems? This makes me wonder.

This is a good question.  TeX didn't really hit its stride until about
1989 (with Metafont and the language freeze), and the effort learned a
lot from troff.  Nevertheless, I am always struck by how ugly is the
type that Word produces.  You can always tell.  I've read about how
sophisticated its algorithm for this or that is, but the end result is
terribly inferior to both troff and TeX.

I don't really know why -- and it extends beyond the hyphenation
algorithm to things like inter-word kerning and type face formation --
but I just don't like the way Word documents look.  Maybe one of these
days I'll look into it.  I also find the insistence of the TeX community
to use the dreadful CM font family to be misguided.  There's a reason
that the classical fonts are classics.



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


Re: Abit Motherboard

2007-10-05 Thread Aryeh Friedman
On 10/5/07, Doug Hardie [EMAIL PROTECTED] wrote:
 I am planning for replacing one of my servers.  I want to upgrade to
 at least a dual-core machine.  I found the Abit IP 35 Pro motherboard
 at Frys which looks like it has most everything I need.  However, I
 don't find any discussions about that particular board in the
 archives or Google.  Has anyone used that board and does it work well
 with FreeBSD 6? Thanks.

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


Re: Equations

2007-10-05 Thread Bill Campbell
On Fri, Oct 05, 2007, Frank Jahnke wrote:

On Fri, 2007-10-05 at 23:34 +0200, [EMAIL PROTECTED] wrote:
 It seems there is no reason to be
 optimistic about the existence of an ``office-like'' program
 that deals smartly with equations. 

The input method from MathType (which is what WP uses) actually is quite
good.  The formatting, however...

 I am always a bit surprised that
 TeX was released in 78 (before my birth!) and---despite its algorithms
 are published---its output quality remains unmatched [1] by common
 programs. Why these programs do not apply TeX's strategies to solve
 their problems? This makes me wonder.

This is a good question.  TeX didn't really hit its stride until about
1989 (with Metafont and the language freeze), and the effort learned a
lot from troff.  Nevertheless, I am always struck by how ugly is the
type that Word produces.  You can always tell.  I've read about how
sophisticated its algorithm for this or that is, but the end result is
terribly inferior to both troff and TeX.

I don't really know why -- and it extends beyond the hyphenation
algorithm to things like inter-word kerning and type face formation --
but I just don't like the way Word documents look.  Maybe one of these
days I'll look into it.  I also find the insistence of the TeX community
to use the dreadful CM font family to be misguided.  There's a reason
that the classical fonts are classics.

Donald Knuth's objective writing TeX was to ``write pretty books'', and he
spent years on this project.

There's a big difference between sophisticated typesetting programs such as
TeX and groff, and word processors.  TeX and ?roff were designed to do
major, professional quality, publishing projects by people who understood
the intricacies of page design and layout.

One of the first people I met who used TeX extensively was an adjunct
professor of computer science at the University of Washington.  Pierre used
TeX on a Sun workstation to typeset Arabic and Sanskrit.  This was in 1984.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

More laws, less justice.  -- Marcus Tulius Ciceroca (42 BD)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-05 Thread Halid Faith
Hello

I use dummynet to limit bandwidth on freebsd6.2.  

But I don't know how I limit an ip blocks as to time ( for instance like 1 
Gbyte in 1 month ).   

I am looking for a tool which provides to limit bytes according to time.  

is there any free tool for this case?

Thanks already


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


Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-05 Thread Abdullah Ibn Hamad Al-Marri
On 10/6/07, Halid Faith [EMAIL PROTECTED] wrote:
 Hello

 I use dummynet to limit bandwidth on freebsd6.2.

 But I don't know how I limit an ip blocks as to time ( for instance like 1 
 Gbyte in 1 month ).

 I am looking for a tool which provides to limit bytes according to time.

 is there any free tool for this case?

 Thanks already

Hell Halid,

Have you looked into pf and altq options?


-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Equations

2007-10-05 Thread Chad Perrin
On Fri, Oct 05, 2007 at 03:37:11PM -0700, Bill Campbell wrote:
 
 There's a big difference between sophisticated typesetting programs such as
 TeX and groff, and word processors.  TeX and ?roff were designed to do
 major, professional quality, publishing projects by people who understood
 the intricacies of page design and layout.

. . . while word processors are a least common denominator application
designed to be everything to everyone, but ultimately end up being very
little to anyone, because they're worse than layout and typesetting
programs at producing print documents and worse than digital presentation
design and semantic formatting systems at producing electronic (aka
online) documents.

Somehow, though, they've ended up being the single most commonly used
form of document generation software today.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Marvin Minsky: It's just incredible that a trillion-synapse computer could
actually spend Saturday afternoon watching a football game.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cups-base woes

2007-10-05 Thread E. J. Cerejo
I've been trying to portupgrade cups-base for a week now, every time I 
cvsup my ports I get a different error message, now this is the latest 
one.  Any ideas on how to fix this or can someone direct me to the this 
package so I don't have to build it?



/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:202: warning: declaration 
of 'link' shadows a global declaration

/usr/include/unistd.h:348: warning: shadowed declaration is here
In file included from /usr/local/include/php/main/php.h:418,
from phpcups.c:33:
/usr/local/include/php/Zend/zend_constants.h:63: warning: declaration of 
'strlen' shadows a global declaration

/usr/include/string.h:90: warning: shadowed declaration is here
phpcups.c: In function `zm_startup_phpcups':
phpcups.c:163: error: `CUPS_PRINTER_DISCOVERED' undeclared (first use in 
this function)

phpcups.c:163: error: (Each undeclared identifier is reported only once
phpcups.c:163: error: for each function it appears in.)
gmake[1]: *** [phpcups.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/cups-base/work/cups-1.3.3/scripting/php'

gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/print/cups-base.
*** Error code 1

Stop in /usr/ports/print/cups-base.

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


Re: BASH as root shell (static linking)

2007-10-05 Thread RW
On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
Philip Hallstrom [EMAIL PROTECTED] wrote:

  On 06/10/2007, at 5:45 AM, RW wrote:
 
  On Sat, 6 Oct 2007 04:54:26 +1000
  Jerahmy Pocott [EMAIL PROTECTED] wrote:
  
  Hello,
  
  I'm wanting to use BASH as my root shell, so I compiled a
  statically linked
  
  I would suggest using bash as your toor shell instead. toor exist
  precisely for this purpose.
 
  Yeah, I'v done that in the past, but I really dislike csh, I don't
  want to use
  it EVER =p

I don't understand, why would you see csh if you login as toor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tcpdump -- non-local traffic not showing

2007-10-05 Thread freebsd

Hi all,

Running 6.1

I'm having trouble seeing packets which are not going to or from the
machine on which tcpdump is running.  Is there something special I
need to do to enable this?  It's my understanding tcpdump puts the
interface in promiscuous mode, and dmesg seems to confirm this.
However I see the following behavior using tcpdump -fntl -i ed1:

If hosts .x, .y, and .z are all on the same network,
and if tcpdump is running on host a.b.c.x
and on host a.b.c.y I do
 ping a.b.c.x

I see the icmp packets.

But if on host a.b.c.y I do
 ping a.b.c.z

I see nothing.
Does the interface drop packets with a different mac address, even
when supposedly put in promiscuous mode?

Clues?

Thanks for any insights,

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


Re: BASH as root shell (static linking)

2007-10-05 Thread Jerry McAllister
On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote:

 On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
 Philip Hallstrom [EMAIL PROTECTED] wrote:
 
   On 06/10/2007, at 5:45 AM, RW wrote:
  
   On Sat, 6 Oct 2007 04:54:26 +1000
   Jerahmy Pocott [EMAIL PROTECTED] wrote:
   
   Hello,
   
   I'm wanting to use BASH as my root shell, so I compiled a
   statically linked
   
   I would suggest using bash as your toor shell instead. toor exist
   precisely for this purpose.
  
   Yeah, I'v done that in the past, but I really dislike csh, I don't
   want to use
   it EVER =p
 
 I don't understand, why would you see csh if you login as toor

It has no shell in the /etc/passwd entry by default.
Maybe it then defaults to csh (which is really tcsh) if nothing
else is given.   Seems strange if it does that, but???

Or, maybe the OP managed to get it put in the /etc/passwd entry.

Anyway, I prefer tcsh, but if the OP just has to have it bash,
it is easy to do.

All the OP has to do is install bash from /usr/ports/shells/bash and 
then edit /etc/passwd to change the last field for toor - after the last 
colon - to point to where it installs bash (/usr/local/bin/bash maybe) 
and then it should all be fine.

jerry

 ___
 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: tcpdump -- non-local traffic not showing

2007-10-05 Thread Christopher Cowart
On Fri, Oct 05, 2007 at 05:31:25PM -0600, [EMAIL PROTECTED] wrote:
 I'm having trouble seeing packets which are not going to or from the
 machine on which tcpdump is running.  Is there something special I
 need to do to enable this?  It's my understanding tcpdump puts the
 interface in promiscuous mode, and dmesg seems to confirm this.
 However I see the following behavior using tcpdump -fntl -i ed1:
 
 If hosts .x, .y, and .z are all on the same network,
 and if tcpdump is running on host a.b.c.x
 and on host a.b.c.y I do
  ping a.b.c.x
 
 I see the icmp packets.
 
 But if on host a.b.c.y I do
  ping a.b.c.z
 
 I see nothing.
 Does the interface drop packets with a different mac address, even
 when supposedly put in promiscuous mode?
 
 Clues?

You're probably plugged into a switch (learning bridge). Switches
partition your collision domain -- they learn which MAC is available on
which port and only send on that port.

You either need a hub or a really expensive switch (the kind that you
log in to and set up port mirrors).

-- 
Chris Cowart
Lead Systems Administrator
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpHpDgl1KEhH.pgp
Description: PGP signature


Re: BASH as root shell (static linking)

2007-10-05 Thread RW
On Fri, 5 Oct 2007 20:09:46 -0400
Jerry McAllister [EMAIL PROTECTED] wrote:

 On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote:
 
  On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
  Philip Hallstrom [EMAIL PROTECTED] wrote:
  
On 06/10/2007, at 5:45 AM, RW wrote:
   
On Sat, 6 Oct 2007 04:54:26 +1000
Jerahmy Pocott [EMAIL PROTECTED] wrote:

Hello,

I'm wanting to use BASH as my root shell, so I compiled a
statically linked

I would suggest using bash as your toor shell instead. toor
exist precisely for this purpose.
   
Yeah, I'v done that in the past, but I really dislike csh, I
don't want to use
it EVER =p
  
  I don't understand, why would you see csh if you login as toor
 
 It has no shell in the /etc/passwd entry by default.
 Maybe it then defaults to csh (which is really tcsh) if nothing
 else is given.   

It defaults to sh

 Anyway, I prefer tcsh, but if the OP just has to have it bash,
 it is easy to do.

I actually value my ignorance of tcsh, it prevents me doing anything
ambitious if I forget where I am. Explicitly selecting another shell is
like a safety-catch. And tsch is fairly friendly without knowing much
about it.

 All the OP has to do is install bash from /usr/ports/shells/bash and 
 then edit /etc/passwd to change the last field for toor - after the
 last colon - to point to where it installs bash (/usr/local/bin/bash
 maybe) and then it should all be fine.

Yes , that's what it's for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: good replacement for open office

2007-10-05 Thread icantthinkofone

Frank Jahnke wrote:

what would be a good replacement(s) for most of it's functionality
(word processing and spreadsheets are what matter to me)



You really have to decide what you want to suite to do.  Otherwise, your
problem is underspecified.

1) Collaboration (complex).  If you collaborate with colleagues who use
Word (for example) then practically you have to use Word if you deal
with complex documents.  By collaborate I mean exchanging documents
back and forth, with edits in each pass.  Mine are always heavy in
equations and chemistry.

Run it in a virtual machine (VMware, Win4BSD, qemu/kqemu) on XP, W2K or
98SE.  You probably don't need the latest and greatest version of Word
unless you colleagues are very sophisticated.  Word 2000 has been fine
for me.

2) Document creation.  If you only want to create documents, and Office
compatibility is not that important, then there are many options:
Abiword/Gnumeric are quite good if you want WYSIWYG (but do install all
the extensions), the formatters TeX and groff are exceptionally powerful
if you learn them well.  Abiword does not read Word files well; Gnumeric
has many short-comings in reading Excel (particularly for graphics) but
is very good otherwise.  Personally I use the groff family for all my
complex documents, but I have used it for 25 years and know it inside
and out.  (Well, it was troff and friends long ago.)

3) Read-only.  You can use Antiword to get the raw text, but you lose
all formatting.  It is a pretty lousy choice in my opinion.
Textmaker/Planmaker do a very good job for this.

4) Mixture.  If you have a general mixture of these tasks and don't want
to set up a VM, use Textmaker.  The programs are quite good, they are
quite compatible with Office (but choke on obscure files I use
regularly, as does OO.o and all the others), and much better than OO.o
and Aibword/Gnumeric in my opinion if you like Word.  They are also
quite inexpensive -- you can often find them for $20 or so on sale from
the publisher.

Personally, I use groff (with chem, grap, pic, refer, tbl and eqn for
all the heavy text formatting), VMware/XP/Office 2003,
Win4BSD/W2k/Office 2000, Textmaker/Planmaker, OO.o, Abiword/Gnumeric,
and Windows computers.  What I use depends on what I am doing.

Good luck!

Frank

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

  

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


Re: good replacement for open office

2007-10-05 Thread Erich Dollansky

Hi,

do you really want the world to know what you are writing?

icantthinkofone wrote:

Frank Jahnke wrote:


  

Why not use Google Docs?


And ask NSA in case you need a backup?

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


Re: BASH as root shell (static linking)

2007-10-05 Thread Old Ranger

RW wrote:

On Fri, 5 Oct 2007 20:09:46 -0400
Jerry McAllister [EMAIL PROTECTED] wrote:

  

On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote:



On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
Philip Hallstrom [EMAIL PROTECTED] wrote:

  

On 06/10/2007, at 5:45 AM, RW wrote:

  

On Sat, 6 Oct 2007 04:54:26 +1000
Jerahmy Pocott [EMAIL PROTECTED] wrote:



Hello,

I'm wanting to use BASH as my root shell, so I compiled a
statically linked
  

I would suggest using bash as your toor shell instead. toor
exist precisely for this purpose.


Yeah, I'v done that in the past, but I really dislike csh, I
don't want to use
it EVER =p
  

I don't understand, why would you see csh if you login as toor
  

It has no shell in the /etc/passwd entry by default.
Maybe it then defaults to csh (which is really tcsh) if nothing
else is given.   



It defaults to sh

  

Anyway, I prefer tcsh, but if the OP just has to have it bash,
it is easy to do.



I actually value my ignorance of tcsh, it prevents me doing anything
ambitious if I forget where I am. Explicitly selecting another shell is
like a safety-catch. And tsch is fairly friendly without knowing much
about it.

  
All the OP has to do is install bash from /usr/ports/shells/bash and 
then edit /etc/passwd to change the last field for toor - after the

last colon - to point to where it installs bash (/usr/local/bin/bash
maybe) and then it should all be fine.



Yes , that's what it's for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

Hey look,
BASH is not a UNIX shell.
BASH occurred with Linux then carried over into FreeBSD.
While it has some advantages, it is still a bastard.

UNIX is written in C

Want the best you can get?  Use tcsh as a shell and let the linux 
community do whatever they want.


SHEESH

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