Re: [OT] i want to know

2005-09-08 Thread Norberto Meijome

abik no wrote:

i have some problem here. i want to know how grafic card transfer picture, 
video or anything from that grafic card to the monitor. it's important to me to 
know that.



Google for 'vga standard'... you should get tons of links... for example:
http://www.firingsquad.com/guides/hiwdisplay/page6.asp

(and yes, that answer, 'google first' probably applies to lots of other 
questions ;) )


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


RE: and the winner is...

2005-09-08 Thread Chris St Denis
a. I am hoping to see this fixed in 6.x
b. This I agree with. As a desktop client FreeBSD still needs work. 
c. sysutils/portaudit

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott W
Sent: Sunday, September 04, 2005 11:49 AM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: and the winner is...

Mario Carugno wrote:
 I there, i was trying freebsd for a while, and comparing it against 
 debian/linux.
 The winner was Debian by far... Freebsd could be stable, but it is not 
 faster... and Debian is far much more 'usable'.
  Freebsd package installation is very laborious compared with Debian's apt

 system. I have to search in each CD, know dependences,...
  X configuration is hard too when the autodetected configuration doesn't 
 works...
  I think fbsd is good, but needs some user facilities.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 

Lame.  Care to actually _back up_ your statement with something substantial?

cvsup and ports is the best package management system I've seen yet in 
it generally 'just works right.'  That statement is made with 12 years 
of Linux experience, as well as Solaris and other *nixes.

For a server system, FreeBSD is really hard to beat.  The closest might 
be Gentoo, but their portage (based on BSD ports) system isn't as 
consistently stable as BSD ports (meaning things break more often).

As it's not a _great_ idea IMO to even have build tools (gcc and 
toolchain) on a production server, it's not a bad idea to have a 
seperate build host somewhere, but that applies equally to any system, 
and you also have the option to go with binary packages.

Let me know how the following goes for you with Deb or other Linux 
distro besides gentoo- install PHP or apache with _only_ the options 
that you want/need.  Oh rightyou can't, without compiling from 
source, at which point you've lost your 'package management.'  Oops?

Read the Handbook, try to get enough of a clue to understand it, use it 
for a month, and then come back with a statement you can back up. 
Otherwisepiss off.

The only 'real' gripes I've got with FreeBSD are:
a.  thread performance - from what I've seen, still lags behind Linux 
(mysql benchmarks show this to be true at leat for 5-STABLE).

b.  desktop BSD 'out of box experience'- mixed, as BSD is primarily a 
server OS, but with 'roll your own' capabilities...oh, and there are now 
two 'desktop BSD' type projects.  So not really a gripe, but can see 
someone complaining about it a bit, if they don't find the Dekstop BSD 
project.

c.  security patch notification system (may exist now?).  Yes, you can 
get emails from the security ML, but now quite the same as for example, 
'smpatch analyze' on Solaris 9/10.  This could be argued that's 
_exactly_ what rel-STABLE is, however, so again, not a real issue, 
although a user friendly (for people using as a desktop OS) tool would 
be of benefit.

Geeze, compared to my gripes against Linux and *nix distros. these are 
really pretty damned trivial.  If thread performance comes up to par 
with Linux, FreeBSD has a very good chance of becoming my choice for 
'personal *nix' (ie, my primary workstation, laptops, etc) over Gentoo.

Scott
___
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: Odd SU output?

2005-09-08 Thread Igor Robul

Chris St Denis wrote:


While being away from work for a week, some odd output appeared on my su
comment.



%su
otp-md5 497 pe2119 ext
Password:
 

You have enable One Time Passwords (OTP) in your PAM configuration, so 
now you can use

regular root password or you can calculate answer (password) from this text.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Review of An Illustrated Guide to IPSec?

2005-09-08 Thread Ted Mittelstaedt

IPsec?  I thought you were taling about IPsex!

Ted

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of Parv
Sent: Wednesday, September 07, 2005 5:46 PM
To: f-q
Subject: OT: Review of An Illustrated Guide to IPSec?


To this IPSec ignorant but quite interested in the subject, this
seems like a good reference ...

  http://www.unixwiz.net/techtips/iguide-ipsec.html


To those who are versed in the topic, how does it look?


  - Parv

-- 

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

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 
8/31/2005

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


RE: php --with apache error log

2005-09-08 Thread Chris St Denis
Looks like you are mixing debug and non-debug builds of php.

Do a port update to make sure your makefile is clean.
Deinstall php and all of the modules. 
Reinstall php
Reinstall the modules.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vizion
Sent: Wednesday, September 07, 2005 10:32 AM
To: Kevin Kinsey
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: php --with apache error log

On Wednesday 07 September 2005 08:54,  the author Kevin Kinsey contributed
to 
the dialogue on-
 Re: php --with apache error log: 

Vizion wrote:
I tried changing to :
extension_dir = //usr/local/lib/php/20041030
but that made no difference --still got the same error:
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open
quot;/usr/local/lib/php/20041030-debug/pcre.soquot;
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open
quot;/usr/local/lib/php/20041030-debug/xml.soquot;

Puzzled

david

I suspect that a call to phpinfo() would reveal that you
built a debug build?  Never having done this myself, I
can't say exactly what you'd want to do to fix it; however,
an obvious kluge would be to create the directory
it seems to want to have, and copy the object files to it.

Kevin Kinsey
I am sure you are right -- maybe there is something odd in the Makefile.. I 
wonder if the debug build version of xml.so and pcre.so are identical?

Umph..

I will change the directories,as you suggest.. and see what happens - in the

meantime I will make a bug report

david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after

completing engineroom refit.
___
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]


Running Program memory limit

2005-09-08 Thread Mark Ruggles

Hi Guys,

I'm using the pan newsreader in FreeBSD 6.0-BETA2 #0 build from ports. 
Pan operates normally on small newsgroups with not to many articles, 
however if i try to load a group with 100+ articles (my servers have 
good retention) Pan seems to bomb out completely whilst loading the 
groups articles, giving no errors or warnings.


Memory usage for the process is high upto ~500meg RAM at any one time 
when loading the group.


Has the Kernel reached a theoretical limit for the size of a process and 
killed it off?


If so can this behaviour be changed at all?

thanks

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


Re: Running Program memory limit

2005-09-08 Thread Glenn Dawson

At 02:16 AM 9/8/2005, Mark Ruggles wrote:

Hi Guys,

I'm using the pan newsreader in FreeBSD 6.0-BETA2 #0 build from 
ports. Pan operates normally on small newsgroups with not to many 
articles, however if i try to load a group with 100+ articles 
(my servers have good retention) Pan seems to bomb out completely 
whilst loading the groups articles, giving no errors or warnings.


Memory usage for the process is high upto ~500meg RAM at any one 
time when loading the group.


Has the Kernel reached a theoretical limit for the size of a process 
and killed it off?


If so can this behaviour be changed at all?


How much RAM is in your system, and how big is your swap file?

If you have RAM and swap to back it up, a user process has 3GB of 
address space available to it.  You can alter that by changing 
KVA_PAGES in your kernel config, but it doesn't sound like that's 
what your problem is.


-Glenn



thanks

Mark
___
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: Running Program memory limit

2005-09-08 Thread Mark Ruggles

The system is a Dell Xps gen 2 Laptop with 2 gig RAM

998meg free in swap,

output of df -h:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s3a248M 77M151M34%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s3e496M4.5M452M 1%/tmp
/dev/ad0s3f 19G 10G6.9G60%/usr
/dev/ad0s3d496M 50M406M11%/var


the interesting thing is that the same thing happens when using mozilla 
thunderbird to do the same thing...


Glenn Dawson wrote:

At 02:16 AM 9/8/2005, Mark Ruggles wrote:


Hi Guys,

I'm using the pan newsreader in FreeBSD 6.0-BETA2 #0 build from ports. 
Pan operates normally on small newsgroups with not to many articles, 
however if i try to load a group with 100+ articles (my servers 
have good retention) Pan seems to bomb out completely whilst loading 
the groups articles, giving no errors or warnings.


Memory usage for the process is high upto ~500meg RAM at any one time 
when loading the group.


Has the Kernel reached a theoretical limit for the size of a process 
and killed it off?


If so can this behaviour be changed at all?



How much RAM is in your system, and how big is your swap file?

If you have RAM and swap to back it up, a user process has 3GB of 
address space available to it.  You can alter that by changing KVA_PAGES 
in your kernel config, but it doesn't sound like that's what your 
problem is.


-Glenn



thanks

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



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


Porting from LInux to FreeBSD

2005-09-08 Thread Deepak Naidu
Hi,
   I am trying to migrate my mail servers from Fedora
core 3 to FreeBSD 5.4, due to performance issue.  Had
few questions.

1)Which is the suitable filesystem ie UFS2, Ext2
etc...
for mailing server. I used raiserfs in linux.  Which
File System's are supported in FreeBSD 5.4 and which
is stable for mailing system.  How do i enable them in
kernel.

2)How to i find memory, cpu information in freebsd,
apart from TOP. In linux we have free and
/pro/cpuinfo.  I dont see any files under /proc

3) Is SMP support enabled in FreeBSD 5.4, or should I
recompile the kernel for the support(what kernel
arguments should I use).

Regards,
Deepak Naidu.






___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting from LInux to FreeBSD

2005-09-08 Thread Subhro

Deepak Naidu sat at his 'puter and typed on 9/8/2005 15:16:


Hi,
 


Hello :-),


  I am trying to migrate my mail servers from Fedora
core 3 to FreeBSD 5.4, due to performance issue. 


Cool! Go for it :-)


1)Which is the suitable filesystem ie UFS2, Ext2
etc...
for mailing server. I used raiserfs in linux.  Which
File System's are supported in FreeBSD 5.4 and which
is stable for mailing system.  How do i enable them in
kernel.
 


The native filesystem for FreeBSD 5.x and above is UFS2 which performs
exceptionally well IMHO. Reiserfs also has support in FBSD although
readonly only. Just something off topic, did you have any reasons for
using ReiserFS in Linux and not use EXT2/3?


2)How to i find memory, cpu information in freebsd,
apart from TOP. In linux we have free and
/pro/cpuinfo.  I dont see any files under /proc
 


what information do you need that top does not provide? You can try
sysctl -a | more and analyse all the kernel runtime variables.


3) Is SMP support enabled in FreeBSD 5.4, or should I
recompile the kernel for the support(what kernel
arguments should I use).
 


No SMP by default is not there in the stock kernel. However you can boot
up your SMP box with the stock kernel and cimpile SMP support in it.
Refer to the handbook for the kernel parameters.
Also have a look at /usr/src/sys/arch/conf/GENERIC and
/usr/src/sys/arch/conf/NOTES for examples where arch is your
architecture (i386,amd64,etc)

Welcome to the world of FreeBSD.

Thanks
S.

--
-+-
 | Subhro Sankha Kar
 \   /  |   GSM: +919831064613  Egold: 2078232
  \./|MSN:[EMAIL PROTECTED]  --  Yahoo: subhro82
 (0Y0)   |ICQ: 203567534 --  AIM: bsdboy1982
--ooO--(_)--Ooo--+-


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


Re: nForce4-SLI, AHCI and NCQ and FreeBSD 6.0

2005-09-08 Thread O. Hartmann

Hello.
Are you really sure the onboard Sil SATA controller supports SATA II? 
When I studied the handbook of both motherboards, the A8N-SLI Deluxe and 
A8N-SLI Premium I found both motherboards are idetically equipted with 
the *not* SATA II capable SilI3114 SATA controller. By the way, as I 
know, the second SATA controller is attached via the PCI32 bus, not via 
PCIe! That means (in my opinion) there is no benefit using this 
controller. It is more a marketing GAG than a serious add-on.


RAID5 performance of ICH7R and SilI is said to be very, very poor (about 
10 MB/s read/write performance), so what benefit I do have using this 
controller with it's senseless 'capabilities' and non-PCIe attachment?


This is only a thought based on my personal available informations and 
maybe wrong ...


Oliver

Malachi de Ælfweald wrote:
I have noticed the same thing with the onboard Silicon Image controller. 
I am using the A8N-SLI Premium. I am using the Silicon Image controller 
instead of the nForce4 controller because it specifically said SATAII 
and said it supported RAID5 (whereas the nForce did not support RAID5). 
However, on boot it recognizes it as SATA150 (which should be SATA300).


Malachi

On 9/6/05, *O. Hartmann* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hello.
I have a little question about the popular nForce4-SLI chipset for the
Socket 939 platform. The onboard SATA controller of the nForce4-SLI
chipset claims to be NCQ (or SATA II) capable, but nVidia implemented
this feature in a not-AHCI-standardised way, but as an own solution. My
question is: Is the FBSD 6.X driver for the nForce4-SLI chipset capable
of using NCQ (as I know, the driver has to enable NCQ and it's not done
automatically by the harddrive-controller interaction).

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




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


IPFW2+NATD stateful rules VS. FTP

2005-09-08 Thread Peter Rosa
Hello everybody,

please can anybody help me with ipfw rules?

My machine is acting as firewall/router/www-proxy/ftp-proxy for small LAN.
It does not work as ftp-server.

I set my ipfw2 rules exactly as in section 25.6.5.7 An Example NAT and
Stateful Ruleset Ex.2 from handbook.
Everything works well except miserable ftp. I just installed ports/jftpgw to
be an transparent proxy for internal LAN but still without success.

I understand all rules in those example, but I do not know where should
I place fwd rule(s). Ftp depends on two ports 20 and 21. So i assume
there should be two fwd rules semewhere in the ruleset.
Please, where should I place those rules?

Or is it better to use /etc/nad.conf to redirect all incomming connections
on ports 20 and 21 to localhost?

Any help is *very* appreciated :-)

Peter Rosa



P.S. Please consider adding such rules into mentioned example in handbook.
I think a lot of users will welcome such addition. I spent four days
on Ggle before writing here and I did not find anything helpful.


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


PPPoE to connect to T-DSL

2005-09-08 Thread Schleich, Arno
Hi,
 
I have a similar question as some people before and - yes - I researched
the archives to try out the various solutions proposed over the months.
None of which yet did the job.
 
I just need to connect my notebook to the internet using pppoe to hook
up to t-dsl, a German adsl provider.
 
I installed 5.4 Release with very few problems.
 
I modified ppp.conf according to various postings on this list.
 
Yet I am quite unsure as to which other configuration files I have to
adapt and which to leave alone. 
 
Every posting in the archive differs somewhat regarding this issue (e.g.
does one have to modify host.conf or resolv.conf or or others or none
and if yes how???).
 
Anyway, trying to use the most generic ppp.conf it hangs in 'Phase' (as
far as I can understand the log). It redials and redials, which results
in multiple
 
deflink: Connected
deflink: Hangup
 
sequences in the /var/lod/ppp.log. Btw, I upped the rl0 interface prior
to starting ppp, so I hope this is not an issue. There is no activity on
the LEDs of the dsl modem.
 
To preempt some suggestions - it actually worked under SuCKse Linux 9.3,
one of the few things that did actually work, which prompted me to
switch to FreeBSD.
 
I should be truly thankful if I were to receive some hints.
 
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't 'startx', said 'libXfixes.so.3' not found, required by 'gnome-session'

2005-09-08 Thread jia liu
Sir,

I met problem:
1. I installed freebsd 5.3-release first, then update
source tree, buildworld and install success to up
freebsd 5.4-release.
2. pkg_add -r gnome2, add
'/usr/X11R6/bin/gnome-sessio' to my .xinitrc file
after installed gnome2.10.
3. Tried to startx, but it said
'/libexec/ld-elf.s0.1:shared object libXfixes.so.3
not found, required by gnome-session', can't enter
window.

I want to know why, thank you.






___ 
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 
http://cn.mail.yahoo.com

___
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 'startx', said 'libXfixes.so.3' not found, required by 'gnome-session'

2005-09-08 Thread Yuan Jue
On Thursday 08 September 2005 20:33, jia liu wrote:
 I met problem:
 1. I installed freebsd 5.3-release first, then update
 source tree, buildworld and install success to up
 freebsd 5.4-release.
 2. pkg_add -r gnome2, add
 '/usr/X11R6/bin/gnome-sessio' to my .xinitrc file
 after installed gnome2.10.
 3. Tried to startx, but it said
 '/libexec/ld-elf.s0.1:shared object libXfixes.so.3
 not found, required by gnome-session', can't enter
 window.

I'm afraid you have fetched the latest gnome2 package which is not compiled 
under FB5.4. It's probably compiled under FB6.0.

My suggestion is going to ftp://ftp.freebsdchina.org to fetch the gnome2 
package for FreeBSD5.4 (you are in china, right?) and there you are.

Good luck!

-- 
Best Regards.

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


Re: PPPoE to connect to T-DSL

2005-09-08 Thread cpghost
On Thu, Sep 08, 2005 at 02:32:19PM +0200, Schleich, Arno wrote:
 I just need to connect my notebook to the internet using pppoe to hook
 up to t-dsl, a German adsl provider.
  
 I installed 5.4 Release with very few problems.
  
 Anyway, trying to use the most generic ppp.conf it hangs in 'Phase' (as
 far as I can understand the log). It redials and redials, which results
 in multiple
  
 deflink: Connected
 deflink: Hangup
  
 sequences in the /var/lod/ppp.log. Btw, I upped the rl0 interface prior
 to starting ppp, so I hope this is not an issue. There is no activity on
 the LEDs of the dsl modem.

Hello Arno,

I know definitely that the following configuration works with
kamp-dsl, a provider that uses t-dsl (yes, on FreeBSD 5.4-STABLE).

/etc/ppp/ppp.conf:
--

default:
  set log local Phase Chat Connect LCP IPCP tun command

myadsl:
  set device PPPoE:rl0
  set MTU 1460
  set MRU 1460
  set dial
  set crtscts off
  set speed sync
  disable lqr
  set echoperiod 30
  enable echo
  disable deflate
  disable pred1
  disable vjcomp
  disable acfcomp
  disable protocomp
  set log Phase LCP IPCP CCP Warning Error Alert
  set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
  set login
  set authname your_authname
  set authkey your_authkey
  set timeout 0
  add default HISADDR
  set server /var/run/internet  0177

You can enable ppp at bootup by adding this to /etc/rc.conf:

ppp_enable=YES
ppp_profile=myadsl
ppp_user=root
ppp_mode=ddial
ppp_nat=YES

Or run ppp manually like this:

# /usr/sbin/ppp -quiet -ddial -nat myadsl

Should you still not be able to connect, please have a closer
look at /var/log/ppp.log. You may also want to

# tcpdump -i rl0

to see if the PADI/PADO/PADR/PADS handshake completes
successfully.

Good luck!
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd on memory card

2005-09-08 Thread Jerahmy Pocott


On 08/09/2005, at 6:36 AM, Damon Blom wrote:



Hi
   Still no go.
  will boot (very slowly) from external usb hard drive.
  da0  maxtor scsi -0 device  194481 mb
  will not boot
  da1  hp digital drive 976 mb (whole disk)
 da1s1a  /
da1s1d  /usr
  I disabled hitachi drive and external maxtor drive
  get
   F1 Freebsd
   F5 drive1
  will not let me press enter
  Phoenix Bios version F.35
   Thank's (I can still mount it and r/w from it)
   Damon


I would say, and this is just a guess, that the bios doesn't recognise
it as a bootable device or it is unable to find/use the boot block?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting from LInux to FreeBSD

2005-09-08 Thread Subhro

Deepak Naidu sat at his 'puter and typed on 9/8/2005 16:55:


Hey Subhro thanx for the info.  I used Reiserfs in
linux, bcos its reads and writes smaller files faster
like file size of 1-5 Mb, basically for mailing
solution.  I dont know where iam wrong.  


I have read regarding XFS, in freebsd any info ?.
So ok FreeBSD supports UFS1/2, dos, fat, fat32, ext2
reiserfs read only, ok cool...

So how do i enable Reiserfs in kernel, and do the
partion at install time...

http://people.freebsd.org/~rodrigc/xfs/index.html
 

XFS is supported in FBSD. For infomration regarding enabling various 
stuff in the kernel have a look at /usr/src/sys/conf/NOTES. BTW, your 
mail client incorrectly marks the replies. Why dont u use thunderbird? 
Its a really cool client IMHO. Also send a cc to 
[EMAIL PROTECTED]


Thanks
S.



--- Subhro [EMAIL PROTECTED] wrote:

 


Deepak Naidu sat at his 'puter and typed on 9/8/2005
15:16:

   


Hi,


 


Hello :-),

   


 I am trying to migrate my mail servers from
 


Fedora
   

core 3 to FreeBSD 5.4, due to performance issue. 

 


Cool! Go for it :-)

   


1)Which is the suitable filesystem ie UFS2, Ext2
etc...
for mailing server. I used raiserfs in linux. 
 


Which
   


File System's are supported in FreeBSD 5.4 and
 


which
   


is stable for mailing system.  How do i enable them
 


in
   


kernel.


 


The native filesystem for FreeBSD 5.x and above is
UFS2 which performs
exceptionally well IMHO. Reiserfs also has support
in FBSD although
readonly only. Just something off topic, did you
have any reasons for
using ReiserFS in Linux and not use EXT2/3?

   


2)How to i find memory, cpu information in freebsd,
apart from TOP. In linux we have free and
/pro/cpuinfo.  I dont see any files under /proc


 


what information do you need that top does not
provide? You can try
sysctl -a | more and analyse all the kernel runtime
variables.

   


3) Is SMP support enabled in FreeBSD 5.4, or should
 


I
   


recompile the kernel for the support(what kernel
arguments should I use).


 


No SMP by default is not there in the stock kernel.
However you can boot
up your SMP box with the stock kernel and cimpile
SMP support in it.
Refer to the handbook for the kernel parameters.
Also have a look at /usr/src/sys/arch/conf/GENERIC
and
/usr/src/sys/arch/conf/NOTES for examples where
arch is your
architecture (i386,amd64,etc)

Welcome to the world of FreeBSD.

Thanks
S.

--

   


-+-
 


 | Subhro Sankha Kar
 \   /  |   GSM: +919831064613  Egold:
2078232
  \./|MSN:[EMAIL PROTECTED]  --  Yahoo:
subhro82
 (0Y0)   |ICQ: 203567534 --  AIM:
bsdboy1982

   


--ooO--(_)--Ooo--+-
 



   






___ 
Does your mail provider give you FREE antivirus protection? 
Get Yahoo! Mail http://uk.mail.yahoo.com


 




--
-+-
 | Subhro Sankha Kar
 \   /  |   GSM: +919831064613  Egold: 2078232
  \./|MSN:[EMAIL PROTECTED]  --  Yahoo: subhro82
 (0Y0)   |ICQ: 203567534 --  AIM: bsdboy1982
--ooO--(_)--Ooo--+-

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


Re: Porting from LInux to FreeBSD

2005-09-08 Thread Svein Halvor Halvorsen

* Deepak Naidu [2005-09-08 10:46 +0100]
  2)How to i find memory, cpu information in freebsd,
  apart from TOP. In linux we have free and
  /pro/cpuinfo.  I dont see any files under /proc

You need to mount procfs on /proc to have files appear in /proc. However, 
you won't find cpuinfo in there, just one folder for each running process.
You could however mount the linprocfs filesystm in /compat/linux/proc and 
look at /compat/linux/proc/cpuinfo et.al. You'd need to load the linux and 
linprocfs kernel modules to do that.

To gather system information, these utils should provide a starting point:

dmesg(8)
sysctl(8) 
kenv(1)
devinfo(8)
pciconf(8)
vmstat(8)
pstat(8)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


speed up bind9?

2005-09-08 Thread Jerod Prothe
The single dns I am running resolves...eventually.  I have not set up a 
secondary name server (caching) but I plan to.

Our proxy server is querying my one-and-only dns but often queries time out.
Is there a way to optimize the performance of the dns?  The same box handles 
httpd, postfix, and spamd, so I realize there may not be much else I could do.

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


Re: speed up bind9?

2005-09-08 Thread Chuck Swiger

Jerod Prothe wrote:
The single dns I am running resolves...eventually.  I have not set up a 
secondary name server (caching) but I plan to. Our proxy server is querying

my one-and-only dns but often queries time out. Is there a way to optimize
the performance of the dns?


Why, yes.  Use the forwarders directive to point your nameserver to another 
DNS server (which should be larger and better connected).


However, a lightly loaded DNS server ought to run just fine unless there is a 
problem somewhere.  Are you having path MTU problems, or do you have a firewall 
somewhere which might be blocking TCP port 53 or something like that?


--
-Chuck

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


Printing MAN pages

2005-09-08 Thread Gerard Seibert
I am trying to figure out how to print 'man' pages. If I try a simple 
redirect, such as: man foo  foo.txt the new file is loaded with control 
symbols, etc. that are not really printable. I want to save the files if 
possible, and print them out at a later date. It that is not possible, how 
would I go about printing them out in real time?


--
Thanks

Gerard Seibert
[EMAIL PROTECTED]


 (\___/)   (\___/)   (\___/)   (\___/)   (\___/)   (\___/)
 /0\ /0\   /o\ /o\   /0\ /0\   /O\ /O\   /o\ /o\   /0\ /0\
 \__V__/   \__V__/   \__V__/   \__V__/   \__V__/   \__V__/
/|:. .:|\ /|;, ,;|\ /|:. .:|\ /|;, ,;|\ /|;, ,;|\ /|:. .:|\
\\:// \\;// \\:// \\;// \\;// \\://
jgs--` `---` `---` `---` `---` `---` `---
^~^^~^~^~^~^^~~^^^~^~~^~^~^~^^~~^^^~^~~^~^~^~^^~~^^^~^^~^~^~^^~~^^
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Printing MAN pages

2005-09-08 Thread Chuck Swiger

Gerard Seibert wrote:
I am trying to figure out how to print 'man' pages. If I try a simple 
redirect, such as: man foo  foo.txt the new file is loaded with 
control symbols, etc. that are not really printable. I want to save the 
files if possible, and print them out at a later date. It that is not 
possible, how would I go about printing them out in real time?


man -t man  man.ps will generate a PostScript version of the manpage and 
save it to the file man.ps.  Read up on groff/gtroff if you need some other format.


--
-Chuck


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


question about zlib security patch

2005-09-08 Thread Chantal Rosmuller

Hi everyone,

I was installing clamav 0.83 on a freebsd 5.4 system and I got the 
following error:
clamav configure: error: The installed zlib version may contain a 
security bug


I want to upgrade zlib to solve this but:
- I don't know how I can see what version of zlib I have at the moment?
- I found the following advice on the freebsd site:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc

according to this I have to do the following:

# cd /usr/src
# patch  /path/to/patch
# cd /usr/src/lib/libz/
# make obj  make depend  make  make install

but I have no /usr/src/lib/libz/

Can anyone clarify this for me? Thanks!

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


Re: Printing MAN pages

2005-09-08 Thread Stijn Hoop
On Thu, Sep 08, 2005 at 10:17:40AM -0400, Gerard Seibert wrote:
 I am trying to figure out how to print 'man' pages. If I try a simple 
 redirect, such as: man foo  foo.txt the new file is loaded with control 
 symbols, etc. that are not really printable. I want to save the files if 
 possible, and print them out at a later date. It that is not possible, how 
 would I go about printing them out in real time?

$ gunzip -c `man -w ls` | groff -mdoc -Tps | lpr

delivers a nicely formatted postscript manpage for ls(1) to your printer.
I don't know if man can do it by itself.

HTH,

--Stijn

-- 
The right half of the brain controls the left half of the body.  This means
that only left handed people are in their right mind.


pgpfI6jm51tbW.pgp
Description: PGP signature


Re: question about zlib security patch

2005-09-08 Thread Yuan Jue
On Thursday 08 September 2005 22:23, Chantal Rosmuller wrote:

 I was installing clamav 0.83 on a freebsd 5.4 system and I got the
 following error:
 clamav configure: error: The installed zlib version may contain a
 security bug

 I want to upgrade zlib to solve this but:
 - I don't know how I can see what version of zlib I have at the moment?

use pkg_info|grep zlib

 - I found the following advice on the freebsd site:

 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc

 according to this I have to do the following:

 # cd /usr/src
 # patch  /path/to/patch
 # cd /usr/src/lib/libz/
 # make obj  make depend  make  make install

 but I have no /usr/src/lib/libz/

maybe you didn't install source code when you installed your FreeBSD. You 
still can do it using sysinstall now.

Good luck!
-- 
Best Regards.

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


Re: Printing MAN pages

2005-09-08 Thread Greg Barniskis

Gerard Seibert wrote:
I am trying to figure out how to print 'man' pages. If I try a simple 
redirect, such as: man foo  foo.txt the new file is loaded with 
control symbols, etc. that are not really printable. I want to save the 
files if possible, and print them out at a later date. It that is not 
possible, how would I go about printing them out in real time?




Not the best solution for every situation, but when I need hard copy 
I just go get well formatted versions from the web rather than 
trying to munge the output from the local system:


http://www.freebsd.org/cgi/man.cgi

You could save those views as HTML, I suppose. I prefer to always be 
getting the latest version. I also find that in a pinch (lame 
printer + no/slow Internet) it works OK to do


man foo | lp

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about zlib security patch

2005-09-08 Thread Chantal Rosmuller

Yuan Jue wrote:


On Thursday 08 September 2005 22:23, Chantal Rosmuller wrote:

 


I was installing clamav 0.83 on a freebsd 5.4 system and I got the
following error:
clamav configure: error: The installed zlib version may contain a
security bug

I want to upgrade zlib to solve this but:
- I don't know how I can see what version of zlib I have at the moment?
   



use pkg_info|grep zlib

 


- I found the following advice on the freebsd site:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc

according to this I have to do the following:

# cd /usr/src
# patch  /path/to/patch
# cd /usr/src/lib/libz/
# make obj  make depend  make  make install

but I have no /usr/src/lib/libz/
   



maybe you didn't install source code when you installed your FreeBSD. You 
still can do it using sysinstall now.


Good luck!
 



Thank you Yuan

You are right I didn't install the sourcecode, the instructions make a 
lot more sense now :)

one other small question,  pkg_info | grep zlib
gave me the following output;

jzlib-1.0.5_1   A re-implementation of zlib in pure Java
php4-zlib-4.3.10_2  The zlib shared extension for php


so no zlib? Why is that ? because I didn't install it with pkg_add?


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


tarring a dump. Problems with a pipe

2005-09-08 Thread [EMAIL PROTECTED]
I'm getting accostumed to dump my fbsd 5.4 filesystems with dump on  
files in a samba share. Now, I'd like to compress the dumped files in 
the making (for instance piping it via tar) but I don't know how to do 
it.
Could you please help me?
Ciao
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about zlib security patch

2005-09-08 Thread Yuan Jue
On Thursday 08 September 2005 22:43, Chantal Rosmuller wrote:

 I was installing clamav 0.83 on a freebsd 5.4 system and I got the
 following error:
 clamav configure: error: The installed zlib version may contain a
 security bug
 
 I want to upgrade zlib to solve this but:
 - I don't know how I can see what version of zlib I have at the moment?
 
 use pkg_info|grep zlib
 
 - I found the following advice on the freebsd site:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.a
 sc
 
 according to this I have to do the following:
 
 # cd /usr/src
 # patch  /path/to/patch
 # cd /usr/src/lib/libz/
 # make obj  make depend  make  make install
 
 but I have no /usr/src/lib/libz/
 
 maybe you didn't install source code when you installed your FreeBSD. You
 still can do it using sysinstall now.


 You are right I didn't install the sourcecode, the instructions make a
 lot more sense now :)
 one other small question,  pkg_info | grep zlib
 gave me the following output;

 jzlib-1.0.5_1   A re-implementation of zlib in pure Java
 php4-zlib-4.3.10_2  The zlib shared extension for php


 so no zlib? Why is that ? because I didn't install it with pkg_add?
sorry, I never try clamav, so I am not sure the exact reason for that error. 
Maybe when you install the source code, there is no error anymore :)

Or, you may need to install this port find_zlib-1.9, which can be found 
in /usr/ports/security/.

Good luck! 
-- 
Best Regards.

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


Re: tarring a dump. Problems with a pipe

2005-09-08 Thread Robin Smith
 [EMAIL PROTECTED] == [EMAIL PROTECTED] it [EMAIL PROTECTED] writes:


[EMAIL PROTECTED] I'm getting accostumed to dump my fbsd 5.4
[EMAIL PROTECTED] filesystems with dump on files in a samba
[EMAIL PROTECTED] share. Now, I'd like to compress the dumped files
[EMAIL PROTECTED] in the making (for instance piping it via tar) but
[EMAIL PROTECTED] I don't know how to do it. 

For a level 0 dump (change level to suit

dump -0 -f - /dev/yourfilesystem |bzip2 -c dump.bz

Don't use tar: you want to compress one big file, not create an
archive of lots of files.

This will be slower than just doing a plain dump to file, but the
compression ratio can be huge.

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


Re: tarring a dump. Problems with a pipe

2005-09-08 Thread Jerry McAllister
 
 I'm getting accostumed to dump my fbsd 5.4 filesystems with dump on  
 files in a samba share. Now, I'd like to compress the dumped files in 
 the making (for instance piping it via tar) but I don't know how to do 
 it.
 Could you please help me?

Use gzip(1) or compress(1) if it is already a dump file.
It is a simple as 'compress dumpfilename'  and it will make
a compressed file called 'dumpfilename.Z'

jerry

 Ciao
 Vittorio
 ___
 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: question about zlib security patch

2005-09-08 Thread Dan Nelson
In the last episode (Sep 08), Chantal Rosmuller said:
 I was installing clamav 0.83 on a freebsd 5.4 system and I got the
 following error: clamav configure: error: The installed zlib version
 may contain a security bug
 
 I want to upgrade zlib to solve this but:
 - I don't know how I can see what version of zlib I have at the moment?
 - I found the following advice on the freebsd site:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc
 
 according to this I have to do the following:
 
 # cd /usr/src
 # patch  /path/to/patch
 # cd /usr/src/lib/libz/
 # make obj  make depend  make  make install
 
 but I have no /usr/src/lib/libz/

You will need to fetch the FreeBSD source tree first:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#STABLE

If you still have your installation CDs, you should be able to run
sysinstall and just reinstall the src distribution ( Configure -
Distributions - select 'src', select 'All' ).  

Then you can apply the patch.

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


Re: Porting from LInux to FreeBSD

2005-09-08 Thread Deepak Naidu

i am using my yahoo a/c ... ya regarding xfs its only
read only support in 6.0 and no support for 5.4

Thanx 
Deepak Naidu.

--- Subhro [EMAIL PROTECTED] wrote:

 Deepak Naidu sat at his 'puter and typed on 9/8/2005
 16:55:
 
 Hey Subhro thanx for the info.  I used Reiserfs in
 linux, bcos its reads and writes smaller files
 faster
 like file size of 1-5 Mb, basically for mailing
 solution.  I dont know where iam wrong.  
 
 I have read regarding XFS, in freebsd any info ?.
 So ok FreeBSD supports UFS1/2, dos, fat, fat32,
 ext2
 reiserfs read only, ok cool...
 
 So how do i enable Reiserfs in kernel, and do the
 partion at install time...
 
 http://people.freebsd.org/~rodrigc/xfs/index.html
   
 
 XFS is supported in FBSD. For infomration regarding
 enabling various 
 stuff in the kernel have a look at
 /usr/src/sys/conf/NOTES. BTW, your 
 mail client incorrectly marks the replies. Why dont
 u use thunderbird? 
 Its a really cool client IMHO. Also send a cc to 
 [EMAIL PROTECTED]
 
 Thanks
 S.
 
 
 --- Subhro [EMAIL PROTECTED] wrote:
 
   
 
 Deepak Naidu sat at his 'puter and typed on
 9/8/2005
 15:16:
 
 
 
 Hi,
  
 
   
 
 Hello :-),
 
 
 
   I am trying to migrate my mail servers from
   
 
 Fedora
 
 
 core 3 to FreeBSD 5.4, due to performance issue. 
 
   
 
 Cool! Go for it :-)
 
 
 
 1)Which is the suitable filesystem ie UFS2, Ext2
 etc...
 for mailing server. I used raiserfs in linux. 
   
 
 Which
 
 
 File System's are supported in FreeBSD 5.4 and
   
 
 which
 
 
 is stable for mailing system.  How do i enable
 them
   
 
 in
 
 
 kernel.
  
 
   
 
 The native filesystem for FreeBSD 5.x and above is
 UFS2 which performs
 exceptionally well IMHO. Reiserfs also has support
 in FBSD although
 readonly only. Just something off topic, did you
 have any reasons for
 using ReiserFS in Linux and not use EXT2/3?
 
 
 
 2)How to i find memory, cpu information in
 freebsd,
 apart from TOP. In linux we have free and
 /pro/cpuinfo.  I dont see any files under /proc
  
 
   
 
 what information do you need that top does not
 provide? You can try
 sysctl -a | more and analyse all the kernel
 runtime
 variables.
 
 
 
 3) Is SMP support enabled in FreeBSD 5.4, or
 should
   
 
 I
 
 
 recompile the kernel for the support(what kernel
 arguments should I use).
  
 
   
 
 No SMP by default is not there in the stock
 kernel.
 However you can boot
 up your SMP box with the stock kernel and cimpile
 SMP support in it.
 Refer to the handbook for the kernel parameters.
 Also have a look at
 /usr/src/sys/arch/conf/GENERIC
 and
 /usr/src/sys/arch/conf/NOTES for examples where
 arch is your
 architecture (i386,amd64,etc)
 
 Welcome to the world of FreeBSD.
 
 Thanks
 S.
 
 -- 
 
 
 

-+-
   
 
  | Subhro Sankha
 Kar
   \   /  |   GSM: +919831064613 
 Egold:
 2078232
\./   |MSN:[EMAIL PROTECTED]  --  Yahoo:
 subhro82
   (0Y0)  |ICQ: 203567534 --  AIM:
 bsdboy1982
 
 
 

--ooO--(_)--Ooo--+-
   
 
 
 
 
 
 
 
  

___
 
 Does your mail provider give you FREE antivirus
 protection? 
 Get Yahoo! Mail http://uk.mail.yahoo.com
 
   
 
 
 
 -- 

-+-
| Subhro Sankha Kar
   \   /  |   GSM: +919831064613  Egold:
 2078232
\./ |MSN:[EMAIL PROTECTED]  --  Yahoo:
 subhro82
   (0Y0)|ICQ: 203567534 --  AIM:
 bsdboy1982

--ooO--(_)--Ooo--+-
 
 



Linux your Life, Don't Window it [[]] 

   { All for the best }






___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: speed up bind9?

2005-09-08 Thread Jerod Prothe
I had read where the bind9 implementation of IPv6 was a bit flaky, so I found 
that tip and am trying it.  Doesn't seem to change things though.


Henrik Lidström wrote:

Jerod Prothe wrote:

The single dns I am running resolves...eventually.  I have not set up 
a secondary name server (caching) but I plan to.
Our proxy server is querying my one-and-only dns but often queries 
time out.
Is there a way to optimize the performance of the dns?  The same box 
handles httpd, postfix, and spamd, so I realize there may not be much 
else I could do.

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



Hi, try starting bind with the -4 flag. See if that helps.

/Henrik




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


Re: tarring a dump. Problems with a pipe

2005-09-08 Thread Gary W. Swearingen
Robin Smith [EMAIL PROTECTED] writes:

 dump -0 -f - /dev/yourfilesystem |bzip2 -c dump.bz

I compressed a filesystem dump (on Athlon 64/3200+, i386 OS) and

bzip2  compressed to 50% of 2 GB in 1118 sec 
gzip   compressed to 52% of 2 GB in  306 sec

But bzip2 can compress much better than that on some stuff.

If your goal is a small backup, bzip compresses better.
If your goal is a quick backup to disk, gzip is faster.
If your goal is a quick backup to tape, bzip is faster
   because tape is so slow, unless your CPU can't keep up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Printing MAN pages

2005-09-08 Thread Kevin Kinsey

Gerard Seibert wrote:


I am trying to figure out how to print 'man' pages. If I try a simple
redirect, such as: man foo  foo.txt the new file is loaded
with control symbols, etc. that are not really printable. I want to
save the files if possible, and print them out at a later date. It
that is not possible, how would I go about printing them out in real 
time?





And if you don't care about PostScript, (think this is in the FAQ or
fortune or some such);

man foo | col -bx  foo.txt

HTH,

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


5.2.1-RELEASE FTP site error suddenly

2005-09-08 Thread John Do
Here is what happens:

pkg_add -r apache+mod_ssl
Error: FTP Unable to get
ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.2.1-RELEASE/packages/Latest/apache+mod_ssl.tbz:
Protocol error
pkg_add: unable to fetch
'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.2.1-RELEASE/packages/Latest/apache+mod_ssl.tbz'
by URL


Even if I try to do a wget to the ftp I still get an
error.

I am able to successfully wget from other FTP sites.

Anyone have any solutions?

Is there a mirror of the packages for 5.2.1-RELEASE I
can try?

thanks!






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Printing MAN pages

2005-09-08 Thread Giorgos Keramidas
Gerard Seibert wrote:
 I am trying to figure out how to print 'man' pages. If I try a simple
 redirect, such as: man foo  foo.txt the new file is loaded with
 control symbols, etc. that are not really printable. I want to save
 the files if possible, and print them out at a later date. It that is
 not possible, how would I go about printing them out in real time?

man -t foo  foo.ps

will generate Postscript output, which is a lot better for printing.


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


i heard that...

2005-09-08 Thread Monte Rutherford
There is this free date site filled with tons of sex-addicts.
No flowers, no gifts, just meet up for action :)

There are also a few who want a serious relationship though
So if you want a long-termer, or a one-nighter, you got it ;)
Whatever floats your boat pretty much! 


http://logingcramp.com/extra/datingstars/





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


awstats for a single directory

2005-09-08 Thread Redmond Militante
hello

i was previously using webalizer to analyze my apache log files.  i was able to 
generate webalizer reports for a single directory using webalizer's IgnoreURL 
directive.

is it possible to get awstats to do the same thing - generate a report for an 
individual directory i.e., http://www.myserver.com/just_this_directory/ ?  i 
wasn't able to find any documentation related to this.

any advice appreciated.

redmond

-- 
Redmond Militante
Software Engineer / Medill School of Journalism
FreeBSD 5.4-STABLE #0: Wed Sep 7 15:00:27 CDT 2005 i386
12:15PM  up  1:54, 1 user, load averages: 0.24, 0.27, 0.22


pgp2uOlaQUKvJ.pgp
Description: PGP signature


Re: tarring a dump. Problems with a pipe

2005-09-08 Thread Parv
in message [EMAIL PROTECTED],
wrote Gary W. Swearingen thusly...

 I compressed a filesystem dump (on Athlon 64/3200+, i386 OS) and
 
 bzip2  compressed to 50% of 2 GB in 1118 sec 
 gzip   compressed to 52% of 2 GB in  306 sec
 
 But bzip2 can compress much better than that on some stuff.
 
 If your goal is a small backup, bzip compresses better.
 If your goal is a quick backup to disk, gzip is faster.
 If your goal is a quick backup to tape, bzip is faster
because tape is so slow, unless your CPU can't keep up.

In this context, by bzip did you actually meant bzip2?  (There
is a archivers/bzip port.)


  - Parv

-- 

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


Re[2]: Printing MAN pages

2005-09-08 Thread Gerard Seibert
On Thursday, September 08, 2005 12:35:35 PM Kevin Kinsey [EMAIL PROTECTED] 
wrote:

 Gerard Seibert wrote:
 
  I am trying to figure out how to print 'man' pages. If I try a simple
  redirect, such as: man foo  foo.txt the new file is loaded
  with control symbols, etc. that are not really printable. I want to
  save the files if possible, and print them out at a later date. It
  that is not possible, how would I go about printing them out in real 
  time?
 
 
 
 And if you don't care about PostScript, (think this is in the FAQ or
 fortune or some such);
 
 man foo | col -bx  foo.txt
 
 HTH,
 
 Kevin Kinsey


** Reply Separator **
Thursday, September 08, 2005 1:15:27 PM

Thank you. That is exactly what I was looking for. I had not heard of
the 'col' program before.

-- 
Gerard E. Seibert
[EMAIL PROTECTED]


A friend with weed, is a friend indeed

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


Re: Printing MAN pages

2005-09-08 Thread Stijn Hoop
On Thu, Sep 08, 2005 at 07:53:28PM +0300, Giorgos Keramidas wrote:
 Gerard Seibert wrote:
  I am trying to figure out how to print 'man' pages. If I try a simple
  redirect, such as: man foo  foo.txt the new file is loaded with
  control symbols, etc. that are not really printable. I want to save
  the files if possible, and print them out at a later date. It that is
  not possible, how would I go about printing them out in real time?
 
   man -t foo  foo.ps
 
 will generate Postscript output, which is a lot better for printing.

Highly useful to know, but shouldn't we update the man page for man(1)?

 -t  Use /usr/bin/groff -S -man to format the manual page, passing
 the output to stdout.  The output from /usr/bin/groff -S -man
 may need to be passed through some filter or another before
 being printed.

This does not exactly spell 'output postscript' to me...

--Stijn

-- 
Coughlin's law: never tell tales about a woman no matter how far away she
is, she'll always hear you.
-- Cocktail


pgpKoeURXzHyI.pgp
Description: PGP signature


Re: Porting from LInux to FreeBSD

2005-09-08 Thread Martin Hepworth
On 9/8/05, Deepak Naidu [EMAIL PROTECTED] wrote:
 
 Hi,
 I am trying to migrate my mail servers from Fedora
 core 3 to FreeBSD 5.4, due to performance issue. Had
 few questions.
 
 1)Which is the suitable filesystem ie UFS2, Ext2
 etc...
 for mailing server. I used raiserfs in linux. Which
 File System's are supported in FreeBSD 5.4 and which
 is stable for mailing system. How do i enable them in
 kernel.


I'd suggest use the ufs2 default with softupdates (a liitle like journaling 
but better) enabled. 

Other questions already answered by other people
--
martin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about zlib security patch

2005-09-08 Thread Kris Kennaway
On Thu, Sep 08, 2005 at 11:09:43PM +0800, Yuan Jue wrote:
 On Thursday 08 September 2005 22:43, Chantal Rosmuller wrote:
 
  I was installing clamav 0.83 on a freebsd 5.4 system and I got the
  following error:
  clamav configure: error: The installed zlib version may contain a
  security bug
  
  I want to upgrade zlib to solve this but:
  - I don't know how I can see what version of zlib I have at the moment?
  
  use pkg_info|grep zlib
  
  - I found the following advice on the freebsd site:
  
  ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.a
  sc
  
  according to this I have to do the following:
  
  # cd /usr/src
  # patch  /path/to/patch
  # cd /usr/src/lib/libz/
  # make obj  make depend  make  make install
  
  but I have no /usr/src/lib/libz/
  
  maybe you didn't install source code when you installed your FreeBSD. You
  still can do it using sysinstall now.
 
 
  You are right I didn't install the sourcecode, the instructions make a
  lot more sense now :)
  one other small question,  pkg_info | grep zlib
  gave me the following output;
 
  jzlib-1.0.5_1   A re-implementation of zlib in pure Java
  php4-zlib-4.3.10_2  The zlib shared extension for php
 
 
  so no zlib? Why is that ? because I didn't install it with pkg_add?
 sorry, I never try clamav, so I am not sure the exact reason for that error. 
 Maybe when you install the source code, there is no error anymore :)

The advice was bogus, zlib is not a package on FreeBSD.

 Or, you may need to install this port find_zlib-1.9, which can be found 
 in /usr/ports/security/.

That does something else again..please try not to give bad advice :-)

Kris


pgp1NPSfWRJUJ.pgp
Description: PGP signature


Re: question about zlib security patch

2005-09-08 Thread Kris Kennaway
On Thu, Sep 08, 2005 at 04:23:09PM +0200, Chantal Rosmuller wrote:
 Hi everyone,
 
 I was installing clamav 0.83 on a freebsd 5.4 system and I got the 
 following error:
 clamav configure: error: The installed zlib version may contain a 
 security bug
 
 I want to upgrade zlib to solve this but:
 - I don't know how I can see what version of zlib I have at the moment?
 - I found the following advice on the freebsd site:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc
 
 according to this I have to do the following:
 
 # cd /usr/src
 # patch  /path/to/patch
 # cd /usr/src/lib/libz/
 # make obj  make depend  make  make install
 
 but I have no /usr/src/lib/libz/
 
 Can anyone clarify this for me? Thanks!

You will need to either first install the FreeBSD sources (see the
handbook for full description of the many ways to do this) or upgrade
your FreeBSD installation to the latest security revision, see

  http://www.daemonology.net/freebsd-update/

Kris


pgp0K9fk3H802.pgp
Description: PGP signature


Re: 5.2.1-RELEASE FTP site error suddenly

2005-09-08 Thread Kris Kennaway
On Thu, Sep 08, 2005 at 12:41:31PM -0400, John Do wrote:
 Here is what happens:
 
 pkg_add -r apache+mod_ssl
 Error: FTP Unable to get
 ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.2.1-RELEASE/packages/Latest/apache+mod_ssl.tbz:
 Protocol error
 pkg_add: unable to fetch
 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.2.1-RELEASE/packages/Latest/apache+mod_ssl.tbz'
 by URL
 
 
 Even if I try to do a wget to the ftp I still get an
 error.
 
 I am able to successfully wget from other FTP sites.
 
 Anyone have any solutions?

It works for me, maybe it was something transient.

 Is there a mirror of the packages for 5.2.1-RELEASE I
 can try?

Try http://mirrorlist.freebsd.org/ - it only lists the release bits
(not packages directly), but if they have one there's a better chance
they have the other.

Kris


pgpEZlLMqmggh.pgp
Description: PGP signature


Re: Printing MAN pages

2005-09-08 Thread Erik Trulsson
On Thu, Sep 08, 2005 at 07:36:46PM +0200, Stijn Hoop wrote:
 On Thu, Sep 08, 2005 at 07:53:28PM +0300, Giorgos Keramidas wrote:
  Gerard Seibert wrote:
   I am trying to figure out how to print 'man' pages. If I try a simple
   redirect, such as: man foo  foo.txt the new file is loaded with
   control symbols, etc. that are not really printable. I want to save
   the files if possible, and print them out at a later date. It that is
   not possible, how would I go about printing them out in real time?
  
  man -t foo  foo.ps
  
  will generate Postscript output, which is a lot better for printing.
 
 Highly useful to know, but shouldn't we update the man page for man(1)?
 
  -t  Use /usr/bin/groff -S -man to format the manual page, passing
  the output to stdout.  The output from /usr/bin/groff -S -man
  may need to be passed through some filter or another before
  being printed.
 
 This does not exactly spell 'output postscript' to me...

It does if you know that postscript is the default output format of
groff.   If one doesn't know what format groff outputs by default, it is
easily learned by reading the groff(1) manpage.



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


Re: tarring a dump. Problems with a pipe

2005-09-08 Thread Gary W. Swearingen
Parv [EMAIL PROTECTED] writes:

 In this context, by bzip did you actually meant bzip2?  (There
 is a archivers/bzip port.)

No, I presented bzip2-labeled test results and then made statements
about archivers/bzip.  But I suppose they're true about bzip2 too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2.1-RELEASE FTP site error suddenly

2005-09-08 Thread John Do
Thanks Kris!

I found a successful mirror site.

You can FTP through a Windows box or other client but
from FreeBSD 5.2.1 the mirror site I mentioned still
doesn't work with pkg_add or wget (it worked about a
day or two ago) whereas the one below does work for
pkg_add and also wget at this time

ftp://ftp3.de.freebsd.org/pub/FreeBSD/releases/i386/5.2.1-RELEASE/5.2.1-RELEASE/packages/Latest/
--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Thu, Sep 08, 2005 at 12:41:31PM -0400, John Do
 wrote:
  Here is what happens:
  
  pkg_add -r apache+mod_ssl
  Error: FTP Unable to get
 

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.2.1-RELEASE/packages/Latest/apache+mod_ssl.tbz:
  Protocol error
  pkg_add: unable to fetch
 

'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.2.1-RELEASE/packages/Latest/apache+mod_ssl.tbz'
  by URL
  
  
  Even if I try to do a wget to the ftp I still get
 an
  error.
  
  I am able to successfully wget from other FTP
 sites.
  
  Anyone have any solutions?
 
 It works for me, maybe it was something transient.
 
  Is there a mirror of the packages for
 5.2.1-RELEASE I
  can try?
 
 Try http://mirrorlist.freebsd.org/ - it only lists
 the release bits
 (not packages directly), but if they have one
 there's a better chance
 they have the other.
 
 Kris
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tarring a dump. Problems with a pipe

2005-09-08 Thread Parv
in message [EMAIL PROTECTED], wrote Gary W.
Swearingen thusly...

 Parv [EMAIL PROTECTED] writes:
 
  In this context, by bzip did you actually meant bzip2?
  (There is a archivers/bzip port.)
 
 No, I presented bzip2-labeled test results and then made
 statements about archivers/bzip.

Thanks much for clarifying.


 But I suppose they're true about bzip2 too.

Can't comment (as i have not done any tests comparing bzip to bzip2).


  - Parv

-- 

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


Re: tarring a dump. Problems with a pipe

2005-09-08 Thread Robin Smith
 Parv == Parv  [EMAIL PROTECTED] writes:


Parv in message [EMAIL PROTECTED], wrote Gary W.
Parv Swearingen thusly...
  Parv [EMAIL PROTECTED] writes:
 
  In this context, by bzip did you actually meant bzip2?  
 (There is a archivers/bzip port.)
 
 No, I presented bzip2-labeled test results and then made
 statements about archivers/bzip.

Parv Thanks much for clarifying.


 But I suppose they're true about bzip2 too.

Parv Can't comment (as i have not done any tests comparing bzip
Parv to bzip2).

Just to return to the original question: to compress a dump, just
run dump with the -f - flag and pipe the output through your
favorite compression program (gzip, bzip2, bzip, compress).  I
was responding to a question about the use of tar, which would be
pointless here. 

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


atacontrol

2005-09-08 Thread Göran Nilsson
Hi. I have recently installed Freebsd 5.4 . I have also installed a cheap
raidcontroller . On the controller i put on a 200+120gb disk.
 
In the raidcontroller i create a JBOD raid, showing me that i now have 301gb
of disk. That's a loss of 19gb, i can live with that.

After login I do a atacontrol create JBOD ad5 ad6. It now creates ar0
device with 223gb of space. That's nearly a 100gb of disk loss!
If and how can i prevent the huge 100gb of storage loss?
 
/Regards dukka
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol

2005-09-08 Thread Glenn Dawson

At 11:54 AM 9/8/2005, Göran Nilsson wrote:

Hi. I have recently installed Freebsd 5.4 . I have also installed a cheap
raidcontroller . On the controller i put on a 200+120gb disk.



In the raidcontroller i create a JBOD raid, showing me that i now have 301gb
of disk. That's a loss of 19gb, i can live with that.



After login I do a atacontrol create JBOD ad5 ad6. It now creates ar0
device with 223gb of space. That's nearly a 100gb of disk loss!

If and how can i prevent the huge 100gb of storage loss?


If all you're going to do is use JBOD, why even 
have the raid controller in the first place?


-Glenn





/Regards dukka
___
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]


Installing KDE

2005-09-08 Thread Rem Roberti
I have tried to install Kde3 from both ports and pkgs.  Each time the 
installation chokes on Kdebase and Kdeartwork.  An error screen comes up 
announcing the failure, and referring me to a debug screen which I have 
no idea where to find.  As you can tell, this is a newbie thing.  Any 
help would be appreciated.


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


Sv: Re: atacontrol

2005-09-08 Thread Göran Nilsson
 All other ide channels are taken, and it comes for a cheap amount of money.
And i thought this would be the best way to combine different size of disk
into just one large disk. 
 
I can add some extra info
--
ad5: 194481MB Maxtor 6Y200P0/YAR41BW0 [395136/16/63] at ata2-slave UDMA133

ad6: 114440MB IC35L120AVVA07-0/VA6OA51A [232514/16/63] at ata3-master
UDMA100

ar0: 228880MB ATA SPAN array [29178/255/63] status: READY subdisks:

 
---Originalmeddelande---
 
Från: Glenn Dawson
Datum: 09/08/05 20:57:45
Till: Göran Nilsson ; freebsd-questions@freebsd.org
Ämne: Re: atacontrol
 
At 11:54 AM 9/8/2005, Göran Nilsson wrote:
Hi. I have recently installed Freebsd 5.4 . I have also installed a cheap
raidcontroller . On the controller i put on a 200+120gb disk.



In the raidcontroller i create a JBOD raid, showing me that i now have
301gb
of disk. That's a loss of 19gb, i can live with that.



After login I do a atacontrol create JBOD ad5 ad6. It now creates ar0
device with 223gb of space. That's nearly a 100gb of disk loss!

If and how can i prevent the huge 100gb of storage loss?
 
If all you're going to do is use JBOD, why even
have the raid controller in the first place?
 
-Glenn
 
 


/Regards dukka
___
gt;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]
 
 
__ NOD32 1.1212 (20050908) Information __
 
This message was checked by NOD32 antivirus system.
http://www.nod32.com
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rebuilding kernel 6.0beta4 for amd64?

2005-09-08 Thread Jeff D. Hamann

I've just put together a new amd64 machine in an ASUS Vintage-ae1 barebones
system. After giving up on FreeBSD 5.4 when it gagged on my hard drive, I
decided to try going all the way to 6.0beta4. Almost everything went without
incident except for mounting usb sticks and the on-board network card isn't
coming up. It seems to get detected, but not initialized.

When I run dmesg, I get the following lines (I can't post the whole thing
since I can't get files from the bsd box to my windows box -- no mcopy and I
don't know how to mount the usb stick either):

plip0: PLIP network interface on ppbus0

and when I type ifonfig, I get:

plip0: flags=108851UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT
mtu 1500
lo0: flags=blah,blah,blah

I think my chipsets for the asus vintage-ae1 is/are:

northbridge: SIS 760GX
southbridge: SIS 965L

and so doing a little research, I think the sis device driver might work
(maybe?) and so I need to recompile the kernel to get the onboard nic to
light up.
So I've been hunting around to see if I can recompile the kernel to include
the SIS ethernet driver and I'm having some trouble with the process of
building a new kernel under 6.0-BETA4...


From re-reading my references, compiling a new kernel is accomplished with

the following steps:

1) cd /sys/amd64/conf
2) cp KERNEL MYKERNEL
3) make the edits to MYKERNEL (adding the line device sis to the file)
4) cd /usr/src
5) make buildkernel KERNCONF=MYKERNEL
6) make installkernel  KERNCONF=MYKERNEL
7) reboot

okay, so when I attempt to build a new kernel, I get the following:

bobby# make buildkernel KERNCONF=MYKERNEL
make: don't know how to make buildkernel. Stop
bobby#

now what?




---
Jeff D. Hamann
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
541-754-1428
[EMAIL PROTECTED]
www.forestinformatics.com

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


Re: fsck says UNEXPECTED SOFT UPDATE INCONSISTENCY

2005-09-08 Thread Leon Messner
On Thu, Aug 11, 2005 at 03:05:06PM +1000, Jerahmy Pocott wrote:
 Hello everyone,
 
 After a server lost power unexpectedly (read: someone pulled the plug  
 out), on reboot
 the automatic fsck failed with UNEXPECTED SOFT UPDATE INCONSISTENCY as
 the message. Running fsck interactively doesn't seem to be able to  
 fix it..
 
 Every time in phase one it says:
 
 CANNOT READ: BLK 66322496
 UNEXPECTED SOFT UPDATE INCONSISTENCY
snip 
 Any ideas on what I could try to fix this?
 

You could have a look at tunefs(8) and turn soft updates off for
fsck'ing.

HTH
Leon

-- 

gnupg key ID: 9B820836  Fingerprint:

6081 8F41 8FEC 0D69 DB98  F014 0FD4 B47D 9B82 0836
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Conflicting CDRW and DVDRW

2005-09-08 Thread Michael Sherman
Hi all.

I am trying to burn a DVD with my Pioneer DVD writer (usb), but when I
open K3B, the device is not listed. In fact the IDE CD burner isn't
listed there as well. The kernel is configured with SCSI and ATAPICAM
devices. It seems to me that my writers IDE and USB are conflicting,
since the output of the camcontrol devlist produces:

SONY SDT-9000 0400   at scbus0 target 6 lun 0 (sa0,pass0)
PIONEER DVD-RW  DVR-108 1.18 at scbus1 target 0 lun 0 (pass1,cd0)
SONY CD-RW  CRX140E 1.0n at scbus3 target 0 lun 0 (pass2,cd1)

Any ideas? Any hint will be appreciated.

Below included my kernel config and the output of dmesg.

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

machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   FreeBSD_CUSTOM  

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
device  atapicam# ATAPI CD WRITER
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets + those of 
`ncr')

pptp using tun0 to work

2005-09-08 Thread Philip M. Gollucci

Hi,

I'm on FreeBSD 5.4-RELEASE i386

pptpclient-1.5.0 installed via pkg_add -r

GENERIC kernel for now.

cat /etc/ppp/ppp.conf
LSI:
 set authname pgollucci
 set authkey xxx
 set timeout 0
 set ifaddr 0 0
 add w.x.y.z/24
 alias enable yes

as root user:

route flush
route add default 192.168.0.1
pptp w.x.y.z LSI 
netstat -nf -finet
Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.0.1UGS 0  289em0
10.0.0.1   10.0.0.174 UH  00   tun0
127.0.0.1  127.0.0.1  UH  0  230lo0
192.168.0  link#1 UC  00em0
192.168.0.100:0d:88:41:25:a1  UHLW1 2903em0   1074

FYI:
 10.0.0.1 is the gateway/router there 10.0.0.174 is the IP dolled out me 
automatically.

so the first problem is that the second line is not a Gateway (G)

so
route add -inet 10.0.0.0/24 10.0.0.174

netstat -nr -finet
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.0.1UGS 1  385em0
10/24  10.0.0.174 UGS 00em0
10.0.0.1   10.0.0.174 UH  00   tun0
127.0.0.1  127.0.0.1  UH  0  230lo0
192.168.0  link#1 UC  00em0
192.168.0.100:0d:88:41:25:a1  UHLW1 2903em0963

Okay that worked, but its on the wrong interface em0 and not tun0 and even if 
its not, I can't
ping 10.0.0.1 or anything in the subnet.

The ROUTE(8) man page is AWFUL here which is very unusual for FreeBSD.
Could greatly benefit from some actual examples.
I'd contribute them, but I obviously don't quite get it yet.

Supposedly I'm supposed to use the -interface parameter but it doesn't work in 
this experience.

killall pptp
route flush
route add default 192.168.0.1
pptp w.x.y.z LSI 
route add -inet 10.0.0.0/24 -interface tun0 10.0.0.174
netstat -nr -finet
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.0.1UGS 0   78em0
100xaae   tun0   US  00   tun0
10.0.0.1   10.0.0.174 UH  00   tun0
127.0.0.1  127.0.0.1  UH  0  230lo0
192.168.0  link#1 UC  00em0
192.168.0.100:0d:88:41:25:a1  UHLW1 2907em0   1006

So that gave me a static not what I wanted I don't think and I still can't ping 
anything.

Here's a traceroute to a computer in it
 traceroute 10.0.0.12
traceroute to 10.0.0.12 (10.0.0.12), 64 hops max, 40 byte packets
 1  192.168.0.1 (192.168.0.1)  0.861 ms  0.717 ms  0.733 ms

While I'm at it ... What the heck does 100xaae mean ?

Also, I've been told that going to other way, from the office- me, I am 
pingable.

Any great ideas?

Thanks in advance

--
END

What doesn't kill us can only make us stronger.
Nothing is impossible.

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com

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


Re: Printing MAN pages

2005-09-08 Thread Stijn Hoop
On Thu, Sep 08, 2005 at 07:55:19PM +0200, Erik Trulsson wrote:
 On Thu, Sep 08, 2005 at 07:36:46PM +0200, Stijn Hoop wrote:
  On Thu, Sep 08, 2005 at 07:53:28PM +0300, Giorgos Keramidas wrote:
   Gerard Seibert wrote:
I am trying to figure out how to print 'man' pages. If I try a simple
redirect, such as: man foo  foo.txt the new file is loaded with
control symbols, etc. that are not really printable. I want to save
the files if possible, and print them out at a later date. It that is
not possible, how would I go about printing them out in real time?
   
 man -t foo  foo.ps
   
   will generate Postscript output, which is a lot better for printing.
  
  Highly useful to know, but shouldn't we update the man page for man(1)?
  
   -t  Use /usr/bin/groff -S -man to format the manual page, 
  passing
   the output to stdout.  The output from /usr/bin/groff -S 
  -man
   may need to be passed through some filter or another before
   being printed.
  
  This does not exactly spell 'output postscript' to me...
 
 It does if you know that postscript is the default output format of
 groff.   If one doesn't know what format groff outputs by default, it is
 easily learned by reading the groff(1) manpage.

True. I'm all in favor of a little bit more userfriendliness in man pages
as long as it's not overkill though.

How about:

-t  Generate a Postscript version of the manpage, intended for
printing, by using /usr/bin/groff -S -man to format the manual
page, passing the output to stdout.  The output from
/usr/bin/groff -S -man may need to be passed through some
filter or another before being printed.

That way I can do /print in less and still get some useful hint.

I'm no good with {t,g,n}roff and written English, so no patch...

--Stijn

-- 
Harry, I'm going to let you in on a little secret. Every day, once a day,
 give yourself a present. Don't plan it, don't wait for it, just let it
 happen. Could be a new shirt at the men's store, a catnap in your office
  chair, or... two cups of good, hot, black coffee. Like this.
-- Special Agent Dale Cooper, Twin Peaks


pgpznCvyvKHmt.pgp
Description: PGP signature


Re: dhcrelay is setting the relay ip address wrong

2005-09-08 Thread Ihsan Dogan
On Wednesday, 07 Sep 2005 16:27 +0200, Ihsan Dogan wrote:

  The relay agent is acting exactly the way it should.  When it gets a
  DHCP request in from a client, it uses its own address ON THE CLIENT'S
  NETWORK for the relay agent address.  This way, the DHCP server can
  tell which network the client is on, and thus which set of addresses
  to use for assigning an address to the client.  
  
  What is the problem?  
 
 Perhaps I've sent this e-mail too early. I did some further
 investigation and saw that:
 select(7,{4 5 6},{},{},0x0)  = 2 (0x2)
 gettimeofday({1126033610 52754},0x0) = 0 (0x0)
 read(0x6,0x806e000,0x1000)   = 360 (0x168)
 sendto(0x4,0xbfbfd950,0,0x0,{ AF_INET 213.144.141.146:67 },0x10) = 300 (0x12c)
 write(2,0x8066cc0,62)= 62 (0x3e)
 write(2,0x80620b8,1) = 1 (0x1)
 recvfrom(0x4,0xbfbfe3a0,0,0x0,{ AF_INET 0.0.0.0:68 },0xbfbfe38c) = 300 (0x12c)
 select(7,{4 5 6},{},{},0x0)  = 1 (0x1)
 gettimeofday({1126033610 72933},0x0) = 0 (0x0)
 recvfrom(0x4,0xbfbfe3a0,0,0x0,{ AF_INET 213.144.141.146:67 },0xbfbfe38c) = 
 300 (0x12c)
 
 The dhcrelay is forwarding the request from the client correctly
 to the server, but it does not forward the reply from the server
 to the client.

I've asked also on the ISC's dhcp server list and this is the
answer I've got:

No, input from this socket is dropped.

See 'fallback_discard' in common/socket.c.


You're railing against a very commonly reported problem.  The IO system
was designed for the server and client (mostly for the server).  It is
poorly suited to the relay.

Enhancements are on the wishlist for 3.1.




Ihsan...

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


Re: Printing MAN pages

2005-09-08 Thread Giorgos Keramidas
On 2005-09-08 22:32, Stijn Hoop [EMAIL PROTECTED] wrote:
 On Thu, Sep 08, 2005 at 07:55:19PM +0200, Erik Trulsson wrote:
  On Thu, Sep 08, 2005 at 07:36:46PM +0200, Stijn Hoop wrote:
   Highly useful to know, but shouldn't we update the man page for man(1)?
  
-t  Use /usr/bin/groff -S -man to format the manual page, 
   passing
the output to stdout.  The output from /usr/bin/groff -S 
   -man
may need to be passed through some filter or another 
   before
being printed.
  
   This does not exactly spell 'output postscript' to me...
 
  It does if you know that postscript is the default output format of
  groff.   If one doesn't know what format groff outputs by default, it is
  easily learned by reading the groff(1) manpage.

 True. I'm all in favor of a little bit more userfriendliness in man pages
 as long as it's not overkill though.

 How about:

   -t  Generate a Postscript version of the manpage, intended for
   printing, by using /usr/bin/groff -S -man to format the manual
   page, passing the output to stdout.  The output from
   /usr/bin/groff -S -man may need to be passed through some
   filter or another before being printed.

 That way I can do /print in less and still get some useful hint.

You all know that groff is thirdparty software, right?  We have to take
this with the groff developers, if the change is ever going to be
imported in FreeBSD.

Having said that, I'm in favor of making manpages more useful by a
little verbosity (but not too much).

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


Re: Printing MAN pages

2005-09-08 Thread Stijn Hoop
On Thu, Sep 08, 2005 at 11:46:28PM +0300, Giorgos Keramidas wrote:
 On 2005-09-08 22:32, Stijn Hoop [EMAIL PROTECTED] wrote:
  On Thu, Sep 08, 2005 at 07:55:19PM +0200, Erik Trulsson wrote:
   On Thu, Sep 08, 2005 at 07:36:46PM +0200, Stijn Hoop wrote:
Highly useful to know, but shouldn't we update the man page for man(1)?
   
 -t  Use /usr/bin/groff -S -man to format the manual page, 
passing
 the output to stdout.  The output from /usr/bin/groff 
-S -man
 may need to be passed through some filter or another 
before
 being printed.
   
This does not exactly spell 'output postscript' to me...
  
   It does if you know that postscript is the default output format of
   groff.   If one doesn't know what format groff outputs by default, it is
   easily learned by reading the groff(1) manpage.
 
  True. I'm all in favor of a little bit more userfriendliness in man pages
  as long as it's not overkill though.
 
  How about:
 
  -t  Generate a Postscript version of the manpage, intended for
  printing, by using /usr/bin/groff -S -man to format the manual
  page, passing the output to stdout.  The output from
  /usr/bin/groff -S -man may need to be passed through some
  filter or another before being printed.
 
  That way I can do /print in less and still get some useful hint.
 
 You all know that groff is thirdparty software, right?  We have to take
 this with the groff developers, if the change is ever going to be
 imported in FreeBSD.

Hmm, no I didn't realize that. Guess that's too much work for such a minor
change :(

 Having said that, I'm in favor of making manpages more useful by a
 little verbosity (but not too much).

Especially not too much ;-)

--Stijn

-- 
Help Wanted: Telepath. You know where to apply.


pgpeBkmNn3YsW.pgp
Description: PGP signature


Re: Printing MAN pages

2005-09-08 Thread Bob Johnson
On 9/8/05, Stijn Hoop [EMAIL PROTECTED] wrote:
 On Thu, Sep 08, 2005 at 07:55:19PM +0200, Erik Trulsson wrote:
  On Thu, Sep 08, 2005 at 07:36:46PM +0200, Stijn Hoop wrote:
   On Thu, Sep 08, 2005 at 07:53:28PM +0300, Giorgos Keramidas wrote:
Gerard Seibert wrote:
 I am trying to figure out how to print 'man' pages. If I try a
 simple
 redirect, such as: man foo  foo.txt the new file is loaded with
 control symbols, etc. that are not really printable. I want to save
 the files if possible, and print them out at a later date. It that
 is
 not possible, how would I go about printing them out in real time?

man -t foo  foo.ps

will generate Postscript output, which is a lot better for printing.
   
[...]
   This does not exactly spell 'output postscript' to me...
  
  It does if you know that postscript is the default output format of
  groff.   If one doesn't know what format groff outputs by default, it is
  easily learned by reading the groff(1) manpage.
 
 True. I'm all in favor of a little bit more userfriendliness in man pages
 as long as it's not overkill though.
 
 How about:
 
   -t  Generate a Postscript version of the manpage, intended for
   printing, by using /usr/bin/groff -S -man to format the manual
   page, passing the output to stdout.  The output from
   /usr/bin/groff -S -man may need to be passed through some
   filter or another before being printed.
 
 That way I can do /print in less and still get some useful hint.
 

In make.conf(5) it says


 PRINTERDEVICE
   (str) The default format for system documentation, depends
   on your printer.  This can be set to ``ascii'' for simple
   printers, or ``ps'' for postscript or graphics printers
   with a ghostscript filter, or both.


So does PRINTERDEVICE change the default output for groff, or does it
do something else, or nothing at all, and how does it affect your
proposed change?

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


NFS client performance against MS SFU 3.5 NFS Server

2005-09-08 Thread Tom Pepper

All:

Anyone having any good fortune with performance of NFS shares in a  
current 5-STABLE against Windows 2003 Services For Unix 3.5 server?   
I'm able to, with some pretty extreme tuning, get as much as 1MB/sec  
out of a 100Mbps link, but I'm able to FTP to and from the same host  
at 8-10MB/sec.  I've tried different send/receive windows, NFSv2,  
NFSv3, forcing TCP/UDP, and setting the tcp windows to some pretty  
outrageous sizes.  None of the above really seems to net me  
performance above 500-600kB/sec (testing via rsync --progress -av / 
local/dir /mnt/nfsshare).


mount_smbfs is also incapable of going beyond 1MB/sec in a similar  
arrangement.  Why on earth is performance sucking so bad?


Thanks,
-t

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


Re: Printing MAN pages

2005-09-08 Thread Giorgos Keramidas
On 2005-09-08 16:50, Bob Johnson [EMAIL PROTECTED] wrote:
 In make.conf(5) it says


  PRINTERDEVICE
(str) The default format for system documentation, depends
on your printer.  This can be set to ``ascii'' for simple
printers, or ``ps'' for postscript or graphics printers
with a ghostscript filter, or both.


 So does PRINTERDEVICE change the default output for groff, or does it
 do something else, or nothing at all, and how does it affect your
 proposed change?

Yes and no.  Yes it does affect the output format, but only of the files
under /usr/src that use it.

I don't think groff uses it all the time:

% strings `which groff` | grep PRINTERDEVICE
%

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


Re: Printing MAN pages

2005-09-08 Thread Erik Trulsson
On Thu, Sep 08, 2005 at 04:50:29PM -0400, Bob Johnson wrote:
 On 9/8/05, Stijn Hoop [EMAIL PROTECTED] wrote:
  On Thu, Sep 08, 2005 at 07:55:19PM +0200, Erik Trulsson wrote:
   On Thu, Sep 08, 2005 at 07:36:46PM +0200, Stijn Hoop wrote:
On Thu, Sep 08, 2005 at 07:53:28PM +0300, Giorgos Keramidas wrote:
 Gerard Seibert wrote:
  I am trying to figure out how to print 'man' pages. If I try a
  simple
  redirect, such as: man foo  foo.txt the new file is loaded with
  control symbols, etc. that are not really printable. I want to save
  the files if possible, and print them out at a later date. It that
  is
  not possible, how would I go about printing them out in real time?
 
   man -t foo  foo.ps
 
 will generate Postscript output, which is a lot better for printing.

 [...]
This does not exactly spell 'output postscript' to me...
   
   It does if you know that postscript is the default output format of
   groff.   If one doesn't know what format groff outputs by default, it is
   easily learned by reading the groff(1) manpage.
  
  True. I'm all in favor of a little bit more userfriendliness in man pages
  as long as it's not overkill though.
  
  How about:
  
  -t  Generate a Postscript version of the manpage, intended for
  printing, by using /usr/bin/groff -S -man to format the manual
  page, passing the output to stdout.  The output from
  /usr/bin/groff -S -man may need to be passed through some
  filter or another before being printed.
  
  That way I can do /print in less and still get some useful hint.

Except that it does not explicitly create a Postscript version of the
mapage, but it rather generates a version in whatever format groff outputs
as default.  This happens to be Postscript normally, but as I describe
further down the default can be changed.


  
 
 In make.conf(5) it says
 
 
  PRINTERDEVICE
(str) The default format for system documentation, depends
on your printer.  This can be set to ``ascii'' for simple
printers, or ``ps'' for postscript or graphics printers
with a ghostscript filter, or both.
 
 
 So does PRINTERDEVICE change the default output for groff, or does it
 do something else, or nothing at all, and how does it affect your
 proposed change?

PRINTERDEVICE changes how groff is invoked when formatting the documents
normally installed under /usr/share/doc.  It is not used otherwise, and in
particular is not used at all by man(1).


The GROFF_TYPESETTER environment variable however does change the default
output for groff.  Another option is of course to invoke groff directly and
use the -T option to set the output format directly.  All of this is also
easily discovered by reading the groff(1) manpage.



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


command question..

2005-09-08 Thread Eric Murphy

Hey guys heres a quick question for you...

I am trying to ping a certain website with the following command .  ping 
yahoo.com


I would like to log all requests that come back higher then 100 or any # 
i specify.


I figured I could use the script command but im not sure how to go from 
there?


Reason for this is to prove to my ISP that there is something wrong with 
my connection :)


Would it also be possible to log the date and time of each requets?

So inconclusion I'd like to log all icmp requests that come back higher 
then 100 by date and time into a log file.


Thanks


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


Re: command question..

2005-09-08 Thread Martin McCann
On Thursday 08 September 2005 22:12, Eric Murphy wrote:
 Hey guys heres a quick question for you...

 I am trying to ping a certain website with the following command .  ping
 yahoo.com

 I would like to log all requests that come back higher then 100 or any #
 i specify.

 I figured I could use the script command but im not sure how to go from
 there?

 Reason for this is to prove to my ISP that there is something wrong with
 my connection :)

 Would it also be possible to log the date and time of each requets?

 So inconclusion I'd like to log all icmp requests that come back higher
 then 100 by date and time into a log file.

date  pings.txt ; ping -c 10 www.yahoo.com | awk '{ print $7 ; }' | sort  
pings.txt  

this will give you a file with the date then the pings sorted from quickest to 
slowest. Plenty of scope to make it nicer, but it gets you the info you want. 
(You will probably want to increase the count, but I would also add a delay, 
-i, it will give you a better range and also it is not nice to fire a lot of 
pings to a public server). 


Martin 



 Thanks


 ___
 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: Printing MAN pages

2005-09-08 Thread Greg Barniskis

Stijn Hoop wrote:
[snip... sorry about the attributions]


How about:

-t  Generate a Postscript version of the manpage, intended for
printing, by using /usr/bin/groff -S -man to format the manual
page, passing the output to stdout.  The output from
/usr/bin/groff -S -man may need to be passed through some
filter or another before being printed.

That way I can do /print in less and still get some useful hint.


You all know that groff is thirdparty software, right?  We have to take
this with the groff developers, if the change is ever going to be
imported in FreeBSD.



Hmm, no I didn't realize that. Guess that's too much work for such a minor
change :(


Except that (if I read the thread right) the proposed change is 
actually to the man page for man, not the man page for groff. ;)


Might suffer similar ownership and maintenance issues, but I doubt 
it. If man's not part of the native BSD core, what is?


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.4 sparc64 netboot install?

2005-09-08 Thread Aaron Glenn
All I've been able to find is installation instructions from 5.0 DP1
[1] and nothing for anything more modern. Is this method of
installation not support any longer? I've got a cd/floppy-less netra
that needs FreeBSD on it and I have no idea how to get it on there.

Please CC me as I am not subscribed to -questions.

Regards,
aaron.glenn

[1] http://www.freebsd.org/releases/5.0R/DP1/installation-sparc64.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 sparc64 netboot install?

2005-09-08 Thread Kris Kennaway
On Thu, Sep 08, 2005 at 04:20:43PM -0700, Aaron Glenn wrote:
 All I've been able to find is installation instructions from 5.0 DP1
 [1] and nothing for anything more modern. Is this method of
 installation not support any longer? I've got a cd/floppy-less netra
 that needs FreeBSD on it and I have no idea how to get it on there.

Why do you think it's no longer supported?  You can certainly install
sparc machines by netbooting them.

Kris

 
 Please CC me as I am not subscribed to -questions.
 
 Regards,
 aaron.glenn
 
 [1] http://www.freebsd.org/releases/5.0R/DP1/installation-sparc64.html
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


pgpgwzD3Ejrr3.pgp
Description: PGP signature


Re: Printing MAN pages

2005-09-08 Thread Giorgos Keramidas
On 2005-09-08 17:33, Greg Barniskis [EMAIL PROTECTED] wrote:
 Stijn Hoop wrote:
 [snip... sorry about the attributions]
 
 How about:
 
-t  Generate a Postscript version of the manpage, intended for
printing, by using /usr/bin/groff -S -man to format the
manual
page, passing the output to stdout.  The output from
/usr/bin/groff -S -man may need to be passed through some
filter or another before being printed.
 
 That way I can do /print in less and still get some useful hint.
 
 You all know that groff is thirdparty software, right?  We have to take
 this with the groff developers, if the change is ever going to be
 imported in FreeBSD.
 
 Hmm, no I didn't realize that. Guess that's too much work for such a minor
 change :(

 Except that (if I read the thread right) the proposed change is
 actually to the man page for man, not the man page for groff. ;)

 Might suffer similar ownership and maintenance issues, but I doubt
 it. If man's not part of the native BSD core, what is?

Ah!  I misunderstood the original post then.  Thanks Greg!

Of course we can update man(1).  It's part of the src/gnu/ thirdparty
source, but the manpage is already off the vendor branch, so we can make
changes if necessary.

Stijn and everyone else, any particular preference for the text that we
add?  Would something like the following be ok?

-t  Use ``/usr/bin/groff -S -man'' to format the manual page,
passing the output to stdout.  The default output format of
groff(1) is Postscript, but see the manual page of groff(1)
for ways to pick an alternate format.

Depending on the selected format and the availability of
printing devices, the output may need to be passed through
some filter or another before being printed.

We may have to send the changes we make to Federico Lucifredi too (the
maintainer of man-1.6 and latter), since the 1.6a version that I
downloaded from [ http://primates.ximian.com/~flucifredi/man/ ] a few
minutes ago, still uses the text that Stijn feels is a bit cryptic.

- Giorgos

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


Re: Installing KDE

2005-09-08 Thread Yuan Jue
On Friday 09 September 2005 03:16, Rem Roberti wrote:
 I have tried to install Kde3 from both ports and pkgs.  Each time the
 installation chokes on Kdebase and Kdeartwork.  An error screen comes up
 announcing the failure, and referring me to a debug screen which I have
 no idea where to find.  As you can tell, this is a newbie thing.  Any
 help would be appreciated.

you should tell us more about the error. What error comes up? When? What did 
you do before the error occurred?

-- 
Best Regards.

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


Re: question about zlib security patch

2005-09-08 Thread Yuan Jue
On Friday 09 September 2005 01:39, Kris Kennaway wrote:
   I was installing clamav 0.83 on a freebsd 5.4 system and I got the
   following error:
   clamav configure: error: The installed zlib version may contain a
   security bug
   
   I want to upgrade zlib to solve this but:
   - I don't know how I can see what version of zlib I have at the
moment?
   
   use pkg_info|grep zlib
   
   - I found the following advice on the freebsd site:
   
   ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zl
   ib.a sc
   
   according to this I have to do the following:
   
   # cd /usr/src
   # patch  /path/to/patch
   # cd /usr/src/lib/libz/
   # make obj  make depend  make  make install
   
   but I have no /usr/src/lib/libz/
   
   maybe you didn't install source code when you installed your FreeBSD.
You still can do it using sysinstall now.
  
   You are right I didn't install the sourcecode, the instructions make a
   lot more sense now :)
   one other small question,  pkg_info | grep zlib
   gave me the following output;
  
   jzlib-1.0.5_1   A re-implementation of zlib in pure Java
   php4-zlib-4.3.10_2  The zlib shared extension for php
  
  
   so no zlib? Why is that ? because I didn't install it with pkg_add?
 
  sorry, I never try clamav, so I am not sure the exact reason for that
  error. Maybe when you install the source code, there is no error anymore
  :)

 The advice was bogus, zlib is not a package on FreeBSD.

  Or, you may need to install this port find_zlib-1.9, which can be found
  in /usr/ports/security/.

 That does something else again..please try not to give bad advice :-)
I apologize for that. Thanks for your reminding.

-- 
Best Regards.

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


/usr/ports/www/phpbb --? Makefile query

2005-09-08 Thread Vizion
The makefile has the following lines:

PHPBBDIR=   ${WWWDOCROOT}/${PHPBBURL}
PKGOPTS=${FILESDIR}/pkg-opts
EXCEPTFILES=${PREFIX}/${PHPBBDIR}/install/install.php \
${PREFIX}/${PHPBBDIR}/install/upgrade.php \
${PREFIX}/${PHPBBDIR}/install/update_to_latest.php

In my case DocumentRoot is:
WWWDOCROOT?=/usr2/virtualwebs

to which the port is adding ${PREFIX}

which has a local value of /usr/local

producing attempts to install files with problematic paths such as

/usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
^^   

I wonder, while this is being looked at, whether it might be possible to have 
the option, when installing to virtual webs to install to a file list 
comprising multiple urls?

This would be a most valuable option.

Thanks

David   
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing KDE

2005-09-08 Thread Rem Roberti

Yuan Jue wrote:


On Friday 09 September 2005 03:16, Rem Roberti wrote:
 


I have tried to install Kde3 from both ports and pkgs.  Each time the
installation chokes on Kdebase and Kdeartwork.  An error screen comes up
announcing the failure, and referring me to a debug screen which I have
no idea where to find.  As you can tell, this is a newbie thing.  Any
help would be appreciated.
   



you should tell us more about the error. What error comes up? When? What did 
you do before the error occurred?


 

The installation was rocking along, and many dependent packages had been 
installed before the error message came on saying that a failure had 
occurred while attempting to install Kdebase, and Kdeartworks.  I really 
cannot tell you the exact wording.  The last part of the message said 
that I should refer to the debug screen for more info.  I was attempting 
to install Kde3 via Sysinstall and packages.


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


Re: C program to write to the com port - RESOLVED

2005-09-08 Thread Paul Hamilton
Hi,

Thanks to the patience and persistens of Giorgos, Garret and David, I now
have a *sample* program that will transmit 3 bytes of data (mini-ssc
protocol), via a serial port to a 8 channel servo controller board.  I will
continue to develop this as needed.  

DISCLAIMER:  This is being posted for archival purposes, and no doubt can
use a lot of improvement!



/*  Name: testssc.c  
 *  compile with:  gcc testssc.c -o testssc
 *  
 *  Your serial cable should be plugged into com port 1.  
 *  You only need the pin 3 and pin 5 (DB9) plugged into the controller.
 *  The servo should be plugged into the first servo channel/port.
 *  This test program when run will move the servo from midrange, 
 *  to position 01.  This is for demonstrational use only.
 *  Tested with FreeBSD 5.4
 *  Paul Hamilton  8th Aug 2005
 */

#include sys/time.h
#include sys/ioctl.h
#include errno.h
#include fcntl.h
#include termios.h /*Originally it was termio.h*/
#include stdio.h
#include unistd.h
// Use serial port 0  (com port 1) 
static char *opt_comport=/dev/cuaa0;

int main(int argc, char **argv)
{
int fd;
struct termios options;
unsigned char buf[4];

// ok, lets try opening the com port
printf(Opening Com port: %s\n\n, opt_comport);
if((fd = open(opt_comport, O_RDWR | O_NOCTTY ))  0) 
  {
 printf(Problems opening %s\n, opt_comport);
 return (-1);
  }
// set the required com port parrameters
options.c_cflag = ~CSIZE;  /* Mask the character size bits */
options.c_cflag |= CS8; /* Select 8 data bits */
options.c_cflag = ~PARENB; // set no parity
options.c_cflag = ~CSTOPB; // set 1 stop bit
options.c_oflag = ~OPOST;  // Raw output

tcgetattr(fd, options);

/*
 * Set the baud rates to 9600...
 */
cfsetispeed(options, B9600);
cfsetospeed(options, B9600);

/*
 * Enable the receiver and set local mode...
 */
options.c_cflag |= (CLOCAL | CREAD);

/*
 * Set the new options for the port...
 */
tcsetattr(fd, TCSANOW, options);

// ok, lets transmit our 3 bytes through com port 1
snprintf(buf,4,%c%c%c%c,0xff,0x00,0x01,0);
printf(buf=%x,%x,%x,%x\n, buf[0],buf[1],buf[2],buf[3]);

  if (write(fd, buf, 3) != 3)
err(1, write);

close(fd);
};



Cheers,

Paul Hamilton

PS.  I have three books on programming in C winging their way to Australia.
I have a lot to learn  :-)

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


Re: /usr/ports/www/phpbb --? Makefile query

2005-09-08 Thread Brooks Davis
On Thu, Sep 08, 2005 at 05:05:41PM -0700, Vizion wrote:
 The makefile has the following lines:
 
 PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL}
 PKGOPTS=  ${FILESDIR}/pkg-opts
 EXCEPTFILES=  ${PREFIX}/${PHPBBDIR}/install/install.php \
   ${PREFIX}/${PHPBBDIR}/install/upgrade.php \
   ${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
 
 In my case DocumentRoot is:
 WWWDOCROOT?=  /usr2/virtualwebs
 
 to which the port is adding ${PREFIX}
 
 which has a local value of /usr/local
 
 producing attempts to install files with problematic paths such as
 
 /usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
 ^^   
 
 I wonder, while this is being looked at, whether it might be possible to have 
 the option, when installing to virtual webs to install to a file list 
 comprising multiple urls?
 
 This would be a most valuable option.

Installation outside prefix is not supported.  You could set
prefix to /usr2 and WWWDOCROOT to virtualwebs to install the key
files where you want them.  This would cause /usr2 to be populated
with the directories given in BSD.local.dist.  Alternativly,
you could make /usr/local/www/forumkatrina.org a symlike to
/usr2/virtualwebs/forumkatrina.org or something similar.  Of course, if
you want to install it more than once, ports won't work as it.  Making
phpbb capable of being a slave port and making local ports for each site
could be a good work around for that.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgp3jrWEEsN7s.pgp
Description: PGP signature


Re: /usr/ports/www/phpbb --? Makefile query

2005-09-08 Thread Vizion
On Thursday 08 September 2005 17:05,  the author Vizion contributed to the 
dialogue on-
 /usr/ports/www/phpbb --? Makefile query: 

The makefile has the following lines:

PHPBBDIR=  ${WWWDOCROOT}/${PHPBBURL}
PKGOPTS=   ${FILESDIR}/pkg-opts
EXCEPTFILES=   ${PREFIX}/${PHPBBDIR}/install/install.php \
   ${PREFIX}/${PHPBBDIR}/install/upgrade.php \
   ${PREFIX}/${PHPBBDIR}/install/update_to_latest.php

In my case DocumentRoot is:
WWWDOCROOT?=   /usr2/virtualwebs

to which the port is adding ${PREFIX}

which has a local value of /usr/local

producing attempts to install files with problematic paths such as

/usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
^^

I wonder, while this is being looked at, whether it might be possible to
 have the option, when installing to virtual webs to install to a file list
 comprising multiple urls?

This would be a most valuable option.

Just a small point the makefile includes line

Perform a make options to see a list of available installation options
but
# make options
make: don't know how to make options. Stop

Maybe the Makefile needs to test the difference between
usr2
and
/usr
to distinguish been an absolute path and a path relative to ${PREFIX}

Thanks again

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: C program to write to the com port - RESOLVED

2005-09-08 Thread Giorgos Keramidas
On 2005-09-09 08:23, Paul Hamilton [EMAIL PROTECTED] wrote:
 Thanks to the patience and persistens of Giorgos, Garret and David, I now
 have a *sample* program that will transmit 3 bytes of data (mini-ssc
 protocol), via a serial port to a 8 channel servo controller board.  I will
 continue to develop this as needed.

 DISCLAIMER:  This is being posted for archival purposes, and no doubt can
 use a lot of improvement!

Thanks so much for taking the time to post a followup!

Nicely commented program.  I really liked the way the terminal option
changes are explained.

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


Re: Installing KDE

2005-09-08 Thread Yuan Jue
On Friday 09 September 2005 08:16, Rem Roberti wrote:
 Yuan Jue wrote:
 On Friday 09 September 2005 03:16, Rem Roberti wrote:
 I have tried to install Kde3 from both ports and pkgs.  Each time the
 installation chokes on Kdebase and Kdeartwork.  An error screen comes up
 announcing the failure, and referring me to a debug screen which I have
 no idea where to find.  As you can tell, this is a newbie thing.  Any
 help would be appreciated.
 
 you should tell us more about the error. What error comes up? When? What
  did you do before the error occurred?

 The installation was rocking along, and many dependent packages had been
 installed before the error message came on saying that a failure had
 occurred while attempting to install Kdebase, and Kdeartworks.  I really
 cannot tell you the exact wording.  The last part of the message said
 that I should refer to the debug screen for more info.  I was attempting
 to install Kde3 via Sysinstall and packages.

which way did you use to install kde3? ports or package? I'm not sure but I 
think installing from port may give some help.

Good luck.

-- 
Best Regards.

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


Re: /usr/ports/www/phpbb --? Makefile query

2005-09-08 Thread Vizion
On Thursday 08 September 2005 17:23, you wrote:
On Thu, Sep 08, 2005 at 05:05:41PM -0700, Vizion wrote:
 The makefile has the following lines:

 PHPBBDIR=${WWWDOCROOT}/${PHPBBURL}
 PKGOPTS= ${FILESDIR}/pkg-opts
 EXCEPTFILES= ${PREFIX}/${PHPBBDIR}/install/install.php \
  ${PREFIX}/${PHPBBDIR}/install/upgrade.php \
  ${PREFIX}/${PHPBBDIR}/install/update_to_latest.php

 In my case DocumentRoot is:
 WWWDOCROOT?= /usr2/virtualwebs

 to which the port is adding ${PREFIX}

 which has a local value of /usr/local

 producing attempts to install files with problematic paths such as

 /usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
 ^^

 I wonder, while this is being looked at, whether it might be possible to
 have the option, when installing to virtual webs to install to a file list
 comprising multiple urls?

 This would be a most valuable option.

Installation outside prefix is not supported.  You could set
prefix to /usr2 

Where is ${PREFIX} set?
and WWWDOCROOT to virtualwebs to install the key 
files where you want them.  
But does that not mean that I would be getting files that properly belong in 
the /usr/local/ hierarchy in the virtualwebs hierarchy?

This would cause /usr2 to be populated 
with the directories given in BSD.local.dist.  Alternativly,
you could make /usr/local/www/forumkatrina.org a symlike to
/usr2/virtualwebs/forumkatrina.org or something similar.  


That would be a good idea but unfortunately there appears to be a bug in the 
latest version of apache2 that makes symlinks problematical and it is not a 
good idea when the files are networked. The other thing is that /usr2/ is a 
different physical device which holds files for replication to duplicate 
physical devices for webfarming. 

Of course, if 
you want to install it more than once, ports won't work as it.  
Making phpbb capable of being a slave port and making local ports for each 
site could be a good work around for that.

Does anyone know how to fix the Makefile for the port so that it does not 
apply ${PREFIX} when presented with an absolute path such as / but does use 
${PREFIX} when the path is relative.

That would do as a workaround for the moment.

I am  not familiar with makefiles and I would like to ask if someone who is 
used to doing it might be willing to make such a change and commit

thanks

david


-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't boot

2005-09-08 Thread John Do
MBR installed on ad0

FreeBSD installed on ad2 slice 2

When I try to boot using:

boot0cfg -s 2 ad2

I get an error like incompatible mode or type.

Anyone know how to fix this?  fdisk does show that
slice as being FreeBSD type and I did install it
there.

Thanks!






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: command question..

2005-09-08 Thread Eric Murphy

Hmm i got a bad santex error












Martin McCann wrote:


On Thursday 08 September 2005 22:12, Eric Murphy wrote:
 


Hey guys heres a quick question for you...

I am trying to ping a certain website with the following command .  ping
yahoo.com

I would like to log all requests that come back higher then 100 or any #
i specify.

I figured I could use the script command but im not sure how to go from
there?

Reason for this is to prove to my ISP that there is something wrong with
my connection :)

Would it also be possible to log the date and time of each requets?

So inconclusion I'd like to log all icmp requests that come back higher
then 100 by date and time into a log file.
   



date  pings.txt ; ping -c 10 www.yahoo.com | awk '{ print $7 ; }' | sort  
pings.txt  

this will give you a file with the date then the pings sorted from quickest to 
slowest. Plenty of scope to make it nicer, but it gets you the info you want. 
(You will probably want to increase the count, but I would also add a delay, 
-i, it will give you a better range and also it is not nice to fire a lot of 
pings to a public server). 



Martin 



 


Thanks


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

 



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


Re: /usr/ports/www/phpbb --? Makefile query

2005-09-08 Thread Vizion

Jst thought I would mention that this is being used for a series of sites to 
support victims of katrina - so if anyone does feel like helping out urgently 
it would really be appreciated --

thanks

On Thursday 08 September 2005 17:34,  the author Vizion contributed to the 
dialogue on-
 Re: /usr/ports/www/phpbb --? Makefile query: 

On Thursday 08 September 2005 17:23, you wrote:
On Thu, Sep 08, 2005 at 05:05:41PM -0700, Vizion wrote:
 The makefile has the following lines:

 PHPBBDIR=   ${WWWDOCROOT}/${PHPBBURL}
 PKGOPTS=${FILESDIR}/pkg-opts
 EXCEPTFILES=${PREFIX}/${PHPBBDIR}/install/install.php \
 ${PREFIX}/${PHPBBDIR}/install/upgrade.php \
 ${PREFIX}/${PHPBBDIR}/install/update_to_latest.php

 In my case DocumentRoot is:
 WWWDOCROOT?=/usr2/virtualwebs

 to which the port is adding ${PREFIX}

 which has a local value of /usr/local

 producing attempts to install files with problematic paths such as

 /usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
 ^^

 I wonder, while this is being looked at, whether it might be possible to
 have the option, when installing to virtual webs to install to a file
 list comprising multiple urls?

 This would be a most valuable option.

Installation outside prefix is not supported.  You could set
prefix to /usr2

Where is ${PREFIX} set?

and WWWDOCROOT to virtualwebs to install the key
files where you want them.

But does that not mean that I would be getting files that properly belong in
the /usr/local/ hierarchy in the virtualwebs hierarchy?

This would cause /usr2 to be populated
with the directories given in BSD.local.dist.  Alternativly,
you could make /usr/local/www/forumkatrina.org a symlike to
/usr2/virtualwebs/forumkatrina.org or something similar.

That would be a good idea but unfortunately there appears to be a bug in the
latest version of apache2 that makes symlinks problematical and it is not a
good idea when the files are networked. The other thing is that /usr2/ is a
different physical device which holds files for replication to duplicate
physical devices for webfarming.

Of course, if
you want to install it more than once, ports won't work as it.
Making phpbb capable of being a slave port and making local ports for each

site could be a good work around for that.

Does anyone know how to fix the Makefile for the port so that it does not
apply ${PREFIX} when presented with an absolute path such as / but does use
${PREFIX} when the path is relative.

That would do as a workaround for the moment.

I am  not familiar with makefiles and I would like to ask if someone who is
used to doing it might be willing to make such a change and commit

thanks

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Odd SU output?

2005-09-08 Thread Chris St Denis
Which config file is this in? I didn't see any otp stuff in /etc/pam.d/

-Original Message-
From: Igor Robul [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 12:53 AM
To: Chris St Denis; freebsd-questions@freebsd.org
Subject: Re: Odd SU output?

Chris St Denis wrote:

While being away from work for a week, some odd output appeared on my su
comment.

 

%su
otp-md5 497 pe2119 ext
Password:
  

You have enable One Time Passwords (OTP) in your PAM configuration, so 
now you can use
regular root password or you can calculate answer (password) from this text.

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


sparc64 netboot installation?

2005-09-08 Thread Aaron Glenn
How can I install 5.4 on a netra 105 with no floppy or cd drive
currently running Solaris? All I've been able to find is a seroiusly
outdated page[1] referring to 5.0-CURRENT with outdated links to
bootloader files that no longer exist. Anyone?

Please CC me as I'm not subscribed to -questions.

Regards,
aaron.glenn

[1] http://www.freebsd.org/releases/5.0R/DP1/installation-sparc64.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: command question..

2005-09-08 Thread Giorgos Keramidas
On 2005-09-08 20:20, Eric Murphy [EMAIL PROTECTED] wrote:
Martin McCann wrote:
 date  pings.txt ; ping -c 10 www.yahoo.com | \
 awk '{ print $7 ; }' | sort  pings.txt

 this will give you a file with the date then the pings sorted from
 quickest to slowest. [...]

 Hmm i got a bad santex error

The message you saw was probably bad _syntax_ error...

What shell are you using?  What was the *EXACT* command you run and the
error message you got.

PS: Please do *NOT* top post and quote the entire original message just
to add a single line.  Trim the message you quote, keeping the relevant
parts, and post your comments _below_ the quoted text.  I've fixed the
message this time, but I tend to hit DEL pretty fast msot of the time.

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


Re: Repairing kernel not found

2005-09-08 Thread Norberto Meijome

Frederick N. Brier wrote:
What is odd is that the machine booted FreeBSD perfectly at least 5-6 
times before I ran into the weird ps error and then it would not 
boot.  I still need to figure out what caused the problem in the first 
place.


For the moment, is there a way to reinstall just the core 5.4 kernel 
distribution files, but not anything else?  Is it legitimate to do a 
recursive copy of all the boot files on the CD, ie: /dist/boot to the 
twed1s1a slice's /boot directory.  Then I do the boot0cfg and disklabel 
command and then fixes any boot manager config files.  Would that work?


I would boot something like Freesbie and make sure I can access the 
drives + files before wasting any more time trying to get it to boot. If 
you have a busted drive / controller, you may have trouble booting...


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


hi list

2005-09-08 Thread Chezangla, Engineer, DrukNet
Can anyone give me the detail steps for installing and 
configuring mysql server on freebsd.


I have installed mysql from ports but some how could not 
start the mysql daemoninstallation might be wrong 
.so can anyone who did the same give me some 
suggestions plez..


FreeBSD5.1
mysql40-server

regards chez..
+++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt
___

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


Re: /usr/ports/www/phpbb --? Makefile query

2005-09-08 Thread Brooks Davis
On Thu, Sep 08, 2005 at 05:34:32PM -0700, Vizion wrote:
 On Thursday 08 September 2005 17:23, you wrote:
 On Thu, Sep 08, 2005 at 05:05:41PM -0700, Vizion wrote:
  The makefile has the following lines:
 
  PHPBBDIR=  ${WWWDOCROOT}/${PHPBBURL}
  PKGOPTS=   ${FILESDIR}/pkg-opts
  EXCEPTFILES=   ${PREFIX}/${PHPBBDIR}/install/install.php \
 ${PREFIX}/${PHPBBDIR}/install/upgrade.php \
 ${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
 
  In my case DocumentRoot is:
  WWWDOCROOT?=   /usr2/virtualwebs
 
  to which the port is adding ${PREFIX}
 
  which has a local value of /usr/local
 
  producing attempts to install files with problematic paths such as
 
  /usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
  ^^
 
  I wonder, while this is being looked at, whether it might be possible to
  have the option, when installing to virtual webs to install to a file list
  comprising multiple urls?
 
  This would be a most valuable option.
 
 Installation outside prefix is not supported.  You could set
 prefix to /usr2 
 
 Where is ${PREFIX} set?

It defaults to /usr/local or you can set it to anything you want on the
make command line.

 and WWWDOCROOT to virtualwebs to install the key 
 files where you want them.  
 But does that not mean that I would be getting files that properly belong in 
 the /usr/local/ hierarchy in the virtualwebs hierarchy?

That depends on your definition of properly.  Yes they will end up
there, but that's what is supposed to happen when you set, PREFIX to
something other than /usr/local.

 This would cause /usr2 to be populated 
 with the directories given in BSD.local.dist.  Alternativly,
 you could make /usr/local/www/forumkatrina.org a symlike to
 /usr2/virtualwebs/forumkatrina.org or something similar.  
 
 
 That would be a good idea but unfortunately there appears to be a bug in the 
 latest version of apache2 that makes symlinks problematical and it is not a 
 good idea when the files are networked. The other thing is that /usr2/ is a 
 different physical device which holds files for replication to duplicate 
 physical devices for webfarming. 

That shouldn't be an issue.  If you point apache at the real paths,
everything should be fine.  I merely suggest using a symlike to get the
files installed where you want them.

 Of course, if 
 you want to install it more than once, ports won't work as it.  
 Making phpbb capable of being a slave port and making local ports for each 
 site could be a good work around for that.
 
 Does anyone know how to fix the Makefile for the port so that it does not 
 apply ${PREFIX} when presented with an absolute path such as / but does use 
 ${PREFIX} when the path is relative.

 That would do as a workaround for the moment.
 
 I am  not familiar with makefiles and I would like to ask if someone who is 
 used to doing it might be willing to make such a change and commit

That would be breaking the Makefile, not fixing it.  Realistly, if you
want to use a non-standard file system layout, you shouldn't use the
port.  Just do a make depends in the phpbb port directory to get the
pieces you need, and then install phpbb by hand.  Most php apps are
pretty trivial to install if you know how to configure a web server and
database.

-- Brooks

P.S. Please stop randomly cross posting your messages.  It just wastes
people's time.

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpmeoR2N0I5K.pgp
Description: PGP signature


Re: /usr/ports/www/phpbb --? Makefile query

2005-09-08 Thread Vizion
On Thursday 08 September 2005 19:48,  the author Brooks Davis contributed to 
the dialogue on-
 Re: /usr/ports/www/phpbb --? Makefile query: 

On Thu, Sep 08, 2005 at 05:34:32PM -0700, Vizion wrote:
 On Thursday 08 September 2005 17:23, you wrote:
 On Thu, Sep 08, 2005 at 05:05:41PM -0700, Vizion wrote:
  The makefile has the following lines:
 
  PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL}
  PKGOPTS=  ${FILESDIR}/pkg-opts
  EXCEPTFILES=  ${PREFIX}/${PHPBBDIR}/install/install.php \
${PREFIX}/${PHPBBDIR}/install/upgrade.php \
${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
 
  In my case DocumentRoot is:
  WWWDOCROOT?=  /usr2/virtualwebs
 
used to doing it might be willing to make such a change and commit

That would be breaking the Makefile, not fixing it.  Realistly, if you
want to use a non-standard file system layout, you shouldn't use the
port.  
Humph -- well I thought most large scale virtual webs are set up outside  
main /usr/local - admittedly many use simlinks but I thought not when the 
sever operates as a farm...which is why apache allows for data paths 
separtely /usr/loca

Just do a make depends in the phpbb port directory to get the 
pieces you need, and then install phpbb by hand.  Most php apps are
pretty trivial to install if you know how to configure a web server and
database.

I have now found an even more serious problem phpbb is NOT compatible with 
php5 -- which opens a whole can of worms...

I am trying for an alternative

Thank yo so much for your time -- it is much appreciated

David


P.S. Please stop randomly cross posting your messages.  It just wastes
people's time.
Sorry about that

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Stupid working too late..

2005-09-08 Thread Vizion
OK

Here is what I did before i packed up - having been working late

just changed ownerships of files in a virtual web 

chown -R www ./*

fine

folllowed by change of group with the dreaded typo of:

chown -R www /*
oops

fortunately hit crt c pretty damn quick but some damage was done.

While I limited the damage I wanted to double check which of the standard os 
file hierarchies are meant to be in group operator and also owned by root. 
That seems to be the only   doubt I have the rest was easily recovered.

Any help appreciated

david



 -- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS client performance against MS SFU 3.5 NFS Server

2005-09-08 Thread Kevin Kinsey

Tom Pepper wrote:


All:

Anyone having any good fortune with performance of NFS shares
in a  current 5-STABLE against Windows 2003 Services For Unix 3.5
server?   I'm able to, with some pretty extreme tuning, get as much
as 1MB/sec  out of a 100Mbps link, but I'm able to FTP to and from
the same host  at 8-10MB/sec.  I've tried different send/receive windows,
NFSv2,  NFSv3, forcing TCP/UDP, and setting the tcp windows to some
pretty  outrageous sizes.  None of the above really seems to net me 
performance above 500-600kB/sec (testing via rsync --progress -av /

local/dir /mnt/nfsshare).

mount_smbfs is also incapable of going beyond 1MB/sec in a similar 
arrangement.  Why on earth is performance sucking so bad?


Thanks,
-t




I have similar secret doubts, but I've not gone to the lengths
that you have, and I've not tested against Win2k3 server.

One question:  is there any chance it is an rsync problem?

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


Re: Stupid working too late..

2005-09-08 Thread Glenn Dawson

At 08:58 PM 9/8/2005, Vizion wrote:

OK

Here is what I did before i packed up - having been working late

just changed ownerships of files in a virtual web

chown -R www ./*

fine

folllowed by change of group with the dreaded typo of:

chown -R www /*
oops

fortunately hit crt c pretty damn quick but some damage was done.

While I limited the damage I wanted to double check which of the standard os
file hierarchies are meant to be in group operator and also owned by root.
That seems to be the only   doubt I have the rest was easily recovered.

Any help appreciated


mtree -U -f foo
where foo is the appropriate file(s) from /etc/mtree should do that 
trick for ya.


-Glenn



david



 --
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after
completing engineroom refit.
___
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: freebsd on memory card

2005-09-08 Thread Damon Blom
On Thursday 08 September 2005 06:23 am, you wrote:
 On 08/09/2005, at 6:36 AM, Damon Blom wrote:
  Hi
 Still no go.
will boot (very slowly) from external usb hard drive.
da0  maxtor scsi -0 device  194481 mb
will not boot
da1  hp digital drive 976 mb (whole disk)
   da1s1a  /
  da1s1d  /usr
I disabled hitachi drive and external maxtor drive
get
 F1 Freebsd
 F5 drive1
will not let me press enter
Phoenix Bios version F.35
 Thank's (I can still mount it and r/w from it)
 Damon

 I would say, and this is just a guess, that the bios doesn't recognise
 it as a bootable device or it is unable to find/use the boot block?
HiThank's for the reply. In fdisk I just said A and then S to set
bootable before W to write it out. I did change /etc/fstab to da1s1a
and da1s1d. When I do fdisk after mounting it it says 
device /mnt/boot/mbr is not character special. Info from dos bootblock;
   data for partition 1,2,3,4 is unused.
  I'll try putting small dos partition first.
   Thank's
   Damon
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Odd SU output?

2005-09-08 Thread Igor Robul

Chris St Denis wrote:


Which config file is this in? I didn't see any otp stuff in /etc/pam.d/
 


look at pam_opie(8) and opie(4)
At least in my /etc/pam.d I see many links to pam_opie.


-Original Message-
From: Igor Robul [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 12:53 AM

To: Chris St Denis; freebsd-questions@freebsd.org
Subject: Re: Odd SU output?

Chris St Denis wrote:

 


While being away from work for a week, some odd output appeared on my su
comment.



%su
otp-md5 497 pe2119 ext
Password:


   

You have enable One Time Passwords (OTP) in your PAM configuration, so 
now you can use

regular root password or you can calculate answer (password) from this text.



!DSPAM:43206bf2704241183689591!

 



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


  1   2   >