Synchronizing packages on several machines from a repository

2008-06-11 Thread Daryl Sayers

I have one main server and several slave machines. All machines are running
FreeBSD 7.0. I have done a csup to my server and have done a
'portsupgrade -ap' to build and install my current selection of ports on the
server. This proceedure also creates the packages in /usr/ports/packages/All.
I would now like to sync my other machines using the packages found on this
server. Each slave machine has a skeleton of the ports tree.

Reading the portinstall doco I thought I could do something like:

# setenv PKG_SITES http://myhost/packages/;
# portupgrade -avPP
---  Session started at: Wed, 11 Jun 2008 16:35:31 +
** None has been installed or upgraded.
---  Session ended at: Wed, 11 Jun 2008 16:35:41 + (consumed 00:00:10)

I can see that there are packages out of date but I am not sure how to tell
the ports/packages environment what to do. Do I need to do a csup on all
my slave machines. If so they may be out of sync with the master that I
may have processed a week before (for testing).

What is the correct proceedure for keeping packages in sync with a master
repository without the need to rebuild each port on each machine.

Note:
I am able to do a 'portinstall -PPR packagename' on a slave machine to
retrieve a new package so I know that the PKG_SITES is correct and working.


-- 
Daryl Sayers
To reply please remove the XYZ from the email address.

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


Re: Problems opening mail on this list

2008-06-11 Thread Ian Smith
In freebsd-questions Digest, Vol 219, Issue 7 At Message: 20
On Tue, 10 Jun 2008 16:23:32 -0400 Andrew Berry [EMAIL PROTECTED] wrote:
 [..]
  Content-Type: text/plain; charset=us-ascii
  
  On 10-Jun-08, at 1:07 PM, Paul Schmehl wrote:
  
   Andrew, maybe you could send a signed message, state in the body  
   that it was signed, and then I can look at the headers and tell you  
   what's going on.
  
  Here is a message which has been signed.
  
  --Andrew
  
  --

Note that I'm replying to a digest message so a) threading is screwed
and b) I don't see full headers of individual messages, but this shows
that your message hit the digest without attachment, and others report
no attachment seen in list mail either, as this reply by Paul shows: 

   Here is a message which has been signed.
  
  
  There's no sig attached, so it's getting stripped off somewhere.
  This line in the headers looks to be the culprit:
  X-Content-Filtered-By: Mailman/MimeDel 2.1.5
  
  That will strip all attachments, including S/MIME.

However, what normally happens to attachments to questions@, at least to
digests, is that they get stripped with a note pointing to the original
attachment, as this subsequent message from Chad illustrates:

  Message: 27
  Date: Tue, 10 Jun 2008 15:32:45 -0600
  From: Chad Perrin [EMAIL PROTECTED]
  Subject: Re: Problems opening mail on this list
  To: freebsd-questions@freebsd.org
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain; charset=us-ascii

Note Content-type: possibly modified from original? ..

  On Tue, Jun 10, 2008 at 03:34:59PM -0500, Paul Schmehl wrote:
   --On Tuesday, June 10, 2008 16:23:32 -0400 Andrew Berry 
   [EMAIL PROTECTED] wrote:
   
   On 10-Jun-08, at 1:07 PM, Paul Schmehl wrote:
   
   Andrew, maybe you could send a signed message, state in the body
   that it was signed, and then I can look at the headers and tell you
   what's going on.
   
   Here is a message which has been signed.
   
   
   There's no sig attached, so it's getting stripped off somewhere.
   This line in the headers looks to be the culprit:
   X-Content-Filtered-By: Mailman/MimeDel 2.1.5
   
   That will strip all attachments, including S/MIME.
  
  My PGP signatures seem to come through just fine, however.
  
  -- 
  Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
  Anonymous: Eat your crow early, while it's young and tender.  Don't wait
  until it's old and tough.
  -- next part --
  A non-text attachment was scrubbed...
  Name: not available
  Type: application/pgp-signature
  Size: 195 bytes
  Desc: not available
  Url : 
  http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080610/f86dad22/attachment-0001.pgp
  
  --

So Andrew, there's something different about your particular S/MIME
attachments I guess.  Another illustration from an earlier digest:

: Message: 29
: Date: Tue, 10 Jun 2008 11:51:30 -0400
: From: Jon Radel [EMAIL PROTECTED]
: Subject: Re: OT: lots of IPv6 DNS requests
: To: Wojciech Puchar [EMAIL PROTECTED]
: Cc: freebsd-questions@freebsd.org
: Message-ID: [EMAIL PROTECTED]
: Content-Type: text/plain; charset=iso-8859-1
:
: Wojciech Puchar wrote:
  [.. content elided ..]
: --Jon Radel
:
: -- next part --
: A non-text attachment was scrubbed...
: Name: smime.p7s
: Type: application/x-pkcs7-signature
: Size: 3283 bytes
: Desc: S/MIME Cryptographic Signature
: Url : 
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080610/cc6da5da/smime-0001.bin

Dunno if that helps, but your Mac gadget seems to work differently ..

cheers, Ian

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


Re: how to determine the date a port is installed

2008-06-11 Thread Garrett Cooper
On Tue, Jun 10, 2008 at 10:09 PM, Novembre [EMAIL PROTECTED] wrote:
 Hi all,

 Two questions:
 1) Is it possible to determine the date a port/package is installed?
 2) How can I delete all the ports/packages installed after a certain date?

 Thanks a lot :)

1. Please don't cross-post.
2. ls -lt /var/db/pkg/*/+DESC piped to whatever language you want to
analyze the dates will provide you the result you want, _unless_
either you modified the file(s)

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


Re: Example uses of bsnmp-ucd?

2008-06-11 Thread Mikolaj Golub

On Thu, 5 Jun 2008 12:17:33 -0400 Chris Haulmark wrote:

 CH Hello,

 CH I have discovered that bsnmp-ucd provides the ability to monitor FreeBSD
 CH by gathering memory, load average, cpu usage and other system
 CH statistics.

 CH I wonder if anyone else have any examples of how they graph those
 CH statistics?

 CH I am currently using cacti and it seems difficult for me to create a
 CH template to gather those gathered data.  I am looking for help.

If you have bsnmpd configured to load bsnmp-ucd module, you can use 'ucd/net
SNMP Host' template in cacti to monitor la, memory and cpu statistics. Graph
templates are:

ucd/net - CPU Usage
ucd/net - Load Average
ucd/net - Memory Usage

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


generating random passwords

2008-06-11 Thread Zbigniew Szalbot

Hello,

Excuse me my ignorance. Is there a utility in FreeBSD that would allow 
me to generate random passwords without actually creating any accounts 
or modifying existing ones? I am looking for something to allow me to 
generate a random string of characters. I know I can randomly hit the 
keyboard but if anything like that exists, many thanks for your advice. :)


Best regards,
--
Zbigniew Szalbot
www.lc-words.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: OT: lots of IPv6 DNS requests

2008-06-11 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jon Radel
 Sent: Tuesday, June 10, 2008 4:02 PM
 To: Wojciech Puchar
 Cc: freebsd-questions@freebsd.org
 Subject: Re: OT: lots of IPv6 DNS requests
 

 
 Nameservers are hitting an address of yours.  Therefore something is 
 probably handing out your address.  Somebody (that would be me) has 
 looked up the address in question and even looked up the nameserver 
 which is handing out that address in a glue record. 

A simple problem EASILY solved.

Why bother the owner of the misconfigured nameserver?

Instead, simply insert a wildcard record to your namesever
that hands out the IP number of the nastiest porno site you
can find to any DNS query.

After a few days the owners of the misconfigured nameservers
or clients will go hunting for whatever is poisoning their cache.

Problem solved.

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


Re: how to determine the date a port is installed

2008-06-11 Thread Peter Pentchev
On Tue, Jun 10, 2008 at 10:41:25PM -0700, Jeremy Chadwick wrote:
 On Wed, Jun 11, 2008 at 12:09:33AM -0500, Novembre wrote:
  Two questions:
  1) Is it possible to determine the date a port/package is installed?
 
 ls -ld /var/db/pkg/port, use the mtime of the directory.
 
  2) How can I delete all the ports/packages installed after a certain date?
 
 Use a combination of find with the -mtime flag, and pkg_delete.

Not really.  This is a bit dangerous.

The dangerous part is the mtime of the directory.  It would be much
better to use the mtime of the +CONTENTS file, since it never changes
*after* the package has been installed.

It is possible, though not certain, that the mtime of the directory may
change if another package is installed later which depends on this one -
pkg_add(1) then updates some files, most notably +REQUIRED_BY, to
reflect the new dependency, so that pkg_delete(1) may warn you later if
you try to delete something that other packages depend on.  Of course,
the part with the mtime of the directory may change depends a bit on
the filesystem used, but I find it easier to just rely on the +CONTENTS
file that I'm sure should never change - unless I edit it by hand, but
then all bets are off :)

Novembre, you might want to try something like:

# Change the working directory for easier path handling
cd /var/db/pkg

# Create a temporary file with the modification time set to the date
# that you want to examine (in this case, May 15, 2008, 11:00am)
touch -t 200805151100 /tmp/stamp

# Find all +CONTENTS files that have a modification time later than that
# of the stamp file
find . -type f -name '+CONTENTS' -mnewer /tmp/stamp

# Extend the previous command - get only the second component of the
# file path, which is the name of the package directory, which coincides
# with the name of the package :)
find . -type f -name '+CONTENTS' -mnewer /tmp/stamp | cut -d/ -f2

That should give you a list; you may redirect it to a file or, if you
are feeling really adventurous, just pipe it to | xargs pkg_delete :)

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I had to translate this sentence into English because I could not read the 
original Sanskrit.


pgpRMeph8IlP3.pgp
Description: PGP signature


Re: generating random passwords

2008-06-11 Thread Baptiste Grenier
Le 11/06/08 à 09:22, Zbigniew Szalbot téléscripta :
 Hello,

Hello,

 Excuse me my ignorance. Is there a utility in FreeBSD that would allow  
 me to generate random passwords without actually creating any accounts  
 or modifying existing ones? I am looking for something to allow me to  
 generate a random string of characters. I know I can randomly hit the  
 keyboard but if anything like that exists, many thanks for your advice. 
 :)

apg[1] could do the trick, it could generate different kind of
passwords, eiher pronounceable or unpronounceable.

% apg -a1 -m64
jVMH8f]~[nZ\Bs2a-b*,gYPIYW0P?+I~A'd/,M(8B~w'i`siSn!5_B|NA1'hx
!e/599bdWH)oE8Y5=m]F6|jy6Iasa8`BytT/kyqP{_0WKIyu8j:@`!v,*a(DXWa
QJn%pSXAF\4y8gRyiCi]uc^/U+K|)bn!#mvrL]LA7f5!woo,jHBTM(9IUx+.'wS
3.7}7uo\XF9s0z;~6{n\MlV6*0EfHJOQZpNM~'Z4hsl#nZvnz(Q4{kjP(]Q.0)#R
8|;[EMAIL PROTECTED]'a(sT;+OMlpcYg%VI/%4Kg=J[EMAIL PROTECTED]/VVJ51
[EMAIL PROTECTED]67dgAf;dq)j,8[mL/ZjGURL=u9_zt~+:OXg$jDE{JnRx

% apg -a0 -m8
DykavWabjo
eyHeefVoc
Agdeikkeo
ivEncig1
ipfevDyod
MywranEn1

Ref:
[1] - http://www.freshports.org/security/apg/


 Best regards,

Regards,
Baptiste

-- 
Baptiste Grenier | PGP: 0x069112E2
HealthGrid SysAdmin
http://healthgrid.org/


pgpnVXYbITdzq.pgp
Description: PGP signature


Re: generating random passwords

2008-06-11 Thread Nikos Vassiliadis
On Wednesday 11 June 2008 10:20:30 Zbigniew Szalbot wrote:
 Excuse me my ignorance. Is there a utility in FreeBSD that would allow
 me to generate random passwords without actually creating any accounts
 or modifying existing ones? I am looking for something to allow me to
 generate a random string of characters. I know I can randomly hit the
 keyboard but if anything like that exists, many thanks for your advice.
 :)

That's a common problem I have, and most of the times I was on relying
on BASH's $RANDOM. Just thought of this:
sed -n 's/[EMAIL PROTECTED]*()_+=-|\]//g; /^\(.\{10\}\).*/{ s//\1/p; q; }; b' 
/dev/urandom

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


Re: Openvpn on FreeBSD 7

2008-06-11 Thread Nejc Škoberne

Hey,


Set it with
sysctl inet.inet.ip.forwarding=1
or
Alternatively set it by adding this to /etc/sysctl.conf
net.inet.ip.forwarding=1


I guess more proper way of doing this is adding:

gateway_enable=YES

into /etc/rc.conf? I don't have any sysctl custom configuration in my 
sysctl.conf
and OpenVPN still works (I have gateway_enable in my rc.conf, of course).

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


Re: firewall high-load performance

2008-06-11 Thread Ian Smith
Woj, another of the few joys of -digests: two birds with one stone:

  is there a way to check on running system how much CPU time is used to 
  perform firewalling/traffic manager - be it pf or ipfw?

Sure, compare ping times / traffic throughput with firewall turned off
and on?  I recall that a FreeBSD 2.2.6 P166 with about 1000 ipfw rules
added up to ~2ms to ping times through - on a local 10Mbps network :)

On Wed, 11 Jun 2008 00:35:14 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:
(quoting Matthew Seaman)

   High load may or may not be a problem depending on your traffic patterns.
   I've seen pf firewalls suffer by running out of state-table space in
   situations where there are a lot of fairly short-lived but low volume
   network connections.  The default is 10,000 states.  If your firewall 
   machine
  
  is this state-table a hash table or something similar. if so - making it 
  much bigger than CPU cache may actually slow down things because DRAM 
  access latency is huge on modern machines.

There was some discussion of the efficiency of ipfw stateful rules in
recent weeks, over on -net IIRC.  As someone else mentioned, that's the
place to be if you're interested in net stuff, and are prepared to sit
back and read some real expertise before saying too much for a while :)

ipfw hashes src.ip ^ dst.ip ^ src.port ^ dst.port for connections in a
default of 256 buckets, which is very fast when there are no collisions; 
duplicates however are added to a linked list, which gets slow if large,
such as for raw IP or ICMP where 'port' numbers = 0.  I'm not sure what
stateful rules really mean in those contexts anyway, but there was talk
of increasing both the (default) no. of buckets and maximum stetes kept,
the memory penalty being pretty insignificant on today's hardware. 

I tend to doubt that processor caching is an issue one way or the other. 

   On the whole I'd go with pf every time simply based on how much more
   manageable it is compared to ipfw -- you have to try, hard, to lock
   yourself out when reloading a new pf ruleset.
  
  i already learned well locking myself after making mistake in ipfw rules
  
  now i run screen and do something like that
  
  cd /etc
  cp firewall firewall.old
  cp firewall firewall.new
  edit firewall.new
  cp firewall.new firewall;/etc/rc.d/ipfw restart;sleep 100;cp firewall.old 
  firewall;/etc/rc.d/ipfw restart
  
  then i have 100 seconds to quickly test new rules, at least to make sure 
  i'm not locked.

Yeah that'll work, as suggested in the manual's example.

I also wouldn't mind seeing some proper empirical comparisons between
ipfw and pf.  Many of the reasons sometimes offered to prefer pf have
been addressed in ipfw more recently (like in-kernel NAT for 7.x) and
development of both is always ongoing, so it's still largely personal
preference.  I've been using ipfw for just over 10 years and am fairly
familiar with it, and there are plenty of options I've not yet tried. 

Anyone reading the handbook these days would think ipfw was deprecated,
and one day I hope to do a number on the ipfw section there; it contains
out and out factual errors, some misconceptions and poor examples, still
the author does declare his familiarity is otherwise, ipf as I recall.

BTW I'm not dissing pf in any way, I've just never tried it.  ipfw plus
dummynet has done everything well that I've needed to do so far, mostly
on networks smaller even than yours :)

cheers, Ian

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


Re: OT: lots of IPv6 DNS requests

2008-06-11 Thread Wojciech Puchar


pearl# dig  dns3.tensor.gdynia.pl
dns3.tensor.gdynia.pl.  21682   IN  2001:4070:101:2::1


that's funny because i have in my domain:

dns3A   213.192.74.1
dns32001:4070:101::1

not :2::1


tried my secondary dns - the same.


tried dig  dns3.tensor.gdynia.pl from other server in poland - the 
same!


any idea where this :2::1 can be kept. nowhere on my machines for sure.

i did grep 2001:4070:101:2::1 /etc/namedb/*/* on both my primary and 
secondary dns - found only one position that defines 
wojtek.tensor.gdynia.pl


nothing more.


asked polish telecom DNS to look how it look from outside, got this
dns3.tensor.gdynia.pl.  10800   IN  2001:4070:101::1

which is OK.


as you get :2::1 - any idea why?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: OT: lots of IPv6 DNS requests

2008-06-11 Thread Wojciech Puchar

can find to any DNS query.

After a few days the owners of the misconfigured nameservers
or clients will go hunting for whatever is poisoning their cache.

Problem solved.

Ted


when i will be sure it is not my fault i would do this ;) but now i 
actually don't know where is a problem

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


Re: firewall high-load performance

2008-06-11 Thread Wojciech Puchar

 is there a way to check on running system how much CPU time is used to
 perform firewalling/traffic manager - be it pf or ipfw?

Sure, compare ping times / traffic throughput with firewall turned off
and on?


this will not measure CPU load but delays. delays are unnoticable and 
doesn't look like a problem.

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


Re: Remind me which filesystems exactly can be background fscked?

2008-06-11 Thread Wojciech Puchar

Pretty much anything but / (rot).



I think it's just a matter of turning-on soft-updates for the root
partition, which is sensible anyway if it's large.


root partition is always checked foreground. i would be possible to check 
it background after modifying /etc/rc.d/* scripts

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


Re: OT: lots of IPv6 DNS requests

2008-06-11 Thread Wojciech Puchar


Do a netstat -na | grep 53. This will help. Something is wrong with your 
setup if you are seeing undesirable results.


all OK, on port 53 my named is listening. it is used as cache-only DNS for 
my computer and few others.


yes i can just block out accesses from outside 2001:4070:101:2::/64 but i 
would like to know why they are asking at all!




A couple of questions... are you using ONLY /64 prefixes? Whether they do or


yes i do.

2001:4070:101::/64 and 2001:4070:101:2::/64 are different subnets
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system needing fsck at reboot, manual intervention necessary

2008-06-11 Thread Wojciech Puchar

fsck_y_enable=YES


On Wed, 11 Jun 2008, Michael Grant wrote:


One of my freebsd 6.3 boxes is crashing and when it reboots, it comes
up in single user mode.  Unfortunately, it's a remote box and I don't
have access to a history of the console and there's nothing in
/var/log/messages.  I think it's a hardware problem, or at least it
seems to be.  It's as if it's a bad power supply.

Anyway, what I'd like to know, where is the fsck that is done at
reboot such that I can modify it to do an fsck -y?  Some people will
argue this is dangerous, but I'm not sure what else one would do.  The
goal is to make it reboot without intervention.

Michael Grant
___
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: Synchronizing packages on several machines from a repository

2008-06-11 Thread Ivailo Tanusheff
Hi,

You must cvsup your ports tree before you execute the portupgrade. This 
way you make your system aware of the need of update.
In your case I asume it would be better to make your main server a cvs 
replica of the ports tree and use it for internal synchronization.

Regards,

Ivailo Tanusheff




Daryl Sayers [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
11.06.2008 09:01

To
freebsd-questions@FreeBSD.ORG
cc

Subject
Synchronizing packages on several machines from a repository







I have one main server and several slave machines. All machines are 
running
FreeBSD 7.0. I have done a csup to my server and have done a
'portsupgrade -ap' to build and install my current selection of ports on 
the
server. This proceedure also creates the packages in 
/usr/ports/packages/All.
I would now like to sync my other machines using the packages found on 
this
server. Each slave machine has a skeleton of the ports tree.

Reading the portinstall doco I thought I could do something like:

# setenv PKG_SITES http://myhost/packages/;
# portupgrade -avPP
---  Session started at: Wed, 11 Jun 2008 16:35:31 +
** None has been installed or upgraded.
---  Session ended at: Wed, 11 Jun 2008 16:35:41 + (consumed 
00:00:10)

I can see that there are packages out of date but I am not sure how to 
tell
the ports/packages environment what to do. Do I need to do a csup on all
my slave machines. If so they may be out of sync with the master that I
may have processed a week before (for testing).

What is the correct proceedure for keeping packages in sync with a master
repository without the need to rebuild each port on each machine.

Note:
I am able to do a 'portinstall -PPR packagename' on a slave machine to
retrieve a new package so I know that the PKG_SITES is correct and 
working.


-- 
Daryl Sayers
To reply please remove the XYZ from the email address.

___
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: generating random passwords

2008-06-11 Thread Wojciech Puchar


Excuse me my ignorance. Is there a utility in FreeBSD that would allow me to 
generate random passwords without actually creating any accounts or modifying


example:

[EMAIL PROTECTED] ~]$ cat bin/genpwd
#!/bin/sh
dd if=/dev/urandom bs=8 count=1 2/dev/null |hexdump|cut -b 
9-12,14-17,19-22,24-27
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system needing fsck at reboot, manual intervention necessary

2008-06-11 Thread Ivailo Tanusheff
Hi,

You may put fsck_y_enable=YES  in /etc/rc.conf  file.
The other option is to modify /etc/rc.d/fsck which is not so good 
approach.

Regards,

Ivailo Tanusheff




Michael Grant [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
11.06.2008 03:41

To
FreeBSD Questions freebsd-questions@freebsd.org
cc

Subject
system needing fsck at reboot, manual intervention necessary






One of my freebsd 6.3 boxes is crashing and when it reboots, it comes
up in single user mode.  Unfortunately, it's a remote box and I don't
have access to a history of the console and there's nothing in
/var/log/messages.  I think it's a hardware problem, or at least it
seems to be.  It's as if it's a bad power supply.

Anyway, what I'd like to know, where is the fsck that is done at
reboot such that I can modify it to do an fsck -y?  Some people will
argue this is dangerous, but I'm not sure what else one would do.  The
goal is to make it reboot without intervention.

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


Problem updating nvidia driver

2008-06-11 Thread Leslie Jensen

The update of nvidia-driver-169.12 fails on my system.
( 7.0-RELEASE-p1 FreeBSD)

estanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissin
g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -ff

ormat-extensions -c nvidia_subr.c
nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
nv-freebsd.h:406: error: previous declaration of 'nv_os_agp_init' was here
nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
nv-freebsd.h:407: error: previous declaration of 'nv_os_agp_teardown' 
was here

*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05/src.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.

=== make failed for x11/nvidia-driver
=== Aborting update

=== Update for nvidia-driver-169.12 failed
=== Aborting update
---

Any ideas?

Thanks

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


hesiod in RELENG_7 not working or poorly documented

2008-06-11 Thread Volodymyr Kostyrko

Hi all.

I'm trying to setup a hesiod/kerberos based domain. Kerberos works just 
fine but as for hesiod I can't understand what I need to do to make it work.


Originally I have created a sample zone 'ns.local':

$TTL 86400  ; 1 day
@   IN SOA server.local. hostmaster.server.local. (
2008061101 3600900 2419200 3600)
;   Serial Refresh Retry   Expire  Minimum
IN NS  server.local.
IN MX  0 server.local.

test.passwd TXT test:*:2001:2001::0:0:Test user:/home/test:/bin/tcsh
2001.uidCNAME test.passwd

test.group  TXT test:*:2001:
2001.gidCNAME test.group

And used this configuration file:

rhs = local
lhs = hs
classes = IN

The hesinfo works with no problems:

# hesinfo test passwd
test:*:2001:2001::0:0:Test user:/home/test:/bin/tcsh

However finger stands that user test is uknown:

I'm using the following nsswitch.conf:

#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: src/etc/nsswitch.conf,v 1.1 2006/05/03 15:14:47 ume Exp $
#
group: compat
group_compat: dns
hosts: files dns
networks: files
passwd: compat
passwd_compat: dns
shells: files
services: compat
services_compat: dns
protocols: files
rpc: files

And I do have the +... lines in /etc/passwd and /etc/group.

I've tried to debug the cause of the error and it reveals that hesinfo 
and finger makes different lookups:


hesinfo:
client 127.0.0.1#62846: view internal: query: 
test.passwd.hs.tandem.local IN TXT +


finger:
client 127.0.0.1#51278: view internal: query: 
passwd-0.passwd.hs.tandem.local IN TXT +


I've searched the net for 'passwd-0' cause and tried to make something 
for this to work, but all my efforts were futile.


Can anyone help me with hesiod configuration? Just a little sample of 
your working zone would be enough.


--
Sphinx of black quartz judge my vow.

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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Manolis Kiagias

Heikki Suonsivu wrote:
I need to get something to run on x86 computers which do not contain 
math in hardware, and FreeBSD dropped non-math cpus long time ago. 
NetBSD did the same, so Linux seems to be the only possibility.


So, the question:

What is the linux distro which is closest to FreeBSD in terms of 
installation and use.  A linux with basic userland and ports(-like) 
system, and quick and easy install like FreeBSD ?


Heikki Suonsivu



I don't think you will have much luck installing any modern linux distro 
on ancient hardware. In your case, I would consider running an older 
version of FreeBSD, like e.g. 4.11. This will work without a math 
co-processor. You can see the hardware notes here:


http://www.freebsd.org/releases/4.11R/hardware-i386.html

Download from ftp-archive, here:

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.11

See also this very interesting post on minimum memory requirements for 
each FreeBSD version:


http://lists.freebsd.org/pipermail/freebsd-doc/2006-August/011029.html

I have a 4.11 installed successfully on a 386 with 20Mb RAM.

You could also go with a Linux version specifically for old PCs, but 
better have a look at distrowatch.com for these.





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


FreeBSD-like linux distro?

2008-06-11 Thread Heikki Suonsivu
I need to get something to run on x86 computers which do not contain 
math in hardware, and FreeBSD dropped non-math cpus long time ago. 
NetBSD did the same, so Linux seems to be the only possibility.


So, the question:

What is the linux distro which is closest to FreeBSD in terms of 
installation and use.  A linux with basic userland and ports(-like) 
system, and quick and easy install like FreeBSD ?


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

Re: Remind me which filesystems exactly can be background fscked?

2008-06-11 Thread RW
On Wed, 11 Jun 2008 10:37:22 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  Pretty much anything but / (rot).
 
 
  I think it's just a matter of turning-on soft-updates for the root
  partition, which is sensible anyway if it's large.
 
 root partition is always checked foreground. i would be possible to
 check it background after modifying /etc/rc.d/* scripts


There is no explicit fsck for the root partition. If you have
background-checking enabled there is a single call to fsck -p -F that
does foreground checking on filesystems in fstab that aren't eligible
for background-checking. AFAIK the sole reason that root is foreground
checked is that sysinstall doesn't set soft-updates on it.



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


Re: Similar Experience/Forget Hardy

2008-06-11 Thread Brian Astill
On Wed, 11 Jun 2008 02:05:47 pm Mike Bird wrote:
 All we need is stable unadulterated versions of most packages,
 a real binary package manager (sorry Gentoo and Slackware), and
 a recent kernel and graphics support.  Compared to Ubuntu that
 would be a lot more value for a lot less effort.  If anyone
 knows of a distro like this I really want to hear about it.

Mike Bird for President!  Yeh! 
I guess that imaginary distro is exactly what I want.
(thinks  )  Would v7 of FreeBSD qualify?

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


Re: [OT]Change font for aterm

2008-06-11 Thread Kemian Dang
2008/6/8 Frank Shute [EMAIL PROTECTED]:
 On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote:

 2008/6/8 Frank Shute [EMAIL PROTECTED]:
  On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:
 
  Dear All,
 
  I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
  the configure in the menu.
  Now I am using aterm, but I also want to use that font.
 
  I can see it by fc-list:
 
  [3:39pm:kemian] ~ fc-list | grep Sans Mono
  Bitstream Vera Sans Mono:style=Bold
  Bitstream Vera Sans Mono:style=Oblique
  Bitstream Vera Sans Mono:style=Bold Oblique
  Bitstream Vera Sans Mono:style=Roman
 
  I add entry in .Xresources:
 
  Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman
 
  Use:
 
  Aterm*font: -bitstream-bitstream\ vera\ sans\ 
  mono-medium-r-normal--16-0-0-0-m-0-iso8859-15
 
  in ~/.Xdefaults (all on one line).
 

 aterm still complain can not find this font.

  Then:
 
  $ xrdb -load

 Sorry. should have been:

 $ xrdb -load ~/.Xdefaults


 This command did not give any output, it held there and nothing happened.
 I have to Ctrl+C to stop it.

 
  The size of the font can be varied by changing the 16 in that line.
 
  $ xlsfonts | less

 This did not give the output of bitstream vera sans mono.

 Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist?

 If not you have to install: x11-fonts/bitstream-vera and follow the
 instructions to change your xorg.conf and then restart X.

 If it exists, you have to add the dir to xorg.conf like so:

FontPath /usr/local/lib/X11/fonts/bitstream-vera/

 under the Files section. Restart X.

 X should read ~/.Xdefaults on start up  your font will be used for
 aterm.

 xlsfonts should also now list the bitstream vera fonts.

 Regards,

 --

  Frank


  Contact info: http://www.shute.org.uk/misc/contact.html



Thanks a lot, it works.
There is no font path in the xorg.conf, and after I add them in, it comes out.
Another thing is, it did not recognize the \  to space, the   will work.
The font line I am using is:
Aterm*font: -bitstream-bitstream vera sans
mono-medium-r-normal--0-0-0-0-m-0-iso8859-1

Though the font seems a little bigger than I suppose, anyway, it works.

Sorry for replying later due to lot of work these days.

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


Re: generating random passwords

2008-06-11 Thread N. Raghavendra
At 2008-06-11T09:20:30+02:00, Zbigniew Szalbot wrote:

 Is there a utility in FreeBSD that would allow me to generate random
 passwords without actually creating any accounts or modifying
 existing ones? I am looking for something to allow me to generate a
 random string of characters.

One way is to use the rand(1) command which comes with the base system
as a part of OpenSSL:

  [riemann:/usr/home/raghu]% openssl rand -base64 6
  1olqAkXG
  [riemann:/usr/home/raghu]% openssl rand -base64 9
  gO/9nTp5/SYa
  [riemann:/usr/home/raghu]% openssl rand -base64 6
  ib9SrIe2

Base64 encoding transforms every group of 3 octets to 4 encoded
characters, so `openssl rand -base64 3N' produces a string with 4N
encoded characters.  In case it is relevant, the generated strings are
made up of the 62 US-ASCII alphanumerical characters, `+', and `/'.

HTH,
Raghavendra.

-- 
N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.

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


Re: how to determine the date a port is installed

2008-06-11 Thread RW
On Wed, 11 Jun 2008 10:31:08 +0300
Peter Pentchev [EMAIL PROTECTED] wrote:

 On Tue, Jun 10, 2008 at 10:41:25PM -0700, Jeremy Chadwick wrote:
  On Wed, Jun 11, 2008 at 12:09:33AM -0500, Novembre wrote:
   Two questions:
   1) Is it possible to determine the date a port/package is
   installed?
  
  ls -ld /var/db/pkg/port, use the mtime of the directory.
  
   2) How can I delete all the ports/packages installed after a
   certain date?
  
  Use a combination of find with the -mtime flag, and pkg_delete.
 
 Not really.  This is a bit dangerous.
 
 The dangerous part is the mtime of the directory.  It would be much
 better to use the mtime of the  file, since it never changes
 *after* the package has been installed.

+CONTENTS can change if you use a tool like portmaster or portupgrade 

If you have portupgrade installed, pkg_glob can list packages installed
before a specific date, so presumably pkg_deinstall can delete them
directly since it support package globs.

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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Wojciech Puchar
I need to get something to run on x86 computers which do not contain math in 
hardware, and FreeBSD dropped non-math cpus long time ago. NetBSD did the 
same, so Linux seems to be the only possibility.

So, the question:

What is the linux distro which is closest to FreeBSD in terms of installation 
and use.  A linux with basic userland and ports(-like) system, and quick and 
easy install like FreeBSD ?


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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Wojciech Puchar
See also this very interesting post on minimum memory requirements for each 
FreeBSD version:


http://lists.freebsd.org/pipermail/freebsd-doc/2006-August/011029.html

I have a 4.11 installed successfully on a 386 with 20Mb RAM.


NetBSD 1.5 runs for sure and runs fast on 486SX and 8MB RAM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail: stat=Deferred: Can't assign requested address

2008-06-11 Thread jonathan michaels
greetings all,

firstly, i am not subscribed, please cc: responces, appreciated.

i have been using freebsd v2.2.5-release (as my domains mx host
on a 486dx33 .. that was upgraded after 20 years running with 6
years on v2.2.5  to a p5-133 mhz into which i moved teh whole scsi
harddisk ssubsystem (card and drives) ther it ran v 2.2.5-r
faultlessly untill last january when i cleaned of teh hard
drives reformated averything and installed freebsd v6.2-release
!!

than after a few weeks of settling down and setting up every
thing worked well, as expected, then the sendmail nightmares
started ... basically the system could not send mail anywhere
!!!

cutting long story short, it was basically my having to relearn
teh whole universe .. there were more differences  than i had
planned for and it was an uphill battle relearning essentially
everything i had learned about freebsd over th previous ten
years.

about 3 weeks ago things started to make sence, herebouts,
slowly it is clearing up, as i started to understand sendmail
and getting teh configurations right .. most of teh poorly
configured hosts i've now cleaned up and are working properly,
but, one ...

i have now got one left and like teh linux chappie who i found
on google who had a similar out of teh blue experience like
mine, (about 2003) one day sendmail worked then teh veyr next it was
defereing everytingh .. just like here. this chappie had
replaced his nic, i've not done angthiny like that hppen here,
the machine is the machine and no hardware has been changed ??

i donot understand what is going on here .. i've included all
teh differnt bits in teh maillog file

here is teh /var/log/maillog exerpt

Jun  9 00:00:00 reality newsyslog[15991]: logfile turned over

Jun  9 03:01:05 reality sendmail[16485]: grew WorkList for 
/var/spool/clientmqueue to 2000
Jun  9 03:06:36 reality sendmail[17417]: m58H6aGk017417: from=root, size=12938, 
class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun  9 03:06:36 reality sendmail[17417]: m58H6aGk017417: to=root, ctladdr=root 
(0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=42938, 
relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested 
address
Jun  9 03:06:40 reality sendmail[17475]: m58H6dJG017475: from=root, 
size=137243, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED]
Jun  9 03:06:40 reality sendmail[17475]: m58H6dJG017475: to=root, ctladdr=root 
(0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=167243, 
relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested 
address

Jun  9 03:06:49 reality sendmail[17463]: grew WorkList for 
/var/spool/clientmqueue to 2000
Jun  9 03:06:49 reality sendmail[17463]: m58H6aGk017417: to=root, ctladdr=root 
(0/0), delay=00:00:13, xdelay=00:00:00, mailer=relay, pri=132938, 
relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested 
address
Jun  9 03:06:49 reality sendmail[17463]: m58H6dJG017475: to=root, ctladdr=root 
(0/0), delay=00:00:10, xdelay=00:00:00, mailer=relay, pri=257243, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m57LAP8l013868: to=root, 
delay=19:56:24, xdelay=00:00:00, mailer=relay, pri=3644350, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m57LAP8m013868: to=root, 
delay=19:56:24, xdelay=00:00:00, mailer=relay, pri=3768123, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m57H6qfr013304: to=root, ctladdr=root 
(0/0), delay=23:59:57, xdelay=00:00:00, mailer=relay, pri=4542984, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m57H6u1Q013363: to=root, ctladdr=root 
(0/0), delay=23:59:53, xdelay=00:00:00, mailer=relay, pri=4666757, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56MMWd3009824: to=root, 
delay=1+18:44:17, xdelay=00:00:00, mailer=relay, pri=7861512, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56LMVd3009703: to=root, 
delay=1+19:44:17, xdelay=00:00:00, mailer=relay, pri=8054226, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56LMVd4009703: to=root, 
delay=1+19:44:17, xdelay=00:00:00, mailer=relay, pri=8177393, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56ILDAU009315: to=root, ctladdr=root 
(0/0), delay=1+22:45:36, xdelay=00:00:00, mailer=relay, pri=8670146, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56H6f3Y009045: to=root, ctladdr=root 
(0/0), delay=2+00:00:08, xdelay=00:00:00, mailer=relay, pri=8952860, 

RE: Problems opening mail on this list

2008-06-11 Thread Bob McConnell
Paul,

The message you sent right after this one produced the same error in
Outlook as Andrew's.

Bob McConnell

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Schmehl
Sent: Tuesday, June 10, 2008 6:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: Problems opening mail on this list

--On Tuesday, June 10, 2008 15:32:45 -0600 Chad Perrin
[EMAIL PROTECTED] 
wrote:

 On Tue, Jun 10, 2008 at 03:34:59PM -0500, Paul Schmehl wrote:
 --On Tuesday, June 10, 2008 16:23:32 -0400 Andrew Berry
 [EMAIL PROTECTED] wrote:

  On 10-Jun-08, at 1:07 PM, Paul Schmehl wrote:
 
  Andrew, maybe you could send a signed message, state in the body
  that it was signed, and then I can look at the headers and tell
you
  what's going on.
 
  Here is a message which has been signed.
 

 There's no sig attached, so it's getting stripped off somewhere.
 This line in the headers looks to be the culprit:
 X-Content-Filtered-By: Mailman/MimeDel 2.1.5

 That will strip all attachments, including S/MIME.

 My PGP signatures seem to come through just fine, however.

Yes it did.  And it appears that this is the reason:

Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol=application/pgp-signature;
boundary=H1spWtNR+x+ondvy
Content-Disposition: inline

Andrew's is like this:
Content-Type: multipart/signed; boundary=Apple-Mail-1-746495031;
micalg=sha1;
protocol=application/pkcs7-signature
Mime-Version: 1.0 (Apple Message framework v924)
Date: Tue, 10 Jun 2008 16:23:32 -0400
References: [EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
X-Mailer: Apple Mail (2.924)
X-Spam-Scanner: SpamAssassin 3.04 (http://www.spamassassin.org/) on
batman.cs.uoguelph.ca
X-Spam-Score: hits=0.0
X-Spam-Level:
X-Spam-Tests: FORGED_RCVD_HELO,SPF_PASS
X-Spam-Status: Suspected
X-Scanned-By: MIMEDefang 2.63 on 131.104.94.198
X-Scanned-By: MIMEDefang 2.52 on 172.17.94.85
X-Content-Filtered-By: Mailman/MimeDel 2.1.5

Notice that his was processed through MIMEDefang twice and then Content 
Filtered by Mailman.  Also, his content type is 
protocol=application/pkcs7-signature whereas yours is 
application/pgp-signature.

There's also no Content-Disposition: line in Andrew's email headers, so
it's 
possible that absence of that line makes a difference as well.

By default, it appears that Mailman does not do content filtering.  It
also has 
pass rules (if filtering is enabled) for multipart/mixed,
multipart/alternative 
and text/plain.  So, it's possible that MIMEDefang is the culprit
instead.

-- 
Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.
___
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: Remind me which filesystems exactly can be background fscked?

2008-06-11 Thread Wojciech Puchar

check it background after modifying /etc/rc.d/* scripts



There is no explicit fsck for the root partition. If you have
background-checking enabled there is a single call to fsck -p -F that
does foreground checking on filesystems in fstab that aren't eligible
for background-checking. AFAIK the sole reason that root is foreground
checked is that sysinstall doesn't set soft-updates on it.
you are right. sorry but i was sure my / partition on my laptop have soft 
updates set, while it doesn't. and this is the only place i have 
background_fsck set to yes


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


Re: [OT]Change font for aterm

2008-06-11 Thread Frank Shute
On Wed, Jun 11, 2008 at 12:39:21PM +0100, Kemian Dang wrote:

 2008/6/8 Frank Shute [EMAIL PROTECTED]:
  On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote:
 
  2008/6/8 Frank Shute [EMAIL PROTECTED]:
   On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:
  
   Dear All,
  
   I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
   the configure in the menu.
   Now I am using aterm, but I also want to use that font.
  
   I can see it by fc-list:
  
   [3:39pm:kemian] ~ fc-list | grep Sans Mono
   Bitstream Vera Sans Mono:style=Bold
   Bitstream Vera Sans Mono:style=Oblique
   Bitstream Vera Sans Mono:style=Bold Oblique
   Bitstream Vera Sans Mono:style=Roman
  
   I add entry in .Xresources:
  
   Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman
  
   Use:
  
   Aterm*font: -bitstream-bitstream\ vera\ sans\ 
   mono-medium-r-normal--16-0-0-0-m-0-iso8859-15
  
   in ~/.Xdefaults (all on one line).
  
 
  aterm still complain can not find this font.
 
   Then:
  
   $ xrdb -load
 
  Sorry. should have been:
 
  $ xrdb -load ~/.Xdefaults
 
 
  This command did not give any output, it held there and nothing happened.
  I have to Ctrl+C to stop it.
 
  
   The size of the font can be varied by changing the 16 in that line.
  
   $ xlsfonts | less
 
  This did not give the output of bitstream vera sans mono.
 
  Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist?
 
  If not you have to install: x11-fonts/bitstream-vera and follow the
  instructions to change your xorg.conf and then restart X.
 
  If it exists, you have to add the dir to xorg.conf like so:
 
 FontPath /usr/local/lib/X11/fonts/bitstream-vera/
 
  under the Files section. Restart X.
 
  X should read ~/.Xdefaults on start up  your font will be used for
  aterm.
 
  xlsfonts should also now list the bitstream vera fonts.
 
  Regards,
 
 Thanks a lot, it works.
 There is no font path in the xorg.conf, and after I add them in, it comes out.
 Another thing is, it did not recognize the \  to space, the   will work.
 The font line I am using is:
 Aterm*font: -bitstream-bitstream vera sans
 mono-medium-r-normal--0-0-0-0-m-0-iso8859-1
 
 Though the font seems a little bigger than I suppose, anyway, it works.

Hi Kemian,

I'm glad you got it working.

To change the size of the font, you want to change the the first 0 in
the line to the font size you require in pixels. E.g: I use:

-bitstream-bitstream vera sans mono-medium-r-normal--16-0-0-0-m-0-iso8859-15

for a 16px font. I like it big!

You can test it beforehand by using xfd (in ports if not already
installed) i.e:

$ xfd -fn -bitstream-bitstream vera sans mono\
-medium-r-normal--16-0-0-0-m-0-iso8859-15

Use iso8859-15 if you want € (the euro) in your character set.

 
 Sorry for replying later due to lot of work these days.
 

No worries. I assumed you'd got it to work.

 -- 
 Best wishes,
 Kemian

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: mplayer plug-in not playing some streams

2008-06-11 Thread RW
On Wed, 11 Jun 2008 00:05:46 -0500
Novembre [EMAIL PROTECTED] wrote:

 On Sun, Jun 8, 2008 at 7:25 PM, Novembre [EMAIL PROTECTED] wrote:
 
 
  Hi,
 
  I have installed mplayer-0.99.10_14 and mplayerplug-in-3.45 using
  packages on my 7.0-RELEASE machine which runs Firefox 2.0.0.12. I
  am not able to see *some* online content, though, and I couldn't
  find any pattern. For example, going to

I find the mplayer plugin to be pretty unreliable - it sounds like it's
improved at lot by your description.

I've had a lot more success with konquerer and kmplayer with the xine
backend. There's also a firefox plugin provided by gxine which may be
worth a try, although it's never been as good as kmplayer in my
experience.

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


Re: how to determine the date a port is installed

2008-06-11 Thread Florent Thoumie
On Wed, Jun 11, 2008 at 8:31 AM, Peter Pentchev [EMAIL PROTECTED] wrote:
 On Tue, Jun 10, 2008 at 10:41:25PM -0700, Jeremy Chadwick wrote:
 On Wed, Jun 11, 2008 at 12:09:33AM -0500, Novembre wrote:
  Two questions:
  1) Is it possible to determine the date a port/package is installed?

 ls -ld /var/db/pkg/port, use the mtime of the directory.

  2) How can I delete all the ports/packages installed after a certain date?

 Use a combination of find with the -mtime flag, and pkg_delete.

 Not really.  This is a bit dangerous.

 The dangerous part is the mtime of the directory.  It would be much
 better to use the mtime of the +CONTENTS file, since it never changes
 *after* the package has been installed.

It actually does if you're using portupgrade (and probably
portmaster), see the @pkgdep entries.

Use +DESC, +COMMENT or +MTREE_DIRS instead.

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


Re: how to check status of ida disks?

2008-06-11 Thread Roberto Nunnari

Anybody on this, please?

--
Robi


Roberto Nunnari wrote:

Hello.

I'm running FreeBSD 6.1 on an old compac server.

The server has a RAID SCSI controller (if I'm not wrong is
the Compaq SMART 3200 Controller) that at times I'd like
to check if the status is still ok or somehow degraded.

The OS is accessing it using the ida driver.

Do anybody know how to achive it?

Thank you in advance.




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


Re: OT: lots of IPv6 DNS requests

2008-06-11 Thread Jon Radel

Ted Mittelstaedt wrote:




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jon Radel
Sent: Tuesday, June 10, 2008 4:02 PM
To: Wojciech Puchar
Cc: freebsd-questions@freebsd.org
Subject: Re: OT: lots of IPv6 DNS requests



Nameservers are hitting an address of yours.  Therefore something is 
probably handing out your address.  Somebody (that would be me) has 
looked up the address in question and even looked up the nameserver 
which is handing out that address in a glue record. 


A simple problem EASILY solved.

Why bother the owner of the misconfigured nameserver?

Instead, simply insert a wildcard record to your namesever
that hands out the IP number of the nastiest porno site you
can find to any DNS query.

After a few days the owners of the misconfigured nameservers
or clients will go hunting for whatever is poisoning their cache.

Problem solved.

Ted


Silly me, I've always believed that people setup nameservers because 
they want their resources to be found.  Having one the parents of your 
zone point to a random machine of yours, which you then use to serve 
crap records, strikes me as somewhat counterproductive.  And I really 
fail to see why whomever runs the parent zone would even notice.  So I 
rather suspect that the log messages which so traumatize Wojciech would 
continue.


Problem not solved.

--Jon Radel


smime.p7s
Description: S/MIME Cryptographic Signature


Is FreeBSD suitable for my thinkpad T61 ?

2008-06-11 Thread [EMAIL PROTECTED]

Hi all,

I brought a new ThinkPad T61 for work, the hardware is as follows:

T7300(2GHz), 2GB RAM, 120GB 5400rpm HD, 15.4in 1680x1050 LCD, 128MB nVIDIA 
Quadro NVS 140M, CDRW/DVDRW, Intel 802.11agn(n-disabled), Bluetooth, Modem, 
1Gb Ethernet, UltraNav, Secure chip, Intel Turbo, 9c Li-Ion,


My current working involves scientific calculation and programming. I'm from a 
linux background(redhat, debian, ubuntu), but after some googling and 
comparison, I found FreeBSD more stable and I want to try FreeBSD.  I am tired 
of a dual-boot system, so I want to just install FreeBSD or another linux 
distribution(maybe ubuntu) on my notebook.


My questions are:
1) Can FreeBSD work well with my hardware? The display card, CDRW/DVDRW, 
wireless, Ethernet and battery managment are the most important.


2) I have read the FreeBSD Handbook. According to Chapter 10: Linux Binary 
Compatibility, it seems that FreeBSD lacks support of many commercial 
softwares such as MATLAB, Oracle, Mathematica. Is the linux binary 
compatibility stable enough for work ?


Thanks a lot.



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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Wojciech Puchar

http://lists.freebsd.org/pipermail/freebsd-doc/2006-August/011029.html


now i made my tests with FreeBSD 7. no installer, my semi-custom kernel i 
use everywhere on x86 (everything moduled, all needed things in 
loader.conf).


i used qemu

results:

16MB RAM - boots without problems, no swapping at all
12MB - boots without problems, little bit swapping
10MB - boots without problems, more swapping, hanged after booting 
multiuser, before displaying login. probably out of kernel memory for 
consoles
10MB again - after turning of all consoles but the first, boots fine, 
somehow usable, but for routers should be OK.



then i made REALLY custom kernel. minimal but enough for a router.

was able to get down to 9MB.


so - on 12MB 486DX, FreeBSD 7 is useful system for routing, firewalling, 
small nameserver, general control etc.


with 16MB - swap is barely touched.

486DX machines with 8-16MB RAM and small (like 100-500MB) disks are for 
free here, ISA network cards too.


good to know they can run newest FreeBSD release!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libcdio upgrade problems

2008-06-11 Thread Dr. Jennifer Nussbaum

Im trying to upgrade some ports, and have a problem with libcdio.
 At
 least i
think i do. 

When i try to upgrade, say, Nautilus (or a buncha other things), it
 dies in 
the
end with a libcdio-0.78.2_2 is already installed. You may wish to
 make 
deinstall
etc. message.

But i did go to /usr/ports/sysytils/libcdio and make deinstall and
 make 
reinstall,
and this was successful. I sync'd the ports collection again, but
 no
 luck. 
Nothing
in UPDATING about this.

Thanks!
I've run into similar experiences with other ports, and what I have
 done 
to get it to work is to deinstall the complaining port (in this
 instance 
libcdio), and let the original port install it as a dependency instead 
of doing a make reinstall.

--

Im afraid this didnt work either--whether libcdio is installed or not
(and installing it seems to work fine), any other port that
requires it tells me that it is installed and need to be
make deinstalled and make reinstalled. Yet this doesnt work.

Is there any other brute-force way to get around this? This
is getting difficult.

Thanks again, everyone.

Jen


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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Brian

Wojciech Puchar wrote:

http://lists.freebsd.org/pipermail/freebsd-doc/2006-August/011029.html


now i made my tests with FreeBSD 7. no installer, my semi-custom 
kernel i use everywhere on x86 (everything moduled, all needed things 
in loader.conf).


i used qemu

results:

16MB RAM - boots without problems, no swapping at all
12MB - boots without problems, little bit swapping
10MB - boots without problems, more swapping, hanged after booting 
multiuser, before displaying login. probably out of kernel memory for 
consoles
10MB again - after turning of all consoles but the first, boots fine, 
somehow usable, but for routers should be OK.



then i made REALLY custom kernel. minimal but enough for a router.

was able to get down to 9MB.


so - on 12MB 486DX, FreeBSD 7 is useful system for routing, 
firewalling, small nameserver, general control etc.


with 16MB - swap is barely touched.

486DX machines with 8-16MB RAM and small (like 100-500MB) disks are 
for free here, ISA network cards too.


good to know they can run newest FreeBSD release!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
To the OP, if you go ahead with trying to use this 486 or older hw, 
consider the effort of maintaining the system.


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


Re: OT: lots of IPv6 DNS requests

2008-06-11 Thread Jon Radel

Wojciech Puchar wrote:




pearl# dig  dns3.tensor.gdynia.pl
dns3.tensor.gdynia.pl.  21682   IN  2001:4070:101:2::1


that's funny because i have in my domain:

dns3A   213.192.74.1
dns32001:4070:101::1

not :2::1


tried my secondary dns - the same.


tried dig  dns3.tensor.gdynia.pl from other server in poland - the 
same!


any idea where this :2::1 can be kept. nowhere on my machines for sure.

i did grep 2001:4070:101:2::1 /etc/namedb/*/* on both my primary and 
secondary dns - found only one position that defines 
wojtek.tensor.gdynia.pl


nothing more.


asked polish telecom DNS to look how it look from outside, got this
dns3.tensor.gdynia.pl.  10800   IN  2001:4070:101::1

which is OK.


as you get :2::1 - any idea why?


Sure thing.  I know exactly why.  I keep telling you why.  You keep 
ignoring me.


Frankly, I'm beginning to suspect that you're only pretending that you 
know how DNS works.  You might want to research it a bit.


Run this:

$ dig @bilbo.nask.org.pl tensor.gdynia.pl ns

;  DiG 9.4.2  @bilbo.nask.org.pl tensor.gdynia.pl ns
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 45423
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 3, ADDITIONAL: 6
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;tensor.gdynia.pl.  IN  NS

;; AUTHORITY SECTION:
tensor.gdynia.pl.   28800   IN  NS  dns2.tensor.gdynia.pl.
tensor.gdynia.pl.   28800   IN  NS  dns.tensor.gdynia.pl.
tensor.gdynia.pl.   28800   IN  NS  dns3.tensor.gdynia.pl.

;; ADDITIONAL SECTION:
dns.tensor.gdynia.pl.   28800   IN  A   213.192.74.1
dns.tensor.gdynia.pl.   28800   IN  2001:4070:101::1
dns2.tensor.gdynia.pl.  28800   IN  A   83.18.148.142
dns2.tensor.gdynia.pl.  28800   IN  2001:4070:101::1
dns3.tensor.gdynia.pl.  28800   IN  A   83.12.228.78
dns3.tensor.gdynia.pl.  28800   IN  2001:4070:101:2::1

;; Query time: 233 msec
;; SERVER: 195.187.245.51#53(195.187.245.51)
;; WHEN: Wed Jun 11 13:21:48 2008
;; MSG SIZE  rcvd: 222


over and over until you catch on to what it means.  Once you understand 
that, then run this:


$ dig @f-dns.pl. tensor.gdynia.pl ns

;  DiG 9.4.2  @f-dns.pl. tensor.gdynia.pl ns
; (2 servers found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 13848
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 5, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;tensor.gdynia.pl.  IN  NS

;; AUTHORITY SECTION:
gdynia.pl.  86400   IN  NS  dns2.task.gda.pl.
gdynia.pl.  86400   IN  NS  bilbo.nask.org.pl.
gdynia.pl.  86400   IN  NS  ns-pl.tpnet.pl.
gdynia.pl.  86400   IN  NS  kirdan.warman.nask.pl.
gdynia.pl.  86400   IN  NS  dns.task.gda.pl.

;; ADDITIONAL SECTION:
dns.task.gda.pl.86400   IN  A   153.19.250.100
dns2.task.gda.pl.   86400   IN  A   212.77.97.222

;; Query time: 131 msec
;; SERVER: 2001:1a68:0:10::189#53(2001:1a68:0:10::189)
;; WHEN: Wed Jun 11 13:30:16 2008
;; MSG SIZE  rcvd: 200

over and over until you realize why this means that the results of the 
first command actually matter.


Or you could skip a step and run:

$ dig @b-dns.pl. tensor.gdynia.pl ns

;  DiG 9.4.2  @b-dns.pl. tensor.gdynia.pl ns
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 10267
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 3, ADDITIONAL: 6
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;tensor.gdynia.pl.  IN  NS

;; AUTHORITY SECTION:
tensor.gdynia.pl.   28800   IN  NS  dns3.tensor.gdynia.pl.
tensor.gdynia.pl.   28800   IN  NS  dns2.tensor.gdynia.pl.
tensor.gdynia.pl.   28800   IN  NS  dns.tensor.gdynia.pl.

;; ADDITIONAL SECTION:
dns.tensor.gdynia.pl.   28800   IN  A   213.192.74.1
dns.tensor.gdynia.pl.   28800   IN  2001:4070:101::1
dns2.tensor.gdynia.pl.  28800   IN  A   83.18.148.142
dns2.tensor.gdynia.pl.  28800   IN  2001:4070:101::1
dns3.tensor.gdynia.pl.  28800   IN  A   83.12.228.78
dns3.tensor.gdynia.pl.  28800   IN  2001:4070:101:2::1

;; Query time: 138 msec
;; SERVER: 80.50.50.10#53(80.50.50.10)
;; WHEN: Wed Jun 11 13:32:09 2008
;; MSG SIZE  rcvd: 222

Basically, according to the root servers, pl has 8 nameservers, a-dns.pl 
through h-dns.pl.  They give different answers when asked about 
gdynia.pl and tensor.gdynia.pl


a:  returns set of 5, including bilbo.nask.org.pl, which then returns 
the dreaded address


b:  returns set of 5 for gdynia.pl, BUT WHEN ASKED ABOUT 
TENSOR.GDYNIA.PL returns your 3 nameservers, with the 

Re: FreeBSD-like linux distro?

2008-06-11 Thread herbs
Also Slackware has a rather Unix-like concept. The versions until 11 (if
I remember right) still run on the 2.4 kernel and have an option to
install without X11 and KDE and such. I still use it on a slow server,
it is easy to understand when you come from BSD-land.

Cheers
herbs


On Wed, Jun 11, 2008 at 12:54:07PM +0300, Heikki Suonsivu wrote:
 I need to get something to run on x86 computers which do not contain 
 math in hardware, and FreeBSD dropped non-math cpus long time ago. 
 NetBSD did the same, so Linux seems to be the only possibility.
 
 So, the question:
 
 What is the linux distro which is closest to FreeBSD in terms of 
 installation and use.  A linux with basic userland and ports(-like) 
 system, and quick and easy install like FreeBSD ?
 
 Heikki Suonsivu

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

-- 
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** herbert at langhans.com.pl
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-like linux distro?

2008-06-11 Thread Heikki Suonsivu

Oops, sorry, I was not specific enough:

FreeBSD 4 or older NetBSD are no go:

The computer I am doing this is not old, it is otherwise brand new, but 
it uses an embedded cpu, a 486 clone as SoC without math.  See 
www.compactpc.com.tw, eBOX 2300SX.  It is very low cost, runs on about 
3W of power with CF card as mass memory, 128M, 3 USB2, serials, sound, 
etc, it has VESA form factor so you can attach it behind many LCD 
displays, etc. They have beefier models, but this one is cheapest and 
uses least power, latter of which is the more critical requirement for us.


We would like to use it for certain control applications.  Linux works, 
has been tested, but requires patches (turn math emulation on, add 
support for built-in ethernet, bug workaround).


The problem with is that while FreeBSD 4 seemed to boot on it, it did 
not recognize any peripherals as they are new.  Old OS's are not really 
what we want, this is not one-off but volume product, it will be 
internet-connected so we need bugfixes and we need support for latest 
chipsets on 802.11 cards etc.


There is another similar CPU, even slower and less power consuming, I do 
not remember the part number, I think it was about 100 MHz 486 without 
math as well.  This was some manufacturer of microcontrollers.


Heikki

Manolis Kiagias wrote:

Heikki Suonsivu wrote:
I need to get something to run on x86 computers which do not contain 
math in hardware, and FreeBSD dropped non-math cpus long time ago. 
NetBSD did the same, so Linux seems to be the only possibility.


So, the question:

What is the linux distro which is closest to FreeBSD in terms of 
installation and use.  A linux with basic userland and ports(-like) 
system, and quick and easy install like FreeBSD ?


Heikki Suonsivu



I don't think you will have much luck installing any modern linux distro 
on ancient hardware. In your case, I would consider running an older 
version of FreeBSD, like e.g. 4.11. This will work without a math 
co-processor. You can see the hardware notes here:


http://www.freebsd.org/releases/4.11R/hardware-i386.html

Download from ftp-archive, here:

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.11 



See also this very interesting post on minimum memory requirements for 
each FreeBSD version:


http://lists.freebsd.org/pipermail/freebsd-doc/2006-August/011029.html

I have a 4.11 installed successfully on a 386 with 20Mb RAM.

You could also go with a Linux version specifically for old PCs, but 
better have a look at distrowatch.com for these.






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

Re: Grep Guru

2008-06-11 Thread Ian Smith
On Mon, 9 Jun 2008, Giorgos Keramidas wrote:
  On Tue, 10 Jun 2008 01:44:36 +1000 (EST), Ian Smith [EMAIL PROTECTED] 
  wrote:
  On Sun, 8 Jun 2008 16:07:12 -0700 Bill Campbell [EMAIL PROTECTED] wrote:
  On Mon, Jun 09, 2008, Raphael Becker wrote:
  On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote:
   find . -type f -print0|xargs -0 grep grepoptions text to search
  
   There's no more need for find | xargs
  
   Try:
  
   find . -type -f -exec grep grepoptions text to search {} \+
  
   -exec foo {} \+ behaves like xargs foo
   -exec foo {} \; exec foo for every file
  
   Thanks for this kick; I'd missed or misunderstood using {} \+
  
   The issue here is that grep execs grep for each file found while
   xargs batches the files.
  
   If find(1) is to be believed, so does -exec utility [argument ...] {} +
  
  Yes, sure.  I think Bill was just being extra-conservative[1] and he
  explicitly chose to quote `+' with a backslash to avoid spurious
  interpreration by the shell.  I also type `\+' out of habbit most
  of the time.

It doesn't hurt.  My tests used \+ too, though after seeing yours I
tried with just '+' which works in tcsh anyway, unlike unescaped ';'

(It was Raphael actually, though I was replying to Bill's)

  [1] BSD users tend to be this way, but that's a good thing, right? :)

Right!  Of course for balance we have a 'left!' of out-there developers,
forever pushing envelopes, generating need for updates .. but we'd best
leave the stability vs progress politics to its playground on stable@ :) 

cheers, Ian

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


Re: OT: lots of IPv6 DNS requests Was: Re: freebsd-questions Digest, Vol 219, Issue 6

2008-06-11 Thread Jon Radel

Camilo Reyes wrote:

The easiest way to deal with this is to disable IPv6 on your kernel.
There is a good guide here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html.

Simply comment out the 'options INET6' line from your config file. Also,
you could give more information on what application is generating those
logs. For example, what services are you running? Is this setup as a
server? And things of that sort.


Disabling things so the log messages stop and you can pretend all the 
brokenness has magically gone away is indeed the easiest solution 
sometimes.  It's rarely a good one, particularly for the long term. 
Anyway, the OP actually uses IPv6 on his network, so this is pretty much 
akin to suggesting that he turn off his computer to keep people from 
bothering it.


The log messages are from his DNS server; he uses it for resolving and 
some local stuff; the log entries are the result of queries from random 
machines being rejected; random machines are doing that since at least 
one of his parent nameservers is handing out the IPv6 address of his 
server against his wishes; eventually he'll realize this is actually the 
case; and maybe he'll be able to convince whomever runs the parent 
nameserver(s) to update the records for his zone.  (Just to cover the 
rest of your questions. :-)


--Jon Radel


smime.p7s
Description: S/MIME Cryptographic Signature


RE: what ype of app? port of *free*-service app?

2008-06-11 Thread Bob McConnell
From: Gary Kline
 On Tue, Jun 10, 2008 at 08:08:11AM -0400, Bob McConnell wrote:
  On Behalf Of Gary Kline:
   
   This is a bit hard to figure out how  to phrase, so please bear
   with me.  I want to put-back a BBS/forum type app somewhere on my
   site so that members of my writing group can continue to help me
   with their suggestions and edits of my Jottings project.  Some 
   people are taking a break for the summer, c.
   
   I've had PHPBB up a few times, and lost it as many times for
   different reasons.  It takes about an hour to set up one of these
   ``forum'' applications; I don't know about the others.  
   
   Does anyone have a best-win/solution as to which port/package to
   use?   Or would it be just as good to go with a canned
   (javascript or other) app?
   
   Again: the nutshell is to allow my fellow writers to comment-on,
   edit, suggest, critique, flame, whatever, my jotting meditation.
   [for now, the URL would not be published.]
  
  Have you looked at any wiki software? I have Dokuwiki running on an
  Apache server here at the office as an idea and collaboration
incubator.
  There were over 1100 pages created on it the first year. It's all
  written in PHP and was quite simple to set up. You can get it at
  http://wiki.splitbrain.org/wiki:dokuwiki.
  
  Bob McConnell
 
 thanks for the url, bob.  i'll pull it up next time i use a 
 gui mailer.  wiki would let us edit things.  IIRC.  but it may
 be over-kill too.
 
 i checked out what was, i believe, plone last week.  i don't
 remember seeing plone on the opencma list.   
 
 (still chewing it over with my fellow writers.unfortunately,
 none is a techno-geek.)   i believe you that dokuwiki was easy
 to set up.   how easy is/was it to *use*, tho?  ---I'm following
 the gimp tutorial, but still cannot get anything to work.  
 so if there are docs for this wiki software, they've got to be 
 fairly well tested.

There is an active group of folks using and maintaining Dokuwiki. That
link goes to their wiki where they are using it for documentation.
Access control is flexible, but optional. There was a new release in the
past month or so which included support for a WYSIWYG editor plug-in.
Without that, you do need to learn a few specific markup conventions,
but they were never very difficult. You can edit everything from your
browser. Footnotes, line-through deletion and other editing conventions
are supported. But the best part is the change tracking that is built
in. You can trace each and every change if you need to.

Good luck,

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


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-11 Thread dfeustel
On Wed, Jun 11, 2008 at 08:50:36PM +0800, [EMAIL PROTECTED] wrote:
 Hi all,

 I brought a new ThinkPad T61 for work, the hardware is as follows:

 T7300(2GHz), 2GB RAM, 120GB 5400rpm HD, 15.4in 1680x1050 LCD, 128MB nVIDIA 
 Quadro NVS 140M, CDRW/DVDRW, Intel 802.11agn(n-disabled), Bluetooth, Modem, 
 1Gb Ethernet, UltraNav, Secure chip, Intel Turbo, 9c Li-Ion,

 My current working involves scientific calculation and programming. I'm 
 from a linux background(redhat, debian, ubuntu), but after some googling 
 and comparison, I found FreeBSD more stable and I want to try FreeBSD.  I 
 am tired of a dual-boot system, so I want to just install FreeBSD or 
 another linux distribution(maybe ubuntu) on my notebook.

 My questions are:
 1) Can FreeBSD work well with my hardware? The display card, CDRW/DVDRW, 
 wireless, Ethernet and battery managment are the most important.

 2) I have read the FreeBSD Handbook. According to Chapter 10: Linux Binary 
 Compatibility, it seems that FreeBSD lacks support of many commercial 
 softwares such as MATLAB, Oracle, Mathematica. Is the linux binary 
 compatibility stable enough for work ?

 Thanks a lot.

If FreeBSD runs on your new T61, you can install the Maxima port as a free
alternative to MATLAB and Mathematica. Maxima does symbolic math
and handles tensors. You can run Maxima code that proves that Einstein's
theory of relativity has a far-reaching logical inconsistancy in it
because the theory assumes torsion = 0 and curvature is nonzero.
Non-zero curvature implies torsion also is non-zero. 
See the code in paper 93 at
http://www.aias.us/index.php?goto=showPageByTitlepageTitle=Unified_Field_Theory_papers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: lots of IPv6 DNS requests

2008-06-11 Thread Wojciech Puchar

$ dig @bilbo.nask.org.pl tensor.gdynia.pl ns


so something is broken with my registrar. as other dns'es reports only 2 
nameservers.


host -t ns tensor.gdynia.pl dns.task.gda.pl

reports 2 of them, and dns.task.gda.pl is main dns for gdynia.pl

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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Wojciech Puchar
To the OP, if you go ahead with trying to use this 486 or older hw, consider 
the effort of maintaining the system.


maintaning? while running netbsd 1.5, my routers don't need any 
maintaining. they just works. what maintaining? just make your config so 
logs won't fill the disk.

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


Re: Similar Experience/Forget Hardy

2008-06-11 Thread Frank Shute
On Wed, Jun 11, 2008 at 07:42:27PM +0930, Brian Astill wrote:

 On Wed, 11 Jun 2008 02:05:47 pm Mike Bird wrote:
 
  All we need is stable unadulterated versions of most packages,
  a real binary package manager (sorry Gentoo and Slackware), and
  a recent kernel and graphics support.  Compared to Ubuntu that
  would be a lot more value for a lot less effort.  If anyone
  knows of a distro like this I really want to hear about it.
 
 Mike Bird for President!  Yeh! 
 I guess that imaginary distro is exactly what I want.
 (thinks  )  Would v7 of FreeBSD qualify?

Well it's got a recent kernel, it's got Xorg 7.3 and it's got binary
package management but it hasn't got Adobe Flash ATM.

An Ubuntu user would be better pointed at PC-BSD or DesktopBSD. They
aim at ease of use:

http://www.pcbsd.org/
http://www.desktopbsd.net/

IIRC they use the 6.3 kernel (which is currently supported  pretty
much as recent as 7.0) and they use KDE rather than Gnome. They also
have support forums aimed at new users, the FreeBSD mailing lists tend
to be more technical.

I can't comment as to how good either is as I've used neither but
they've had positive write-ups.

I use FreeBSD 7.0 on my workstation  6.3 on my server so I know the
underlying system is sound.

 -- 
 Regards,
 Brian

HTH.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-11 Thread Wojciech Puchar
tired of a dual-boot system, so I want to just install FreeBSD or another 
linux distribution(maybe ubuntu) on my notebook.


My questions are:
1) Can FreeBSD work well with my hardware? The display card, CDRW/DVDRW, 
wireless, Ethernet and battery managment are the most important.


not sure about display card. but everything else should be OK. it's 
IBM/Lenovo :)


2) I have read the FreeBSD Handbook. According to Chapter 10: Linux Binary 
Compatibility, it seems that FreeBSD lacks support of many commercial 
softwares such as MATLAB, Oracle, Mathematica. Is the linux binary 
compatibility stable enough for work ?


works at least for acrobat reader completely.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-like linux distro?

2008-06-11 Thread Frank Shute
On Wed, Jun 11, 2008 at 05:06:49PM +0300, Heikki Suonsivu wrote:

 Oops, sorry, I was not specific enough:
 
 FreeBSD 4 or older NetBSD are no go:
 
 The computer I am doing this is not old, it is otherwise brand new, but 
 it uses an embedded cpu, a 486 clone as SoC without math.  See 
 www.compactpc.com.tw, eBOX 2300SX.  It is very low cost, runs on about 
 3W of power with CF card as mass memory, 128M, 3 USB2, serials, sound, 
 etc, it has VESA form factor so you can attach it behind many LCD 
 displays, etc. They have beefier models, but this one is cheapest and 
 uses least power, latter of which is the more critical requirement for us.
 
 We would like to use it for certain control applications.  Linux works, 
 has been tested, but requires patches (turn math emulation on, add 
 support for built-in ethernet, bug workaround).

I don't know if this machine is going to be sited on an insecure
network or not. If it is, then you'll probably be using ssh. Without
a math co-proc to do the crypto, it will be horrendous. I don't even
know if ssh would work with an architecture without a maths unit.

If it can't work with ssh, then you might be restricting your market.

I think you are punishing yourself unneccesarily by going with a
processor without maths. You restrict the software (both OS 
application) you can run.

 
 The problem with is that while FreeBSD 4 seemed to boot on it, it did 
 not recognize any peripherals as they are new.  Old OS's are not really 
 what we want, this is not one-off but volume product, it will be 
 internet-connected so we need bugfixes and we need support for latest 
 chipsets on 802.11 cards etc.
 
 There is another similar CPU, even slower and less power consuming, I do 
 not remember the part number, I think it was about 100 MHz 486 without 
 math as well.  This was some manufacturer of microcontrollers.

Can't you find a manufacturer that makes something similar with a DX
instead? Or can you email this company and ask them how much it would
cost to run off X units with a 486DX rather than SX?

 
 Heikki

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: prevent overwriting custom make options in ports

2008-06-11 Thread Anton Shterenlikht
On Mon, Jun 09, 2008 at 03:33:01PM +0100, Anton Shterenlikht wrote:
 I use ports/lang/gcc42.
 I set WITHOUT_JAVA=yes in the Makefile.
 However, with each tree update this option is
 overwritten, so I have to edit the Makefile
 each time I update the port.
 
 What is the best way to preserve my custom setting,
 add an environment variable?

Roland, Tijl, many thanks

Somehow I missed you answers in the mailing list, only now picked them
on google groups.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-like linux distro?

2008-06-11 Thread Brian

Wojciech Puchar wrote:
To the OP, if you go ahead with trying to use this 486 or older hw, 
consider the effort of maintaining the system.


maintaning? while running netbsd 1.5, my routers don't need any 
maintaining. they just works. what maintaining? just make your config 
so logs won't fill the disk.
security patches, port updates?  Any OS will probably require at least 
some of this.


Brian

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


RE: OT: lots of IPv6 DNS requests

2008-06-11 Thread Ted Mittelstaedt


 -Original Message-
 From: Jon Radel [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 11, 2008 6:15 AM
 To: Ted Mittelstaedt
 Cc: Wojciech Puchar; freebsd-questions@freebsd.org
 Subject: Re: OT: lots of IPv6 DNS requests
 
 
 Ted Mittelstaedt wrote:
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Jon Radel
  Sent: Tuesday, June 10, 2008 4:02 PM
  To: Wojciech Puchar
  Cc: freebsd-questions@freebsd.org
  Subject: Re: OT: lots of IPv6 DNS requests
 
  
  Nameservers are hitting an address of yours.  Therefore something is 
  probably handing out your address.  Somebody (that would be me) has 
  looked up the address in question and even looked up the nameserver 
  which is handing out that address in a glue record. 
  
  A simple problem EASILY solved.
  
  Why bother the owner of the misconfigured nameserver?
  
  Instead, simply insert a wildcard record to your namesever
  that hands out the IP number of the nastiest porno site you
  can find to any DNS query.
  
  After a few days the owners of the misconfigured nameservers
  or clients will go hunting for whatever is poisoning their cache.
  
  Problem solved.
  
  Ted
 
 Silly me, I've always believed that people setup nameservers because 
 they want their resources to be found.  Having one the parents of your 
 zone point to a random machine of yours,

It seemed that the OP's claim was that he had NOT asked the
parents of his domain to point any nameserving to his machine.

It used to be that people would at times use random nameservers
on the Internet that they discovered, rather than using their
own ISP's nameserver.  The advent of IP-based filtering for
BIND which allows you to specify only non-recursive queries to
be answered from IP blocks that are not your own, pretty much put
a stop to that.  But for whatever reason, sometimes you can't
employ IP-based filtering, and you have to setup a nameserver
to answer recursive queries from anyone, even though you may
still only want the world to be making non-recursive queries
to it.

The suggestion to use wildcards to issue bogus responses is
the general suggestion to convince goofballs on the Internet
that happen to come across your recursive-query-responding
nameserver that you do not want them to use to make recursive
queries, to go elsewhere.

Obviously if you intentionally are listing your nameserver in
a parent zone, and you employ this trick, you will need to
setup a new nameserver on a different IP and change the parent
zone.

I figured though, that anyone who knew what they were doing
would have grasped that concept, however.

 which you then use to serve 
 crap records, strikes me as somewhat counterproductive.  And I really 
 fail to see why whomever runs the parent zone would even notice. 

The OP claimed that he was getting an excessive number of
DNS requests, implying that his parent was redirecting a lot
of queries to him that he wasn't supposed to get.  If his
parent is doing that because they misconfigured their own nameserver,
then anyone depending on their nameserver will get crap records
back, and likely complain.

I think the issue is that you are assuming his parent zone
admins are doing the Correct Thing when they have configured
their own nameservers.  The OP was insistent that his parent
zone admins were doing the Wrong Thing when they configured
their own nameservers.  Thus, my suggestion is essentially telling
the OP that if he is so insistent that his parents are screwed
up, then he can put his money where his mouth is and wildcard
a porno site.

As we saw by his response to my suggestion, when the OP was
challenged to do this, he rapidly backwatered.  Since backwatering
he no longer can claim (at least on this list) that his parent
admins are idiots, and thus I assume is now open to examining
his own config a bit more closely.  (which is what you were
telling him to do all along)

Sometimes if you want the horse to drink, you have to let them
run in the opposite direction of the pond.

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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Wojciech Puchar
maintaning? while running netbsd 1.5, my routers don't need any 
maintaining. they just works. what maintaining? just make your config so 
logs won't fill the disk.
security patches, port updates?  Any OS will probably require at least some 
of this.


for router - not much :) there are for sure some security flawed programs 
on them, but what's a problem. every IP except some listed numbers are 
just blocked, dns server is cache-only with queries disabled from outside 
(and by netbsd's ipf to make sure), no outside-reachable services are 
running.


that's about security :)


about patches - why to patch fully WORKING thing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 7 and Apache 1.3.41 PROBLEM

2008-06-11 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On a server I was running FreeBSD 6.3-STABLE together with apache 1.3.41 
without any problem.

After upgrading FreeBSD to FreeBSD 7.0-STABLE using a source upgrade, 
compiling, and a full recompile of all the ports apache refuses to start, or 
starts and exits with a .core dump.

In httpd-error.log
[Wed Jun 11 17:01:04 2008] [info] mod_unique_id: using ip addr 10.10.10.10
[Wed Jun 11 17:01:05 2008] [info] (2)No such file or directory: make_sock: for 
port 80, setsockopt: (SO_ACCEPTFILTER)
[Wed Jun 11 17:01:05 2008] [warn] pid file /var/run/httpd.pid overwritten -- 
Unclean shutdown of previous Apache run?

After hashing out
#LoadModule unique_id_module   libexec/apache/mod_unique_id.so
#AddModule mod_unique_id.c

Apache starts normally

Can anyone explain this?

Jack
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959

iD8DBQFIT+8bPh5RwW/NzC4RAn9aAKCVKIvHFmFzpeaveqvHYbXjIRrhuACg0vxr
f5f3FDGYigHPRaqGz+ZkDok=
=TZvG
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: lots of IPv6 DNS requests Was: Re:

2008-06-11 Thread Camilo Reyes
Nothing impersonal; just trying to help. I'm a big advocate of
getting rid of things you don't need to keep things simple. Sorry
that wasn't the answer you were looking for...

Camilo
Bono Vince Malum


 Date: Wed, 11 Jun 2008 10:13:47 -0400
 From: Jon Radel [EMAIL PROTECTED]
 Subject: Re: OT: lots of IPv6 DNS requests Was: Re:
 freebsd-questions
   Digest,  Vol 219, Issue 6
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1
 
 Camilo Reyes wrote:
  The easiest way to deal with this is to disable IPv6
 on your kernel.
  There is a good guide here:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html.
  
  Simply comment out the 'options INET6' line
 from your config file. Also,
  you could give more information on what application is
 generating those
  logs. For example, what services are you running? Is
 this setup as a
  server? And things of that sort.
 
 Disabling things so the log messages stop and you can
 pretend all the 
 brokenness has magically gone away is indeed the easiest
 solution 
 sometimes.  It's rarely a good one, particularly for
 the long term. 
 Anyway, the OP actually uses IPv6 on his network, so this
 is pretty much 
 akin to suggesting that he turn off his computer to keep
 people from 
 bothering it.
 
 The log messages are from his DNS server; he uses it for
 resolving and 
 some local stuff; the log entries are the result of queries
 from random 
 machines being rejected; random machines are doing that
 since at least 
 one of his parent nameservers is handing out the IPv6
 address of his 
 server against his wishes; eventually he'll realize
 this is actually the 
 case; and maybe he'll be able to convince whomever runs
 the parent 
 nameserver(s) to update the records for his zone.  (Just to
 cover the 
 rest of your questions. :-)
 
 --Jon Radel
 -- next part --
 A non-text attachment was scrubbed...
 Name: smime.p7s
 Type: application/x-pkcs7-signature
 Size: 3283 bytes
 Desc: S/MIME Cryptographic Signature
 Url :
 http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080611/86e3c1cf/smime-0001.bin


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


Re: OT: lots of IPv6 DNS requests

2008-06-11 Thread Jon Radel

Ted Mittelstaedt wrote:




-Original Message-
From: Jon Radel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 6:15 AM
To: Ted Mittelstaedt
Cc: Wojciech Puchar; freebsd-questions@freebsd.org
Subject: Re: OT: lots of IPv6 DNS requests


Ted Mittelstaedt wrote:



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jon Radel
Sent: Tuesday, June 10, 2008 4:02 PM
To: Wojciech Puchar
Cc: freebsd-questions@freebsd.org
Subject: Re: OT: lots of IPv6 DNS requests

Nameservers are hitting an address of yours.  Therefore something is 
probably handing out your address.  Somebody (that would be me) has 
looked up the address in question and even looked up the nameserver 
which is handing out that address in a glue record. 

A simple problem EASILY solved.

Why bother the owner of the misconfigured nameserver?

Instead, simply insert a wildcard record to your namesever
that hands out the IP number of the nastiest porno site you
can find to any DNS query.

After a few days the owners of the misconfigured nameservers
or clients will go hunting for whatever is poisoning their cache.

Problem solved.

Ted
Silly me, I've always believed that people setup nameservers because 
they want their resources to be found.  Having one the parents of your 
zone point to a random machine of yours,


It seemed that the OP's claim was that he had NOT asked the
parents of his domain to point any nameserving to his machine.


Yes.  And I pointed out that he was WRONG, including in the message you 
responded to.  I went so far as to send dig output showing the glue 
record that was causing his grief.




It used to be that people would at times use random nameservers
on the Internet that they discovered, rather than using their
own ISP's nameserver.  The advent of IP-based filtering for
BIND which allows you to specify only non-recursive queries to
be answered from IP blocks that are not your own, pretty much put
a stop to that.  But for whatever reason, sometimes you can't
employ IP-based filtering, and you have to setup a nameserver
to answer recursive queries from anyone, even though you may
still only want the world to be making non-recursive queries
to it.


True, but quite beside the point.  Anyway, those pesky people would 
quickly leave a server that denied all their requests alone, and if 
you'd actually read what the OP posted, you'd have noticed the denied 
at the end of every line from his logs that he found so disturbing.




The suggestion to use wildcards to issue bogus responses is
the general suggestion to convince goofballs on the Internet
that happen to come across your recursive-query-responding
nameserver that you do not want them to use to make recursive
queries, to go elsewhere.



Understood, true, but quite beside the point.


Obviously if you intentionally are listing your nameserver in
a parent zone, and you employ this trick, you will need to
setup a new nameserver on a different IP and change the parent
zone.

I figured though, that anyone who knew what they were doing
would have grasped that concept, however.



You'd think, wouldn't you?

which you then use to serve 
crap records, strikes me as somewhat counterproductive.  And I really 
fail to see why whomever runs the parent zone would even notice. 


The OP claimed that he was getting an excessive number of
DNS requests, implying that his parent was redirecting a lot
of queries to him that he wasn't supposed to get.  If his
parent is doing that because they misconfigured their own nameserver,
then anyone depending on their nameserver will get crap records
back, and likely complain.



He made no such claim at any time (at least in any e-mail that reached 
me privately or via the list).  He was confused as to why random 
machines where hitting his closed nameserver at all.


Do you honestly think lots of people are going to gang up on whomever 
runs his parent zone when they stop getting mail from the OP?  Those 
that noticed would probably sigh a little sigh of relief that they'd no 
longer have to see the OP and me fussing at each other.



I think the issue is that you are assuming his parent zone
admins are doing the Correct Thing when they have configured
their own nameservers.  The OP was insistent that his parent
zone admins were doing the Wrong Thing when they configured
their own nameservers.  Thus, my suggestion is essentially telling
the OP that if he is so insistent that his parents are screwed
up, then he can put his money where his mouth is and wildcard
a porno site.


Wow.  You really have problems with reading comprehension, don't you? 
You have that more or less backwards.




As we saw by his response to my suggestion, when the OP was
challenged to do this, he rapidly backwatered.  Since backwatering
he no longer can claim (at least on this list) that his parent
admins are idiots, and thus I assume is now open to examining
his own config a bit more closely.  (which is what you were

Re: generating random passwords

2008-06-11 Thread Roland Smith
On Wed, Jun 11, 2008 at 09:20:30AM +0200, Zbigniew Szalbot wrote:
 Hello,
 
 Excuse me my ignorance. Is there a utility in FreeBSD that would allow 
 me to generate random passwords without actually creating any accounts 
 or modifying existing ones? I am looking for something to allow me to 
 generate a random string of characters. I know I can randomly hit the 
 keyboard but if anything like that exists, many thanks for your advice. :)

Using FreeBSD's random device:
tcsh syntax:
( dd if=/dev/random bs=6 count=1 | openssl base64  /dev/tty )   /dev/null

sh syntax:
dd if=/dev/random bs=6 count=1 2/dev/null| openssl base64

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpxIgDT5pKek.pgp
Description: PGP signature


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-11 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Wojciech Puchar wrote:
| tired of a dual-boot system, so I want to just install FreeBSD or
| another linux distribution(maybe ubuntu) on my notebook.
|
| My questions are:
| 1) Can FreeBSD work well with my hardware? The display card,
| CDRW/DVDRW, wireless, Ethernet and battery managment are the most
| important.
|
| not sure about display card. but everything else should be OK. it's
| IBM/Lenovo :)

nVIDIA drivers should support it:

http://www.nvidia.com/object/freebsd_100.14.09.html

|
| 2) I have read the FreeBSD Handbook. According to Chapter 10: Linux
| Binary Compatibility, it seems that FreeBSD lacks support of many
| commercial softwares such as MATLAB, Oracle, Mathematica. Is the linux
| binary compatibility stable enough for work ?

Linux emulation is stable enough, I would say. I've used it to run
Mathematica 5 in the past (see handbook).


- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhP/hsACgkQwMJqmJVx944oCQCfQN+mHM2k7RbGnQ45HW8qs/U+
9aQAoN9vDKMqI8DoZAG3tJaJ0YefjX6b
=x7TD
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: generating random passwords

2008-06-11 Thread Bill Campbell
On Wed, Jun 11, 2008, Roland Smith wrote:
On Wed, Jun 11, 2008 at 09:20:30AM +0200, Zbigniew Szalbot wrote:
 Hello,
 
 Excuse me my ignorance. Is there a utility in FreeBSD that would allow 
 me to generate random passwords without actually creating any accounts 
 or modifying existing ones? I am looking for something to allow me to 
 generate a random string of characters. I know I can randomly hit the 
 keyboard but if anything like that exists, many thanks for your advice. :)

Using FreeBSD's random device:
tcsh syntax:
( dd if=/dev/random bs=6 count=1 | openssl base64  /dev/tty )   /dev/null

sh syntax:
dd if=/dev/random bs=6 count=1 2/dev/null| openssl base64

I much prefer apg which can generate more-or-less pronounceable
passwords which it is possible to remember (at least after typing
them a few times :-).

One of the biggest problems with random passwords is that they
end up written on yellow-stickies on the monitor or under the
keyboard.

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

With Congress, every time they make a joke it's a law; and every time
they make a law it's a joke.
-- Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: very strange reaction of the md disks

2008-06-11 Thread Oliver Fromme
Hello,

I don't know why nobody else has given the correct answer
to this (it's should actually be a FAQ).  So I'll try to
give an answer.

The Ghost [EMAIL PROTECTED] wrote:
  Hello,
  
  Maybe I just don't understand something, but anyway, it looks really odd.
  
  I have a machine with 2 Gb RAM with a clean newly-installed
  FREEBSD-7.0-RELEASE. I make two 300-MB mdconfig disks and populate
  them, and when the first one was already full and the second one is
  only half-full, I get a kernel panic not enough memory.

Use -t swap with mdconfig(8), not -t malloc.

  [...]
  I was very surprised to see that one gigabyte of my
  memory suddenly became used up.

FreeBSD uses all memory for caching, as far as possible.
Free memory is wasted memory.

  A friend of mine told me that such a panic is really a thing to write
  a bugreport on it,

No.  It is clearly documented in the mdconfig(8) manpage:
If the -o reserve option is not set, creating and filling
a large malloc-backed memory disk is a very easy way to
panic a system.

As I said above, you probably don't want a malloc-backed
memory disk (which means it consumes non-pagable kernel
memory), but a swap-backed disk (which is cached in regular
RAM and backed by swap).

If you're absolutely sure you want kernel-malloc for your
memory disk, you need to increase the kmem limit (see
sysctl vm | grep kmem).

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

To this day, many C programmers believe that 'strong typing'
just means pounding extra hard on the keyboard.
-- Peter van der Linden
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-11 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Pietro Cerutti wrote:
| Wojciech Puchar wrote:
| | tired of a dual-boot system, so I want to just install FreeBSD or
| | another linux distribution(maybe ubuntu) on my notebook.
| |
| | My questions are:
| | 1) Can FreeBSD work well with my hardware? The display card,
| | CDRW/DVDRW, wireless, Ethernet and battery managment are the most
| | important.
| |
| | not sure about display card. but everything else should be OK. it's
| | IBM/Lenovo :)
|
| nVIDIA drivers should support it:
|
| http://www.nvidia.com/object/freebsd_100.14.09.html

err, this is the most up to date :)

http://www.nvidia.com/object/freebsd_173.14.05.html
|
| |
| | 2) I have read the FreeBSD Handbook. According to Chapter 10: Linux
| | Binary Compatibility, it seems that FreeBSD lacks support of many
| | commercial softwares such as MATLAB, Oracle, Mathematica. Is the linux
| | binary compatibility stable enough for work ?
|
| Linux emulation is stable enough, I would say. I've used it to run
| Mathematica 5 in the past (see handbook).
|
|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhP/yQACgkQwMJqmJVx947A5gCfQ79JCQT/Ms/NhUi5J7zsi/dd
XKYAni1WDmassbnMg5H+Vj9xZPn87Dug
=0Vzp
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-11 Thread cpghost
On Wed, 11 Jun 2008 14:29:30 + (UTC)
[EMAIL PROTECTED] wrote:

 On Wed, Jun 11, 2008 at 08:50:36PM +0800, [EMAIL PROTECTED] wrote:
 
  My current working involves scientific calculation and programming.
  I'm from a linux background(redhat, debian, ubuntu), but after some
  googling and comparison, I found FreeBSD more stable and I want to
  try FreeBSD.  I am tired of a dual-boot system, so I want to just
  install FreeBSD or another linux distribution(maybe ubuntu) on my
  notebook.
 
 
 If FreeBSD runs on your new T61, you can install the Maxima port as a
 free alternative to MATLAB and Mathematica. Maxima does symbolic math
 and handles tensors. You can run Maxima code that proves that
 Einstein's theory of relativity has a far-reaching logical
 inconsistancy in it because the theory assumes torsion = 0 and
 curvature is nonzero. Non-zero curvature implies torsion also is
 non-zero. See the code in paper 93 at
 http://www.aias.us/index.php?goto=showPageByTitlepageTitle=Unified_Field_Theory_papers

Maxima is great!

The following may also be quite useful:

  http://www.scipy.org/
  http://code.google.com/p/sympy/
  http://matplotlib.sourceforge.net/

If you prefer an integrated environment, try:

  http://sagemath.org/

-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: generating random passwords

2008-06-11 Thread Wojciech Puchar


One of the biggest problems with random passwords is that they
end up written on yellow-stickies on the monitor or under the
keyboard.


there is no cure for that in FreeBSD. you need some non-computer hardware 
to stop that behaviour ;)

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


Re: intrusion? find is thrashing my disk every time I boot.

2008-06-11 Thread Oliver Fromme
Lowell Gilbert wrote:
  Steve Franks [EMAIL PROTECTED] writes:
   I'm really no security expert.  I don't leave the system up 24/7, and
   I'm on a US DSL connection with a bunch of windows boxes.
   
   Seems to be a recent phenomena, I've started experiencing disk
   thrashing I can hear across the room.  ps and top report cvslockd has
   been responsible for the thrashing (which usually occurs at a specific
   time of day (~1 am MST)), but now, find is doing the thrashing at boot
   every time (within the last week at least).  Needless to say, I
   haven't changed the system in any way during that week.  On windows,
   I'd just assume this to be normal behavior, but on FreeBSD, it's got
   me worried...
   
   I presume the security section of the manual has a good into to
   detecting intruders, but first I'm interested if there is a legitimate
   reason for find to be torturing my disk.  I don't run much on my
   system - apache, cvs, portsnap, ssh, that's about it.
  
  That's not really so little.  I would tend to doubt it's a security
  issue, but tracking it down is still a good idea.  You should be able
  to see what user is running the find, using ps(1), and that might give
  a clue to what the purpose is (but probably not; it'll probably turn
  out to be root).

This script might be useful for that purpose:

http://www.secnetix.de/olli/scripts/pidtrace

Given the process ID of the find process on the command
line, it will print its parent processes all the way up to
init(8).  That way you can easily find out if the find
was started by a cron job, by an rc.d script, or something
else.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

(On the statement print 42 monkeys + 1 snake:)  By the way,
both perl and Python get this wrong.  Perl gives 43 and Python
gives 42 monkeys1 snake, when the answer is clearly 41 monkeys
and 1 fat snake.-- Jim Fulton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-11 Thread herbert langhans
The linux progs run very well, what I can tell with my modest amount of
programs using this mode. BSD uses a seperate directory what contains all
linux-bins and it integrates well. Also the speed is like a normal Linux
distro. Maybe it is a good idea to get an old 20GB harddisk, change it
and give it a try while leaving your old HD with your current
installation intact?

Cheers
herbs


 2) I have read the FreeBSD Handbook. According to Chapter 10: Linux Binary 
 Compatibility, it seems that FreeBSD lacks support of many commercial 
 softwares such as MATLAB, Oracle, Mathematica. Is the linux binary 
 compatibility stable enough for work ?
 
 Thanks a lot.
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** herbert at langhans.com.pl
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7 and Apache 1.3.41 PROBLEM

2008-06-11 Thread Wojciech Puchar

In httpd-error.log
[Wed Jun 11 17:01:04 2008] [info] mod_unique_id: using ip addr 10.10.10.10
[Wed Jun 11 17:01:05 2008] [info] (2)No such file or directory: make_sock: for 
port 80, setsockopt: (SO_ACCEPTFILTER)
[Wed Jun 11 17:01:05 2008] [warn] pid file /var/run/httpd.pid overwritten -- 
Unclean shutdown of previous Apache run?

After hashing out
#LoadModule unique_id_module   libexec/apache/mod_unique_id.so
#AddModule mod_unique_id.c

Apache starts normally

Can anyone explain this?


are you sure you use the same apache version as with 6.*?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Effects of CPUTYPE

2008-06-11 Thread Oliver Fromme
Jonathan Chen wrote:
  Mark Ovens wrote:
   Trying to identify why I should be having all these problems I've been 
   looking for anything that may be specific to my machine. One thing I've 
   come up with is the fact that I have CPUTYPE?=athlon-mp in 
   /etc/make.conf on both 6.3 and 7.0.
  
  In my personal opinion, the small gain you get is more than
  overwhelmed by the big pain you get from setting CPUTYPE.

I'm setting CPUTYPE on all of my machines for many years,
without the slightest problems.  No pain at all.  They're
all kinds of different processors, c3-2 (VIA), athlon64,
and so on.  In some cases the difference is very noticable.

Having said that, it's certainly worth trying whether your
problems are gone when you compile without that setting.

Do you have any other unusual settings, such as non-standard
CFLAGS or anything?

BTW, I once was bitten by a similar problem, when building
software failed in strange ways, it turned out I had a bad
variable in my environment that was picked up by some build
scripts.  Maybe it's worth a try to run your ports builds
with a clean environment (env -), or try to install
binary packages instead of building ports yourself, in
order to narrow down where the problem is.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

Python tricks is a tough one, cuz the language is so clean. E.g.,
C makes an art of confusing pointers with arrays and strings, which
leads to lotsa neat pointer tricks; APL mistakes everything for an
array, leading to neat one-liners; and Perl confuses everything
period, making each line a joyous adventure wink.
-- Tim Peters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems opening mail on this list

2008-06-11 Thread Andrew Berry

Ian Smith wrote:

However, what normally happens to attachments to questions@, at least to
digests, is that they get stripped with a note pointing to the original
attachment, as this subsequent message from Chad illustrates:
  
Which makes sense - attachments don't clog up the list, and people can 
download them if they want. What I think is happening is that the 
attachment is being stripped, and Outlook is looking for it since it can 
be inferred that it exists from the MIME type. Of course, the error 
should be that the message can't be authenticated (That's what Mail 
does, and it's just a line, not a modal dialog), and have nothing to do 
with the recipient needing a certificate. But I think it's more general, 
as a PGP signature (which is no different from any other attachment) 
also caused Bob the error. I wonder if *any* scrubbed attachment will 
cause a problem?


I just had to set up another system as my macbook's network card has 
died, so I'll send a signed message with Thunderbird in a minute to see 
if it also causes the error. Bob, if it still causes an error, you 
should seriously look at changing to a mail client which won't cause you 
these problems, since you can't control what users on mailing lists send 
you :).


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


Re: Problems opening mail on this list

2008-06-11 Thread Andrew Berry

Here is a message signed with Thunderbird 2 on Windows (ugh...).

--Andrew


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Static NAT and PAT on FreeBSD 6.2

2008-06-11 Thread Matt Brennan
I have continued to experiment and am still running into the same issues.
Anyone?

-Matt

On Sun, Jun 1, 2008 at 5:33 PM, Matt Brennan [EMAIL PROTECTED] wrote:

 Hi All,

  I am running FreeBSD 6.2-release. I have been running PAT via natd
 and ipfw for some time now and it runs great. However, I continue to
 try and employ static NAT on this router, and as soon as I do so all
 other clients lose routing. My natd.conf is as below:

 unregistered_only
 use_sockets
 log_ipfw_denied
 redirect_address 10.100.1.2 66.92.79.20
 alias_address 66.92.79.89

  Whenever I run with this configuration all clients except the
 static'ed one lose routing out of the building. I have tried switching
 the order of the alias_address and redirect_address.

  Any help is appreciated.

 -Matt

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


Re: Openvpn on FreeBSD 7

2008-06-11 Thread Andrew Berry

On 10-Jun-08, at 3:02 AM, Nejc Škoberne wrote:

Actually I don't think you can do the same thing with a tunnel. You have
to use a different IP addresses for the tunnel itself. Have you read the
OpenVPN manual?
Yes, I should have been clearer: With a tunnel, I can still push routes 
and DNS, as long as I'm willing to sacrifice the same IP address.
Yes, I did: 'tcpdump -i tun0'. Nothing shows up on the server, but on 
the client (OS X) I can see the pings being sent.
This means that there is a problem with the OpenVPN connection. Can 
you show

the tail of your logs on both sides?

Here's what I found:

Wed Jun 11 12:49:46 2008 client1/192.168.0.1:53237 MULTI: Learn: 
10.8.0.6 - client1/192.168.0.1:53237
Wed Jun 11 12:49:46 2008 client1/192.168.0.1:53237 MULTI: primary 
virtual IP for client1/192.168.0.1:53237: 10.8.0.6


This was interesting since that IP wasn't being set by the client. I'd 
been manually setting it to 10.8.0.2, which caused this:


Wed Jun 11 12:50:04 2008 client1/192.168.0.1:53237 MULTI: bad source 
address from client [10.8.0.2], packet dropped
Wed Jun 11 12:50:05 2008 client1/192.168.0.1:53237 MULTI: bad source 
address from client [10.8.0.2], packet dropped
Wed Jun 11 12:50:06 2008 client1/192.168.0.1:53237 MULTI: bad source 
address from client [10.8.0.2], packet dropped
Wed Jun 11 12:50:07 2008 client1/192.168.0.1:53237 MULTI: bad source 
address from client [10.8.0.2], packet dropped


Changing it to 10.8.0.6 allowed the VPN to work over the tunnel. I could 
access the VPN server on .1.


Bridging still doesn't work - and I don't see any traffic over the 
interface either. Unfortunately, my laptop's network card just kicked 
the dust so it's going in for servicing. I might test it out using the 
Windows client on my desktop, but since it's inside the network all 
ready I imagine it would be much harder to test.

proto tcp


Why are you using TCP anyway?
I'd been having problems with UDP and QoS a long time ago. I just hadn't 
bothered to change it since it was working.


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


Re: FreeBSD-like linux distro?

2008-06-11 Thread Andrew Berry

Heikki Suonsivu wrote:
The computer I am doing this is not old, it is otherwise brand new, 
but it uses an embedded cpu, a 486 clone as SoC without math.  See 
www.compactpc.com.tw, eBOX 2300SX.  It is very low cost, runs on about 
3W of power with CF card as mass memory, 128M, 3 USB2, serials, sound, 
etc, it has VESA form factor so you can attach it behind many LCD 
displays, etc. They have beefier models, but this one is cheapest and 
uses least power, latter of which is the more critical requirement for 
us. 
That's a neat system. Are there any retailers in North America which 
sell them individually?


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


Re: how to determine the date a port is installed

2008-06-11 Thread Peter Pentchev
On Wed, Jun 11, 2008 at 01:40:19PM +0100, Florent Thoumie wrote:
 On Wed, Jun 11, 2008 at 8:31 AM, Peter Pentchev [EMAIL PROTECTED] wrote:
  On Tue, Jun 10, 2008 at 10:41:25PM -0700, Jeremy Chadwick wrote:
  On Wed, Jun 11, 2008 at 12:09:33AM -0500, Novembre wrote:
   Two questions:
   1) Is it possible to determine the date a port/package is installed?
 
  ls -ld /var/db/pkg/port, use the mtime of the directory.
 
   2) How can I delete all the ports/packages installed after a certain 
   date?
 
  Use a combination of find with the -mtime flag, and pkg_delete.
 
  Not really.  This is a bit dangerous.
 
  The dangerous part is the mtime of the directory.  It would be much
  better to use the mtime of the +CONTENTS file, since it never changes
  *after* the package has been installed.
 
 It actually does if you're using portupgrade (and probably
 portmaster), see the @pkgdep entries.
 
 Use +DESC, +COMMENT or +MTREE_DIRS instead.

Yep.  Sorry.  Any of those would be a better candidate.
I'd simply forgotten about port management tools modifying
the dependencies in-place.

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
Thit sentence is not self-referential because thit is not a word.


pgpKsLwZy90xN.pgp
Description: PGP signature


Re: sendmail: stat=Deferred: Can't assign requested address

2008-06-11 Thread Derek Ragona

At 06:36 AM 6/11/2008, jonathan michaels wrote:

greetings all,

firstly, i am not subscribed, please cc: responces, appreciated.

i have been using freebsd v2.2.5-release (as my domains mx host
on a 486dx33 .. that was upgraded after 20 years running with 6
years on v2.2.5  to a p5-133 mhz into which i moved teh whole scsi
harddisk ssubsystem (card and drives) ther it ran v 2.2.5-r
faultlessly untill last january when i cleaned of teh hard
drives reformated averything and installed freebsd v6.2-release
!!

than after a few weeks of settling down and setting up every
thing worked well, as expected, then the sendmail nightmares
started ... basically the system could not send mail anywhere
!!!

cutting long story short, it was basically my having to relearn
teh whole universe .. there were more differences  than i had
planned for and it was an uphill battle relearning essentially
everything i had learned about freebsd over th previous ten
years.

about 3 weeks ago things started to make sence, herebouts,
slowly it is clearing up, as i started to understand sendmail
and getting teh configurations right .. most of teh poorly
configured hosts i've now cleaned up and are working properly,
but, one ...

i have now got one left and like teh linux chappie who i found
on google who had a similar out of teh blue experience like
mine, (about 2003) one day sendmail worked then teh veyr next it was
defereing everytingh .. just like here. this chappie had
replaced his nic, i've not done angthiny like that hppen here,
the machine is the machine and no hardware has been changed ??

i donot understand what is going on here .. i've included all
teh differnt bits in teh maillog file

here is teh /var/log/maillog exerpt

Jun  9 00:00:00 reality newsyslog[15991]: logfile turned over

Jun  9 03:01:05 reality sendmail[16485]: grew WorkList for 
/var/spool/clientmqueue to 2000
Jun  9 03:06:36 reality sendmail[17417]: m58H6aGk017417: from=root, 
size=12938, class=0, nrcpts=1, 
msgid=[EMAIL PROTECTED], 
[EMAIL PROTECTED]
Jun  9 03:06:36 reality sendmail[17417]: m58H6aGk017417: to=root, 
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
pri=42938, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Can't 
assign requested address
Jun  9 03:06:40 reality sendmail[17475]: m58H6dJG017475: from=root, 
size=137243, class=0, nrcpts=1, 
msgid=[EMAIL PROTECTED], 
[EMAIL PROTECTED]
Jun  9 03:06:40 reality sendmail[17475]: m58H6dJG017475: to=root, 
ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, 
pri=167243, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Can't 
assign requested address


Jun  9 03:06:49 reality sendmail[17463]: grew WorkList for 
/var/spool/clientmqueue to 2000
Jun  9 03:06:49 reality sendmail[17463]: m58H6aGk017417: to=root, 
ctladdr=root (0/0), delay=00:00:13, xdelay=00:00:00, mailer=relay, 
pri=132938, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Can't 
assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m58H6dJG017475: to=root, 
ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:00, mailer=relay, 
pri=257243, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign 
requested address
Jun  9 03:06:49 reality sendmail[17463]: m57LAP8l013868: to=root, 
delay=19:56:24, xdelay=00:00:00, mailer=relay, pri=3644350, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m57LAP8m013868: to=root, 
delay=19:56:24, xdelay=00:00:00, mailer=relay, pri=3768123, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m57H6qfr013304: to=root, 
ctladdr=root (0/0), delay=23:59:57, xdelay=00:00:00, mailer=relay, 
pri=4542984, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign 
requested address
Jun  9 03:06:49 reality sendmail[17463]: m57H6u1Q013363: to=root, 
ctladdr=root (0/0), delay=23:59:53, xdelay=00:00:00, mailer=relay, 
pri=4666757, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign 
requested address
Jun  9 03:06:49 reality sendmail[17463]: m56MMWd3009824: to=root, 
delay=1+18:44:17, xdelay=00:00:00, mailer=relay, pri=7861512, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56LMVd3009703: to=root, 
delay=1+19:44:17, xdelay=00:00:00, mailer=relay, pri=8054226, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56LMVd4009703: to=root, 
delay=1+19:44:17, xdelay=00:00:00, mailer=relay, pri=8177393, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address
Jun  9 03:06:49 reality sendmail[17463]: m56ILDAU009315: to=root, 
ctladdr=root (0/0), delay=1+22:45:36, xdelay=00:00:00, mailer=relay, 
pri=8670146, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign 
requested address
Jun  9 03:06:49 reality sendmail[17463]: m56H6f3Y009045: to=root, 
ctladdr=root (0/0), 

Re: FreeBSD + ZFS on a production server?

2008-06-11 Thread Oliver Fromme
Wojciech Puchar wrote:
  3) a CPU,cache and memory bandwidth hogging feature of checksumming all 
  blocks. thing that are already done in disk hardware. fortunately you can 
  turn this off

Obviously you have been lucky to never be a victim of
silent disk corruption (or you just haven't noticed).
There are other people who didn't have that much luck,
including me.

ZFS' checksumming and self-healing is a blessing.  If
you don't know how it works and call it marketing blah,
then I suggest you read up on it a bit.

And by the way, it doesn't take any significant amount
of CPU power on hardware that is not ancient.  I agree
that ZFS is not suitable to run on ancient hardware.
It isn't designed for that.

You're free to use UFS, of course, and keep suffering
from its shortcomings.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

Python is an experiment in how much freedom programmers need.
Too much freedom and nobody can read another's code; too little
and expressiveness is endangered.
-- Guido van Rossum
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems opening mail on this list

2008-06-11 Thread Paul Schmehl
--On Wednesday, June 11, 2008 13:13:42 -0400 Andrew Berry 
[EMAIL PROTECTED] wrote:



Here is a message signed with Thunderbird 2 on Windows (ugh...).



And it came through fine.

From: Andrew Berry [EMAIL PROTECTED]
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
References: [EMAIL PROTECTED]
[EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Content-Type: multipart/signed; protocol=application/x-pkcs7-signature;
micalg=sha1; boundary=ms060103070502080704070506

--
Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.

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


Question about torrents via console

2008-06-11 Thread Steve Lake
Hi all.  Ok, I'm curious of something.  I've done torrents before 
via the graphical interface before, but I want to setup a way to download 
isos and various FOSS apps via bittorrent, but I want to do it via the 
console so I can start a torrent in screen and then walk away, allowing my 
server to finish the work without having to leave my main workstation 
running to do the work like I normally do.  I'm using bittornado right now, 
and if there's a way to do this, I'd love to know how.



Steven Lake
Owner/Technical Writer
Raiden's Realm
www.raiden.net
Bringing Linux and BSD to the World


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


Re: Flashplugin

2008-06-11 Thread eculp

Quoting Derek Graham [EMAIL PROTECTED]:


Hey all,

I have tried using swfdec-plugin to do flash, but it doesnt seem to work too
well at least with firefox.
One ... I prefer being able to select what flash loads automaticly and
Two ... I like to be able to see the flash video but all it does is freeze

I can't seem to get linux-flashplugin7 anymore due to the restricted status.
Flashplugin9 locks up also, which we all know already. I have heard gnash
doesnt do much better... Anyone have a solution that works halfway?


I've got a question.  A friend has been loaning me his old laptop at  
work that runs Ubuntu and flash runs fine.  I have not been able to  
make it fail, yet at least. Could there be a clue in Ubuntu somewhare?  
 I'm actually thinking of running it under kqemu, if there isn't too  
much overhead, on my amd64 laptop until this gets sorted out.


If anyone has flash9 working dependably under freebsd, please let us know how.

Thanks,

ed
___
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 torrents via console

2008-06-11 Thread Norman Maurer
rtorrent should work for you

bye
Norman

2008/6/11 Steve Lake [EMAIL PROTECTED]:

Hi all.  Ok, I'm curious of something.  I've done torrents before
 via the graphical interface before, but I want to setup a way to download
 isos and various FOSS apps via bittorrent, but I want to do it via the
 console so I can start a torrent in screen and then walk away, allowing my
 server to finish the work without having to leave my main workstation
 running to do the work like I normally do.  I'm using bittornado right now,
 and if there's a way to do this, I'd love to know how.


 Steven Lake
 Owner/Technical Writer
 Raiden's Realm
 www.raiden.net
 Bringing Linux and BSD to the World


 ___
 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 torrents via console

2008-06-11 Thread Schiz0
On Wed, Jun 11, 2008 at 2:16 PM, Steve Lake [EMAIL PROTECTED] wrote:
Hi all.  Ok, I'm curious of something.  I've done torrents before via
 the graphical interface before, but I want to setup a way to download isos
 and various FOSS apps via bittorrent, but I want to do it via the console so
 I can start a torrent in screen and then walk away, allowing my server to
 finish the work without having to leave my main workstation running to do
 the work like I normally do.  I'm using bittornado right now, and if there's
 a way to do this, I'd love to know how.


Look into rTorrent. It's excellent. It's CLI, and runs perfect inside
a screen session. It supports encryption, prioritization, and all
other major features of any good client.

http://libtorrent.rakshasa.no/
___
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 posting to FreeBSD mailing lists

2008-06-11 Thread Oliver Fromme
Hello,

Novembre [EMAIL PROTECTED] wrote:
  The problem is that I don't use any mail client, but the old fashion way of
  using a web browser to log into my account and read my emails. That's why I
  asked this question in the first place. Call me paranoid, but I just feel
  more comfortable that way!
  So to be more specific, how can I answer to a post from a mailing list from
  within my, e.g., GMail or Yahoo! mailboxes? Is there any way to use the Raw
  E-Mail output to send an email from within GMail to the OP and the list so
  that it's threaded properly as well?

You need to take the Message-ID header of the message
that you're replying to, and put it into the In-Reply-To
header of your response.  That's what a standard mail
client does when you reply to a message.

The In-Reply-To header is used by clients and webmailers
to identify the thread and the order of messages within
that thread.

I've never used Gmail or Yahoo, so I don't know if they
provide a way to manually set the In-Reply-To header.
If they don't you're out of luck, I'm afraid.

By the way, I'm in a similar situation:  I'm not subscribed
to the lists, but I read them with a news client via an
NNTP gateway.  That gateway is one-way, i.e. I cannot post
follow-ups to the news groups.  Instead I use the reply-by-
mail function of the news client.  This works well, because
the NNTP gateway sets the Reply-To back to the list's
mail address (unless there already was a Reply-To header in
the original mail, which is kept), and I configured my news
client to copy the Message-ID into an In-Reply-To header,
so it works as expected.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

I suggested holding a Python Object Oriented Programming Seminar,
but the acronym was unpopular.
-- Joseph Strout
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Flashplugin

2008-06-11 Thread eculp

Quoting herbert langhans [EMAIL PROTECTED]:

There are some instructions how you can get the Flashplayer running.  
Not perfect, but it will do in many cases.

http://freebsd.langhans.com.pl/af/index.html


Excellent howto Herb.  My problem is that it seems that firefox-devel  
doesn't work with amd64 but being stubborn, I'm forcing a compile just  
to be sure.  If it doesn't work on my laptop amd64 I will find a i386  
to test on.  Thanks for you work and documentation


Have a great day,

ed



Cheers
herbs

--
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** [EMAIL PROTECTED]
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
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 torrents via console

2008-06-11 Thread Nerius Landys
F1 (vote yes) to rtorrent.  I have rtorrents running permanently on my
servers, seeding torrent files.  I use screen, just like you suggest.

On Wed, Jun 11, 2008 at 11:08 AM, Schiz0 [EMAIL PROTECTED] wrote:

 On Wed, Jun 11, 2008 at 2:16 PM, Steve Lake [EMAIL PROTECTED] wrote:
 Hi all.  Ok, I'm curious of something.  I've done torrents before
 via
  the graphical interface before, but I want to setup a way to download
 isos
  and various FOSS apps via bittorrent, but I want to do it via the console
 so
  I can start a torrent in screen and then walk away, allowing my server to
  finish the work without having to leave my main workstation running to do
  the work like I normally do.  I'm using bittornado right now, and if
 there's
  a way to do this, I'd love to know how.
 

 Look into rTorrent. It's excellent. It's CLI, and runs perfect inside
 a screen session. It supports encryption, prioritization, and all
 other major features of any good client.

 http://libtorrent.rakshasa.no/
 ___
 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-like linux distro?

2008-06-11 Thread Heikki Suonsivu

Frank Shute wrote:

On Wed, Jun 11, 2008 at 05:06:49PM +0300, Heikki Suonsivu wrote:

Oops, sorry, I was not specific enough:

FreeBSD 4 or older NetBSD are no go:

The computer I am doing this is not old, it is otherwise brand new, but 
it uses an embedded cpu, a 486 clone as SoC without math.  See 
www.compactpc.com.tw, eBOX 2300SX.  It is very low cost, runs on about 
3W of power with CF card as mass memory, 128M, 3 USB2, serials, sound, 
etc, it has VESA form factor so you can attach it behind many LCD 
displays, etc. They have beefier models, but this one is cheapest and 
uses least power, latter of which is the more critical requirement for us.


We would like to use it for certain control applications.  Linux works, 
has been tested, but requires patches (turn math emulation on, add 
support for built-in ethernet, bug workaround).


I don't know if this machine is going to be sited on an insecure
network or not. If it is, then you'll probably be using ssh. Without
a math co-proc to do the crypto, it will be horrendous. I don't even
know if ssh would work with an architecture without a maths unit.


You apparently do not use the source :), go and grep double and float 
from some of the most common programs you use (games, scientific stuff 
and crappy UI code excused).


 If it can't work with ssh, then you might be restricting your market.

ssh does not use any floating point for any crypto algorithm.  Oh, 
openssh does use doubles, it prints some ratios in some places, such as 
how many percent of something has been transferred.  It seems to be 
stirring random numbers as floating point non-exactness does is not a 
bother there, but that is not used past session init.  There is no 
human-noticeable effect on normal ssh use.


I was one of the first guinea pigs for original ssh.  We did have plenty 
of non-math cpus back then, and I did run ssh on non-fpu hardware until 
two years ago.  We did run backups and configuration tasks over ssh on 
number of non-fpu computers acting as routers and other servers those 
days.  Today's games might be different, but that is not what we do on 
these embedded computers...



I think you are punishing yourself unneccesarily by going with a
processor without maths. You restrict the software (both OS 
application) you can run.


Applications cannot tell the difference between math emulation and 
hardware from anything else than performance, so there is no code 
difference in application layer, and kernel does not do fp at all, other 
than trapping fpu instructions and emulating them on non-fpu hardware. 
Kernel itself does not do fp math.


I do not quite understand where this fear of non-fpu came from, as it 
made no practical difference just few years ago for anything but 
scientists in labs and intensive cad/graphics work.  In particular I do 
not understand why people have an idea that everything uses floating 
point.  Very few programs do heavy math processing, most common use is 
to double divide two longs to print out some statistics when program ends.


The problem with is that while FreeBSD 4 seemed to boot on it, it did 
not recognize any peripherals as they are new.  Old OS's are not really 
what we want, this is not one-off but volume product, it will be 
internet-connected so we need bugfixes and we need support for latest 
chipsets on 802.11 cards etc.


There is another similar CPU, even slower and less power consuming, I do 
not remember the part number, I think it was about 100 MHz 486 without 
math as well.  This was some manufacturer of microcontrollers.


Can't you find a manufacturer that makes something similar with a DX
instead? Or can you email this company and ask them how much it would
cost to run off X units with a 486DX rather than SX?


This is not 486, it is System-on-Chip thing.  There are couple of very 
cheap SoCs, which do not have math, but performance is otherwise 
adequate for most applications.  They are much faster than 486SX, by 
5-10 times factor, so they are becoming popular on embedded devices.



Heikki



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

Re: Effects of CPUTYPE

2008-06-11 Thread Wojciech Puchar

 In my personal opinion, the small gain you get is more than
 overwhelmed by the big pain you get from setting CPUTYPE.

I'm setting CPUTYPE on all of my machines for many years,
without the slightest problems.  No pain at all.  They're
all kinds of different processors, c3-2 (VIA), athlon64,
and so on.  In some cases the difference is very noticable.


exactly like me. i set it everywhere, no problems.

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


Re: FreeBSD and NFSv4

2008-06-11 Thread Oliver Fromme
Konrad Heuer wrote:
  are there any experiences with FreeBSD being an NFSv4 client out there?
  
  And furthermore, is there any further development of NFSv4 functionality 
  within FreeBSD to come closer to RFC 3530?

As far as I know (not 100% sure, though), the NFSv4 client
is under active development.  You might have better luck
getting a useful answer on the -fs and/or -hackers lists.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

  Can the denizens of this group enlighten me about what the
  advantages of Python are, versus Perl ?
python is more likely to pass unharmed through your spelling
checker than perl.
-- An unknown poster and Fredrik Lundh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD + ZFS on a production server?

2008-06-11 Thread Wojciech Puchar

Wojciech Puchar wrote:
 3) a CPU,cache and memory bandwidth hogging feature of checksumming all
 blocks. thing that are already done in disk hardware. fortunately you can
 turn this off

Obviously you have been lucky to never be a victim of
silent disk corruption (or you just haven't noticed).


what you mean. that disk wrote the data wrong and doesn't detect it on 
read? i would mean broken disk processor, it's memory etc.


possible - as much as broken main processor, main memory, some of chips on 
motherboard etc. - which will make ZFS calculate checksum wrong on write, 
or even calculate checksum right of wrong data generated by badly 
operating programs.


given the complexity of motherboard+CPU etc. to complexity of disk 
hardware, i don't think silent disk failure happens often.


i think all your cases wasn't disk, but general hardware problems.
ZFS may help detect it, or it may not. if it helped for you.

even without ZFS it WOULD cause problems with programs like random 
crashes.



personally i often got disk failing the way that it was unable to read or 
write giving an error, but never things like that.



You're free to use UFS, of course, and keep suffering
from its shortcomings.


i have to start suffering at first
___
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 torrents via console

2008-06-11 Thread Chess Griffin

Steve Lake wrote:
Hi all.  Ok, I'm curious of something.  I've done torrents 
before via the graphical interface before, but I want to setup a way to 
download isos and various FOSS apps via bittorrent, but I want to do it 
via the console so I can start a torrent in screen and then walk away, 
allowing my server to finish the work without having to leave my main 
workstation running to do the work like I normally do.  I'm using 
bittornado right now, and if there's a way to do this, I'd love to know 
how.





I have used net-p2p/ctorrent and net-p2p/rtorrent in the past and they 
have worked well.  Both are console bittorrent clients.  I am sure there 
are many others.


--
Chess Griffin
GPG Key:  0x0C7558C3
http://www.chessgriffin.com



signature.asc
Description: OpenPGP digital signature


Re: Question about torrents via console

2008-06-11 Thread Andrew Berry

Steve Lake wrote:
Hi all.  Ok, I'm curious of something.  I've done torrents 
before via the graphical interface before, but I want to setup a way 
to download isos and various FOSS apps via bittorrent, but I want to 
do it via the console so I can start a torrent in screen and then walk 
away, allowing my server to finish the work without having to leave my 
main workstation running to do the work like I normally do.  I'm using 
bittornado right now, and if there's a way to do this, I'd love to 
know how. 
At least on Debian, the bittornado port includes the curses interface. 
It was called 'btdownload.curses' I think. It's possible it is all ready 
installed or is available via ports.


Another possibility is to run a GUI client in a VNC session. I do this 
with Azureus and am quite pleased with it.


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


reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0

2008-06-11 Thread eculp
This is on a relatively new Dell dualcore with 4G of ram running up to  
date stable.  I'm not on site so I have no idea what might be  
provoking these crashes.  In fact in many years of running FreeBSD  
I've not seen something just happen like this.  It is a  
simi-production machine that cvsups daily and builds and installs a  
new world and kernel.  Ports are updated about once a week and haven't  
seen any issues previously.  It has been running 24/7 since new, about  
8 months.


3 files were generated info, bounds and vmcore.  The info file follows:

Dump header from device /dev/mfid0s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 341225472B (325 MB)
  Blocksize: 512
  Dumptime: Wed Jun 11 12:34:24 2008
  Hostname: casasponti.net
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.0-STABLE #258: Tue Jun 10 05:54:42 CDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO
  Panic String: page fault
  Dump Parity: 2395754794
  Bounds: 2
  Dump Status: good

the vmcore is about 300M so I'm not attaching it;) I could put it on  
line at a moments notice.  I think that what I need is probably a  
crash course on debugging a crash and I really don't know where to  
start since after over 10 years with freebsd I've never needed it.   
Any help, suggestions, etc. would be greatly appreciated.


Thanks,

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


Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0

2008-06-11 Thread eculp

Quoting eculp [EMAIL PROTECTED]:

This is on a relatively new Dell dualcore with 4G of ram running up  
to date stable.  I'm not on site so I have no idea what might be  
provoking these crashes.  In fact in many years of running FreeBSD  
I've not seen something just happen like this.  It is a  
simi-production machine that cvsups daily and builds and installs a  
new world and kernel.  Ports are updated about once a week and  
haven't seen any issues previously.  It has been running 24/7 since  
new, about 8 months.


3 files were generated info, bounds and vmcore.  The info file follows:

Dump header from device /dev/mfid0s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 341225472B (325 MB)
  Blocksize: 512
  Dumptime: Wed Jun 11 12:34:24 2008
  Hostname: casasponti.net
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.0-STABLE #258: Tue Jun 10 05:54:42 CDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO
  Panic String: page fault
  Dump Parity: 2395754794
  Bounds: 2
  Dump Status: good

the vmcore is about 300M so I'm not attaching it;) I could put it on  
line at a moments notice.  I think that what I need is probably a  
crash course on debugging a crash and I really don't know where to  
start since after over 10 years with freebsd I've never needed it.   
Any help, suggestions, etc. would be greatly appreciated.


Forgot I did try to debug but got nowhere:

/usr/obj/usr/src/sys/ENCONTACTO # kgdb kernel.debug /var/crash/vmcore.2
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...
Cannot access memory at address 0x0
(kgdb)

Ignorance, I'm sure.


Thanks,

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



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


Re: Problems opening mail on this list

2008-06-11 Thread Oliver Fromme
Paul Schmehl wrote:
  [...]
  By default, it appears that Mailman does not do content filtering.  It also 
  has 
  pass rules (if filtering is enabled) for multipart/mixed, 
  multipart/alternative 
  and text/plain.  So, it's possible that MIMEDefang is the culprit instead.

It's documented in the FreeBSD Handbook:

http://freebsd.org/handbook/eresources.html#ERESOURCES-MAILFILTERING

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

Perl is worse than Python because people wanted it worse.
-- Larry Wall
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: generating random passwords

2008-06-11 Thread Andrew Berry

Zbigniew Szalbot wrote:

Hello,

Excuse me my ignorance. Is there a utility in FreeBSD that would allow 
me to generate random passwords without actually creating any accounts 
or modifying existing ones? I am looking for something to allow me to 
generate a random string of characters. I know I can randomly hit the 
keyboard but if anything like that exists, many thanks for your 
advice. :)


Best regards,

I've used pwgen from ports. It sounds similar to the other suggestions.

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


Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0

2008-06-11 Thread Kris Kennaway

eculp wrote:
This is on a relatively new Dell dualcore with 4G of ram running up to 
date stable.  I'm not on site so I have no idea what might be provoking 
these crashes.  In fact in many years of running FreeBSD I've not seen 
something just happen like this.  It is a simi-production machine that 
cvsups daily and builds and installs a new world and kernel.  Ports are 
updated about once a week and haven't seen any issues previously.  It 
has been running 24/7 since new, about 8 months.


3 files were generated info, bounds and vmcore.  The info file follows:

Dump header from device /dev/mfid0s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 341225472B (325 MB)
  Blocksize: 512
  Dumptime: Wed Jun 11 12:34:24 2008
  Hostname: casasponti.net
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.0-STABLE #258: Tue Jun 10 05:54:42 CDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO
  Panic String: page fault
  Dump Parity: 2395754794
  Bounds: 2
  Dump Status: good

the vmcore is about 300M so I'm not attaching it;) I could put it on 
line at a moments notice.  I think that what I need is probably a crash 
course on debugging a crash and I really don't know where to start since 
after over 10 years with freebsd I've never needed it.  Any help, 
suggestions, etc. would be greatly appreciated.


See the developers' handbook chapter on kernel debugging.

However, panics that suddenly start happening frequently on a system 
that has been stable for a while with no OS or workload changes made, 
are usually due to the hardware starting to fail.


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


  1   2   >