DomainsKeys/DKIM with Postfix - Questions

2007-05-07 Thread PeterPluta

I'm currently running FreeBSD 6.2, Postfix, Amavisd-new, Spamassasin,
Dovecot, and ClamAV for my mail setup. I've been meaning to add Domain
Keys/DKIM for a while now, but I don't really know where to start. I
understand the basic concept, but it seems a bit confusing as you get into
it. 

Has anyone here sucessfully set it up? I've been following this guide
http://www.ijs.si/software/amavisd/a...docs.html#dkim and found the
confusion to start when they recommend using both Domainkeys and DKIM. I
thought DKIM is a replacement for the older Domain Keys? I've noticed Gmail
has both Domainkey and DKIM headers. What the point of using both? Also, can
I send mail from virtual domains I have without the DNS check being invalid?
Say I send mail with a TO: [EMAIL PROTECTED] and my mailserver's
hostname/domain is mail.mydomain2500.com, will that be rejected? The port
for DKIM seems to be broken too! :( 

I'd appreciate someone chiming in. 

Cheers, 
Ferrarislave

-- 
View this message in context: 
http://www.nabble.com/DomainsKeys-DKIM-with-Postfix---Questions-tf3702028.html#a10352478
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: CVS tags

2007-05-07 Thread [LoN]Kamikaze
Josef Grosch wrote:
 
 I have been spending a lot of time building machines at work. Our engineers
 want to have the machine in question to have a specific version of FreeBSD,
 ie. FreeBSD 4.11-RELEASE-p11 for example. I have noticed that there is not
 a CVS tag for this in the tree. Is there a specific reason why we do not
 tag the tree for the patch levels?
 
 
 
 Josef

Wouldn't that be Releng_4_11 or Releng_4_11p11?

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


Re: CVS tags

2007-05-07 Thread Björn König


 I have been spending a lot of time building machines at work. Our
 engineers  want to have the machine in question to have a specific
 version of FreeBSD, ie. FreeBSD 4.11-RELEASE-p11 for example. I have
 noticed that there is not a CVS tag for this in the tree. Is there
 a specific reason why we do not tag the tree for the patch levels?

Although it should never be necessary to use -p11 explicitely, you can get
it if you use RELENG_4_11 and the date 2005/06/30 00:00:00 for example.
The appropriate line in your supfile looks like this:

*default release=cvs tag=RELENG_4_11 date=2005.06.30.00.00.00

The file src/sys/conf/newvers.sh contains the version number. You can
determine the date in the CVS repository.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/newvers.sh?f=uonly_with_tag=RELENG_4_11logsort=date

Regards
Björn


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


Some questions about hardware and software

2007-05-07 Thread Michele

Hi, I'm thinking to change my OS from windows to freeBSD and I would some
information about:


  - There is an ATI graphics driver with 3D acceleration for freeBSD
  that works fine?
  - I have the AC'97 realtek controller audio, there is a driver for it?
  - Is there a porting about fmod sound library? (see
  http://www.fmod.org/)

Thanks a lot for attention.

Bye!

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


Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-07 Thread Ivan Voras

Olaf Greve wrote:

O.k., I'll check this out, and will let you guys know how I get along 
with it, and if indeed the script is at fault, or whether it is due to 
some PHP/Apache issue.


If you've rebuilt PHP with modules, there's a slight chance that the 
order of loaded modules (in extensions.ini) breaks something. Use Google 
for more information on that.




signature.asc
Description: OpenPGP digital signature


Re: [Fwd: Re: Ports forbids me to install compat3x-i386]

2007-05-07 Thread Stevan Tiefert
Am Sonntag, den 06.05.2007, 13:48 -0700 schrieb Garrett Cooper:
 Garrett Cooper wrote:
  
  
  
  Subject:
  Re: Ports forbids me to install compat3x-i386
  From:
  Theorem [EMAIL PROTECTED]
  Date:
  Sun, 06 May 2007 16:13:22 -0400
  To:
  Garrett Cooper [EMAIL PROTECTED]
  
  To:
  Garrett Cooper [EMAIL PROTECTED]
  
  Received:
  via tmail-2000(13) (invoked by user youshi10) for youshi10+mail/non-UW; 
  Sun, 6 May 2007 13:13:39 -0700 (PDT)
  Received:
  from mxe9.u.washington.edu (mxe9.u.washington.edu [140.142.32.150]) by 
  bp13.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id 
  l46KDcYR020249 for [EMAIL PROTECTED]; Sun, 6 May 2007 
  13:13:38 -0700
  Received:
  from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by 
  mxe9.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id 
  l46KDbNH030402 for [EMAIL PROTECTED]; Sun, 6 May 2007 13:13:37 
  -0700
  Received:
  by wx-out-0506.google.com with SMTP id i29so1470724wxd for 
  [EMAIL PROTECTED]; Sun, 06 May 2007 13:13:36 -0700 (PDT)
  DKIM-Signature:
  a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 
  h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
   
  b=UUe3tL+66KooAkeihPR2Psft42BV/4SKbKKjnT47feqDAq254OvyUt7Xz+49GWGBlXYr0WlqByifGE5DH3kqoHojpjN7hZYYEu11Eyj8gf3dWhFNtMAywx2/J4G5prHDdaNHIQ4kjRUOFoP69j+lzEB9t2ebUDlhCsvZqQHTIek=
  DomainKey-Signature:
  a=rsa-sha1; c=nofws; d=gmail.com; s=beta; 
  h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
   
  b=Ig2mQznLbrwdvb+9jk0bwz2nw6o8eEg5IyupXqe18C8yY2c6V+svqEoXBVvDzqC33R7EZkxW8MH2eQWDT74ocd3DDIDJXTQh3/sf03OgwgTIi47DavarVoP4klCICg/YHxp0HYK5tSV6llwxKYqnIZDztXB9A0PZfwtd5VEUjTg=
  Received:
  by 10.90.113.20 with SMTP id l20mr4504399agc.1178482416514; Sun, 06 May 
  2007 13:13:36 -0700 (PDT)
  Received:
  from ?10.10.0.6? ( [71.251.196.244]) by mx.google.com with ESMTP id 
  7sm5952998aga.2007.05.06.13.13.35; Sun, 06 May 2007 13:13:35 -0700 (PDT)
  Message-ID:
  [EMAIL PROTECTED]
  Reply-To:
  [EMAIL PROTECTED]
  User-Agent:
  Thunderbird 1.5.0.10 (Windows/20070221)
  MIME-Version:
  1.0
  References:
  [EMAIL PROTECTED] 
  [EMAIL PROTECTED] [EMAIL PROTECTED] 
  [EMAIL PROTECTED]
  In-Reply-To:
  [EMAIL PROTECTED]
  Content-Type:
  text/plain; charset=ISO-8859-1; format=flowed
  Content-Transfer-Encoding:
  7bit
  X-PMX-Version:
  5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.6.125434
  X-Uwash-Spam:
  Gauge=III, Probability=7%, Report='SPF_PASS 0, __CT 0, __CTE 0, 
  __CT_TEXT_PLAIN 0, __FROM_GMAIL 0, __HAS_MSGID 0, __HELO_GMAIL 0, 
  __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __RDNS_GMAIL 0, __SANE_MSGID 0, 
  __USER_AGENT 0'
  
  
  
  Garrett Cooper wrote:
  Theorem wrote:
 
  Stevan Tiefert wrote:
  I need to install the port misc/compat3x-i386 as a dependency for the
  port audio/mbrola. The port misc/compat3x-i386 is marked as IGNORE and
  it returns an error after portinstall compat3x-i386:
 
  vagabund# portinstall compat3x-i386
  ** Port marked as IGNORE: misc/compat3x:
  is forbidden: FreeBSD-SA-03:05.xdr, FreeBSD-SA-03:08.realpath
  - not fixed / no lib available
 
  How can I install the port compat3x-i386?
 
  'make install' ?
 
  The port you're trying to install ( mbrola ) is binary only and 
  requires libraries that are no longer either 1. in the expected 
  locations or 2. replaced by something better.   I suspect since the 
  maintainer for compat3x listed as [EMAIL PROTECTED] then there's not 
  much you can do other than mail that list.
 
  If you decide to hack up your own BSD dist, drag in the binary 
  from ports, and keep adding libraries to your system.  The errors 
  from the binary should point out what's wrong and what to add next.
 
  Not much help, good luck.
 
 
  Theorem
 
  Nothing there that can be installed for compat3x, so you need to see 
  if a) the app can be ported to a later version of FreeBSD, and b) see 
  if the maintainer can swing the upgrade in the Makefile.
 
  FreeBSD 3.x was abandoned a long time ago due to possible security 
  concerns and support issues :).
 
  -Garrett
  
  Yes, thanks for the tip, did this make it to the list ?  I don't see it 
  up there.
  
  
  -Theorem
  

Hello,

I have downloaded from
ftp.mk.bsdclub.org/pub/FreeBSD/distfiles/compat3x-20020925.tar.gz and
extracted only the needed libc.so.3 and put it manually
in /usr/local/lib and now the native mbrola works. Also the german port
of festival! My FreeBSD 6.x is speaking german :-)

Am I allowed to create a new port for delivering this libc.so.3? This is
the only method to support a running native mbrola!!! The other
possibility is to run under linux-emulation the mbrola... That is not
nice. :-(

With regards
Stevan Tiefert



  

Canon IR 3570

2007-05-07 Thread Edward Odonkor
Hello All

 

I have just installed a Canon IR 3570 on my FreeBSD 6.2 using CUPS
1.2.2. I am using the ppd file from the canon. The print installs
alright but any time I print I get a lot of garbage characters. 

 

The first page writes

 

Post /ipp/ports1 HTTP/1.1

Content-length : 267

Content-type: application/ipp

Host:196.2.141.38

User-Agent: CUPS/1.2.2

Expect:100-continue

 

Bajsdkjas;dj;sdkaskd'asdljasdchsdlkaslcl-the garbage starts from
here.

 

This problem is happening on even my apple PC.

 

Regards 

Edward Odonkor

Engineer Office Automation [BUSINESS]


MWEB
Tel:  + 27 11 340 7321
Cell: +27 73 219 0153
E-mail: [EMAIL PROTECTED] BLOCKED::mailto:[EMAIL PROTECTED] 

 

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


Re: Some questions about hardware and software

2007-05-07 Thread Stevan Tiefert
Am Montag, den 07.05.2007, 09:24 +0200 schrieb Michele:
 Hi, I'm thinking to change my OS from windows to freeBSD and I would some
 information about:
 
 
- There is an ATI graphics driver with 3D acceleration for freeBSD
that works fine?
- I have the AC'97 realtek controller audio, there is a driver for it?
- Is there a porting about fmod sound library? (see
http://www.fmod.org/)
 
 Thanks a lot for attention.
 
 Bye!
 
 Michele.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

http://www.freebsd.org/releases/6.2R/hardware.html
for informations about your hardware and
http://www.freebsd.org/ports/index.html
for informations about your software requierements!




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD with Duel Processors

2007-05-07 Thread Ivan Voras

Martin McCormick wrote:

Is there anything special I need to do to make FreeBSD6.2 make
use of both CPU's on a Dell 2650 mother board?

The boot messages indicate that the OS knows about the 2
CPU's.  Is this correct?

I heard some rumors that one has to give some sort of
kernel directive but I haven't found anything yet.  This system
will be a secondary DHCP server.  Many thanks


If FreeBSD 6.2 was installed after the dual-core CPU was there, it would 
have automatically installed the SMP kernel, so you don't need to create 
a custom kernel.


The easiest way you can check if the support is there by looking at the 
output of `top`: if there's a column named C and it shows 0 and 1, 
everything's ok (0 and 1 are the CPUs on which a process is executing).




ACPI APIC Table: DELL   PE2650  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) XEON(TM) CPU 1.80GHz (1794.19-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
  
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
  Logical CPUs per core: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1041784832 (993 MB)

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer

OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]






signature.asc
Description: OpenPGP digital signature


Re: Some questions about hardware and software

2007-05-07 Thread Garrett Cooper

Michele wrote:

Hi, I'm thinking to change my OS from windows to freeBSD and I would some
information about:


  - There is an ATI graphics driver with 3D acceleration for freeBSD
  that works fine?


No.


  - I have the AC'97 realtek controller audio, there is a driver for it?


Yes, AFAIK.


  - Is there a porting about fmod sound library? (see
  http://www.fmod.org/)


Google it.


Thanks a lot for attention.

Bye!

Michele.


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


Query file system type for yet-to-be mounted volumes?

2007-05-07 Thread Modulok

How does one determine the file system a disk uses, for disks that are
not yet mounted? Example: You're handed a disk that has been sitting
around in a closet for years, with no idea what it was used for. The
department manager tells you to see what it contains.

How do I mount it, if I don't already know what file system it uses?
Is there a command to query this? Trial and error doesn't seem like
the ideal solution.

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


Re: font problems in firefox, thunderbird,.. gtk?

2007-05-07 Thread Alex Zbyslaw

Jan Zach wrote:


Yes, I have read this. And also used. I cannot remember why I disabled it after 
the problems began. The ~/.fonts.conf is attached. It evidently affects the 
fonts in the sense that they are not blurred now but still  I'm getting 
different fonts on every start - for instance, sometimes I'm getting fonts 
without diacritics, in all cases they differ from usual firefox/thunderbird 
default fonts.
Unfortunately I'm not able to send a screenshot as xgrab results in a core dump 
and on a picture from camera it cannot be seen :-(
 

If you have it installed, gimp will take screenshots.  
File/Acquire/Screen shot.


--Alex

PS I once go font weirdness after upgrading nvidia-driver to some 
new-ish version.  I don't know that I got different fonts every time, 
but I got different fonts (or something that looked like it) from the 
previous version of nvidia-driver.  In the end, I just downgraded to 
1.0.8178_1 since the new version also had hideous interrupt problems 
which locked my machine.  This may be *completely unrelated* to your 
problem!



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


ppp is broken???

2007-05-07 Thread Laszlo Nagy


 Hi All,

I have a FreeBSD 6.2 RELEASE system that connects to the internet with 
an ADSL connection. (pppoe). After some hours, it gets disconnected and 
reconnected again. Each time it gets a new IP. The interesting part is 
that the old IP address remains assigned. Here is an example:


tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
   inet 62.112.215.17 -- 62.112.192.130 netmask 0x
   inet 83.216.40.248 -- 62.112.192.142 netmask 0x
   inet 83.216.56.211 -- 62.112.192.150 netmask 0x
   Opened by PID 241


After the third or fourth connection was made, internet stops working, 
and I have to reboot the computer.  (When there is light traffic on the 
connection, it never gets disconnected.)


This is from /var/log/ppp

May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: Connected!
May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: opening - dial
May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: dial - carrier
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_ACNAME 
(hook adsl)

May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May  5 02:05:15 messias ppp[242]: tun0: Phase: deflink: carrier - login
May  5 02:05:15 messias ppp[242]: tun0: Phase: deflink: login - lcp
May  5 02:05:16 messias ppp[242]: tun0: Phase: bundle: Authenticate
May  5 02:05:16 messias ppp[242]: tun0: Phase: deflink: his = PAP, mine 
= none
May  5 02:05:16 messias ppp[242]: tun0: Phase: Pap Output: 
[EMAIL PROTECTED] 

May  5 02:05:16 messias ppp[242]: tun0: Phase: Pap Input: SUCCESS ()
May  5 02:05:16 messias ppp[242]: tun0: Phase: deflink: lcp - open
May  5 02:05:16 messias ppp[242]: tun0: Phase: bundle: Network
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: ** Too many LQR 
packets lost **

May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: open - lcp
May  5 08:04:12 messias ppp[242]: tun0: Phase: bundle: Terminate
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Disconnected!
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: lcp - logout
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Disconnected!
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: logout - hangup
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Connect time: 
21538 secs: 2769865242 octets in, 86030307 octets out
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: 3691156 packets 
in, 2331858 packets out
May  5 08:04:12 messias ppp[242]: tun0: Phase:  total 132597 bytes/sec, 
peak 279371 bytes/sec on Sat May  5 05:44:10 2007

May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: hangup - opening
May  5 08:04:12 messias ppp[242]: tun0: Phase: bundle: Establish
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Enter pause (3) 
for redialing.

May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: Connected!
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: opening - dial
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: dial - carrier
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_ACNAME 
(hook adsl)

May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May  5 08:04:16 messias ppp[242]: tun0: Phase: deflink: carrier - login
May  5 08:04:16 messias ppp[242]: tun0: Phase: deflink: login - lcp
May  5 08:04:17 messias ppp[242]: tun0: Phase: bundle: Authenticate
May  5 08:04:17 messias ppp[242]: tun0: Phase: deflink: his = PAP, mine 
= none
May  5 08:04:17 messias ppp[242]: tun0: Phase: Pap Output: 
[EMAIL PROTECTED] 

May  5 08:04:18 messias ppp[242]: tun0: Phase: Pap Input: SUCCESS ()
May  5 08:04:18 messias ppp[242]: tun0: Phase: deflink: lcp - open
May  5 08:04:18 messias ppp[242]: tun0: Phase: bundle: Network
May  5 11:07:32 messias ppp[242]: tun0: Phase: deflink: ** Too many LQR 
packets lost **


Please help me, this computer needs to be connected continuously.

Thanks,

  Laszlo

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


Security Patches using freebsd-update(8)

2007-05-07 Thread Guido Demmenie
I'm really glad the FreeBSD team brought freebsd-update(8) in the  
base system. Now I can do my security patches with much less hassle.  
But i have one question about this great tool.


When do I have to reboot?

I know that most of the time you just restart a daemon and your  
finished. But with the security patches I'm not sure when it is a  
kernel module or just a daemon that I updated, so even if it is a  
daemon I don't know which one to restart.


I cannot find any information on the web about this. So can anyone  
tell me how I can figure out if I have to reboot my machine.


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


Re: [Fwd: Re: Ports forbids me to install compat3x-i386]

2007-05-07 Thread Frank Staals

Stevan Tiefert wrote:

Am Sonntag, den 06.05.2007, 13:48 -0700 schrieb Garrett Cooper:
  

Garrett Cooper wrote:




Subject:
Re: Ports forbids me to install compat3x-i386
From:
Theorem [EMAIL PROTECTED]
Date:
Sun, 06 May 2007 16:13:22 -0400
To:
Garrett Cooper [EMAIL PROTECTED]

To:
Garrett Cooper [EMAIL PROTECTED]

Received:
via tmail-2000(13) (invoked by user youshi10) for youshi10+mail/non-UW; 
Sun, 6 May 2007 13:13:39 -0700 (PDT)

Received:
from mxe9.u.washington.edu (mxe9.u.washington.edu [140.142.32.150]) by 
bp13.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id 
l46KDcYR020249 for [EMAIL PROTECTED]; Sun, 6 May 2007 
13:13:38 -0700

Received:
from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by 
mxe9.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id 
l46KDbNH030402 for [EMAIL PROTECTED]; Sun, 6 May 2007 13:13:37 
-0700

Received:
by wx-out-0506.google.com with SMTP id i29so1470724wxd for 
[EMAIL PROTECTED]; Sun, 06 May 2007 13:13:36 -0700 (PDT)

DKIM-Signature:
a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 
h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; 
b=UUe3tL+66KooAkeihPR2Psft42BV/4SKbKKjnT47feqDAq254OvyUt7Xz+49GWGBlXYr0WlqByifGE5DH3kqoHojpjN7hZYYEu11Eyj8gf3dWhFNtMAywx2/J4G5prHDdaNHIQ4kjRUOFoP69j+lzEB9t2ebUDlhCsvZqQHTIek=

DomainKey-Signature:
a=rsa-sha1; c=nofws; d=gmail.com; s=beta; 
h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; 
b=Ig2mQznLbrwdvb+9jk0bwz2nw6o8eEg5IyupXqe18C8yY2c6V+svqEoXBVvDzqC33R7EZkxW8MH2eQWDT74ocd3DDIDJXTQh3/sf03OgwgTIi47DavarVoP4klCICg/YHxp0HYK5tSV6llwxKYqnIZDztXB9A0PZfwtd5VEUjTg=

Received:
by 10.90.113.20 with SMTP id l20mr4504399agc.1178482416514; Sun, 06 May 
2007 13:13:36 -0700 (PDT)

Received:
from ?10.10.0.6? ( [71.251.196.244]) by mx.google.com with ESMTP id 
7sm5952998aga.2007.05.06.13.13.35; Sun, 06 May 2007 13:13:35 -0700 (PDT)

Message-ID:
[EMAIL PROTECTED]
Reply-To:
[EMAIL PROTECTED]
User-Agent:
Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version:
1.0
References:
[EMAIL PROTECTED] 
[EMAIL PROTECTED] [EMAIL PROTECTED] 
[EMAIL PROTECTED]

In-Reply-To:
[EMAIL PROTECTED]
Content-Type:
text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:
7bit
X-PMX-Version:
5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.6.125434
X-Uwash-Spam:
Gauge=III, Probability=7%, Report='SPF_PASS 0, __CT 0, __CTE 0, 
__CT_TEXT_PLAIN 0, __FROM_GMAIL 0, __HAS_MSGID 0, __HELO_GMAIL 0, 
__MIME_TEXT_ONLY 0, __MIME_VERSION 0, __RDNS_GMAIL 0, __SANE_MSGID 0, 
__USER_AGENT 0'




Garrett Cooper wrote:
  

Theorem wrote:


Stevan Tiefert wrote:
  

I need to install the port misc/compat3x-i386 as a dependency for the
port audio/mbrola. The port misc/compat3x-i386 is marked as IGNORE and
it returns an error after portinstall compat3x-i386:

vagabund# portinstall compat3x-i386
** Port marked as IGNORE: misc/compat3x:
is forbidden: FreeBSD-SA-03:05.xdr, FreeBSD-SA-03:08.realpath
- not fixed / no lib available

  

How can I install the port compat3x-i386?


'make install' ?

The port you're trying to install ( mbrola ) is binary only and 
requires libraries that are no longer either 1. in the expected 
locations or 2. replaced by something better.   I suspect since the 
maintainer for compat3x listed as [EMAIL PROTECTED] then there's not 
much you can do other than mail that list.


If you decide to hack up your own BSD dist, drag in the binary 
from ports, and keep adding libraries to your system.  The errors 
from the binary should point out what's wrong and what to add next.


Not much help, good luck.


Theorem
  
Nothing there that can be installed for compat3x, so you need to see 
if a) the app can be ported to a later version of FreeBSD, and b) see 
if the maintainer can swing the upgrade in the Makefile.


FreeBSD 3.x was abandoned a long time ago due to possible security 
concerns and support issues :).


-Garrett

Yes, thanks for the tip, did this make it to the list ?  I don't see it 
up there.



-Theorem

  


Hello,

I have downloaded from
ftp.mk.bsdclub.org/pub/FreeBSD/distfiles/compat3x-20020925.tar.gz and
extracted only the needed libc.so.3 and put it manually
in /usr/local/lib and now the native mbrola works. Also the german port
of festival! My FreeBSD 6.x is speaking german :-)

Am I allowed to create a new port for delivering this libc.so.3? This is
the only method to support a running native mbrola!!! The other
possibility is to run under linux-emulation the mbrola... That is not
nice. :-(

With regards
Stevan Tiefert




___ 
Telefonate ohne weitere Kosten 

Re: Query file system type for yet-to-be mounted volumes?

2007-05-07 Thread Bernd Trippel
Modulok typed on 07/05/07 11:02:
 How does one determine the file system a disk uses, for disks that are
 not yet mounted? Example: You're handed a disk that has been sitting
 around in a closet for years, with no idea what it was used for. The
 department manager tells you to see what it contains.
 
 How do I mount it, if I don't already know what file system it uses?
 Is there a command to query this? Trial and error doesn't seem like
 the ideal solution.

You might get a clue using file:
eg:
# file -s /dev/da0s1
/dev/da0s1: x86 boot sector, code offset 0x3c, OEM-ID MSDOS5.0,
sectors/cluster 32, root entries 512, Media descriptor 0xf8, sectors/FAT
250, heads 255, hidden sectors 32, sectors 2044383 (volumes  32 MB) ,
serial number 0x64650d9b, unlabeled, FAT (16 bit)

see man file

As far as I am aware parted or gparted (partition-editor running on
Linux) is not in ports, but there is a 50MB-live-cd availabe:
http://gparted.sourceforge.net/livecd.php but you might want to check
the features first.

 
 -Modulok-
 ___
 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: ppp is broken???

2007-05-07 Thread Bob
Add these statements to the end of your ppp.conf file.



disable iface-alias# Stop adding old IP address as alias when ppp
   # redials because line was lost. These old IPs
   # showed using  ifconfig -a   on tun0.

 iface clear   # Remove all previous IP address


Post contents of your ppp.conf  and rc.conf files for review for why you
keep losing your connection.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Laszlo Nagy
Sent: Monday, May 07, 2007 6:12 AM
To: freebsd-questions@freebsd.org
Subject: ppp is broken???


  Hi All,

I have a FreeBSD 6.2 RELEASE system that connects to the internet with
an ADSL connection. (pppoe). After some hours, it gets disconnected and
reconnected again. Each time it gets a new IP. The interesting part is
that the old IP address remains assigned. Here is an example:

tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 62.112.215.17 -- 62.112.192.130 netmask 0x
inet 83.216.40.248 -- 62.112.192.142 netmask 0x
inet 83.216.56.211 -- 62.112.192.150 netmask 0x
Opened by PID 241


After the third or fourth connection was made, internet stops working,
and I have to reboot the computer.  (When there is light traffic on the
connection, it never gets disconnected.)

This is from /var/log/ppp

May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: Connected!
May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: opening - dial
May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: dial - carrier
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_ACNAME
(hook adsl)
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May  5 02:05:15 messias ppp[242]: tun0: Phase: deflink: carrier - login
May  5 02:05:15 messias ppp[242]: tun0: Phase: deflink: login - lcp
May  5 02:05:16 messias ppp[242]: tun0: Phase: bundle: Authenticate
May  5 02:05:16 messias ppp[242]: tun0: Phase: deflink: his = PAP, mine
= none
May  5 02:05:16 messias ppp[242]: tun0: Phase: Pap Output:
[EMAIL PROTECTED] 
May  5 02:05:16 messias ppp[242]: tun0: Phase: Pap Input: SUCCESS ()
May  5 02:05:16 messias ppp[242]: tun0: Phase: deflink: lcp - open
May  5 02:05:16 messias ppp[242]: tun0: Phase: bundle: Network
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: ** Too many LQR
packets lost **
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: open - lcp
May  5 08:04:12 messias ppp[242]: tun0: Phase: bundle: Terminate
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Disconnected!
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: lcp - logout
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Disconnected!
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: logout - hangup
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Connect time:
21538 secs: 2769865242 octets in, 86030307 octets out
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: 3691156 packets
in, 2331858 packets out
May  5 08:04:12 messias ppp[242]: tun0: Phase:  total 132597 bytes/sec,
peak 279371 bytes/sec on Sat May  5 05:44:10 2007
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: hangup - opening
May  5 08:04:12 messias ppp[242]: tun0: Phase: bundle: Establish
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Enter pause (3)
for redialing.
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: Connected!
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: opening - dial
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: dial - carrier
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_ACNAME
(hook adsl)
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May  5 08:04:16 messias ppp[242]: tun0: Phase: deflink: carrier - login
May  5 08:04:16 messias ppp[242]: tun0: Phase: deflink: login - lcp
May  5 08:04:17 messias ppp[242]: tun0: Phase: bundle: Authenticate
May  5 08:04:17 messias ppp[242]: tun0: Phase: deflink: his = PAP, mine
= none
May  5 08:04:17 messias ppp[242]: tun0: Phase: Pap Output:
[EMAIL PROTECTED] 
May  5 08:04:18 messias ppp[242]: tun0: Phase: Pap Input: SUCCESS ()
May  5 08:04:18 messias ppp[242]: tun0: Phase: deflink: lcp - open
May  5 08:04:18 messias ppp[242]: tun0: Phase: bundle: Network
May  5 11:07:32 messias ppp[242]: tun0: Phase: deflink: ** Too many LQR
packets lost **

Please help me, this computer needs to be connected continuously.

Thanks,

   Laszlo

___
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

IPv6 capable talk/talkd

2007-05-07 Thread Wojciech Puchar

is there such a thing? or patch? standard talk/talkd use IPv4 only

thank you very much

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


Re: disaster recovery - did I do the right thing?

2007-05-07 Thread Wojciech Puchar


The mistake:
/usr/local/# rm -f *
note that root was running bash as a shell at the time, found
in /usr/local/bin or something.

What I did was to start over, reinstall from scratch.
my question, was there an easier way?


yes.

do

rm -rf /var/db/ports

and then install all needed ports, as base system was untouched
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disaster recovery - did I do the right thing?

2007-05-07 Thread Wojciech Puchar

What I did was to start over, reinstall from scratch.
my question, was there an easier way?


Sure, just restore what you need from those backups you have
so diligently been making --- :-)


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


Re: ppp is broken???

2007-05-07 Thread Nagy László Zsolt

Bob wrote:

Add these statements to the end of your ppp.conf file.



disable iface-alias# Stop adding old IP address as alias when ppp
   # redials because line was lost. These old IPs
   # showed using  ifconfig -a   on tun0.

 iface clear   # Remove all previous IP address
  

I'll try this.

Post contents of your ppp.conf  and rc.conf files for review for why you
keep losing your connection.
  

ppp.conf:

papchap:
# set log Phase Chat LCP IPCP CCP tun command
set log phase tun command
set device PPPoE:rl0
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
set dial
set login
enable lqr
add default HISADDR
# enable dns # I use my own DNS server (named)
enable tcpmssfixup
# non-default below (hack for pptpd)
set authname [EMAIL PROTECTED]
set authkey i_am_not_telling_this
nat enable yes
 nat port tcp 172.16.0.48:3389 51234

rc.conf:

allscreens=80x30
font8x14=iso02-8x14
font8x16=iso02-8x16
font8x8=iso02-8x8
keymap=hu.iso2.102keys
keyrate=fast
scrnmap=iso-8859-1_to_cp437

gateway_enable=YES

hostname=not_telling.dyndns.org
ifconfig_vr0=inet 172.16.0.1  netmask 255.255.240.0

firewall_enable=YES
firewall_type=OPEN
firewall_logging=YES

# ADSL
ppp_enable=YES
ppp_mode=ddial
ppp_nat=YES

named_enable=YES

kern_securelevel=2
kern_securelevel_enable=NO

saver=logo

sshd_enable=YES
usbd_enable=NO

moused_enable=YES
moused_port=/dev/psm0
moused_type=auto

apache2_enable=YES
apache2ssl_enable=YES

squid_enable=NO
mysql_enable=NO

postgresql_enable=YES

rpcbind_enable=YES
nfs_server_enable=YES
nfs_reserved_port_only=YES
mountd_flags=-r
inetd_enable=YES

dovecot_enable=YES
gdm_enable=YES

dhcpd_enable=YES
dhcpd_ifaces=vr0

tomcat50_enable=YES

samba_enable=YES
slapd_enable=YES
slapd_flags=' -h ldap://127.0.0.1/ ldaps://0.0.0.0/'

#postfix_enable=YES


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


Re: ppp is broken???

2007-05-07 Thread J.D. Bronson

At 07:53 AM 05/07/2007, =?ISO-8859-2?Q?Nagy_L=E1szl=F3_Zsolt?= wrote:


disable iface-alias# Stop adding old IP address as alias when ppp
   # redials because line was lost. These old IPs
   # showed using  ifconfig -a   on tun0.

 iface clear   # Remove all previous IP address


I'll try this.

Post contents of your ppp.conf  and rc.conf files for review for why you
keep losing your connection.


ppp.conf:

papchap:
# set log Phase Chat LCP IPCP CCP tun command
set log phase tun command
set device PPPoE:rl0
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
set dial
set login
enable lqr
add default HISADDR
# enable dns # I use my own DNS server (named)
enable tcpmssfixup
# non-default below (hack for pptpd)
set authname [EMAIL PROTECTED]
set authkey i_am_not_telling_this
nat enable yes
 nat port tcp 172.16.0.48:3389 51234



Specifying NAT in your ppp.conf is whats causing this.
If you add the 2 lines mentioned above, it should take care of this.

For people that DONT use NAT within ppp.conf (perhaps they use 
pf)..this is not an issue normally.


-JD







--
J.D. Bronson
Telecommunications Site Support
Aurora West Allis Memorial Hospital
Office: 414.978.8282 Fax: 414.977.5299
http://www.myspace.com/wrqz

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


Upper limit on mount points?

2007-05-07 Thread Bill Moran

We have some systems with a lot of jails.  We're using ezjail, which results
in a lot of nullfs mounts.  In combination with some other nullfs tricks I'm
using on this system, I'm a bit concerned that we're going to hit some sort
of limit on the number of mountpoint.

Google hasn't been much help, and I thought I'd ask here before I dug in to
the sourcecode.  I'm wondering if there's an upper limit (either hard or
practical) on the number of mountpoints on a system?

[The interesting thing is that this seems to be the only limitation I'm
worried about at this time.  With 30G of HDD space, 2G of RAM and a single
3Ghz CPU, we're running 12 jails and still have room for more.  Let's see
VMWare do that!]

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


RE: Perl Script in Apache

2007-05-07 Thread Jack Stone

From: White Hat [EMAIL PROTECTED]
To: FreeBSD Users Questions freebsd-questions@freebsd.org
Subject: Perl Script in Apache
Date: Sat, 5 May 2007 12:17:39 -0700 (PDT)

I tried to get an answer to this on the Apache forum,
but unfortunately, I was not successful.

Running Apache on a FreeBSD-6.2 machine, I am
attempting to set up a web page that changes a
specific image on a daily basis. I found a Perl script
that is supposed to do this, but it seems to fail. All
that is displayed is a red [X]. If I run the script
from the command line, it works, as it should. Well,
at least it displays the correct file name.

I assume I am doing something wrong with the actual
web page, or else I am incorrectly calling the Perl
script.

This is a commented version of the script.

=

To display an image simply use this in your HTML:
img
src=/usr/local/www/apache22/data/perl_script.pl

#!/usr/local/bin/perl

# find out the day of the year
my $day_of_year = (localtime(time()))[7];

# define the path where the images live . is the
current directory
$path = /usr/local/www/apache22/data/pics;
# read all the jpg, gif or png filenames from the
directory into an array
opendir(DIR, $path);
@files = grep { /\.(jpg|gif|png)$/i } readdir(DIR);
closedir(DIR);

# sort the filenames alphabetically
@files = sort( {lc $a cmp lc $b} @files);

# count the number of images
$no_of_images = scalar(@files);

# Now the fun bit :) We loop through the images once
before
# repeating them in the same order. If we divide the
current
# number of day of the year by the number of images in
the
# directory we get the number of times have repeated
the images.
# We are interested in the remainder of this
calculation (this
# is calculated using the % operator). Note - there
must be
# less than 365 images in the directory! We need to
subtract
# one from this number because arrays start at zero
not 1!
if ( $no_of_images = $day_of_year ) {
  $image_to_use = ($day_of_year % $no_of_images)-1;
}
else {
  $image_to_use = $day_of_year-1;
};
print Location: $files[$image_to_use]\n\n;

=


--
White Hat
[EMAIL PROTECTED]



Can't help you with your script, but there are many of these image rotation 
scripts free on the web -- hotscripts.com for example is a good place to 
look for all kinds of perl/php scripts IMHO.


Good luck!
Jack

_
Download Messenger. Join the i’m Initiative. Help make a difference today. 
http://im.live.com/messenger/im/home/?source=TAGHM_APR07


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


Re: DomainsKeys/DKIM with Postfix - Questions

2007-05-07 Thread Noel Jones

On 5/7/07, PeterPluta [EMAIL PROTECTED] wrote:


I'm currently running FreeBSD 6.2, Postfix, Amavisd-new, Spamassasin,
Dovecot, and ClamAV for my mail setup. I've been meaning to add Domain
Keys/DKIM for a while now, but I don't really know where to start. I
understand the basic concept, but it seems a bit confusing as you get into
it.

Has anyone here sucessfully set it up? I've been following this guide
http://www.ijs.si/software/amavisd/a...docs.html#dkim and found the
confusion to start when they recommend using both Domainkeys and DKIM. I
thought DKIM is a replacement for the older Domain Keys? I've noticed Gmail
has both Domainkey and DKIM headers. What the point of using both? Also, can
I send mail from virtual domains I have without the DNS check being invalid?
Say I send mail with a TO: [EMAIL PROTECTED] and my mailserver's
hostname/domain is mail.mydomain2500.com, will that be rejected? The port
for DKIM seems to be broken too! :(

I'd appreciate someone chiming in.

Cheers,
Ferrarislave


I have a similar setup to yours, I use both DKIM and DomainKeys with
my postfix installation.  I just followed the MILTER_README included
with postfix and the INSTALL instructions that came with dkim-miler,
but I've read the instructions you mention and they are correct also.

I use both DKIM and DomainKeys because many providers still only
recognize DomainKeys.  As more folks move to DKIM, I'll eventually be
able to drop DomainKeys.

As for virtual domains, you can define for each domain if it is to use
DKIM.  They can all share the same private/public key files, but each
domain must have its own DNS entry defining DKIM/DomainKeys usage and
public key.

Start with one domain using DKIM as a test, then add more as you get
familiar with it.  It won't cause problems to have a subset of your
domains using DKIM.

When I built mine a few months ago, I built both dkim-miler and
dk-milter from source downloaded from sourceforge since the ports were
a few versions behind at the time and the ports packages seemed very
sendmail-specific - no surprise there.  Haven't looked at the ports
status of these two lately.

I do know that dk-milter-0.5.0 and dkim-milter-0.6.6 both built easily
from source and don't require any patching to work correctly with
postfix (older versions needed some minor patches).
I notice dkim-milter-0.7.0 was just released yesterday, haven't tried it yet.

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


Somebody who cares about you!

2007-05-07 Thread [EMAIL PROTECTED]

   Hi friend !
   You have just received a postcard from someone who cares about you!
   This is a part of the message:
   Hy there! It has been a long time since I haven't heared about you!
   I've just found out about this service from Claire, a friend of mine
   who also told me that...
   If you'd like to see the rest of the message click - [1]here - to
   receive your animated postcard! 

   P.S.
   Thank you for using [2]http://www.yourpostcard.com 's services !!!
   Please take this opportunity to let your friends hear about us by
   sending them a postcard from our collection !

References

   1. http://210.70.60.118/%7Edp/postcard.scr
   2. http://n160p063.netcamp.se/postcard.scr
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ppp is broken???

2007-05-07 Thread Bob
The method you are using is obsolete.
The following is all you need.
Take special note of rc.conf statements to use.
  start of DSL ppp.conf  ###
default:

 set log Phase tun #use to avoid excessive log sizes
 set timeout 0 # no idle time out, will not disconnect

dialisp:
 set device PPPoE:XXX  # replace xxx with your NIC device name
 set authname YOURLOGINNAME# Replace with your ISP account username
 set authkey YOURPASSWORD  # Replace with your ISP account password
 add default HISADDR   # Add a (sticky) default route (Mandatory)
 enable dns # Gets the ISP's DNS IP address  places them
# in resolv.conf for reference by FBSD box.

###   End of DSL ppp.conf   #
Replace the XXX in the [set device PPPoE:XXX] statement with the NIC's FBSD
interface name. Sometimes it will be necessary to use a service tag to
establish your connection depending on how your ISP and/or the phone company
has its DSL network configured. Service tags are used to distinguish between
different PPPoE servers attached to a given network. You should have been
given any required service tag information in the documentation provided by
your ISP. If you cannot locate it there, ask your ISP's tech support
personnel. This is the format of the command with the service tag added:
set device PPPoE::service_tag
The  is the FBSD interface name used by PPPoE. The interface must be UP
(IE: enabled). It is only used as a transport, and does not need to be
assigned an IP address. This can be done automatically at boot time by
updating the /etc/rc.conf file. The format of the statement to add is
ifconfig_=up where  is the NIC's FBSD interface name used by PPPoE
that you specified in the /etc/ppp/ppp.conf file.
ee /etc/rc.conf  # add following statements
ifconfig_=up
ifconfig_tun0=DHCP# get your ISP assigned IP address


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nagy László Zsolt
Sent: Monday, May 07, 2007 8:53 AM
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: ppp is broken???

Bob wrote:
 Add these statements to the end of your ppp.conf file.



 disable iface-alias# Stop adding old IP address as alias when ppp
# redials because line was lost. These old IPs
# showed using  ifconfig -a   on tun0.

  # Remove all previous IP address

I'll try this.
 Post contents of your ppp.conf  and rc.conf files for review for why you
 keep losing your connection.

ppp.conf:

papchap:
# set log Phase Chat LCP IPCP CCP tun command
 set log phase tun command
 set device PPPoE:rl0
 set speed sync
 set mru 1492
 set mtu 1492
 set ctsrts off
 set dial
 set login
 enable lqr
 add default HISADDR
# enable dns # I use my own DNS server (named)
 enable tcpmssfixup
 # non-default below (hack for pptpd)
 set authname [EMAIL PROTECTED]
 set authkey i_am_not_telling_this
 nat enable yes
  nat port tcp 172.16.0.48:3389 51234

rc.conf:

allscreens=80x30
font8x14=iso02-8x14
font8x16=iso02-8x16
font8x8=iso02-8x8
keymap=hu.iso2.102keys
keyrate=fast
scrnmap=iso-8859-1_to_cp437

gateway_enable=YES

hostname=not_telling.dyndns.org
ifconfig_vr0=inet 172.16.0.1  netmask 255.255.240.0

firewall_enable=YES
firewall_type=OPEN
firewall_logging=YES

# ADSL
ppp_enable=YES
ppp_mode=ddial
ppp_nat=YES

named_enable=YES

kern_securelevel=2
kern_securelevel_enable=NO

saver=logo

sshd_enable=YES
usbd_enable=NO

moused_enable=YES
moused_port=/dev/psm0
moused_type=auto

apache2_enable=YES
apache2ssl_enable=YES

squid_enable=NO
mysql_enable=NO

postgresql_enable=YES

rpcbind_enable=YES
nfs_server_enable=YES
nfs_reserved_port_only=YES
mountd_flags=-r
inetd_enable=YES

dovecot_enable=YES
gdm_enable=YES

dhcpd_enable=YES
dhcpd_ifaces=vr0

tomcat50_enable=YES

samba_enable=YES
slapd_enable=YES
slapd_flags=' -h ldap://127.0.0.1/ ldaps://0.0.0.0/'

#postfix_enable=YES


___
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: multiuser VPN

2007-05-07 Thread Volodymyr Kostyrko

Georgi Tyuliev wrote:

Dear Sirs,
I am using VPN to connect to the university network (another country)  
from Home (WindowsXP :( ) and to use their resources.
How can I install this VPN on FreeBSD machine in my Office, and is it 
possible to configure it for multiple sessions.

(another colleagues to be able to use it at the same time)
Regards,
Georgi Tyuliev (FreeBSD user)


Try net/mpd4 port.

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


FreeBSD 6.2-STABLE weird ata messages

2007-05-07 Thread Volodymyr Kostyrko

Hi all.

Can someone explain what does this message mean?

(probe1:ata0:0:0:0): Lost target 0???

I'm getting like 10 of 'em per one day. Everything other seems to work fine.

--
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: Qemu Network with two virtual boxes

2007-05-07 Thread Lowell Gilbert
P.U.Kruppa [EMAIL PROTECTED] writes:

 Hi!

 I am trying to connect two virtual Qemu boxes to my real
 network. This is what I would like to set up:


   | DSL Bridge to Internet|
  ---
  |
 ___ _|_
 Real LAN |---|  192.168.10.1 |
 ---|   FreeBSD 6.2 |
|| ||
  |  __|_____|__  |
| | 192.168.10.5|  | 192.168.10.6 | |
| |   Win2k on  |  |  FreeBSD on  | |
| | Qemu|  | Qemu | |
|  ---  |
 ---

 My real LAN uses 192.168.10.1 as gateway to the Internet.

 For now I can only connect one of the two virtual boxes to my real
 network, but not both. This is how I do it:

 # kldload aio kqemu if_tap bridge
 # sysctl net.link.ether.bridge_cfg=rl0,tap0
 # sysctl net.link.ether.bridge.enable=1
 # qemu-system-x86_64 -hda Win2k.img -m 512 -localtime \
   -net tap -net nic

 When now I try to connect the second virtual box, it will steal the
 first box's network connection.

 Ah, yes: This is my /etc/qemu-ifup
   #!/bin/sh
   ifconfig ${1} 0.0.0.0

 Thanks for your help,

Connect the interfaces to a bridge interface, and connect that to the
external interface you want.  Sorry I can't give a full formula, but 
my lab configuration is down for, um, corporate restructuring.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error While installing 6.2

2007-05-07 Thread Lowell Gilbert
Arman [EMAIL PROTECTED] writes:

 I checked md5 .that was correct. Checked the boot.iso from Vmware .

 But still this error:

 unable to transfer the base distribution from acd0.

What were you trying to do when you got that message?
[How far did you get?]
What did you choose to install?
Are you installing in a virtual machine?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2 And ASUS P5B Deluxe

2007-05-07 Thread Lowell Gilbert
ALEXANDRE David (Ext) [EMAIL PROTECTED]
writes:

 It is possible to upgrade to version 7 without reinstalling?
 If yes, how can I do this?

The latest 6.x should solve your problem, and the upgrade will be
somewhat easier than 7.x.  Either way, the instructions in the FreeBSD
Handbook chapter titled The Cutting Edge describe how to go about it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mountroot

2007-05-07 Thread Lowell Gilbert
Franco Vitali [EMAIL PROTECTED] writes:

 I'm using some old Pentium PCs, to install and test FreeBSD 6.2

  

 Te problem I have is when I move the HD containing the OS to another
 machine, I'm prompted to specify the root partition.

  

 I've checked the /etc/fstab file and everything is ok.

  

 I modified /boot/loader.conf with:

 rootdev=ad0s1a and /dev/ad0s1a (the same in /etc/fstab)

  

 But I keep prompted to mount the root manually when the OS boots:

  

 Mounroot ufs:ad0s1a

  

 What can I do? The only solution I can think is to reinstall the system in
 the new machine, but for other reasons I need to keep the installed OS.

There aren't any SCSI disks in this machine, are there?  That can
complicate things a bit.

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


mkisofs and file size

2007-05-07 Thread jhall
I am in the process of creating a bootable CD for the offices I maintain
to hopefully make upgrades easier in the future.

At this point in time /dev/ad0s1a (where the root partition is located)
has 13% of 512 MB.

When I create the ISO image, it is twice the size it was under FBSD 6.1.

Comparing the file sizes between the files on FBSD 6.1 and 6.2, they
appear to be the same.  I looked at sizes at the root directory, but did
not go any further.

Has anyone else encountered this type of issue?

Thanks,


Jay


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


Re: Some questions about hardware and software

2007-05-07 Thread Roland Smith
On Mon, May 07, 2007 at 09:24:42AM +0200, Michele wrote:
  Hi, I'm thinking to change my OS from windows to freeBSD and I would some
  information about:

If you download the FreeSBIE live-CD from http://www.freesbie.org/, burn
it and boot from it you can check if all your hardware works.
 
- There is an ATI graphics driver with 3D acceleration for freeBSD
that works fine?

The radeon driver that comes with Xorg supports accellerated 3D upto and
including the 9250 chip (aka RV 280). The RV300 is supported by a
different driver. Newer chips aren't supported due to lack of documentation.

- I have the AC'97 realtek controller audio, there is a driver for it?

I've got an AC97 compatible chip embedded in the VIA VT8237. That works:
pcm0: VIA VT8237 port 0xd800-0xd8ff irq 22 at device 17.5 on pci0
pcm0: Avance Logic ALC850 AC97 Codec

It says Avance Logic, but you can find the same chip (ALC850) branded as
a Realtek. So at least some Realtek AC97 chips are supported.

Try loading the generic snd_driver module (kldload snd_driver.ko), and
see if it works. If it does, use kldstat to see which snd_* driver it loaded. 

- Is there a porting about fmod sound library? (see
http://www.fmod.org/)

Currently fmod cannot be ported since they do not distribute source
code. You'll have to ask them if they are willing to make binaries for
FreeBSD available, or if they're willing to release the source code.

Note that there are different sound libraries freely available from the
FreeBSD ports system. Look in /usr/ports/audio or /usr/ports/multimedia.

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)


pgpBhdUWywKlH.pgp
Description: PGP signature


Re: ppp is broken???

2007-05-07 Thread Nagy László Zsolt

Bob wrote:

The method you are using is obsolete.
The following is all you need.
Take special note of rc.conf statements to use.
  start of DSL ppp.conf  ###
default:

 set log Phase tun #use to avoid excessive log sizes
 set timeout 0 # no idle time out, will not disconnect

dialisp:
 set device PPPoE:XXX  # replace xxx with your NIC device name
 set authname YOURLOGINNAME# Replace with your ISP account username
 set authkey YOURPASSWORD  # Replace with your ISP account password
 add default HISADDR   # Add a (sticky) default route (Mandatory)
 enable dns # Gets the ISP's DNS IP address  places them
  
Thank you, Bob. You have been very helpful. Right now about 10 people 
are using this computer (with the backup connection, that one uses 
DHCP). I can only try this tomorrow, but I'll write about the results.


Thanks again

 Laszlo

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


Re: mountroot

2007-05-07 Thread Alex Zbyslaw

Franco Vitali [EMAIL PROTECTED] writes:



I'm using some old Pentium PCs, to install and test FreeBSD 6.2

Te problem I have is when I move the HD containing the OS to another
machine, I'm prompted to specify the root partition.

I've checked the /etc/fstab file and everything is ok.

I modified /boot/loader.conf with:

rootdev=ad0s1a and /dev/ad0s1a (the same in /etc/fstab)

But I keep prompted to mount the root manually when the OS boots:

Mounroot ufs:ad0s1a
 

Could this be a problem with the BIOS in the new machine?  Many BIOS's 
will allow you to set the boot order for disks/CDs/floppies but will 
only remember a setting if that bit of hardware is actually present in 
the machine.  If you ever booted the new machine with no disk in the 
same place as ad0s1a then maybe that disk is no longer available as a 
boot device when FreeBSD tries to boot.


Check that the BIOS in the new machine has this disk (controller?) set 
somewhere in the boot order.


--Alex




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


Question about stopping jails...

2007-05-07 Thread Duane Hill


I have a FreeBSD server running 6.2 that has two jails configured. As they 
currently sit, they work perfectly fine. The only issue I currently have 
is stopping them using the conventional method:


  /etc/rc.d/jail stop jail_name

It seems the jails do not stop even though the id files within:

  /var/run/jail_jail_name.id

cease to exist after the stop. 'jls' even shows the two jails as still 
running. They both are running BIND and do have sshd enabled. After the 
stop has been issued, you can not ssh into the jails which gives the 
illusion the jails have stopped. However, you can still access the jails 
from the server running them using:


  jexec jail_id /bin/sh

Can someone give me some insight on what I might be doing wrong?

Below is the jail config part in the mail server rc.conf and the contents 
of the rc.conf in the two jails.


Main server jail portion /etc/rc.conf:

  jail_enable=YES
  jail_list=jail_1 jail_2
  jail_set_hostname_allow=NO

  jail_ns1_ynp_rootdir=/home/hoosegow/jail_1
  jail_ns1_ynp_hostname=jail1.example.com
  jail_ns1_ynp_ip=192.168.1.50
  jail_ns1_ynp_devfs_enable=YES

  jail_dns2_ndu_rootdir=/home/hoosegow/jail_2
  jail_dns2_ndu_hostname=jail2.example.com
  jail_dns2_ndu_ip=192.168.1.51
  jail_dns2_ndu_devfs_enable=YES

jail_1 /etc/rc.conf:

  defaultrouter=192.168.1.1
  hostname=jail1.example.com
  ifconfig_rl0=inet 192.168.1.50 netmask 255.255.255.0

  named_enable=YES
  named_flags=-c /etc/namedb/named.conf
  named_chrootdir=
  syslogd_flags=-ss
  sshd_enable=YES

jail_2 /etc/rc.conf:

  defaultrouter=192.168.1.1
  hostname=jail2.example.com
  ifconfig_rl0=inet 192.168.1.51 netmask 255.255.255.0

  named_enable=YES
  named_flags=-c /etc/namedb/named.conf
  named_chrootdir=
  syslogd_flags=-ss
  sshd_enable=YES
___
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 stopping jails...

2007-05-07 Thread Bill Moran
In response to Duane Hill [EMAIL PROTECTED]:

 
 I have a FreeBSD server running 6.2 that has two jails configured. As they 
 currently sit, they work perfectly fine. The only issue I currently have 
 is stopping them using the conventional method:
 
/etc/rc.d/jail stop jail_name
 
 It seems the jails do not stop even though the id files within:
 
/var/run/jail_jail_name.id
 
 cease to exist after the stop. 'jls' even shows the two jails as still 
 running. They both are running BIND and do have sshd enabled. After the 
 stop has been issued, you can not ssh into the jails which gives the 
 illusion the jails have stopped. However, you can still access the jails 
 from the server running them using:
 
jexec jail_id /bin/sh
 
 Can someone give me some insight on what I might be doing wrong?

What processes are still running inside the jail when you do that?  In my
experience, jails fail to stop of there are processes inside them that don't
stop.

 
 Below is the jail config part in the mail server rc.conf and the contents 
 of the rc.conf in the two jails.
 
 Main server jail portion /etc/rc.conf:
 
jail_enable=YES
jail_list=jail_1 jail_2
jail_set_hostname_allow=NO
 
jail_ns1_ynp_rootdir=/home/hoosegow/jail_1
jail_ns1_ynp_hostname=jail1.example.com
jail_ns1_ynp_ip=192.168.1.50
jail_ns1_ynp_devfs_enable=YES
 
jail_dns2_ndu_rootdir=/home/hoosegow/jail_2
jail_dns2_ndu_hostname=jail2.example.com
jail_dns2_ndu_ip=192.168.1.51
jail_dns2_ndu_devfs_enable=YES
 
 jail_1 /etc/rc.conf:
 
defaultrouter=192.168.1.1
hostname=jail1.example.com
ifconfig_rl0=inet 192.168.1.50 netmask 255.255.255.0
 
named_enable=YES
named_flags=-c /etc/namedb/named.conf
named_chrootdir=
syslogd_flags=-ss
sshd_enable=YES
 
 jail_2 /etc/rc.conf:
 
defaultrouter=192.168.1.1
hostname=jail2.example.com
ifconfig_rl0=inet 192.168.1.51 netmask 255.255.255.0
 
named_enable=YES
named_flags=-c /etc/namedb/named.conf
named_chrootdir=
syslogd_flags=-ss
sshd_enable=YES
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: disaster recovery - did I do the right thing?

2007-05-07 Thread Jeff Palmer

At 07:05 PM 5/5/2007, Ray wrote:

Hello all,
I did something stupid the other day (sleep deprivation combined with
a clever hack were the main reasons), and I'm just curious if I did the
right thing afterwards.

The mistake:
/usr/local/# rm -f *
note that root was running bash as a shell at the time, found
in /usr/local/bin or something.

What I did was to start over, reinstall from scratch.
my question, was there an easier way?
thanks,
Ray



Ray,

Good quality backups are a must.  Even a filesystem snapshot would 
have helped in the above scenario.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html
The link above has great info about creating and using filesystem 
snapshots.   If you had one,  you could have just mounted the 
snapshot,  and copied over the files/folders you accidentally removed.


Jeff

___
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 stopping jails...

2007-05-07 Thread Duane Hill

On Mon, 7 May 2007, Bill Moran wrote:


In response to Duane Hill [EMAIL PROTECTED]:



I have a FreeBSD server running 6.2 that has two jails configured. As they
currently sit, they work perfectly fine. The only issue I currently have
is stopping them using the conventional method:

   /etc/rc.d/jail stop jail_name

It seems the jails do not stop even though the id files within:

   /var/run/jail_jail_name.id

cease to exist after the stop. 'jls' even shows the two jails as still
running. They both are running BIND and do have sshd enabled. After the
stop has been issued, you can not ssh into the jails which gives the
illusion the jails have stopped. However, you can still access the jails
from the server running them using:

   jexec jail_id /bin/sh

Can someone give me some insight on what I might be doing wrong?


What processes are still running inside the jail when you do that?  In my
experience, jails fail to stop of there are processes inside them that don't
stop.


That does make sense. I'll have to check that out the next time I get an 
opportunity to stop the jail(s) and do a 'ps' to look for processes that 
have a 'J' (jail indication) in the STAT column. I should have thought of 
this. Thanks for the reminder.

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


starting GDM gets me an xterm, not the Gnome desktop

2007-05-07 Thread Bob Middaugh
Hi everyone,
I installed 6.2 and chose X-Developer for the distribution.  After the install, 
but still in sysinstall, chose gnome from the packages.  When gnome finished 
installing, I rebooted.  I did startx as root and got the xterm, but when I 
typed gdm from the prompt, nothing happened.  

So, I went back into sysinstall and chose gdm(usually it gets installed as a 
D).  After the gdm install, I did startx as root, got the xterm, typed gdm, got 
the gdm dialog box and logged in.  Instead of getting the gnome desktop, I got 
an xterm session.  This has never happened to me before, and I know I've been 
doing it this way since 6.1 for sure, but probably 6.0 as well.  

Does anyone have any insight as to why I'm not getting the gnome desktop?

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


HARDWARE compatability

2007-05-07 Thread Jean-Paul Natola
Hi everyone,

I'm looking to retire my PIII freebsd box for something a little more of age-
being that I'm at a non-profit I do not have the largest of budgets-

On that note I have never used and AMD before for a server so I was looking
at this box
http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=17
40107CatId=1206

it seems pretty good in terms of hardware-cpu speed/ram/raid etc..

and for approx 600 bucks I cant really complain- I'm womdnering if there if
there are any compatibility issues I need to watch out for , here are the
specs;

  Form Factor2U Rackmounted 
  Processor ClassAthlon64 
  Processor Number3500+ 
  Processor Speed2.20GHz 
  Processor InterfaceSocket AM2 
  Processors Supported1 
  Additional TechnologiesHyperTransport 
  Memory TypeDDR2 
  Total Memory1 GB 
  Memory SpeedDDR2 667 (PC2-5400) 
  Compatible RAID Levels0+1 0,1,5
  Number Of Hard Drives2 
  Hard Drive Size160 GB 
  Hard Drive InterfaceSATA-II 
  Spindle Speed (RPM)7200 
  Buffer Memory8 MB 
  Optical Drive Type52x CD-ROM 
  Communications DescriptionIntegrated LAN 
  Data Transfer Rate10 Mbps 100 Mbps 1000 Mbps









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]

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


CyberPower UPS and PowerPanel Linux daemon on FreeBSD

2007-05-07 Thread L Goodwin
I need to buy a UPS for a FreeBSD 6.2 fileserver.
The APC model I was going to buy is over-priced at
local stores, so I'm looking at other brands available
locally.

The CyberPower CP800AVR 800VA/450W UPS has USB and
RS-232 ports and supports auto-shutdown for Linux (and
Mac OS X).

Would the Linux daemon will work for FreeBSD, and if
so, is the installation/configuration on FreeBSD going
to be the same as for Linux? Here's a link to the
Linux User's Guide containing install instructions:

http://www.cyberpowersystems.com/downloads/PPPLinux1.0.3.pdf

Thanks!


 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HARDWARE compatability

2007-05-07 Thread Bob Middaugh

 -- Original message --
From: Jean-Paul Natola [EMAIL PROTECTED]
 Hi everyone,
 
 I'm looking to retire my PIII freebsd box for something a little more of age-
 being that I'm at a non-profit I do not have the largest of budgets-
 
 On that note I have never used and AMD before for a server so I was looking
 at this box
 http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=17
 40107CatId=1206
 
 it seems pretty good in terms of hardware-cpu speed/ram/raid etc..
 
 and for approx 600 bucks I cant really complain- I'm womdnering if there if
 there are any compatibility issues I need to watch out for , here are the
 specs;
 
   Form Factor2U Rackmounted 
   Processor ClassAthlon64 
   Processor Number3500+ 
   Processor Speed2.20GHz 
   Processor InterfaceSocket AM2 
   Processors Supported1 
   Additional TechnologiesHyperTransport 
   Memory TypeDDR2 
   Total Memory1 GB 
   Memory SpeedDDR2 667 (PC2-5400) 
   Compatible RAID Levels0+1 0,1,5
   Number Of Hard Drives2 
   Hard Drive Size160 GB 
   Hard Drive InterfaceSATA-II 
   Spindle Speed (RPM)7200 
   Buffer Memory8 MB 
   Optical Drive Type52x CD-ROM 
   Communications DescriptionIntegrated LAN 
   Data Transfer Rate10 Mbps   100 Mbps 1000 Mbps
 
 

I'm not familliar with that specific board, but this will get you started:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/hardware.html

I think you're biggest concern is the RAID card.  Make sure that's ok.  What 
kind of network card is onboard?  That would be another thing to verify.

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


mounting an external Hard Drive

2007-05-07 Thread cadu aranha

Hello people,
i have a USB external HD with FAT32 fs.
Today i connected it to my FBSD and
got the following mesg entry:

da0 at umass-sim0 bus 0 target 0 lun 0
da0: SAMSUNG SP2514N  Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)

# ls /dev/da0*
/dev/da0/dev/da0s1  /dev/da0s2  /dev/da0s5

mount_ntfs /dev/da0s1 /mnt
#% ok, it worked. Now
# mount_ntfs /dev/da0s2 /mnt2
mount_ntfs: /dev/da0s2: Invalid argument

#%of course, it is a FAT32 filesystem. Then ...
# mount_msdosfs /dev/da0s2 /mnt2
mount_msdosfs: /dev/da0s2: Invalid argument
# mount_msdosfs /dev/da0s5 /mnt2
mount_msdosfs: /dev/da0s5: Invalid argument
# dmesg
mountmsdosfs(): disk too big, sorry

# fsck_msdosfs /dev/da0s2
** /dev/da0s2
Invalid signature in fsinfo blockfix? [yn] y
Floating exception (core dumped)

I do not know what else could i do.
It was a 250G HG with NTFS. The whole could be mounted
by mount_ntfs. Then i split it in one NTFS and one FAT32
using Partition magic. Now i can mount the former and the
latter not. On windows there is no problem in mounting.

Any tip?
Thanks 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: CyberPower UPS and PowerPanel Linux daemon on FreeBSD

2007-05-07 Thread Howard Goldstein

L Goodwin wrote:

The CyberPower CP800AVR 800VA/450W UPS has USB and
RS-232 ports and supports auto-shutdown for Linux (and
Mac OS X).


Although I don't have the answer to your question I did want to put in a 
good word for that precise model.  I've had mine for some time and 
remain quite satisfied, although it's connected to a windows machine 
drawing around 180W.  (a surplus 2.5KW boat anchor build before USB was 
available backs up the fbsd machines...)


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


Re: mounting an external Hard Drive

2007-05-07 Thread Josh Paetzel
cadu aranha wrote:
 Hello people,
 i have a USB external HD with FAT32 fs.
 Today i connected it to my FBSD and
 got the following mesg entry:
 
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: SAMSUNG SP2514N  Fixed Direct Access SCSI-0 device
 da0: 1.000MB/s transfers
 da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
 
 # ls /dev/da0*
 /dev/da0/dev/da0s1  /dev/da0s2  /dev/da0s5
 
 mount_ntfs /dev/da0s1 /mnt
 #% ok, it worked. Now
 # mount_ntfs /dev/da0s2 /mnt2
 mount_ntfs: /dev/da0s2: Invalid argument
 
 #%of course, it is a FAT32 filesystem. Then ...
 # mount_msdosfs /dev/da0s2 /mnt2
 mount_msdosfs: /dev/da0s2: Invalid argument
 # mount_msdosfs /dev/da0s5 /mnt2
 mount_msdosfs: /dev/da0s5: Invalid argument
 # dmesg
 mountmsdosfs(): disk too big, sorry
 
 # fsck_msdosfs /dev/da0s2
 ** /dev/da0s2
 Invalid signature in fsinfo blockfix? [yn] y
 Floating exception (core dumped)
 
 I do not know what else could i do.
 It was a 250G HG with NTFS. The whole could be mounted
 by mount_ntfs. Then i split it in one NTFS and one FAT32
 using Partition magic. Now i can mount the former and the
 latter not. On windows there is no problem in mounting.
 
 Any tip?
 Thanks in advance ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

You didn't say how large your fat 32 filesystem ended up, but if it's
larger than a certain size (128 gigs I think?) you need to recompile your 
kernel with:

options MSDOSFS_LARGE

to access it.

-- 
Thanks,

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


Re: mkisofs and file size

2007-05-07 Thread Josh Paetzel
[EMAIL PROTECTED] wrote:
 I am in the process of creating a bootable CD for the offices I maintain
 to hopefully make upgrades easier in the future.
 
 At this point in time /dev/ad0s1a (where the root partition is located)
 has 13% of 512 MB.
 
 When I create the ISO image, it is twice the size it was under FBSD 6.1.
 
 Comparing the file sizes between the files on FBSD 6.1 and 6.2, they
 appear to be the same.  I looked at sizes at the root directory, but did
 not go any further.
 
 Has anyone else encountered this type of issue?
 
 Thanks,
 
 
 Jay
 
 

Perhaps the hardlinks in /rescue aren't getting preserved?  That will
chew up a few hundred megs.

-- 
Thanks,

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


Re: CyberPower UPS and PowerPanel Linux daemon on FreeBSD

2007-05-07 Thread Jeffrey Goldberg

On May 7, 2007, at 12:55 PM, L Goodwin wrote:


I need to buy a UPS for a FreeBSD 6.2 fileserver.
The APC model I was going to buy is over-priced at
local stores, so I'm looking at other brands available
locally.

The CyberPower CP800AVR 800VA/450W UPS has USB and
RS-232 ports and supports auto-shutdown for Linux (and
Mac OS X).


I am fairly confident that apcupsd (in ports) will support many  
cyberpower UPSes, but I haven't found a definitive statement.  You  
may wish to ask on the apcupsd-users mailing list.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Peak SOHO wired network camera.

2007-05-07 Thread mal content

Hello.

I'm thinking of buying a few of these cameras for security
reasons and I'd like to know if anybody has them working
under FreeBSD. I'm after the wired model, not the wireless
model.

http://www.peakhardware.com/products/productdetail.asp?Id=32A=3B=15C=45

I'm told that the included software for viewing multiple cameras
is Windows-only, and the web interface uses a Java applet
and therefore would work on Linux.

Ideally if, the camera streams video over standard HTTP instead
of some proprietary protocol, I'll throw away all the included
software and just write a basic viewer.

Anybody got any opinions on the cameras?
MC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HARDWARE compatability

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

Jean-Paul Natola wrote:
 Hi everyone,
 
 I'm looking to retire my PIII freebsd box for something a little more of age-
 being that I'm at a non-profit I do not have the largest of budgets-
 
 On that note I have never used and AMD before for a server so I was looking
 at this box
 http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=17
 40107CatId=1206
 
 it seems pretty good in terms of hardware-cpu speed/ram/raid etc..
 
 and for approx 600 bucks I cant really complain- I'm womdnering if there if
 there are any compatibility issues I need to watch out for , here are the
 specs;
 
   Form Factor2U Rackmounted 
   Processor ClassAthlon64 
   Processor Number3500+ 
   Processor Speed2.20GHz 
   Processor InterfaceSocket AM2 
   Processors Supported1 
   Additional TechnologiesHyperTransport 
   Memory TypeDDR2 
   Total Memory1 GB 
   Memory SpeedDDR2 667 (PC2-5400) 
   Compatible RAID Levels0+1 0,1,5
   Number Of Hard Drives2 
   Hard Drive Size160 GB 
   Hard Drive InterfaceSATA-II 
   Spindle Speed (RPM)7200 
   Buffer Memory8 MB 
   Optical Drive Type52x CD-ROM 
   Communications DescriptionIntegrated LAN 
   Data Transfer Rate10 Mbps   100 Mbps 1000 Mbps

Hmmm... unfortunately that site doesn't tell you exactly what you
need to know.  For this class of machine, there are really two
fundamental parts of the system where you may run into trouble: the
on-board network interfaces and the SATA controller.   Server class
machines like this tend to have lowest common denominator graphics
which will just work in VESA mode, and who cares about sound if the
box is in a machine room...

In order to have a chance of predicting whether the system will support
FreeBSD you're going to need to know the Motherboard manufacturer and
model number -- or equivalently the chipsets used on the board.  Then
it's a case of hunting through documentation and mailing list archives
to see what other people's experience has been.  There's also this page
on the FreeBSD site:

http://www.freebsd.org/platforms/amd64/motherboards.html

Best test of all is if you can boot up the amd64 installation media
before deciding to buy or not -- looking through the boot-time dmesg
output will tell you a great deal quickly.

Cheers,

Matthew

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

iD8DBQFGP3ex8Mjk52CukIwRCIqbAKCN5nVBqqyHGkPjs0osh4GV6L7IMQCeJCOG
djobSsEm6PKdWCs6CvUdPp0=
=Zrwm
-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: HARDWARE compatability

2007-05-07 Thread Jean-Paul Natola


Hash: SHA256

Jean-Paul Natola wrote:
 Hi everyone,
 
 I'm looking to retire my PIII freebsd box for something a little more of
age-
 being that I'm at a non-profit I do not have the largest of budgets-
 
 On that note I have never used and AMD before for a server so I was looking
 at this box

http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=17
 40107CatId=1206
 
 it seems pretty good in terms of hardware-cpu speed/ram/raid etc..
 
 and for approx 600 bucks I cant really complain- I'm womdnering if there if
 there are any compatibility issues I need to watch out for , here are the
 specs;
 
   Form Factor2U Rackmounted 
   Processor ClassAthlon64 
   Processor Number3500+ 
   Processor Speed2.20GHz 
   Processor InterfaceSocket AM2 
   Processors Supported1 
   Additional TechnologiesHyperTransport 
   Memory TypeDDR2 
   Total Memory1 GB 
   Memory SpeedDDR2 667 (PC2-5400) 
   Compatible RAID Levels0+1 0,1,5
   Number Of Hard Drives2 
   Hard Drive Size160 GB 
   Hard Drive InterfaceSATA-II 
   Spindle Speed (RPM)7200 
   Buffer Memory8 MB 
   Optical Drive Type52x CD-ROM 
   Communications DescriptionIntegrated LAN 
   Data Transfer Rate10 Mbps   100 Mbps 1000 Mbps

Hmmm... unfortunately that site doesn't tell you exactly what you
need to know.  For this class of machine, there are really two
fundamental parts of the system where you may run into trouble: the
on-board network interfaces and the SATA controller.   Server class
machines like this tend to have lowest common denominator graphics
which will just work in VESA mode, and who cares about sound if the
box is in a machine room...

In order to have a chance of predicting whether the system will support
FreeBSD you're going to need to know the Motherboard manufacturer and
model number -- or equivalently the chipsets used on the board.  Then
it's a case of hunting through documentation and mailing list archives
to see what other people's experience has been.  There's also this page
on the FreeBSD site:


Gigabyte GA-M61PM-S2 
MotherboardNVIDIA(r) GeForce 6100 / nForce 430 
Super I/O chip: ITE IT8716 
Integrated Peripherals 
T.I. IEEE1394 controller 
Realtek RTL8211 Gigabit Ethernet controller 
Realtek ALC883 Audio Codec
AMD Athlon(tm)64/ Sempron(tm) Socket AM2 platform 
Supports high performance Dual-Channel DDR2 800 memory 
Integrated NVIDIA(r) CineFX 3.0 Graphics Engine 
Features NVIDIA(r) SATA 3Gb/s with RAID function 
Optimized Gigabit LAN and IEEE1394 connection 
Enhances security with NVIDIA(r) TCP/IP Acceleration technology 
Features 8 channel High Definition Audio 
RoHS compliant motherboard for green computing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread Chuck Swiger

On May 4, 2007, at 9:10 AM, RW wrote:

On Thu, 03 May 2007 11:07:34 -0400
Chuck Swiger [EMAIL PROTECTED] wrote:

Sun SPARC machines have good HW clocks, and also some of the newer
Macs also seem to have consistently low values in ntp.drift and
handle timekeeping well.


Does that matter?


A good question-- the answer seems to be that it depends.


The RTC time is almost immediately overridden by ntpdate. The
drift is a systematic error that ntpd allows for. I would
have thought that the only significant issue, is whether the system
loses timer interrupts under load.


There are limits to how rapidly ntpd will slew the clock via adjtime 
(); the smaller the intrinsic drift of the HW clock, the sooner any  
adjustment (beyond the initial stepping at system boot via ntpdate)  
will complete.  This only matters to stratum-2 and higher systems--  
anything with a primary reference clock (GPS/WWV/ACTS/etc) is going  
to sync to that and ignore the local HW clock entirely.


--
-Chuck

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


RE: find and timezone

2007-05-07 Thread Ernest Sales
On May 6, 2007 Lowell Gilbert wrote: 

 Ernest Sales [EMAIL PROTECTED] writes:
 
  Could someone explain why this works fine:
 
  # find . -newermt May 2 12:00:09 CET 2007
  [...]
  #
 
  ...whereas this doesn't:
 
  # find . -newermt May 2 12:00:09 CEST 2007
  find: Can't parse date/time: May 2 12:00:09 CEST 2007
  #
 
  (CET: Central European Time, ...S...: Summer)
 
 I don't really know the details, but /usr/share/zoneinfo seems to
 define CET and not CEST.  If you figure out the syntax, it should be
 easy to add the extra abbreviations.


Thanks for the hint. It looks rather difficult; cf tzfile(5), zic(8).

Moreover the system seems to be aware of CEST:

# date
dilluns,  7 de maig de 2007, 21:03:53 CEST
# zdump CEST
CEST  Mon May  7 19:04:03 2007 UTC
#

Looks to me rather as a problem with the way find parses dates. FWIW, my
login.conf reads:

[... my (indirect) login class:]
#
# Usuaris de La Franja. Català, UTF-8 i retocs
#
lafranja|usuaris de La Franja:\
:lang=ca_ES.UTF-8:\
:lc_all=ca_ES.UTF-8:\
:lc_collate=ca_ES.UTF-8:\
:lc_ctype=ca_ES.UTF-8:\
:lc_messages=ca_ES.UTF-8:\
:lc_monetary=ca_ES.UTF-8:\
:lc_numeric=ca_ES.UTF-8:\
:lc_time=ca_ES.UTF-8:\
:charset=UTF-8:\
:tc=default:
[...]

...but only LANG is passed to the environment -- i.e. LC_TIME is not:

# echo $LANG
ca_ES.UTF-8
# echo $LC_TIME
LC_TIME: Undefined variable.

I used to use the output of uname -v (words 5 to 9) with find in a qd
script to backup custom config files, and this is worked around by now. Just
wonder if it deserves a PR.

---
plain text emails preferred, cf http://expita.com/nomime.html

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


Disk problems?

2007-05-07 Thread Jack Barnett

I have a 3ware (AMCC) 9500S-4LP RAID card and 4 disks in 2 Mirror 1 arrays:
Unit 1: 2 x 80 gigs
Unit 2: 2 x 400 gigs

Under windows this was working fine.  Both disks where healthy and running
(I could test this by unplugging one or the other):

Under FreeBSD though, it says it's not working:
May  7 13:57:37 fire kernel: twa0: INFO: (0x04: 0x000B): Rebuild started:
unit=0
May  7 13:57:37 fire kernel: twa0: INFO: (0x04: 0x000B): Rebuild started:
unit=1
May  7 13:57:48 fire kernel: twa0: ERROR: (0x04: 0x003A): Drive power on
reset detected: port=0

The rebuild message is fine, but keeps getting Drive power on reset
detected: port=0

In the 3ware BIOS, it shows all drives as active (ie. powered on and
connected), so don't know why the kernel thinks it's powered down?  Does it
mean something else?

If I just wait for about 20 minutes, the drives start rebuilding:

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
AVrfy
--
u0RAID-1REBUILDING 37  -   -   74.4951   OFFOFF
u1RAID-1REBUILDING 13  -   -   372.519   OFFOFF


(it's in Unit one above, 37% complete).  So even though it's getting this
Drive power on reset detected it eventually rebuilds it's self. ?

Any ideas what this message means?  I thought it was an error, but seems
fine since it's rebuilding it's self. ?

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


FreeBSD Java and Openoffice.org 2.0.3

2007-05-07 Thread Christopher Hilton
Has anyone got Openoffice.org working with the native FreeBSD jdk14 
port? I just built the jdk port and was hoping that Openoffice would 
find the jdk but it doesn't seem to work. I'm hoping that I'm just 
missing some trick but I get:


 javaldx: Could not find a Java Runtime Environment!

at Openoffice.org startup.

I'm running 6.1-STABLE and can provide more specific data in case anyone 
is wondering.


-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Java and Openoffice.org 2.0.3

2007-05-07 Thread Robert Huff

Christopher Hilton writes:

  Has anyone got Openoffice.org working with the native FreeBSD
  jdk14 port?

I've never tried OO 2.*+JDK 1.4; however, OO 2.*+JDK 1.5 and
OO 1.1+JDK 1.4 have both worked for me.
YOu might get better information on the openoffice@ list.


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


Re: Disk problems?

2007-05-07 Thread Jack Barnett

6.2 Release/stable
(synced source as of yesterday, rebuilt and still getting it)



On 5/7/07, Peter A. Giessel [EMAIL PROTECTED] wrote:


On 2007/05/07 11:16, Jack Barnett seems to have typed:
 I have a 3ware (AMCC) 9500S-4LP RAID card and 4 disks in 2 Mirror 1
arrays:
 Unit 1: 2 x 80 gigs
 Unit 2: 2 x 400 gigs

 Under windows this was working fine.  Both disks where healthy and
running
 (I could test this by unplugging one or the other):

 Under FreeBSD though, it says it's not working:

What version of FreeBSD?


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


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread [EMAIL PROTECTED]

On 07/05/07, Chuck Swiger [EMAIL PROTECTED] wrote:

On May 4, 2007, at 9:10 AM, RW wrote:
 On Thu, 03 May 2007 11:07:34 -0400



 Chuck Swiger [EMAIL PROTECTED] wrote:
 Sun SPARC machines have good HW clocks, and also some of the newer
 Macs also seem to have consistently low values in ntp.drift and
 handle timekeeping well.

 Does that matter?

A good question-- the answer seems to be that it depends.


A low value in ntp.drift is inconsequential compared
to a constant or near constant value, which many
motherboards do not support.



 The RTC time is almost immediately overridden by ntpdate. The
 drift is a systematic error that ntpd allows for. I would
 have thought that the only significant issue, is whether the system
 loses timer interrupts under load.

There are limits to how rapidly ntpd will slew the clock via adjtime
(); the smaller the intrinsic drift of the HW clock, the sooner any
adjustment (beyond the initial stepping at system boot via ntpdate)
will complete.  This only matters to stratum-2 and higher systems--
anything with a primary reference clock (GPS/WWV/ACTS/etc) is going
to sync to that and ignore the local HW clock entirely.


If you really need that ultimate precision, by all means
ntpd - ntpd on the LAN is probably the Right Thing,
in conjunction with close temperature control.  For most
uses (keeping two or more given machines within 10ms
or so on the same LAN) timed with one machine synced
to the outside world via ntpd is simpler at the very least.

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


Re: OT - Perl Script in Apache

2007-05-07 Thread Parv
in message [EMAIL PROTECTED],
wrote White Hat thusly...

 Running Apache on a FreeBSD-6.2 machine, I am attempting to set up
 a web page that changes a specific image on a daily basis. I found
 a Perl script that is supposed to do this, but it seems to fail.
 All that is displayed is a red [X]. If I run the script from the
 command line, it works, as it should. Well, at least it displays
 the correct file name.
...
 To display an image simply use this in your HTML:
 img src=/usr/local/www/apache22/data/perl_script.pl
   ^ ^ ^ ^ ^
   ^ ^ ^ ^ ^
Note that here, value for src attribute, the file location which
can be accessed through the web server is needed.  If the Perl
program spits that out, great.  The program posted puts out
additional junk as is.

When you look at the source of the generated page where you use img
tag, what do you actually see?

You may need to employ SSI ...

  http://httpd.apache.org/docs/2.2/howto/ssi.html


... as in ...

  img src=!--#exec cmd=/path/to/perl_script.pl---


Do not forget to mark perl_script.pl executable.


 #!/usr/local/bin/perl
 
 # find out the day of the year
 my $day_of_year = (localtime(time()))[7];
 
 # define the path where the images live . is the
 current directory

Please either carefully reformat the program or post the original as
is.  As you had posted, this program will not even compile as the
comments are not properly wrapped.

...
 print Location: $files[$image_to_use]\n\n;

Does the image appear if you change the print argument to just the
file name, as in ...

  print $files[$image_to_use];

(... for there is no need to generate a HTTP header (which could be
considered erroneous) for your usage for the header has been already
sent as part of the page presented containing the img tag)?


  - Parv

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


scponly chroot doesn´t work FB6.2

2007-05-07 Thread Marcelo Maraboli

Hello

I can´t seem to make scponly work with a chrooted jail. I´ve
read many articles on how FREEBSD´s scripts on making jails
really don´t work and a manual mknod of $jail/dev/null must
be done, but it still does´t work...

I´d appreciate any help

thanks

--
DEBUG INFO:

1.- scponly built as:
cd /usr/ports/shells/scponly/
make -DWITH_SCPONLY_RSYNC -DWITH_SCPONLY_SFTP_LOGGING -DWITH_SCPONLY_WINSCP -DWITH_SCPONLY_CHROOT 
-DWITH_SCPONLY_SCP

make install

2.- dcsc user is defined as:

dcsc:*:2008:160:WWW Admin DCSC:/disk2/chroot//home/dcsc:/usr/local/sbin/scponlyc


3.- This is what I get AFTER making /dev/null and setting
it to 666 chmod.

[EMAIL PROTECTED]:/usr/local/etc/scponly$ scp debuglevel [EMAIL PROTECTED]:fo
Password:
scponly[65605]: chrooted binary in place, will chroot()
scponly[65605]: 3 arguments in total.
scponly[65605]: arg 0 is scponlyc
scponly[65605]: arg 1 is -c
scponly[65605]: arg 2 is scp -t fo
scponly[65605]: opened log at LOG_AUTHPRIV, opts 0x0029
scponly[65605]: retrieved home directory of /disk2/chroot//home/dcsc for user 
dcsc
scponly[65605]: chrooting to dir: /disk2/chroot
scponly[65605]: chdiring to dir: /home/dcsc
scponly[65605]: setting uid to 2008
scponly[65605]: processing request: scp -t fo
scponly[65605]: Unable to find LOG_SFTP in the environment
scponly[65605]: Found USER and setting it to dcsc
scponly[65605]: Unable to find SFTP_UMASK in the environment
scponly[65605]: Unable to find SFTP_PERMIT_CHMOD in the environment
scponly[65605]: Unable to find SFTP_PERMIT_CHOWN in the environment
scponly[65605]: Unable to find SFTP_LOG_LEVEL in the environment
scponly[65605]: Unable to find SFTP_LOG_FACILITY in the environment
scponly[65605]: Environment contains USER=dcsc
scponly[65605]: running: /usr/bin/scp -t fo (username: dcsc(2008), IP/port: 
200.1.21.103 57465 22)
Couldn't open /dev/null: Operation not supportedlost connection


4.- chrooted tree:

[EMAIL PROTECTED]:/disk2/chroot$ ls -lasR
total 18
2 drwxr-xr-x  9 root  wheel  512 May  7 16:15 ./
2 drwxr-xr-x  6 root  wheel  512 May  7 15:56 ../
2 drwxr-xr-x  2 root  wheel  512 May  7 15:57 bin/
2 drwxr-xr-x  2 root  wheel  512 May  7 16:34 dev/
2 drwxr-xr-x  2 root  wheel  512 May  7 15:57 etc/
2 drwxr-xr-x  3 root  wheel  512 May  7 15:58 home/
2 drwxr-xr-x  2 root  wheel  512 May  7 16:42 lib/
2 drwxr-xr-x  2 root  wheel  512 May  7 15:57 libexec/
2 drwxr-xr-x  7 root  wheel  512 May  7 15:57 usr/

./bin:
total 82
 2 drwxr-xr-x  2 root  wheel512 May  7 15:57 ./
 2 drwxr-xr-x  9 root  wheel512 May  7 16:15 ../
 6 -rwxr-xr-x  1 root  wheel   5808 May  7 15:57 chmod*
 4 -rwxr-xr-x  1 root  wheel   3848 May  7 15:57 echo*
 8 -rwxr-xr-x  1 root  wheel   6336 May  7 15:57 ln*
24 -rwxr-xr-x  1 root  wheel  23444 May  7 15:57 ls*
 6 -rwxr-xr-x  1 root  wheel   5068 May  7 15:57 mkdir*
10 -rwxr-xr-x  1 root  wheel   9192 May  7 15:57 mv*
 4 -rwxr-xr-x  1 root  wheel   3932 May  7 15:57 pwd*
12 -rwxr-xr-x  1 root  wheel  10640 May  7 15:57 rm*
 4 -rwxr-xr-x  1 root  wheel   3996 May  7 15:57 rmdir*

./dev:
total 4
2 drwxr-xr-x  2 root  wheel   512 May  7 16:34 ./
2 drwxr-xr-x  9 root  wheel   512 May  7 16:15 ../
0 crw-rw-rw-  1 root  wheel2,   2 May  7 16:34 null
0 crw-rw-rw-  1 root  wheel0,  12 May  7 16:16 random
0 lrwxr-xr-x  1 root  wheel 6 May  7 16:16 urandom@ - random
0 crw-rw-rw-  1 root  wheel0,   7 May  7 16:16 zero

./etc:
total 44
 2 drwxr-xr-x  2 root  wheel512 May  7 15:57 ./
 2 drwxr-xr-x  9 root  wheel512 May  7 16:15 ../
40 -rw-r--r--  1 root  wheel  40960 May  7 15:57 pwd.db

./home:
total 6
2 drwxr-xr-x  3 root  wheel   512 May  7 15:58 ./
2 drwxr-xr-x  9 root  wheel   512 May  7 16:15 ../
2 drwxr-xr-x  2 dcsc  wwwext  512 May  7 16:01 dcsc/

./home/dcsc:
total 20
2 drwxr-xr-x  2 dcsc  wwwext  512 May  7 16:01 ./
2 drwxr-xr-x  3 root  wheel   512 May  7 15:58 ../
2 -rw-r--r--  1 dcsc  wwwext  767 May  7 16:01 .cshrc
2 -rw-r--r--  1 dcsc  wwwext  248 May  7 16:01 .login
2 -rw-r--r--  1 dcsc  wwwext  158 May  7 16:01 .login_conf
2 -rw---  1 dcsc  wwwext  373 May  7 16:01 .mail_aliases
2 -rw-r--r--  1 dcsc  wwwext  331 May  7 16:01 .mailrc
2 -rw-r--r--  1 dcsc  wwwext  797 May  7 16:01 .profile
2 -rw---  1 dcsc  wwwext  276 May  7 16:01 .rhosts
2 -rw-r--r--  1 dcsc  wwwext  975 May  7 16:01 .shrc

.wext  797 May  7 16:01 .profile
2 -rw---  1 dcsc  wwwext  276 May  7 16:01 .rhosts
2 -rw-r--r--  1 dcsc  wwwext  975 May  7 16:01 .shrc

./lib:
total 3094
   2 drwxr-xr-x  2 root  wheel 512 May  7 16:42 ./
   2 drwxr-xr-x  9 root  wheel 512 May  7 16:15 ../
 132 -r--r--r--  1 root  wheel  134060 May  7 16:38 libasn1.so.8
 928 -rwxr-xr-x  1 root  wheel  922668 May  7 15:57 libc.so.6*
   6 -r--r--r--  1 root  wheel5544 May  7 16:38 libcom_err.so.3
  30 -rwxr-xr-x  1 root  wheel   28680 May  7 15:57 libcrypt.so.3*
 992 -rwxr-xr-x  1 root  wheel  996688 May  7 15:57 libcrypto.so.4*
  54 -r--r--r--  1 root  wheel   

Re: mounting an external Hard Drive

2007-05-07 Thread cadu aranha

You didn't say how large your fat 32 filesystem ended up, but if it's
larger than a certain size (128 gigs I think?) you need to recompile your 
kernel with:

options MSDOSFS_LARGE


Yes, it is larger than 128G. I'll do that. Thank you ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: font problems in firefox, thunderbird,.. gtk?

2007-05-07 Thread Jan Zach
screenshots available at

http://ezach.cz/bsd/proper.tiff
http://ezach.cz/bsd/blurred.tiff
http://ezach.cz/bsd/with_fonts.conf.tiff

jan

__
 Od: [EMAIL PROTECTED]
 Komu: Jan Zach [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Datum: 07.05.2007 11:29
 Předmět: Re: font problems in firefox, thunderbird,.. gtk?

Jan Zach wrote:

Yes, I have read this. And also used. I cannot remember why I disabled
it after the problems began. The ~/.fonts.conf is attached. It evidently
affects the fonts in the sense that they are not blurred now but still 
I'm getting different fonts on every start - for instance, sometimes I'm
getting fonts without diacritics, in all cases they differ from usual
firefox/thunderbird default fonts.
Unfortunately I'm not able to send a screenshot as xgrab results in a
core dump and on a picture from camera it cannot be seen :-(
  
If you have it installed, gimp will take screenshots. 
File/Acquire/Screen shot.

--Alex

PS I once go font weirdness after upgrading nvidia-driver to some new-ish
version.  I don't know that I got different fonts every time, but I got
different fonts (or something that looked like it) from the previous
version of nvidia-driver.  In the end, I just downgraded to 1.0.8178_1
since the new version also had hideous interrupt problems which locked my
machine.  This may be *completely unrelated* to your problem!




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


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread RW
On Mon, 7 May 2007 12:30:29 -0700
Chuck Swiger [EMAIL PROTECTED] wrote:

 On May 4, 2007, at 9:10 AM, RW wrote:
  On Thu, 03 May 2007 11:07:34 -0400
  Chuck Swiger [EMAIL PROTECTED] wrote:
  Sun SPARC machines have good HW clocks, and also some of the newer
  Macs also seem to have consistently low values in ntp.drift and
  handle timekeeping well.
 
  Does that matter?
 
 A good question-- the answer seems to be that it depends.
 
  The RTC time is almost immediately overridden by ntpdate. The
  drift is a systematic error that ntpd allows for. I would
  have thought that the only significant issue, is whether the system
  loses timer interrupts under load.
 
 There are limits to how rapidly ntpd will slew the clock via adjtime 
 (); the smaller the intrinsic drift of the HW clock, the sooner any  
 adjustment (beyond the initial stepping at system boot via ntpdate)  
 will complete. 

As I understand it, ntpd uses it's own kernel interface, ntp_adjtime(),
which lets it share some of its internal state with the kernel. The
kernel knows about the time and frequency errors, and makes the
corrections itself every second. 

If the time error is zeroed by ntpdate, and there's a drift-file, I
don't see that the actual drift value makes much difference. I suspect
that any quartz clock is overkill.

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


Optional Wireless Interface

2007-05-07 Thread Cy Schubert
Before I embark on yet another mini project, is there an approach to 
optionally configure an interface only if another interface has not been 
configured? If for example rl0 is configured using DHCP ath0 would not be 
configured.


-- 
Cheers,
Cy Schubert [EMAIL PROTECTED]
FreeBSD UNIX:  [EMAIL PROTECTED]   Web:  http://www.FreeBSD.org

e**(i*pi)+1=0


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


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread Jeffrey Goldberg

On May 7, 2007, at 5:02 PM, RW wrote:


If the time error is zeroed by ntpdate, and there's a drift-file, I
don't see that the actual drift value makes much difference. I suspect
that any quartz clock is overkill.


As someone already mentioned, drift data doesn't really solve the  
problem if the amount of drift varies (often with temperature, and  
sometimes dramatically with sleep).  The clock on my wife's G5 iMac  
seems to be erratic, but I haven't (and won't) bother to investigate  
further.  If her system is up to 2 seconds off for a bit after waking  
from sleep, so be it.  (If I ever start using kerberos around the  
house, I will have to address that.)


If a machine is up for months, ntpdate may have been run in the  
distant past, so you can still a fair amount of error.


ntpd is really a very light weight thing.  When things are ticking  
over nicely, it may make just one query every few hours and still  
keep very good time.


Also, if you have a server facing the Internet, you may wish to run a  
public NTP service on it and contribute it to pool.ntp.org, see


 http://www.pool.ntp.org/join.html

for info.

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread jdow

From: Chuck Swiger [EMAIL PROTECTED]


On May 4, 2007, at 9:10 AM, RW wrote:

On Thu, 03 May 2007 11:07:34 -0400
Chuck Swiger [EMAIL PROTECTED] wrote:

Sun SPARC machines have good HW clocks, and also some of the newer
Macs also seem to have consistently low values in ntp.drift and
handle timekeeping well.


Does that matter?


A good question-- the answer seems to be that it depends.


The RTC time is almost immediately overridden by ntpdate. The
drift is a systematic error that ntpd allows for. I would
have thought that the only significant issue, is whether the system
loses timer interrupts under load.


There are limits to how rapidly ntpd will slew the clock via adjtime (); 
the smaller the intrinsic drift of the HW clock, the sooner any 
adjustment (beyond the initial stepping at system boot via ntpdate)  will 
complete.  This only matters to stratum-2 and higher systems--  anything 
with a primary reference clock (GPS/WWV/ACTS/etc) is going  to sync to 
that and ignore the local HW clock entirely.


On good operating systems, that is to say ones in which the NTP code can
get in and slightly alter the HZ clock timing, it implements a phase
locked loop with a lot of filtering on the data returned in the NTP polls.
So the concept of good oscillator is a little different from what you
might presume. It basically means one that is stable with time and with
temperature variations seen as installed. Wide temperature excursions
(in this context that could be as little as 10 degrees C) can cause
errors. The loop tries to adapt. But time setting might fall back on
frequent correction to be satisfactory.

Most PCs have floor sweepings for their crystal oscillators. Those with
good AT cut crystals are, more or less coincidentally, working at a
temperature that is fairly benign for temperature variations. The frequency
error versus temperature curve for the AT cut crystal is an S curve. It
starts negative at low frequencies (maybe -25 to -50 ppm). It runs up to
a peak, still at relatively low temperature, of about +25 to +50ppm. Then
it runs back down to the -25 to -50ppm range at around 40 to 50 degrees C
depending on the precise angles at which the crystal blank was cut. Then
it swings back upwards again.  The basic error of (only) -25 to -50 ppm
can be tweaked out with software pretty easily. (In the bad old days
trimming the capacitance across the crystal served the same purpose. And
when a precise quartz standard is needed this technique still prevails
in various forms.)

So basically if you either get lucky or the motherboard was built with a
quality (but uncompensated) quartz oscillator you may get relatively good
performance over machine room temperatures. It might be as good as a small
number of parts per million. About 11 ppm is a second a day for reference.
As long as NTP can get in and modify the division ratio, ideally on a tick
per tick basis, it can compensate out time variances to the point that you
remain remarkably accurate even after a day of being disconnected from the
network.

The second major problem is aging. Oscillators change frequency with age.
Precisely how they change depends on the care with which they are made,
the evacuation or leakage of the crystal can, whether the crystal is well
baked out, and how long it has been turned on. Once the oscillator has been
on for a few days NTP can get a decent estimate of the long term aging
characteristics of the oscillator and compensate for it as well. This is
probably why server class motherboards have their good reputation. The
oscillators are still probably floor sweepings or perhaps slightly better
quality premium floor sweepings. But if they are on 24/7 their aging
characteristics pretty much settle down and become predictable. As long
as it is predictable NTP can correct for it.

(FWIW the oscillators on the old block II GPS satellites were intended to
include one Cs standard (as an experiment) and three Rb standards. Rb
standards are not primary standards. But their phase noise qualities are
superior to Cs. Cs is a primary standard. But they do show some variance.

(The military decided they did not want enemies to be able to easily plonk
a cruise missile down Jimmy Carter's toity in the White House. So they
implemented a means to deny accuracy to the enemy. They corrupted the
clock frequencies. I built the frequency synthesizer which did this and
made comments back up the chain that this is also a prime way to ensure
maximum GPS constellation accuracy. When you have a synthesizer capable
of correcting an oscillator to parts per ten to the thirteenth accuracy
you can move the correction up or down to get it to about 2-4 parts per
10^13th. Then you can move up and down one count to cause the average over
time to be something into the ten to the fifteenth range if the oscillator's
accuracy over that interval is good enough. The comments I heard come back
down the chain amounted to yum yum.

(This is essentially what NTP does at tens to 

Re: Time Synchronizing Between Two Servers

2007-05-07 Thread jdow

From: [EMAIL PROTECTED]


On 07/05/07, Chuck Swiger [EMAIL PROTECTED] wrote:

On May 4, 2007, at 9:10 AM, RW wrote:
 On Thu, 03 May 2007 11:07:34 -0400



 Chuck Swiger [EMAIL PROTECTED] wrote:
 Sun SPARC machines have good HW clocks, and also some of the newer
 Macs also seem to have consistently low values in ntp.drift and
 handle timekeeping well.

 Does that matter?

A good question-- the answer seems to be that it depends.


A low value in ntp.drift is inconsequential compared
to a constant or near constant value, which many
motherboards do not support.



 The RTC time is almost immediately overridden by ntpdate. The
 drift is a systematic error that ntpd allows for. I would
 have thought that the only significant issue, is whether the system
 loses timer interrupts under load.

There are limits to how rapidly ntpd will slew the clock via adjtime
(); the smaller the intrinsic drift of the HW clock, the sooner any
adjustment (beyond the initial stepping at system boot via ntpdate)
will complete.  This only matters to stratum-2 and higher systems--
anything with a primary reference clock (GPS/WWV/ACTS/etc) is going
to sync to that and ignore the local HW clock entirely.


If you really need that ultimate precision, by all means
ntpd - ntpd on the LAN is probably the Right Thing,
in conjunction with close temperature control.  For most
uses (keeping two or more given machines within 10ms
or so on the same LAN) timed with one machine synced
to the outside world via ntpd is simpler at the very least.


If you have a 10ms tolerance you fall out of range rather quickly with
rather small errors. 1.1ppm over 2.4 hours is about 10ms. And that is
the range of variance that you can expect with temperature changes. That
is why NTP has a locked loop. It can sense the temperature changes over
the polling interval and compensate.

Note that typical motherboard oscillators are specified as plus or minus
100 ppm. AT cut crystals pretty much used to be 50 ppm devices until the
mass market PC crystals appeared. A reasonably good AT cut crystal should
show a plus to minus 25 ppm variance over -20 C to +70 C or there abouts.
And if the manufacturer felt good the day yours was made it will show a
turnover temperature about that of the inside of your case. But with the
really cheap crystals floating around - don't bet on it.

Machine rooms have more constant temperatures as a rule. That translates
to better stability. And the machines are on 24/7. That translates to
MUCH better stability. (Crystals age VERY rapidly for the first few
hours after turn on. This has to do with particulates and even air
molecules settling on the quartz surface when they are not oscillating.)

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


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread RW
On Mon, 7 May 2007 18:35:13 -0500
Jeffrey Goldberg [EMAIL PROTECTED] wrote:

 On May 7, 2007, at 5:02 PM, RW wrote:
 
  If the time error is zeroed by ntpdate, and there's a drift-file, I
  don't see that the actual drift value makes much difference. I
  suspect that any quartz clock is overkill.
 
 As someone already mentioned, drift data doesn't really solve the  
 problem if the amount of drift varies (often with temperature, and  
 sometimes dramatically with sleep).  The clock on my wife's G5 iMac  
 seems to be erratic, but I haven't (and won't) bother to investigate  
 further.  If her system is up to 2 seconds off for a bit after
 waking from sleep, so be it.  (If I ever start using kerberos around
 the house, I will have to address that.)
 
 If a machine is up for months, ntpdate may have been run in the  
 distant past, so you can still a fair amount of error.
 
 ntpd is really a very light weight thing.  When things are ticking  
 over nicely, it may make just one query every few hours and still  
 keep very good time.

I was questioning the need for a low-drift system clock on a machine
that *is* running ntpd, not the need for ntpd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread jdow

From: Jeffrey Goldberg [EMAIL PROTECTED]


On May 7, 2007, at 5:02 PM, RW wrote:


If the time error is zeroed by ntpdate, and there's a drift-file, I
don't see that the actual drift value makes much difference. I suspect
that any quartz clock is overkill.


As someone already mentioned, drift data doesn't really solve the  
problem if the amount of drift varies (often with temperature, and  
sometimes dramatically with sleep).  The clock on my wife's G5 iMac  
seems to be erratic, but I haven't (and won't) bother to investigate  
further.  If her system is up to 2 seconds off for a bit after waking  
from sleep, so be it.  (If I ever start using kerberos around the  
house, I will have to address that.)


If a machine is up for months, ntpdate may have been run in the  
distant past, so you can still a fair amount of error.


ntpd is really a very light weight thing.  When things are ticking  
over nicely, it may make just one query every few hours and still  
keep very good time.


Also, if you have a server facing the Internet, you may wish to run a  
public NTP service on it and contribute it to pool.ntp.org, see


 http://www.pool.ntp.org/join.html

for info.


Real NTP goes up to 1024 seconds between polls in my experience. (And it
NEVER jam sets when it is working correctly. Of course, with MS crap this
is not necessarily true.)

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


Re: Time Synchronizing Between Two Servers

2007-05-07 Thread Jeffrey Goldberg

On May 7, 2007, at 6:53 PM, RW wrote:


I was questioning the need for a low-drift system clock on a machine
that *is* running ntpd, not the need for ntpd.


Ah, sorry.

However, I was adding a somewhat pedantic point of distinguishing  
between low drift and inconsistent drift.  High but consistent  
drift is better than low but inconsistent drift.


Anyway, jdow obviously knows much more about this than I do.  So I  
will defer to her.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Sound driver problem

2007-05-07 Thread David Kalliecharan

Hello,
I have a problem running sound, I followed the guide but it doesn't work. I
am using a Compaq Prescario v6000 with a AMD sempron and Nvidia go 6150. I
ran:
#kldload snd_driver

and it gave this

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:

also dmesg gave this:

# dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: HP APIC  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Mobile AMD Sempron(tm) Processor 3500+ (1808.24-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x40fc2  Stepping = 2

Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 Features2=0x2001SSE3,CX16
 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow
 AMD Features2=0x19LAHF,b3,CR8
real memory  = 938475520 (895 MB)
avail memory = 900784128 (859 MB)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: HPQOEM SLIC-MPC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_ec0: Embedded Controller: GPE 0x10 port 0x62,0x66 on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
acpi_acad0: AC Adapter on acpi0
battery0: ACPI Control Method Battery on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci_link9: BIOS IRQ 10 for 0.10.INTB is invalid
pci0: ACPI PCI bus on pcib0
pci0: memory, RAM at device 0.0 (no driver attached)
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
pci0: memory, RAM at device 0.6 (no driver attached)
pci0: memory, RAM at device 0.7 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
pci3: ACPI PCI bus on pcib2
pci3: network at device 0.0 (no driver attached)
nvidia0: GeForce Go 6150 mem
0xb200-0xb2ff,0xc000-0xcfff,0xb100-0xb1ff irq 18 at
device 5.0 on pci0
nvidia0: [GIANT-LOCKED]
pci0: memory, RAM at device 9.0 (no driver attached)
isab0: PCI-ISA bridge port 0x1d00-0x1d7f at device 10.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 10.1 (no driver attached)
pci0: processor at device 10.3 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xb0004000-0xb0004fff irq 22 at
device 11.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xb0005000-0xb00050ff irq 22
at device 11.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 8 ports each: usb0
usb1: EHCI (generic) USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
atapci0: nVidia nForce MCP51 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3080-0x308f at device 13.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce MCP51 SATA300 controller port
0x30c0-0x30c7,0x30b4-0x30b7,0x30b8-0x30bf,0x30b0-0x30b3,0x3090-0x309f mem
0xb0006000-0xb0006fff irq 23 at device 14.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
pcib3: ACPI PCI-PCI bridge at device 16.0 on pci0
pci_link0: BIOS IRQ 11 for 7.5.INTA is invalid
pci_link1: BIOS IRQ 11 for 7.5.INTB is invalid
pci7: ACPI PCI bus on pcib3
fwohci0: 1394 Open Host Controller Interface mem 0xbc00-0xbc0007ff irq
9 at device 5.0 on pci7
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:24:1b:00:b7:bb:0b:00
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:24:1b:bb:0b:00
fwe0: Ethernet address: 02:24:1b:bb:0b:00
fwe0: if_start running deferred for Giant
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode

Re: Optional Wireless Interface

2007-05-07 Thread Tom McLaughlin
On Mon, 2007-05-07 at 15:10 -0700, Cy Schubert wrote:
 Before I embark on yet another mini project, is there an approach to 
 optionally configure an interface only if another interface has not been 
 configured? If for example rl0 is configured using DHCP ath0 would not be 
 configured.
 
 

One idea I had was adding some sort of profile support to netif.

rc.conf:
# Network profiles:
netprofile_enable=YES
netprofile_list=HomeWired HomeWifi
HomeWired_ifconfig_em0=DHCP
HomeWifi_ifconfig_iwi0=DHCP

With netprofile_enable set it would cycle through the profile list
stopping with the first that succeeded.  Additionally you could do
`/etc/rc.d/netif action profile` to start up the interfaces associated
with a particular profile.  I wanted to do this since I have home wired
and wifi and work wired and wifi I use my laptop with.  I got distracted
so I stopped looking at the idea.

tom

-- 
| tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org |
| FreeBSD   http://www.FreeBSD.org |
| BSD#http://www.mono-project.com/Mono:FreeBSD |

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


Rough go moving from 5.4-RELEASE to 6.X

2007-05-07 Thread Lane
I'm trying to upgrade from 5.4 to ANYTHING and I'm confounded by buildworld 
failures that don't seem to have been reported.  Please offer any guidance.

First I delete everything in /usr/src (save Makefile and Makefile.inc1) then I

make update

to get the source current.  (/etc/make.conf includes SUP* variables)

then I try

make buildworld 

from /usr/src, and the errors below occur.  Next I try

env -i make buildworld

and I get the same errors.

I've tried to cvsup an entire new source try (after wiping out /usr/src 
and /usr/obj) but STILL get this error.

I've tried with (in /etc/cvsupfile)  tag= each of RELENG_5, RELENG_5_5, 
RELENG_6, and several others.  It even fails when I try to just get the 
source to RELENG_5_4.

Of course the actual failure line(s) are different with each release I've 
tried to build.  The errors listed below are from my latest try for RELENG_6

An example from last year when I tried this for rebuilding 5.4 is at  
http://groups.google.com/group/lucky.freebsd.i386/browse_thread/thread/da9d1d558d607a09/aab6d1588bb93bc1?lnk=stq=undefined+reference+to+%60add_new_float%27rnum=1#aab6d1588bb93bc1

Even after a YEAR I cannot get this system upgraded to 6.x!  In the interim 
I've installed fresh copies of 6.1, 6.2, and -CURRENT on other systems, but 
this one system will not update!  Argh!

I'm not new to this, but I can't seem to find a pr or any information 
in /usr/src/UPDATING which might account for these consistent failures.

Any pointers, no matter HOW OBVIOUS, will be appreciated.  I'm just about LOST 
on this!

Thanks for reading me vent :)

Lane

=== lib/csu/i386-elf (all)
=== lib/libbsm (all)
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/libbsm/../../contrib/openbsm 
-I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm  -c 
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_audit.c
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/libbsm/../../contrib/openbsm 
-I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm  -c 
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_class.c
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/libbsm/../../contrib/openbsm 
-I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm  -c 
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_control.c
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/libbsm/../../contrib/openbsm 
-I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm  -c 
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_event.c
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/libbsm/../../contrib/openbsm 
-I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm  -c 
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_flags.c
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/libbsm/../../contrib/openbsm 
-I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm  -c 
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function 
`close_tag':
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:396: error: 
`AUT_ZONENAME' undeclared (first use in this function)
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:396: error: (Each 
undeclared identifier is reported only once
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:396: error: for each 
function it appears in.)
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function 
`print_tok_type':
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:567: error: 
`AUT_ZONENAME' undeclared (first use in this function)
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function 
`au_fetch_tok':
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:4040: error: 
`AUT_ZONENAME' undeclared (first use in this function)
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function 
`au_print_tok':
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:4212: error: 
`AUT_ZONENAME' undeclared (first use in this function)
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function 
`au_print_tok_xml':
/usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:4386: error: 
`AUT_ZONENAME' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/lib/libbsm.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

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


(no subject)

2007-05-07 Thread Иван Алешкович
Good day
I have a problem with compilation kernel.
when i do make with attach file configuration novellkernel(GENERIC-original 
file configuration), i get error:

nwfs_subr.o(.text+0x19): In function `ncp_extract_file_info':
../../../fs/nwfs/nwfs_subr.c:63: undefined reference to `md_get_mem'
nwfs_subr.o(.text+0x34):../../../fs/nwfs/nwfs_subr.c:66: undefined reference to 
`md_get_uint8'
nwfs_subr.o(.text+0x4b):../../../fs/nwfs/nwfs_subr.c:68: undefined reference to 
`md_get_mem'
nwfs_subr.o(.text+0xd4): In function `ncp_initsearch':
../../../fs/nwfs/nwfs_subr.c:89: undefined reference to `mb_put_uint8'
nwfs_subr.o(.text+0xe8):../../../fs/nwfs/nwfs_subr.c:90: undefined reference to 
`mb_put_uint8'
nwfs_subr.o(.text+0xf6):../../../fs/nwfs/nwfs_subr.c:91: undefined reference to 
`mb_put_uint8'
nwfs_subr.o(.text+0x13f):../../../fs/nwfs/nwfs_subr.c:97: undefined reference 
to `md_get_mem'
nwfs_subr.o(.text+0x19c): In function `ncp_search_for_file_or_subdir':
../../../fs/nwfs/nwfs_subr.c:115: undefined reference to `mb_put_uint8'
nwfs_subr.o(.text+0x1b0):../../../fs/nwfs/nwfs_subr.c:116: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x1be):../../../fs/nwfs/nwfs_subr.c:117: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x1cf):../../../fs/nwfs/nwfs_subr.c:118: undefined reference 
to `mb_put_uint16le'
nwfs_subr.o(.text+0x1e3):../../../fs/nwfs/nwfs_subr.c:119: undefined reference 
to `mb_put_uint32le'
nwfs_subr.o(.text+0x1f4):../../../fs/nwfs/nwfs_subr.c:120: undefined reference 
to `mb_put_mem'
nwfs_subr.o(.text+0x202):../../../fs/nwfs/nwfs_subr.c:121: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x216):../../../fs/nwfs/nwfs_subr.c:122: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x224):../../../fs/nwfs/nwfs_subr.c:123: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x250):../../../fs/nwfs/nwfs_subr.c:128: undefined reference 
to `md_get_mem'
nwfs_subr.o(.text+0x25e):../../../fs/nwfs/nwfs_subr.c:129: undefined reference 
to `md_get_uint8'
nwfs_subr.o(.text+0x30e): In function `ncp_obtain_info':
../../../fs/nwfs/nwfs_subr.c:157: undefined reference to `mb_put_uint8'
nwfs_subr.o(.text+0x320):../../../fs/nwfs/nwfs_subr.c:158: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x32d):../../../fs/nwfs/nwfs_subr.c:159: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x33e):../../../fs/nwfs/nwfs_subr.c:160: undefined reference 
to `mb_put_uint16le'
nwfs_subr.o(.text+0x352):../../../fs/nwfs/nwfs_subr.c:161: undefined reference 
to `mb_put_uint32le'
nwfs_subr.o(.text+0x51f): In function `ncp_open_create_file_or_subdir':
../../../fs/nwfs/nwfs_subr.c:244: undefined reference to `mb_put_uint8'
nwfs_subr.o(.text+0x533):../../../fs/nwfs/nwfs_subr.c:245: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x544):../../../fs/nwfs/nwfs_subr.c:246: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x554):../../../fs/nwfs/nwfs_subr.c:247: undefined reference 
to `mb_put_uint16le'
nwfs_subr.o(.text+0x568):../../../fs/nwfs/nwfs_subr.c:248: undefined reference 
to `mb_put_uint32le'
nwfs_subr.o(.text+0x577):../../../fs/nwfs/nwfs_subr.c:249: undefined reference 
to `mb_put_uint32le'
nwfs_subr.o(.text+0x588):../../../fs/nwfs/nwfs_subr.c:254: undefined reference 
to `mb_put_uint16le'
nwfs_subr.o(.text+0x5d7):../../../fs/nwfs/nwfs_subr.c:262: undefined reference 
to `md_get_uint32le'
nwfs_subr.o(.text+0x5ea):../../../fs/nwfs/nwfs_subr.c:263: undefined reference 
to `md_get_uint8'
nwfs_subr.o(.text+0x5f8):../../../fs/nwfs/nwfs_subr.c:264: undefined reference 
to `md_get_uint8'
nwfs_subr.o(.text+0x666): In function `ncp_close_file':
../../../fs/nwfs/nwfs_subr.c:280: undefined reference to `mb_put_uint8'
nwfs_subr.o(.text+0x679):../../../fs/nwfs/nwfs_subr.c:281: undefined reference 
to `mb_put_mem'
nwfs_subr.o(.text+0x6dc): In function `ncp_DeleteNSEntry':
../../../fs/nwfs/nwfs_subr.c:300: undefined reference to `mb_put_uint8'
nwfs_subr.o(.text+0x6f0):../../../fs/nwfs/nwfs_subr.c:301: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x6fe):../../../fs/nwfs/nwfs_subr.c:302: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x70f):../../../fs/nwfs/nwfs_subr.c:303: undefined reference 
to `mb_put_uint16le'
nwfs_subr.o(.text+0x796): In function `ncp_nsrename':
../../../fs/nwfs/nwfs_subr.c:324: undefined reference to `mb_put_uint8'
nwfs_subr.o(.text+0x7a7):../../../fs/nwfs/nwfs_subr.c:325: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x7b5):../../../fs/nwfs/nwfs_subr.c:326: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x7c6):../../../fs/nwfs/nwfs_subr.c:327: undefined reference 
to `mb_put_uint16le'
nwfs_subr.o(.text+0x7da):../../../fs/nwfs/nwfs_subr.c:329: undefined reference 
to `mb_put_uint8'
nwfs_subr.o(.text+0x7ee):../../../fs/nwfs/nwfs_subr.c:330: undefined reference 
to `mb_put_mem'
nwfs_subr.o(.text+0x7fc):../../../fs/nwfs/nwfs_subr.c:331: undefined reference 
to `mb_put_uint8'

Re: Rough go moving from 5.4-RELEASE to 6.X

2007-05-07 Thread RW
On Mon, 7 May 2007 20:07:09 -0500
Lane [EMAIL PROTECTED] wrote:

 I'm trying to upgrade from 5.4 to ANYTHING and I'm confounded by
 buildworld failures that don't seem to have been reported.  Please
 offer any guidance.
 
 First I delete everything in /usr/src (save Makefile and
 Makefile.inc1) then I
 
 make update
 
 to get the source current.  (/etc/make.conf includes SUP* variables)
 
 then I try
 
 make buildworld 
 
 from /usr/src, and the errors below occur.  Next I try
 
 env -i make buildworld
 
 and I get the same errors.
 
 I've tried to cvsup an entire new source try (after wiping
 out /usr/src and /usr/obj) but STILL get this error.
 
 I've tried with (in /etc/cvsupfile)  tag= each of RELENG_5,
 RELENG_5_5, RELENG_6, and several others.  It even fails when I try
 to just get the source to RELENG_5_4.

Did you check UPDATING to see that you actually had the source
for  RELENG_5_4?

Have you tried using an empty make.conf file?

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


Re: disaster recovery - did I do the right thing?

2007-05-07 Thread Ian Smith
On Sat, 5 May 2007 17:05:42 -0600 Ray [EMAIL PROTECTED] wrote:

  Hello all,
  I did something stupid the other day (sleep deprivation combined with 
  a clever hack were the main reasons), and I'm just curious if I did the 
  right thing afterwards.
  
  The mistake:
  /usr/local/# rm -f *
  note that root was running bash as a shell at the time, found 
  in /usr/local/bin or something.
  
  What I did was to start over, reinstall from scratch.
  my question, was there an easier way?

Ray, I've been watching this thread, and you've had some good advice
about backups etc, but if you really did 'rm -f *' in /usr/local (NOT
'rm -rf *') then it's very likely that you deleted no files at all.

paqi% ll -rt /usr/local
total 134
drwxr-xr-x3 root  wheel512 Feb  9  2006 VFS
-rw-r--r--1 root  wheel  0 Aug 27  2006 moved_portsnap_from_var_db
drwxr-xr-x3 root  wheel512 Dec  3 22:31 src
drwxr-xr-x8 root  wheel512 Dec 10 17:17 www
drwxr-xr-x7 root  wheel512 Dec 10 19:34 libdata
drwxr-xr-x2 root  wheel512 Dec 10 19:52 build-1
drwxr-xr-x9 root  wheel512 Dec 10 21:59 libexec
drwxr-xr-x2 root  wheel512 Dec 10 22:14 env
drwxr-xr-x2 root  wheel   2048 Dec 10 22:53 info
drwxr-xr-x6 root  wheel512 Dec 10 23:23 gnu-autotools
drwxr-xr-x7 root  wheel512 Dec 27 16:33 diablo-jre1.5.0
drwxr-xr-x3 root  wheel  25088 Jan 28 01:36 bin
drwxr-xr-x   83 root  wheel   1536 Feb 11 22:37 share
drwxr-xr-x  139 root  wheel  24064 Feb 12 18:35 include
drwxr-xr-x   33 root  wheel  55296 Feb 12 18:35 lib
drwxr-xr-x   27 root  wheel   1536 Feb 12 18:38 etc
drwxr-xr-x2 root  wheel   1024 Mar  3 20:53 sbin
drwxr-xr-x3 root  wheel512 Mar 29 23:20 portsnap
drwxr-xr-x   28 root  wheel   1024 May  5 04:22 man

The only file 'rm -f *' in /usr/local would remove here is a comment I
made for myself with 'touch moved_portsnap_from_var_db'; 'rm *' (with or
without -f) does not remove directories (unless you also use -r).

I can't say what was in _your_ /usr/local, but I've just checked on 4.8,
4.10, 5.5-STABLE and 6.1-RELEASE systems, and none of them install plain
files in /usr/local at all, just directories.  So you may be lucky .. 

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: mounting an external Hard Drive

2007-05-07 Thread Ian Smith
On Mon, 7 May 2007 19:55:33 +0200, cadu aranha [EMAIL PROTECTED] wrote:

  Hello people,
  i have a USB external HD with FAT32 fs.
  Today i connected it to my FBSD and
  got the following mesg entry:
  
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: SAMSUNG SP2514N  Fixed Direct Access SCSI-0 device
  da0: 1.000MB/s transfers
  da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
  
  # ls /dev/da0*
  /dev/da0/dev/da0s1  /dev/da0s2  /dev/da0s5

Note the appearance of /dev/da0s5 ..

  mount_ntfs /dev/da0s1 /mnt
  #% ok, it worked. Now
  # mount_ntfs /dev/da0s2 /mnt2
  mount_ntfs: /dev/da0s2: Invalid argument
  
  #%of course, it is a FAT32 filesystem. Then ...
  # mount_msdosfs /dev/da0s2 /mnt2
  mount_msdosfs: /dev/da0s2: Invalid argument
  # mount_msdosfs /dev/da0s5 /mnt2
  mount_msdosfs: /dev/da0s5: Invalid argument
  # dmesg
  mountmsdosfs(): disk too big, sorry
  
  # fsck_msdosfs /dev/da0s2
  ** /dev/da0s2
  Invalid signature in fsinfo blockfix? [yn] y
  Floating exception (core dumped)

Ouch; hopefully didn't screw up anything.  Check with Partition Magic?

  I do not know what else could i do.
  It was a 250G HG with NTFS. The whole could be mounted
  by mount_ntfs. Then i split it in one NTFS and one FAT32
  using Partition magic. Now i can mount the former and the
  latter not. On windows there is no problem in mounting.

The FAT32 is in what DOS calls the 'Extended Partition', here da0s2.  It
could contain a number of 'DOS drives' like D:, E:, etc.  Here you have
made one 'DOS drive', probably 'drive D:', and it's accessed in FreeBSD
as slice ad0s5.  DOS 'drive E:' would be accessed as ad0s6 and so on;
this way you can mount multiple MSDOSFS, NTFS and HPFS 'partitions'.

So the 'Extended Partition' da0s2 is not mountable per se; try
'mount_msdosfs /dev/da0s5' and likewise 'fsck_msdosfs /dev/da0s5'

You'll still need the MSDOSFS_LARGE support if your FAT32 slice ad0s5 is
over 128GB by itself.

Cheers, Ian

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