Re: Newbie question: Why aren't my cron jobs running?

2012-06-13 Thread Walter Hurry
On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote:

 The syntax of his crontab file is correct.  Vixie cron does care about
 leading spaces, tabs, extra spaces, or leading zeros.  Earlier versions
 of cron are much pickier about the crontab file.   The cron logs show
 that it is starting his jobs at the correct times.
 
 It is far more likely that there is a problem with the scripts.  A very
 common cause of problems with scripts run from cron is that they do not
 inherit your environment.   Do the scripts run from the command line? 
 If the do, then the problem is most likely something in your environment
 that the scripts need.

I'm a complete idiot, and I feel embarrassed. Everything was fine, except 
that I had missed out '/bin' in the paths of the jobs.

I had:
/home/walterh/exports.sh
/home/walterh/backup_etc.sh
/home/walterh/systemcheck.sh
/home/walterh/backup_bsd.sh

which should of course have been:
/home/walterh/bin/exports.sh
/home/walterh/bin/backup_etc.sh
/home/walterh/bin/systemcheck.sh
/home/walterh/bin/backup_bsd.sh

What a stupid mistake! Thanks for all the replies, but I must say sorry 
for wasting your time. Sorry!

WH

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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-13 Thread Chris
On 6/13/2012 6:23 PM, Walter Hurry wrote:
 On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote:
 
 The syntax of his crontab file is correct.  Vixie cron does care about
 leading spaces, tabs, extra spaces, or leading zeros.  Earlier versions
 of cron are much pickier about the crontab file.   The cron logs show
 that it is starting his jobs at the correct times.

 It is far more likely that there is a problem with the scripts.  A very
 common cause of problems with scripts run from cron is that they do not
 inherit your environment.   Do the scripts run from the command line? 
 If the do, then the problem is most likely something in your environment
 that the scripts need.
 
 I'm a complete idiot, and I feel embarrassed. Everything was fine, except 
 that I had missed out '/bin' in the paths of the jobs.
 
 I had:
 /home/walterh/exports.sh
 /home/walterh/backup_etc.sh
 /home/walterh/systemcheck.sh
 /home/walterh/backup_bsd.sh
 
 which should of course have been:
 /home/walterh/bin/exports.sh
 /home/walterh/bin/backup_etc.sh
 /home/walterh/bin/systemcheck.sh
 /home/walterh/bin/backup_bsd.sh
 
 What a stupid mistake! Thanks for all the replies, but I must say sorry 
 for wasting your time. Sorry!
 
 WH

... Damned those full path names.


-- 
Keep well,

Chris
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbie question: Why aren't my cron jobs running?

2012-06-12 Thread Ramiro Caso

On 11/06/2012 23:10, Michael Sierchio wrote:

On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry walterhu...@gmail.com wrote:

As the subject says, this is probably a newbie question (I am new to
FreeBSD but quite experienced at Linux).

FreeBSD9 on x86_64.

Cron is running:

$ ps -ax|grep cron

  1513  ??  Is 0:00.01 /usr/sbin/cron -s

  2283   0  S+ 0:00.00 grep cron

$

I have a syntactically valid crontab:

$ crontab -l
#min hr dom month dow command

SHELL=/bin/bash


Pitfall: Even if bash is installed, it's not usually under /bin, but 
under /usr/local/bin




PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
daddy/bin

HOME=/home/walterh

  00  02 *   * *   /home/walterh/exports.sh

  05  02 *   * *   /home/walterh/backup_etc.sh

  10  02 *   * *   /home/walterh/systemcheck.sh

  15  02 *   * *   /home/walterh/backup_bsd.sh

$

So what is wrong? Why is nothing happening? I have consulted the handbook
but see nothing.

Have you installed bash?  It's not in the system base.

What's in your shell scripts?

- M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-12 Thread Mark Felder
On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi  
bon...@mail.r-bonomi.com wrote:


Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) --  
you
are *strongly* encocuraged to remove them.  Yes, that means numbers will  
not
be column aligned, but it is a small price to pay to avoid the  
hair-tearing

that =will= ensue when using it bites you.


Any other info on this? I've never heard of this before and I've never  
seen an issue using leading zeroes on the minutes value.

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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-12 Thread Lowell Gilbert
Mark Felder f...@feld.me writes:

 On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi
 bon...@mail.r-bonomi.com wrote:

 Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- 
 you
 are *strongly* encocuraged to remove them.  Yes, that means numbers
 will not
 be column aligned, but it is a small price to pay to avoid the
 hair-tearing
 that =will= ensue when using it bites you.

 Any other info on this? I've never heard of this before and I've never
 seen an issue using leading zeroes on the minutes value.

I don't have ready access to source at the moment, but I would expect
(like the normal C I/O functions) it will be interpreted as octal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbie question: Why aren't my cron jobs running?

2012-06-12 Thread Mark Felder
On Tue, 12 Jun 2012 09:36:37 -0500, Lowell Gilbert  
freebsd-questions-lo...@be-well.ilk.org wrote:



I don't have ready access to source at the moment, but I would expect
(like the normal C I/O functions) it will be interpreted as octal.


Suppose we could always ask Paul Vixie :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbie question: Why aren't my cron jobs running?

2012-06-12 Thread Polytropon
On Tue, 12 Jun 2012 08:29:02 -0500, Mark Felder wrote:
 On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi  
 bon...@mail.r-bonomi.com wrote:
 
  Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) --  
  you
  are *strongly* encocuraged to remove them.  Yes, that means numbers will  
  not
  be column aligned, but it is a small price to pay to avoid the  
  hair-tearing
  that =will= ensue when using it bites you.
 
 Any other info on this? I've never heard of this before and I've never  
 seen an issue using leading zeroes on the minutes value.

There are some specific interpretations that _may_ be
interpreted according to the C rules, e. g. prefix 0x-
for hexadecimal or 08- for octal notation. For example,
083 != 83, just as 0x83 != 83. As it has been mentioned,
spaces also have a significant meaning in crontabs, so
they cannot be used everywhere to align data columns.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbie question: Why aren't my cron jobs running?

2012-06-12 Thread Dan Lists
On Tue, Jun 12, 2012 at 12:06 PM, Polytropon free...@edvax.de wrote:
 On Tue, 12 Jun 2012 08:29:02 -0500, Mark Felder wrote:
 On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi
 bon...@mail.r-bonomi.com wrote:

  Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) --
  you
  are *strongly* encocuraged to remove them.  Yes, that means numbers will
  not
  be column aligned, but it is a small price to pay to avoid the
  hair-tearing
  that =will= ensue when using it bites you.

 Any other info on this? I've never heard of this before and I've never
 seen an issue using leading zeroes on the minutes value.

 There are some specific interpretations that _may_ be
 interpreted according to the C rules, e. g. prefix 0x-
 for hexadecimal or 08- for octal notation. For example,
 083 != 83, just as 0x83 != 83. As it has been mentioned,
 spaces also have a significant meaning in crontabs, so
 they cannot be used everywhere to align data columns.


The syntax of his crontab file is correct.  Vixie cron does care about
leading spaces, tabs, extra spaces, or leading zeros.  Earlier
versions of cron are much pickier about the crontab file.   The cron
logs show that it is starting his jobs at the correct times.

It is far more likely that there is a problem with the scripts.  A
very common cause of problems with scripts run from cron is that they
do not inherit your environment.   Do the scripts run from the command
line?  If the do, then the problem is most likely something in your
environment that the scripts need.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
As the subject says, this is probably a newbie question (I am new to 
FreeBSD but quite experienced at Linux).

FreeBSD9 on x86_64.

Cron is running:

$ ps -ax|grep cron

 1513  ??  Is 0:00.01 /usr/sbin/cron -s

 2283   0  S+ 0:00.00 grep cron

$

I have a syntactically valid crontab:

$ crontab -l
#min hr dom month dow command

SHELL=/bin/bash

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
daddy/bin

HOME=/home/walterh

 00  02 *   * *   /home/walterh/exports.sh

 05  02 *   * *   /home/walterh/backup_etc.sh

 10  02 *   * *   /home/walterh/systemcheck.sh

 15  02 *   * *   /home/walterh/backup_bsd.sh

$ 

So what is wrong? Why is nothing happening? I have consulted the handbook 
but see nothing.

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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry walterhu...@gmail.com wrote:
 As the subject says, this is probably a newbie question (I am new to

 FreeBSD but quite experienced at Linux).

 FreeBSD9 on x86_64.

 Cron is running:

 $ ps -ax|grep cron

  1513  ??  Is     0:00.01 /usr/sbin/cron -s

  2283   0  S+     0:00.00 grep cron

 $

 I have a syntactically valid crontab:

 $ crontab -l
 #min hr dom month dow command

 SHELL=/bin/bash

 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
 daddy/bin

 HOME=/home/walterh

  00  02 *   *     *   /home/walterh/exports.sh

  05  02 *   *     *   /home/walterh/backup_etc.sh

  10  02 *   *     *   /home/walterh/systemcheck.sh

  15  02 *   *     *   /home/walterh/backup_bsd.sh

 $

 So what is wrong? Why is nothing happening? I have consulted the handbook
 but see nothing.

Have you installed bash?  It's not in the system base.

What's in your shell scripts?

- M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote:

 Have you installed bash?  It's not in the system base.
 
 What's in your shell scripts?

Thanks for the quick response.

$ pkg_info|grep bash

bash-4.2.28 The GNU Project's Bourne Again SHell

$ which bash

/bin/bash

$ 

$ less $HOME/bin/exports.sh

#!/bin/bash

LOG=$HOME/log/exports.log

logger -t walterh-cronjob Exports started

echo Exports started at `date`  $LOG

rm $HOME/postgresql/*

psql packages -f $HOME/sql/exports.sql

cd $HOME/postgresql

tar cfz postgresql.tgz *

rm *csv

echo Exports finished at `date`  $LOG

logger -t walterh-cronjob Exports finished

/home/walterh/bin/exports.sh (END)

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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 7:25 PM, Walter Hurry walterhu...@gmail.com wrote:

cat /etc/shells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
On Mon, 11 Jun 2012 21:21:12 -0500, Adam Vande More wrote:

 You really have bash in /bin ?  Are your scripts executable?  What does
 /var/log/cron say?

$ file /bin/bash

/bin/bash: symbolic link to `/usr/local/bin/bash'

$ sudo tail -50 /var/log/cron (result snipped at 02:22:00 for brevity)

Jun 12 01:55:00 jupiter /usr/sbin/cron[1780]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1823]: (root) CMD (newsyslog)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1825]: (operator) CMD (/usr/
libexec/save-entropy)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1824]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1836]: (walterh) CMD (/home/
walterh/exports.sh)

Jun 12 02:01:00 jupiter /usr/sbin/cron[1849]: (root) CMD (adjkerntz -a)

Jun 12 02:05:00 jupiter /usr/sbin/cron[1874]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:05:00 jupiter /usr/sbin/cron[1875]: (walterh) CMD (/home/
walterh/backup_etc.sh)

Jun 12 02:10:00 jupiter /usr/sbin/cron[1912]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:10:00 jupiter /usr/sbin/cron[1913]: (walterh) CMD (/home/
walterh/systemcheck.sh)

Jun 12 02:11:00 jupiter /usr/sbin/cron[1924]: (operator) CMD (/usr/
libexec/save-entropy)

Jun 12 02:15:00 jupiter /usr/sbin/cron[1981]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:15:00 jupiter /usr/sbin/cron[1982]: (walterh) CMD (/home/
walterh/backup_bsd.sh)

Jun 12 02:20:00 jupiter /usr/sbin/cron[2013]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:22:00 jupiter /usr/sbin/cron[2025]: (operator) CMD (/usr/
libexec/save-entropy)

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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
On Mon, 11 Jun 2012 19:36:28 -0700, Michael Sierchio wrote:

 cat /etc/shells

$ cat /etc/shells
# $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/bash
/usr/local/bin/rbash
$

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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Chris
On 6/11/2012 9:25 PM, Walter Hurry wrote:
 On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote:
 
 Have you installed bash?  It's not in the system base.

 What's in your shell scripts?
 
 Thanks for the quick response.
 
 $ pkg_info|grep bash
 
 bash-4.2.28 The GNU Project's Bourne Again SHell
 
 $ which bash
 
 /bin/bash
 
 $ 
 
 $ less $HOME/bin/exports.sh
 
 #!/bin/bash
 
 LOG=$HOME/log/exports.log
 
 logger -t walterh-cronjob Exports started
 
 echo Exports started at `date`  $LOG
 
 rm $HOME/postgresql/*
 
 psql packages -f $HOME/sql/exports.sql
 
 cd $HOME/postgresql
 
 tar cfz postgresql.tgz *
 
 rm *csv
 
 echo Exports finished at `date`  $LOG
 
 logger -t walterh-cronjob Exports finished
 
 /home/walterh/bin/exports.sh (END)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 


I tend to use full path names in my shell scripts.
So for shits n giggles, try that.
Instead of tar cfz postgresql.tgz *
Try /bin/tar cfz postgresql.tgz *  etc, etc, etc

Use the paths for all commands such as rm, psql, logger etc.

-- 
Keep well,

Chris
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Robert Bonomi

Walter Hurry walterhu...@gmail.com wrote:

 As the subject says, this is probably a newbie question (I am new to 
 FreeBSD but quite experienced at Linux).

 FreeBSD9 on x86_64.

 Cron is running:

 $ ps -ax|grep cron

  1513  ??  Is 0:00.01 /usr/sbin/cron -s

  2283   0  S+ 0:00.00 grep cron

 $

 I have a syntactically valid crontab:

'Syntactically valid', yes, but I believe it does not mean what you think
it does applies.  more below.

 $ crontab -l
 #min hr dom month dow command

 SHELL=/bin/bash

 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
 daddy/bin

 HOME=/home/walterh

  00  02 *   * *   /home/walterh/exports.sh

  05  02 *   * *   /home/walterh/backup_etc.sh

  10  02 *   * *   /home/walterh/systemcheck.sh

  15  02 *   * *   /home/walterh/backup_bsd.sh

 $ 

 So what is wrong? Why is nothing happening? I have consulted the handbook 
 but see nothing.

It _appears_ that there is whitespace _before_ the purporte 'minutes' value 
on each line that you intend to invoke a command.  If so, -THAT- is probably
what is causinng the unexpected behavior.  I believe cron is looking for
the 'minutes' value _before_ any white space, and using a value of '0' when
it finds 'nothing' before the white-space Field-separator.  That, thus,
the all the commands run at 'zero minutes' past the various hours, on the
-second- day of the month, and that command-line that cron would -attempt-
to execute on the 2nd looks like, *   /home/walterh/systemcheck.sh, which,
of course will have *wildly* unexpected results, epecially if the first
element of the '*' expansion _is_ marked as executable.

Remove the leading white-space and things should work the way you 'expect'.

Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- you
are *strongly* encocuraged to remove them.  Yes, that means numbers will not
be column aligned, but it is a small price to pay to avoid the hair-tearing
that =will= ensue when using it bites you.


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


Question about FreeBSD for IA-64 software

2012-06-09 Thread Denis Guzanov
Dear FreeBSD Team,

Firstly I would like to say you Big thanks for your really good job and the
best system for us, small IT staff.

Second, I would like to ask you about some problem with FreeBSD source.

I've downloaded .iso Image from this link:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ia64/ISO-IMAGES/9.0/following
.iso file: FreeBSD-9.0-RELEASE-ia64-release.iso

And when I tried to install it I have nothing I did it many times, but
have no result. When I've downloaded 8.3 version Installation was completed
successfully.

Dear FreeBSD Team, could you, please, check your .iso file for IA-64
systems or maybe consult me what I need to do?


Thanks and Best regards,
Denis.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about FreeBSD for IA-64 software

2012-06-09 Thread Mehmet Erol Sanliturk
On Sat, Jun 9, 2012 at 4:45 AM, Denis Guzanov guzanov...@gmail.com wrote:

 Dear FreeBSD Team,

 Firstly I would like to say you Big thanks for your really good job and the
 best system for us, small IT staff.

 Second, I would like to ask you about some problem with FreeBSD source.

 I've downloaded .iso Image from this link:

 ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ia64/ISO-IMAGES/9.0/following
 .iso file: FreeBSD-9.0-RELEASE-ia64-release.iso

 And when I tried to install it I have nothing I did it many times, but
 have no result. When I've downloaded 8.3 version Installation was completed
 successfully.

 Dear FreeBSD Team, could you, please, check your .iso file for IA-64
 systems or maybe consult me what I need to do?


 Thanks and Best regards,
 Denis.




From your question , it is not possible to understand which 8.3 version is
used .

It is very unlikely that 9.0 fails completely but 8.3 succeeds completely .


ia64 is for Itanium 64 processor ,
amd64 is Intel and AMD 64-bit capable desktop or notebook processors  .

They are different processors , and one can not execute code for the other .

Thank you very much .

Mehmet Erol Sanliturk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about FreeBSD for IA-64 software

2012-06-09 Thread Julian H. Stacey
Hi,
Reference:
 From: Denis Guzanov guzanov...@gmail.com 
 Date: Sat, 9 Jun 2012 15:45:54 +0400 
 Message-id:   
 CAMUH=P1HGivtRUsgSz9_XYt-wLBh-8cFvq=i5fs6hn1ittk...@mail.gmail.com 

Denis Guzanov wrote:
 Dear FreeBSD Team,
 
 Firstly I would like to say you Big thanks for your really good job and the
 best system for us, small IT staff.
 
 Second, I would like to ask you about some problem with FreeBSD source.
 
 I've downloaded .iso Image from this link:
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ia64/ISO-IMAGES/9.0/following
 iso file: FreeBSD-9.0-RELEASE-ia64-release.iso

did you check the MD5 ?

 And when I tried to install it I have nothing

You'll need to be more specific.

 I did it many times, but
 have no result. When I've downloaded 8.3 version Installation was completed
 successfully.
 
 Dear FreeBSD Team, could you, please, check your .iso file for IA-64
 systems or maybe consult me what I need to do?
 
 
 Thanks and Best regards,
 Denis.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 


Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Somewhat OT - A Makefile Question

2012-06-07 Thread Tim Daneliuk

On 06/07/2012 12:19 AM, Parv wrote:

in message4fcf48af@tundraware.com,
wrote Tim Daneliuk thusly...



...

Within a makefile, I need to assign the name of a program as in:

FOO = bar.

The problem is that 'bar' may also be know as, say, bar.sh.

...

Is there a simple way to determine which form bar or bar.sh on
on a given system *at the time the make is run*?  If both exist, I
will pick one arbitrarily,

...

  For example I don't think this works when both are there:

FOO = $(shell `which bar bar.sh)


Modify the subshell command to ...

   which bar bar.sh | head -n 1


... as in (for FreeBSD make) ...

   shell=`which zsh sh tcsh csh 2/dev/null | fgrep -v 'not found' | head -n 3`

   all:
 @printf %s\n ${shell}



   - parv



Thanks.  I came up with something similar, but I think your recipe is a bit
more elegant ...

--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: Somewhat OT - A Makefile Question

2012-06-07 Thread parv
in message 4fd0adfb.8030...@tundraware.com,
wrote Tim Daneliuk thusly...

 On 06/07/2012 12:19 AM, Parv wrote:
  in message4fcf48af@tundraware.com,
  wrote Tim Daneliuk thusly...
 
  ...
  Within a makefile, I need to assign the name of a program as
  in:
 
  FOO = bar.
 
  The problem is that 'bar' may also be know as, say, bar.sh.
  ...
  Is there a simple way to determine which form bar or bar.sh
  on on a given system *at the time the make is run*?  If both
  exist, I will pick one arbitrarily,
  ...
For example I don't think this works when both are there:
 
  FOO = $(shell `which bar bar.sh)
 
  Modify the subshell command to ...
 
 which bar bar.sh | head -n 1
 
 
  ... as in (for FreeBSD make) ...
 
 shell=`which zsh sh tcsh csh 2/dev/null | fgrep -v 'not found' | head 
  -n 3`
...
 Thanks.

Happy to help.


 I came up with something similar, but I think your recipe is a bit
 more elegant ...

It was If both exist, I will pick one arbitrarily ...  that
helped much in modification of the original.


  - parv

-- 

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


Somewhat OT - A Makefile Question

2012-06-06 Thread Tim Daneliuk

Not strictly FBSD, but ...

Within a makefile, I need to assign the name of a program as in:

FOO = bar.

The problem is that 'bar' may also be know as, say, bar.sh.  Worse still
both bar and bar.sh can exist with one linked to the other.  Is there
a simple way to determine which form bar or bar.sh on on a given
system *at the time the make is run*?  If both exist, I will pick
one arbitrarily, I just don't want the detection mechanism to fail when
this is the case.  For example I don't think this works when both
are there:

FOO = $(shell `which bar bar.sh)

Thanks,
--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: Somewhat OT - A Makefile Question

2012-06-06 Thread Parv
in message 4fcf48af@tundraware.com,
wrote Tim Daneliuk thusly...

...
 Within a makefile, I need to assign the name of a program as in:

 FOO = bar.

 The problem is that 'bar' may also be know as, say, bar.sh.
...
 Is there a simple way to determine which form bar or bar.sh on
 on a given system *at the time the make is run*?  If both exist, I
 will pick one arbitrarily,
...
  For example I don't think this works when both are there:

 FOO = $(shell `which bar bar.sh)

Modify the subshell command to ...

  which bar bar.sh | head -n 1


... as in (for FreeBSD make) ...

  shell=`which zsh sh tcsh csh 2/dev/null | fgrep -v 'not found' | head -n 3`

  all:
@printf %s\n ${shell}



  - parv

-- 

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


Re: question on SYN_SENT

2012-06-04 Thread Chad Leigh Shire.Net LLC

On May 11, 2012, at 6:06 PM, Robert Bonomi wrote:
 
 'Should not' does not mean 'is not'. and unfortunately, it -is- attempting
 to go out.
 
 There are at least a couple of possible explanations, none of them good.
  1) the jail is attempting a DoS (or participating in  DDoS) against an
 Israeli _government_ network/machine.
  2) the jail is 'owned' by a botnet, and is trying to 'phone home' for
 instructions.

Sorry for the delay in response.  Did not mean to ignore this.  Was busy 
figuring out and correcting this (and then the other normal day to day stuff 
that comes up).

Yes, it looks like a customer's JBOSS installation had been hacked.  It was 
running in its own jail with RO mounting of /usr (except /usr/local) and /bin 
/sbin and other system directories.  It was basically scanning for more open 
JBOSS stuff.  The attack had just barely happened (the server had just been 
installed).  I disabled the JBOSS and cleaned everything up and scanned the 
jail for problem files etc.  Customer fixed the JBOSS vulnerability (well known 
one) and decided to leave it off for now.

Thanks for all the help on this

Chad


--

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


Re: Hardware compatability question

2012-05-31 Thread Kaya Saman
Hi,

it's not really about the machines but more the hardware.

FreeBSD is quite diverse in what it can run on so best bet check the
HCL's off the www.freebsd.org website as that would give you the best
idea!

Otherwise just install and see what works and doesn't. FreeBSD is
pretty comprehensive of H/W support.



I would say if you were moving away from MS, FreeBSD is a great choice
and probably the best out there providing you don't need something
specific - you will need to get used to the CLI environment but once
that's worked out it's a sinch.


I am now introducing *BSD to my company too and trying to move them
away from Linux which has it's own caveats.


Good luck with the move, I'd love to give you a full-blown sales pitch
but unfortunatley don't have time right now. - though it would be
kinda useless as FreeBSD really sells itself if you know what it can
do for you!


Regards,


Kaya


On Thu, May 31, 2012 at 3:23 PM,  phnxcs_...@lycos.com wrote:

     Hello,
   I am moving away from MS products due to security  and stability
   concerns.  Below are the machines I use and would like  to know which
   version of FreeBSD will work best with each.  The compu ters are used
   at home and away, for e-mail, preparing documents, databases , and
   spredsheets, as well as, web browsing and some begining programing    
 (Perl, C, HTML, and Assembely I think).
   Here are the notes on my machines:
   HP Compaq CQ5300Y
   MOBO M2N68-LA (Narra5)
   AMD Sempron LE-1300 2.30GHz
   Vidio Card NVIDIA GeForce  6150SE nForce 430
   RAM: PC2-6400 MB/sec 2 Gigs RAM
   HD: WDC WD32 00AAJS-65M0A SCSI 320 Gig HD
   Toshiba Satel lite A205-S5880
   Intel Pentium Dual CPU T2390 @ 1.86 GH
   Vidio Card: Mobile Intel 965 Express Chipset
   RAM: 3 Gigs
      HD: Toshiba MK2046GSX ATA
   Both where bought new and  are stock off the shelf models.
   Thank you for your fine efforts  and your time in this,
   Phnxcs_rep
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Bsdtech QUESTION

2012-05-30 Thread Alex
Hi,
We have managed to secure the domain Bsdtech.com for one of our
web apps however we have decided to change the name
and secure a different name that suits out project better.
If you would be interested in purchasing this domain please
don't hesitate to contact us.

Thanks
Alex Verdea
NameConsultants LLC.
PO BOX 1522
Enka, NC 28728
828-367-7030 (mobile)

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


question about milter software

2012-05-25 Thread Wojciech Puchar
Does anyone know milter software (or maybe anything else) to add to 
sendmail that can rewrite outgoing mail and add HTML footer automatically?


Please do not tell me about how stupid HTML mail is at all - i know it, it 
is not my idea.


thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Somewhat OT: CVS Question

2012-05-25 Thread Tim Daneliuk

Forgive the OT nature of this, but FBSD tends to be a big CVS user, so I
am hoping someone has an answer for this.  Feel free to reply privately
if you do not wish to inflict your answer up on the whole list...

Is there a way to checkout a project from a CVS repo *into the current
directory*?   If I do this:

cvs co -d .  foo

Or this:

cvs co -d ./ foo

I get this:

cvs checkout: existing repository /usr/cvs/... does not match /usr/cvs/.../foo
cvs checkout: ignoring module waccess

Ideas?
--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: Somewhat OT: CVS Question

2012-05-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/25/12 11:59 AM, Tim Daneliuk wrote:
 Forgive the OT nature of this, but FBSD tends to be a big CVS user,
 so I am hoping someone has an answer for this.  Feel free to reply
 privately if you do not wish to inflict your answer up on the whole
 list...
 
 Is there a way to checkout a project from a CVS repo *into the
 current directory*?   If I do this:
 
 cvs co -d .  foo
 
 Or this:
 
 cvs co -d ./ foo
 
 I get this:
 
 cvs checkout: existing repository /usr/cvs/... does not match 
 /usr/cvs/.../foo cvs checkout: ignoring module waccess
 
 Ideas?

Hi Tim,

Yes, that's possible, and I do it with the ports tree on my
development machine when I only want to work on a small portion of the
tree, e.g.:

mkdir ~/FreeBSD
cd ~/FreeBSD
cvs co -l -d . ports
cd ports
cvs co -l -d . ports/www
cd www
cvs co -d . ports/www/zend-framework [or just zend-framework because
of the alias in CVSROOT/modules]

The error you're receiving makes me thing something is wrong with your
CVSROOT setting.  Can you show it, as well as the full command line?
The module waccess message doesn't make sense with the command line
you provided.

Thank you,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+/vToACgkQ0sRouByUApDqLQCgxwuLL9PveIzGkT6B9lXcO2iM
Z6gAoIgO0BIfMW9AR+tGfe3n75wTOsJl
=DK17
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about milter software

2012-05-25 Thread Patrick
I think you'll find Postfix to be much more modern and easy to work
with for that kind of message rewriting.

But what you're looking for is pretty complicated when you start
having to deal with multipart messages; the messages have to be
completely processed and separated into respective parts, and then
once the rich part is found, you've got to parse the HTML and insert
the footer into the right spot, and then recompile the message. And if
the message is plain text only, you can't insert HTML and have it be
displayed as such. In short, I doubt you'll have much success in doing
this well. It would be better to configure this in the email client
and lock that down somehow.

Patrick


On Fri, May 25, 2012 at 6:21 AM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 Does anyone know milter software (or maybe anything else) to add to sendmail
 that can rewrite outgoing mail and add HTML footer automatically?

 Please do not tell me about how stupid HTML mail is at all - i know it, it
 is not my idea.

 thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about milter software

2012-05-25 Thread Wojciech Puchar

I think you'll find Postfix to be much more modern and easy to work
with for that kind of message rewriting.


you are actually wrong in that statement. In spite of hype that 
postscript started with, i am still using sendmail because it is actually 
easiest if you learn it.




But what you're looking for is pretty complicated when you start
having to deal with multipart messages; the messages have to be


this is unfortunately true, because i could quickly do myself a filter 
that would trivially append footer, but it will not work.


That's the reason of my question - IF such (quite complex) software is 
already written.

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


Re: question about milter software

2012-05-25 Thread Derek Ragona

At 08:21 AM 5/25/2012, Wojciech Puchar wrote:
Does anyone know milter software (or maybe anything else) to add to 
sendmail that can rewrite outgoing mail and add HTML footer automatically?


Please do not tell me about how stupid HTML mail is at all - i know it, it 
is not my idea.


thanks



I have used milter with sendmail.  You can add an outgoing email footer. If 
you need more information, email me directly.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: question about milter software

2012-05-25 Thread Patrick
On Fri, May 25, 2012 at 1:21 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 I think you'll find Postfix to be much more modern and easy to work
 with for that kind of message rewriting.


 you are actually wrong in that statement. In spite of hype that postscript
 started with, i am still using sendmail because it is actually easiest if
 you learn it.

I guess it's pretty subjective, which is how I should have originally
prefaced my statement. I used sendmail for a long time, and always
hated working with m4 or direct sendmail configuration files. For me,
Postfix is so much easier, but to each his own.

For your immediate need, I'd look at
http://www.ledge.co.za/software/disclaimermilter/ or MIMEDefang
(http://www.mimedefang.org/) which appears to be able to add
disclaimers.

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about milter software

2012-05-25 Thread Wojciech Puchar

I guess it's pretty subjective, which is how I should have originally
prefaced my statement. I used sendmail for a long time, and always
hated working with m4 or direct sendmail configuration files.


well i just used README file and sometimes google.


For me,
Postfix is so much easier, but to each his own.


it's mostly personal preferences. both are rather configurable, just 
different way.



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


I have a question.

2012-05-22 Thread JAEHO LEE
Dear Sir,

I would be a FreeBSD open source committer.
But I don't know how to do.
Could you teach me ?

Best regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have a question.

2012-05-22 Thread Polytropon
On Tue, 22 May 2012 13:42:56 +0900, JAEHO LEE wrote:
 Dear Sir,
 
 I would be a FreeBSD open source committer.
 But I don't know how to do.
 Could you teach me ?

Check out the FreeBSD home page, especially the article about
contributing to FreeBSD:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html

You'll find more information on the FreeBSD web page, e. g. the
Porters Handbook and other development resources.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have a question.

2012-05-22 Thread Anonymous Remailer (austria)

This doesn't answer your question but let me be the first to congratulate
you on your wisdom of not posting this to m...@openbsd.org ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ATI Radeon HD5500 driver question

2012-05-22 Thread Gary Aitken

Thanks for the pointers and hints, I'm over that hurdle.

On 5/19/2012 5:28 PM, Warren Block wrote:

On Sat, 19 May 2012, Polytropon wrote:


3. The Xorg man page notes that ctrlaltbksp should cause it to
exit. However, it doesn't, and I had to use kill -TERM. Any hints on
why ctrlaltbksp doesn't cause it to exit?


This is also a new default to _not_ work anymore. You have more
than two (if I remember correctly) options in making it work.
You'll find them in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

One possibility when X has been compiled _without_ HAL support
(and no hald running), placing

Option DontZap false

into the ServerLayout section should work. Additionally, I see
that I have

Option XkbOptions terminate:ctrl_alt_bksp

in the InputDevice section of Keyboard0. It just works. :-)


This should work whether or not HAL is installed or running.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org





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


ATI Radeon HD5500 driver question

2012-05-19 Thread Robert Huff
Gary Aitken writes:

  Trying to set up a new box 9.0-RELEASE w/ X; has ATI Radeon HD5500 card.
  
  X.org -config says:
 Missing output drivers.  Configuration failed.

I do not have this card/chip; I have a HD3300.
Having installed xf86-video-radeonhd-1.3.0.5, 'device radeon'
works for me.
Does this help?


Robert Huff





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


Re: ATI Radeon HD5500 driver question

2012-05-19 Thread Warren Block

On Fri, 18 May 2012, Gary Aitken wrote:


Trying to set up a new box 9.0-RELEASE w/ X; has ATI Radeon HD5500 card.

X.org -config says:
 Missing output drivers.  Configuration failed.

From X.org I see one is supposed to get linux drivers from ati/amd,
but this info is over 2 years old and
 http://support.amd.com/us/gpudownload/Pages/index.aspx
only allows choices of drivers for windoze.

Can anyone point me to a useable driver, or if these cards are essentially 
unusable, make a suggestion for a reliable card suitable for non-gaming (2-D) 
X work?


The radeon driver wants KMS for cards later than the 4000 series.  A few 
of the 5000 series may somewhat work with the existing UMS driver, but 
most do not.


KMS for Intel video is being worked on and already being used, but AFAIK 
work has not even begun for the Radeons.



Should one use an Nvidia card with the Linux 295.53 driver?


A Radeon 4650 works fine with the current radeon driver.  The Nvidia 
cards are faster with the FreeBSD version of their proprietary driver,

...but it's a proprietary driver.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ATI Radeon HD5500 driver question

2012-05-19 Thread Gary Aitken

Ok...  I tried the xf86-video-radeonhd driver, to no avail.
Then tried xf86-video-ati-6.14.3 with marginally better results.

Using the ati driver, which reports that it works for the HD5500, Xorg 
hobbles and writes a config file.
When it attempts to start, the log shows a boatload of information 
stuff, a few warnings, and finally


(EE) RADEON(0): Acceleration initialization failed
(II) Acceleration disabled

After which I'm left with the tail of the log file on the display,
but no prompt, and X is still running.

That is the only EE posted.

Questions:

1.  Since the driver notes that Acceleration was disabled, but there are 
no other errors, shouldn't the driver work in dumb frame buffer mode? 
(Hoping to get something hobbling along...)  Or is this the result of 
the need for KMS and I'm SOL?


2.  Since the server didn't exit, is it actually pretending to run? 
Shouldn't I be seeing the standard X grey hatched background?  Or is the 
server running, but the driver isn't passing bits on appropriately?


3.  The Xorg man page notes that ctrlaltbksp should cause it to 
exit.  However, it doesn't, and I had to use kill -TERM.  Any hints on 
why ctrlaltbksp doesn't cause it to exit?



On 5/19/2012 8:00 AM, Warren Block wrote:

On Fri, 18 May 2012, Gary Aitken wrote:


Trying to set up a new box 9.0-RELEASE w/ X; has ATI Radeon HD5500 card.

X.org -config says:
Missing output drivers. Configuration failed.

From X.org I see one is supposed to get linux drivers from ati/amd,
but this info is over 2 years old and
http://support.amd.com/us/gpudownload/Pages/index.aspx
only allows choices of drivers for windoze.

Can anyone point me to a useable driver, or if these cards are
essentially unusable, make a suggestion for a reliable card suitable
for non-gaming (2-D) X work?


The radeon driver wants KMS for cards later than the 4000 series. A few
of the 5000 series may somewhat work with the existing UMS driver, but
most do not.

KMS for Intel video is being worked on and already being used, but AFAIK
work has not even begun for the Radeons.


Should one use an Nvidia card with the Linux 295.53 driver?


A Radeon 4650 works fine with the current radeon driver. The Nvidia
cards are faster with the FreeBSD version of their proprietary driver,
...but it's a proprietary driver.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org





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


Re: ATI Radeon HD5500 driver question

2012-05-19 Thread Polytropon
On Sat, 19 May 2012 11:59:03 -0600, Gary Aitken wrote:
 1.  Since the driver notes that Acceleration was disabled, but there are 
 no other errors, shouldn't the driver work in dumb frame buffer mode? 
 (Hoping to get something hobbling along...)  Or is this the result of 
 the need for KMS and I'm SOL?

Do you have drm/dri (direct renering) installed, port and
kernel module? I've been using that with a ATI Radeon 9200
(I think, RV250, no HD) with excellent 2D and 3D results
both with XFree86 and X.org - tested with excessive gaming. :-)



 2.  Since the server didn't exit, is it actually pretending to run? 

Check using ps or top.



 Shouldn't I be seeing the standard X grey hatched background? 

No. The default new background is plain black. Nothing to see.
No grey pattern, no twm, nothing. And in case HAL and DBUS _or_
xorg.conf settings don't really match, you don't even see the
X-shaped mouse cursor.



 3.  The Xorg man page notes that ctrlaltbksp should cause it to 
 exit.  However, it doesn't, and I had to use kill -TERM.  Any hints on 
 why ctrlaltbksp doesn't cause it to exit?

This is also a new default to _not_ work anymore. You have more
than two (if I remember correctly) options in making it work.
You'll find them in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

One possibility when X has been compiled _without_ HAL support
(and no hald running), placing 

Option DontZap false

into the ServerLayout section should work. Additionally, I see
that I have

Option XkbOptions terminate:ctrl_alt_bksp

in the InputDevice section of Keyboard0. It just works. :-)





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ATI Radeon HD5500 driver question

2012-05-19 Thread Warren Block

On Sat, 19 May 2012, Polytropon wrote:


3.  The Xorg man page notes that ctrlaltbksp should cause it to
exit.  However, it doesn't, and I had to use kill -TERM.  Any hints on
why ctrlaltbksp doesn't cause it to exit?


This is also a new default to _not_ work anymore. You have more
than two (if I remember correctly) options in making it work.
You'll find them in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

One possibility when X has been compiled _without_ HAL support
(and no hald running), placing

Option DontZap false

into the ServerLayout section should work. Additionally, I see
that I have

Option XkbOptions terminate:ctrl_alt_bksp

in the InputDevice section of Keyboard0. It just works. :-)


This should work whether or not HAL is installed or running.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ATI Radeon HD5500 driver question

2012-05-18 Thread Gary Aitken

Trying to set up a new box 9.0-RELEASE w/ X; has ATI Radeon HD5500 card.

X.org -config says:
  Missing output drivers.  Configuration failed.

From X.org I see one is supposed to get linux drivers from ati/amd,
but this info is over 2 years old and
  http://support.amd.com/us/gpudownload/Pages/index.aspx
only allows choices of drivers for windoze.

Can anyone point me to a useable driver, or if these cards are 
essentially unusable, make a suggestion for a reliable card suitable for 
non-gaming (2-D) X work?


Should one use an Nvidia card with the Linux 295.53 driver?

Thanks,

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


question on SYN_SENT

2012-05-11 Thread Chad Leigh Shire.Net LLC

it is my understanding that SYN_SENT is when MY SIDE sends out a request and is 
awaiting a reply?

One of the jails we run for a customer had hundreds (if not thousands) of 
attempts to connect from the 147. address you see below.   It was exhausting 
resources so that new tcp connections could not be made until some closed.

I added that address to a pf block statement to stop it but now we get a 
rolling connections in a netstat -a as show below (host. being a generic name 
used in place of actual host on our side).   I am wondering if this shows 
something on our side trying to connect out?  That is what it appears to me to 
be, which does not  make sense.


tcp4   0  0 host.52562 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52561 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52560 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52559 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52558 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52557 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52556 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52555 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52554 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52553 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52552 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52551 147.237.76.155.httpSYN_SENT
tcp4   0  0 host.52550 147.237.76.155.httpSYN_SENT



thanks
Chad

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


Re: question on SYN_SENT

2012-05-11 Thread Chad Leigh Shire.Net LLC

On May 11, 2012, at 4:08 PM, Chuck Swiger wrote:

 On May 11, 2012, at 2:09 PM, Chad Leigh Shire.Net LLC wrote:
 it is my understanding that SYN_SENT is when MY SIDE sends out a request and 
 is awaiting a reply?
 
 That's right.
 
 One of the jails we run for a customer had hundreds (if not thousands) of 
 attempts to connect from the 147. address you see below.   It was exhausting 
 resources so that new tcp connections could not be made until some closed.
 
 You have/had your jail opening connections to the webserver at IP 
 147.237.76.155, not that IP trying to connect to you.
 
 I added that address to a pf block statement to stop it but now we get a 
 rolling connections in a netstat -a as show below (host. being a generic 
 name used in place of actual host on our side).   I am wondering if this 
 shows something on our side trying to connect out?  That is what it appears 
 to me to be, which does not make sense.
 
 
 tcp4   0  0 host.52562 147.237.76.155.httpSYN_SENT
 tcp4   0  0 host.52561 147.237.76.155.httpSYN_SENT
 
 Yes, your side is trying to connect out.
 Unless you know better, it seems reasonable to gather that it's doing a DoS 
 attack against:

Hi Chuck!

Thanks.  I am investigating as this side should not be going out at all, but 
the SYN_SENT made me think it was.

Thanks
Chad

 
 % whois 147.237.76.155
 [ ... ]
 inetnum:  147.237.0.0 - 147.237.255.255
 netname:  IL-GOVT-NET
 descr:Israeli Government Network
 country:  IL
 admin-c:  AT979-RIPE
 tech-c:   TT441-RIPE
 status:   ASSIGNED PI
 mnt-by:   GOV-IL-DNS
 mnt-lower:GOV-IL-DNS
 mnt-routes:   AS8867-MNT { ANY }
 mnt-routes:   AS9116-MNT { 147.237.232.0/24^24-24 }
 source:   RIPE # Filtered
 
 person: Admin Tehila
 address:Israel Ministry Of Finance
 address:1 Netanel Lorech st
 address:Jerusalem  Israel
 phone:  +972 2 6664666
 fax-no: +972 2 6664650
 remarks:For ABUSE and security issues please contact
 remarks:email: ab...@tehila.gov.il
 remarks:or contact CERT.gov.il at rep...@cert.gov.il
 nic-hdl:AT979-RIPE
 source: RIPE # Filtered
 
 Regards,
 -- 
 -Chuck
 

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


Re: question on SYN_SENT

2012-05-11 Thread Chuck Swiger
On May 11, 2012, at 2:09 PM, Chad Leigh Shire.Net LLC wrote:
 it is my understanding that SYN_SENT is when MY SIDE sends out a request and 
 is awaiting a reply?

That's right.

 One of the jails we run for a customer had hundreds (if not thousands) of 
 attempts to connect from the 147. address you see below.   It was exhausting 
 resources so that new tcp connections could not be made until some closed.

You have/had your jail opening connections to the webserver at IP 
147.237.76.155, not that IP trying to connect to you.

 I added that address to a pf block statement to stop it but now we get a 
 rolling connections in a netstat -a as show below (host. being a generic 
 name used in place of actual host on our side).   I am wondering if this 
 shows something on our side trying to connect out?  That is what it appears 
 to me to be, which does not make sense.
 
 
 tcp4   0  0 host.52562 147.237.76.155.httpSYN_SENT
 tcp4   0  0 host.52561 147.237.76.155.httpSYN_SENT

Yes, your side is trying to connect out.
Unless you know better, it seems reasonable to gather that it's doing a DoS 
attack against:

% whois 147.237.76.155
[ ... ]
inetnum:  147.237.0.0 - 147.237.255.255
netname:  IL-GOVT-NET
descr:Israeli Government Network
country:  IL
admin-c:  AT979-RIPE
tech-c:   TT441-RIPE
status:   ASSIGNED PI
mnt-by:   GOV-IL-DNS
mnt-lower:GOV-IL-DNS
mnt-routes:   AS8867-MNT { ANY }
mnt-routes:   AS9116-MNT { 147.237.232.0/24^24-24 }
source:   RIPE # Filtered

person: Admin Tehila
address:Israel Ministry Of Finance
address:1 Netanel Lorech st
address:Jerusalem  Israel
phone:  +972 2 6664666
fax-no: +972 2 6664650
remarks:For ABUSE and security issues please contact
remarks:email: ab...@tehila.gov.il
remarks:or contact CERT.gov.il at rep...@cert.gov.il
nic-hdl:AT979-RIPE
source: RIPE # Filtered

Regards,
-- 
-Chuck

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


Re: question on SYN_SENT

2012-05-11 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Fri May 11 17:19:29 2012
 From: Chad Leigh Shire.Net LLC c...@shire.net
 Date: Fri, 11 May 2012 16:15:48 -0600
 To: Chuck Swiger cswi...@mac.com
 Cc: FreeBSD Mailing List freebsd-questions@freebsd.org
 Subject: Re: question on SYN_SENT


 On May 11, 2012, at 4:08 PM, Chuck Swiger wrote:

  On May 11, 2012, at 2:09 PM, Chad Leigh Shire.Net LLC wrote:
  it is my understanding that SYN_SENT is when MY SIDE sends out a reques
  t and is awaiting a reply?
  
  That's right.
  
  One of the jails we run for a customer had hundreds (if not thousands) o
  f attempts to connect from the 147. address you see below. 

Correction.  As Chuck pointed out it is your box attempting to connect *TO*
that address.

   It was exha
  usting resources so that new tcp connections could not be made until som
  e closed.
  
  You have/had your jail opening connections to the webserver at IP 147.237
  .76.155, not that IP trying to connect to you.
  
  I added that address to a pf block statement to stop it but now we get
   a rolling connections in a netstat -a as show below (host. being a ge
  neric name used in place of actual host on our side).   I am wondering i
  f this shows something on our side trying to connect out?  That is what 
  it appears to me to be, which does not make sense.
  
  
  tcp4   0  0 host.52562 147.237.76.155.httpSYN_SENT
  tcp4   0  0 host.52561 147.237.76.155.httpSYN_SENT
  
  Yes, your side is trying to connect out.
  Unless you know better, it seems reasonable to gather that it's doing a D
  oS attack against:

 Hi Chuck!

 Thanks.  I am investigating as this side should not be going out at all, bu
 t the SYN_SENT made me think it was.


'Should not' does not mean 'is not'. and unfortunately, it -is- attempting
to go out.

There are at least a couple of possible explanations, none of them good.
  1) the jail is attempting a DoS (or participating in  DDoS) against an
 Israeli _government_ network/machine.
  2) the jail is 'owned' by a botnet, and is trying to 'phone home' for
 instructions.

The webserver on the IP address listed has -extremely- 'suspicious' content,
to wit;
html
body
script
document.cookie='fff=ee0333b9fff_ee0333b9; path=/';
window.location.href=window.location.href;
/script
/body
/html


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


Re: question regarding geom labels

2012-04-06 Thread Alexander Best
On Fri Mar 30 12, Warren Block wrote:
 On Fri, 30 Mar 2012, Alexander Best wrote:
 
 i have a question regarding a label for a swap partition. when should i do 
 the
 labeling? after or before creating the partition scheme?
 
 when i label before creating the partition scheme, likes this:
 
 glabel label -v swap /dev/da0
 gpart create -s GPT /dev/da0
 
 i get the following warning:
 
 GEOM: da1: the secondary GPT header is not in the last LBA.
 
 which is obvious, because the label is being written into the last LBA and 
 thus
 the backup GPT header gets written into the last-1 LBA.
 
 Right.  Don't do that, the GPT backup header needs to be at the end of 
 the physical device.  If you're using that whole disk for swap, there's 
 no need for a partition anyway.
 
 if i create the partitioning scheme before labeling the device, like this:
 
 gpart create -s GPT /dev/da0
 glabel label -v swap /dev/da0
 
 or
 
 gpart create -s GPT /dev/da0
 gpart add -t freebsd-swap /dev/da0
 glabel label -v swap /dev/da0p1
 
 the label gets written into da0 or da0p1 and is at constant risk of being
 overwritten by userdata.
 
 No.  The swap device entered in /etc/fstab would be /dev/label/swap, 
 which is one block smaller than da0p1.  That's the last-block metadata, 
 it's safe.

thanks for the info. :)

 
 But if the whole disk is for swap, skip the partitioning entirely.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fast question abount EDITOR

2012-04-05 Thread Andrea Venturoli

Hello.

This might be a stupid question... however...

%setenv EDITOR emacs -nw
setenv: Too many arguments.

%setenv  EDITOR emacs -nw
%crontab -e
crontab: emacs -nw: No such file or directory
crontab: emacs -nw exited with status 1


Is there a way I can easily achieve the above?
Do I really need a script which in turns call emacs -nw?

 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fast question abount EDITOR

2012-04-05 Thread Polytropon
On Thu, 05 Apr 2012 08:57:55 +0200, Andrea Venturoli wrote:
 Hello.
 
 This might be a stupid question... however...
 
 %setenv EDITOR emacs -nw
 setenv: Too many arguments.
 
 %setenv  EDITOR emacs -nw
 %crontab -e
 crontab: emacs -nw: No such file or directory
 crontab: emacs -nw exited with status 1
 
 
 Is there a way I can easily achieve the above?
 Do I really need a script which in turns call emacs -nw?

According to crontab's source, the editor is invoked
by an execlp() call, usr/src/usr.sbin/cron/crontab/crontab.c
in line 404:

execlp(editor, editor, Filename, (char *)NULL);

The synopsis of this function can be found in man 3 exec:

int execlp(const char *file, const char *arg, ... /*, (char *)0 */);

The manpage contains this information:

The initial argument for these functions is the pathname
of a file which is to be executed.

and:

The first argument, by convention, should point to
the file name associated with the file being executed.

as well as:

The functions execlp(), execvp(), and execvP() will
duplicate the actions of the shell in searching for
an executable file if the specified file name does
not contain a slash ``/'' character.  For execlp()
and execvp(), search path is the path specified in
the environment by ``PATH'' variable.  If this
variable is not specified, the default path is set
according to the _PATH_DEFPATH definition in paths.h,
which is set to ``/usr/bin:/bin''.

That means that $EDITOR has to contain the file name of the
editor (as its location will be determined automatically).
When options are added, this requirement isn't met anymore.
This seems to imply that you cannot use an alias - you'd
have to provide a script as you initially did assume. :-(



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fast question abount EDITOR

2012-04-05 Thread Robert Bonomi

Andrea Venturoli wrote:

 Hello.

 This might be a stupid question... however...

 %setenv EDITOR emacs -nw
 setenv: Too many arguments.

 %setenv  EDITOR emacs -nw
 %crontab -e
 crontab: emacs -nw: No such file or directory
 crontab: emacs -nw exited with status 1


 Is there a way I can easily achieve the above?

Not 'directly', the EDITOR variable has to be the name of an _executable_,
it is passed to exec and friends, as the executable to load.

There -may- be annother environment variable that emacs _itself_ looks
at for start-up switch settings,  (the 'minimal' manpage I have access to
doesn't mention any, but I'm _not_ an emacs user and don'k have full docs
available)

If all else fails, put the 'command' equivelent of '-nw' in your emacs
start-up file.

 Do I really need a script which in turns call emacs -nw?

Authoritative answer: 'maybe'. grin

See above for some 'possible' alternatives.

cite
  classic advice concerning the 'fine manual'
/cite
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fast question abount EDITOR

2012-04-05 Thread John Levine
 Do I really need a script which in turns call emacs -nw?
Authoritative answer: 'maybe'. grin

There may be an alternative to the obvious one line shell script, but
that's what one line shell scripts are for.  One of the strengths of
Unix is that its design encourages people to solve problems by
composing existing tools rather than by adding ever more options to
every program.

R's,
John

PS: I realize that over the decades we have strayed somewhat from this ideal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


question regarding geom labels

2012-03-30 Thread Alexander Best
hi there,

i have a question regarding a label for a swap partition. when should i do the
labeling? after or before creating the partition scheme?

when i label before creating the partition scheme, likes this:

glabel label -v swap /dev/da0
gpart create -s GPT /dev/da0

i get the following warning:

GEOM: da1: the secondary GPT header is not in the last LBA.

which is obvious, because the label is being written into the last LBA and thus
the backup GPT header gets written into the last-1 LBA.

if i create the partitioning scheme before labeling the device, like this:

gpart create -s GPT /dev/da0
glabel label -v swap /dev/da0

or

gpart create -s GPT /dev/da0
gpart add -t freebsd-swap /dev/da0
glabel label -v swap /dev/da0p1

the label gets written into da0 or da0p1 and is at constant risk of being
overwritten by userdata.

cheers.
alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question regarding geom labels

2012-03-30 Thread Warren Block

On Fri, 30 Mar 2012, Alexander Best wrote:


i have a question regarding a label for a swap partition. when should i do the
labeling? after or before creating the partition scheme?

when i label before creating the partition scheme, likes this:

glabel label -v swap /dev/da0
gpart create -s GPT /dev/da0

i get the following warning:

GEOM: da1: the secondary GPT header is not in the last LBA.

which is obvious, because the label is being written into the last LBA and thus
the backup GPT header gets written into the last-1 LBA.


Right.  Don't do that, the GPT backup header needs to be at the end of 
the physical device.  If you're using that whole disk for swap, there's 
no need for a partition anyway.



if i create the partitioning scheme before labeling the device, like this:

gpart create -s GPT /dev/da0
glabel label -v swap /dev/da0

or

gpart create -s GPT /dev/da0
gpart add -t freebsd-swap /dev/da0
glabel label -v swap /dev/da0p1

the label gets written into da0 or da0p1 and is at constant risk of being
overwritten by userdata.


No.  The swap device entered in /etc/fstab would be /dev/label/swap, 
which is one block smaller than da0p1.  That's the last-block metadata, 
it's safe.


But if the whole disk is for swap, skip the partitioning entirely.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-14 Thread Gary Kline
On Wed, Mar 14, 2012 at 02:58:30PM +1000, Da Rock wrote:
 Date: Wed, 14 Mar 2012 14:58:30 +1000
 From: Da Rock freebsd-questi...@herveybayaustralia.com.au
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
 
 On 03/14/12 13:09, Polytropon wrote:
 On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:
 i have heard about the 848 or whatever cards for years.
 should i have my sister's technician add one?  i understood
 everything but your last paragraph.  please do send me the
 linksoffline i f you think it wise to spare the
 bandwidth.
 Just to make a note: This is the card I'm using. The model
 name is Haupauge WinTV and the tuner chip is Brooktree 878.
 It is well supported by FreeBSD (and has been for many years).
 A problem may be that it is a PCI card.
 
 The programs mplayer and mencoder can be used to address the
 tuner and video-in functions of that card, as well as displaying
 and storing the received content. You need a HF line to the
 card (or an antenna maybe), except you provide the video feed
 from a satelite receiver via video-in. In that case, you also
 need to provide the audio signal from the receiver to your
 sound card's line-in. With mencoder, both sources can be
 combined and the result can be stored as a video file in
 any format and container you want.
 
 This is the card:
 
 bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
  chip=0x036e109e rev=0x11 hdr=0x00
  vendor = 'Conexant (Was: Brooktree Corp)'
  device = 'Bt878/Fusion 878A Mediastream Controller'
  class  = multimedia
  subclass   = video
 
 The card provides HF-in both for TV and radio, video-in,
 audio-out and... not sure what it is. :-)
 
 You need the kernel modules loaded per
 
  bktr_load=YES
 
 in /boot/loader.conf, and the card will work out of the box.
 No need to manually and interactively install a driver. :-)
 
 The player command is something like
 
  % mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0
 
 and similarly mencoder can be used (-ovc and -oac need to be
 adjusted accordingly) to encode to a file.
 
 I'm not sure how to handle TV (antenna) input as I've always
 been using a raw video feed (from VTR or camera). However, there's
 documentation that may help:
 
  http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html
 
 It also contains an example to record to file, which will
 implement the software video tape recoder functionality.
 Brooktrees would be nice - if you could find them. Given the move to
 DVB is nearly over, there aren't many analog cards available - or
 need for them.
 
 The new cards use incompatible chipsets (learnt the hard way),
 including analog and especially DVB; you have to use the cx88 port
 to use them. Or if you come across a different chipset ensure the
 card is USB based and use webcamd.
 
 Following all that, FBSD works beautifully as a HTPC.


GAAWK! This is far, far out of my comfort zone thst i wsill
just skip it for now.  i have my feed from my local telco,
not an antenna

thanks for all the datapoints, guys, but i can vedry well
live without the card.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-14 Thread Da Rock

On 03/15/12 05:30, Gary Kline wrote:

On Wed, Mar 14, 2012 at 02:58:30PM +1000, Da Rock wrote:

Date: Wed, 14 Mar 2012 14:58:30 +1000
From: Da Rockfreebsd-questi...@herveybayaustralia.com.au
Subject: Re: oops, now: bsd question: how to record a tv stream?
To: freebsd-questions@freebsd.org

On 03/14/12 13:09, Polytropon wrote:

On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:

i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.

Just to make a note: This is the card I'm using. The model
name is Haupauge WinTV and the tuner chip is Brooktree 878.
It is well supported by FreeBSD (and has been for many years).
A problem may be that it is a PCI card.

The programs mplayer and mencoder can be used to address the
tuner and video-in functions of that card, as well as displaying
and storing the received content. You need a HF line to the
card (or an antenna maybe), except you provide the video feed

from a satelite receiver via video-in. In that case, you also

need to provide the audio signal from the receiver to your
sound card's line-in. With mencoder, both sources can be
combined and the result can be stored as a video file in
any format and container you want.

This is the card:

bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
 chip=0x036e109e rev=0x11 hdr=0x00
 vendor = 'Conexant (Was: Brooktree Corp)'
 device = 'Bt878/Fusion 878A Mediastream Controller'
 class  = multimedia
 subclass   = video

The card provides HF-in both for TV and radio, video-in,
audio-out and... not sure what it is. :-)

You need the kernel modules loaded per

bktr_load=YES

in /boot/loader.conf, and the card will work out of the box.
No need to manually and interactively install a driver. :-)

The player command is something like

% mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0

and similarly mencoder can be used (-ovc and -oac need to be
adjusted accordingly) to encode to a file.

I'm not sure how to handle TV (antenna) input as I've always
been using a raw video feed (from VTR or camera). However, there's
documentation that may help:

http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html

It also contains an example to record to file, which will
implement the software video tape recoder functionality.

Brooktrees would be nice - if you could find them. Given the move to
DVB is nearly over, there aren't many analog cards available - or
need for them.

The new cards use incompatible chipsets (learnt the hard way),
including analog and especially DVB; you have to use the cx88 port
to use them. Or if you come across a different chipset ensure the
card is USB based and use webcamd.

Following all that, FBSD works beautifully as a HTPC.


GAAWK! This is far, far out of my comfort zone thst i wsill
just skip it for now.  i have my feed from my local telco,
not an antenna

thanks for all the datapoints, guys, but i can vedry well
live without the card.

gary

Sorry Gary; It wasn't entirely for your sake that this came up.

For your instance I'd suggest becoming very familiar with 
mplayer/mencoder and friends. You can then pick up the stream and 
re-encode to your liking. There are some addons in web browser that can 
help grab the video as well.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-14 Thread Polytropon
On Wed, 14 Mar 2012 12:30:08 -0700, Gary Kline wrote:
 On Wed, Mar 14, 2012 at 02:58:30PM +1000, Da Rock wrote:
  Date: Wed, 14 Mar 2012 14:58:30 +1000
  From: Da Rock freebsd-questi...@herveybayaustralia.com.au
  Subject: Re: oops, now: bsd question: how to record a tv stream?
  To: freebsd-questions@freebsd.org
  
  On 03/14/12 13:09, Polytropon wrote:
  On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:
i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.
  Just to make a note: This is the card I'm using. The model
  name is Haupauge WinTV and the tuner chip is Brooktree 878.
  It is well supported by FreeBSD (and has been for many years).
  A problem may be that it is a PCI card.
  
  The programs mplayer and mencoder can be used to address the
  tuner and video-in functions of that card, as well as displaying
  and storing the received content. You need a HF line to the
  card (or an antenna maybe), except you provide the video feed
  from a satelite receiver via video-in. In that case, you also
  need to provide the audio signal from the receiver to your
  sound card's line-in. With mencoder, both sources can be
  combined and the result can be stored as a video file in
  any format and container you want.
  
  This is the card:
  
  bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
   chip=0x036e109e rev=0x11 hdr=0x00
   vendor = 'Conexant (Was: Brooktree Corp)'
   device = 'Bt878/Fusion 878A Mediastream Controller'
   class  = multimedia
   subclass   = video
  
  The card provides HF-in both for TV and radio, video-in,
  audio-out and... not sure what it is. :-)
  
  You need the kernel modules loaded per
  
 bktr_load=YES
  
  in /boot/loader.conf, and the card will work out of the box.
  No need to manually and interactively install a driver. :-)
  
  The player command is something like
  
 % mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0
  
  and similarly mencoder can be used (-ovc and -oac need to be
  adjusted accordingly) to encode to a file.
  
  I'm not sure how to handle TV (antenna) input as I've always
  been using a raw video feed (from VTR or camera). However, there's
  documentation that may help:
  
 http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html
  
  It also contains an example to record to file, which will
  implement the software video tape recoder functionality.
  Brooktrees would be nice - if you could find them. Given the move to
  DVB is nearly over, there aren't many analog cards available - or
  need for them.
  
  The new cards use incompatible chipsets (learnt the hard way),
  including analog and especially DVB; you have to use the cx88 port
  to use them. Or if you come across a different chipset ensure the
  card is USB based and use webcamd.
  
  Following all that, FBSD works beautifully as a HTPC.
 
 
   GAAWK! This is far, far out of my comfort zone thst i wsill
   just skip it for now.  i have my feed from my local telco,
   not an antenna

The BrookTree TV tuner component doesn't make a big difference
here. Both the antenna and the cable will deliver a frequency
conglomerate of the available TV programs which the tuner chip
can select from.

If you require a specific cable receiver with video-out, you can
send its signal to the card's video-on (and the audio-out of the
receiver to your computer's sound card's line-in), skipping the
part where the TV card has to select a TV program. Both methods
work fine.



   thanks for all the datapoints, guys, but i can vedry well
   live without the card.

In that case, try to find a web presence that allows you to down-
load or to stream (and in conclusion, to download) the TV programs.
This makes you independent of airing time (which probably is a
good thing).

Maybe there's also a service like OnlineTVRecorder.com (Your
personal multichannel tv recorder) available for you, providing
downloads for the programs you want in AVI or OTRKEY format.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/usr/lib32 question

2012-03-13 Thread Waitman Gobble
Hi,


I have four files in /usr/lib32  - libc.so.7, libcrypt.so.5, librt.so.1,
libthr.so.3 that are 444 root. Seems like i am unable to change permissions
or remove... any idea why? or really, how to delete those files. it's an
amd64 machine.

Thanks,
Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/lib32 question

2012-03-13 Thread Waitman Gobble
On Mon, Mar 12, 2012 at 11:49 PM, Waitman Gobble gobble...@gmail.comwrote:

 Hi,


 I have four files in /usr/lib32  - libc.so.7, libcrypt.so.5, librt.so.1,
 libthr.so.3 that are 444 root. Seems like i am unable to change permissions
 or remove... any idea why? or really, how to delete those files. it's an
 amd64 machine.

 Thanks,
 Waitman Gobble
 San Jose California USA


oops, duh sorry it's late. figured it out. :)
chflags noschg

Thanks
Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/lib32 question

2012-03-13 Thread Polytropon
On Mon, 12 Mar 2012 23:49:50 -0700, Waitman Gobble wrote:
 Hi,
 
 
 I have four files in /usr/lib32  - libc.so.7, libcrypt.so.5, librt.so.1,
 libthr.so.3 that are 444 root. Seems like i am unable to change permissions
 or remove... any idea why? or really, how to delete those files. it's an
 amd64 machine.

I'm on i386 here, so I can't check, but:

See if the files have additional flags set, especially
the system immutable flag (schg):

# ls -lo /usr/lib32

If neccessary, use:

# chflags noschg /usr/lib32/*

and continue trying to change permissions or remove the
files in that directory.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/lib32 question

2012-03-13 Thread Waitman Gobble
On Tue, Mar 13, 2012 at 12:06 AM, Polytropon free...@edvax.de wrote:

 On Mon, 12 Mar 2012 23:49:50 -0700, Waitman Gobble wrote:
  Hi,
 
 
  I have four files in /usr/lib32  - libc.so.7, libcrypt.so.5, librt.so.1,
  libthr.so.3 that are 444 root. Seems like i am unable to change
 permissions
  or remove... any idea why? or really, how to delete those files. it's an
  amd64 machine.

 I'm on i386 here, so I can't check, but:

 See if the files have additional flags set, especially
 the system immutable flag (schg):

# ls -lo /usr/lib32

 If neccessary, use:

# chflags noschg /usr/lib32/*

 and continue trying to change permissions or remove the
 files in that directory.



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...


cool, thank you.

Waitman Gobble
San Jose California USa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread FBSD UG
doesn't VLC do that too?



On 11 mrt 2012, at 21:28, Gary Kline wrote:

 guys,
 
 i made the mistake that conrad did when replying.  i could make e
 excuse liked only getting five hours sleep, etc, bujt i wont.
 
 here us a FBSD qauestion how can i capture any tv stream---or
 radio stream for later replay?  or is that illegal, too?
 
 gray
 
 
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Voice By Computer (for Universal Access): http:/www.thought.org/vbc
 The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Stas Verberkt

Bernt Hansson schreef op 13-03-2012 12:12:

On 2012-03-11 21:28, Gary Kline wrote:

or is that illegal, too?


Depends on jurisdiction.

Indeed, Dutch and Belgium legislation, for example, permit making 
copies for personal use, which originates from recording the radio with 
a tape deck, which is basically what you are trying to do.
I think US legislation is more strict and only allows personal copies 
where one has both the original and the copy, e.g. copying a CD to your 
(licensed) MP3 player.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Gary Kline
On Sun, Mar 11, 2012 at 03:52:36PM -0500, Joshua Isom wrote:
 Date: Sun, 11 Mar 2012 15:52:36 -0500
 From: Joshua Isom jri...@gmail.com
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
 
 On 3/11/2012 3:28 PM, Gary Kline wrote:
 guys,
 
 i made the mistake that conrad did when replying.  i could make e
 excuse liked only getting five hours sleep, etc, bujt i wont.
 
 here us a FBSD qauestion how can i capture any tv stream---or
 radio stream for later replay?  or is that illegal, too?
 
 gray
 
 
 
 
 For capturing, I believe linux is your best bet.  I had tried using
 the bktr driver, but I couldn't get it to work properly with the
 card I had.  It could work somewhat from what I remember.  The card
 was my brother's and he used it under linux, but he upgraded to a
 better one.
 
 Legality should be the same as a VCR/DVR, personal use only and
 don't redistribute.


if it means buying a card, then, nope.  i  assumed that the
bits were streaming thu my cable to firefox and that thedre
was some program that could collecte these data and stash
them in, say , /tmp.  i'm using linux as a desktop, and FBSD
as my server.  

maybed i'll find where pbs has these films stashed ... or
maybe they were only for pledge week  

gary

ps:: fwiw, that capmbell stuff was about half of the
original.  i've got all 6 hours of audio, tho.

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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Gary Kline
On Tue, Mar 13, 2012 at 12:39:38PM +1000, Da Rock wrote:
 Date: Tue, 13 Mar 2012 12:39:38 +1000
 From: Da Rock freebsd-questi...@herveybayaustralia.com.au
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
[ ...]

 
 Additionally, there may be an option to download some kind of media
 streams. There are tools for that available.
 There is cx88 in the ports which will cover a lot of pci devices, and
  webcamd covers just about all the rest. Then use mplayer or another
 tool to record the stream.
 
 And if you're real tricky you can set it to record at a specific time
  and shut off at another specified time... :) I wrote a script for
 this; a bit hackish, but it gets the job done. I have to clean it up
 someday when I have the spare time.
 
 No one suggesting MythTV? I haven't used a tuner card but I thought
 MythTV was the one to use.
 Pah! Too much bloat - especially for this use.
 
 A lot of setup and configuration is required, and for a one off why bother?

so that's it.  i messed around with mythtv last fall on my
ubuntu distro.  couldn't get anywhere and finally realized
that =you need some kind of HARDWARE=.  well, bleep that.  i
de-installed and got back to whatever.

sinced early december i've been working on an accessibility
app for the speech impaired.  it won't work on the berkeley
distros natively.  it should given our linux stuff.  i'll 
tell you: i haven't have this much of a challenge since i
was studying  data structures.  Danm, gtk is hard.  but 
super fun.  my application is as lean as i can make it, 
Especially since it is aimed an people who have never used
computers before.  i'm copying as much of gespeaker's 
layout as i can because that is very lean and clean.

---this is a long-winded way of saying to da rock that i
hope you clean up your script[s] and publish the code in
/usr/ports.

{a final rant about copyright:: i woulnd never touch any
commercial station because they sneak in those bloody
commerc*als  on you.  before you know it, you've watched
a minute of babes trying to sell you your Zippy-Do sports
van.  i dont have the energy to get mad.  i just dont watch
anything but pbs   or npr.}


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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Josh Tolbert

On 3/13/12 4:06 PM, Gary Kline wrote:

On Tue, Mar 13, 2012 at 12:39:38PM +1000, Da Rock wrote:
so that's it. i messed around with mythtv last fall on my ubuntu 
distro. couldn't get anywhere and finally realized that =you need some 
kind of HARDWARE=.


I have an HDHomeRun...The original classic two-tuner model, from 
http://www.silicondust.com. It's a stand-alone DTV streamer. I use it 
with an antenna; apparently you can get versions that work with antennas 
or cablecard/cable TV as well. Works great. I use it with Windows Media 
Center for scheduling recordings, but they work great with MythTV, VLC 
and others for recording. Using VLC, I've recorded some videos of a 
local band on a morning show that have ended up on YouTube...I can send 
links if you want to see how it looks, although that station only 
broadcasts in 480i.


For what it's worth, I've successfully used three BT848/878/878+ 
cards---all of which were PixelView or STB cards---in the same machine 
running FreeBSD with the bktr driver and Motion to handle 
surveillance-camera duties. mplayer/mencoder could only use bktr0 cause 
they hard-code bktr0 in the source and seemed thoroughly uninterested in 
fixing this oversight, even though the change would be fairly minor.


Hope that helps someone.

Cheers,

Josh

--
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Gary Kline
On Tue, Mar 13, 2012 at 04:14:52PM -0500, Josh Tolbert wrote:
 Date: Tue, 13 Mar 2012 16:14:52 -0500
 From: Josh Tolbert h...@puresimplicity.net
 Subject: Re: oops, now: bsd question: how to record a tv stream?
 To: freebsd-questions@freebsd.org
 
 On 3/13/12 4:06 PM, Gary Kline wrote:
 On Tue, Mar 13, 2012 at 12:39:38PM +1000, Da Rock wrote:
 so that's it. i messed around with mythtv last fall on my ubuntu
 distro. couldn't get anywhere and finally realized that =you need
 some kind of HARDWARE=.
 
 I have an HDHomeRun...The original classic two-tuner model, from
 http://www.silicondust.com. It's a stand-alone DTV streamer. I use
 it with an antenna; apparently you can get versions that work with
 antennas or cablecard/cable TV as well. Works great. I use it with
 Windows Media Center for scheduling recordings, but they work great
 with MythTV, VLC and others for recording. Using VLC, I've recorded
 some videos of a local band on a morning show that have ended up on
 YouTube...I can send links if you want to see how it looks, although
 that station only broadcasts in 480i.
 
 For what it's worth, I've successfully used three BT848/878/878+
 cards---all of which were PixelView or STB cards---in the same
 machine running FreeBSD with the bktr driver and Motion to handle
 surveillance-camera duties. mplayer/mencoder could only use bktr0
 cause they hard-code bktr0 in the source and seemed thoroughly
 uninterested in fixing this oversight, even though the change would
 be fairly minor.
 
 Hope that helps someone.


hey, josh, you just gave me an idea.  my sister is giving me
a used computer that is in good shape.

i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.

Q:  i have [i think] hi-def in the used computer, so  want a
hi-def card

yours in geezer-geeekdom,

gary

PS: i was a kernel hacker, a porter, and an OS TEster.
pix, tv, [movies], audio  are strictly over my head.


 
 Cheers,
 
 Josh
 
 -- 
 Josh Tolbert
 h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/
 
 Security is mostly a superstition. It does not exist in nature, nor
 do the children of men as a whole experience it. Avoiding danger
 is no safer in the long run than outright exposure. Life is either
 a daring adventure, or nothing.
 -- Helen Keller
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Polytropon
On Tue, 13 Mar 2012 13:02:24 -0700, Gary Kline wrote:
   if it means buying a card, then, nope.  i  assumed that the
   bits were streaming thu my cable to firefox and that thedre
   was some program that could collecte these data and stash
   them in, say , /tmp.  i'm using linux as a desktop, and FBSD
   as my server.  

There are download helper plugins available for Firefox
that allow you to capture streaming content to a file.



   maybed i'll find where pbs has these films stashed ... or
   maybe they were only for pledge week  

Regular file downloads are something you'll hardly find
on the modern web. But that doesn't mean you cannot
turn streams into files. After all, the data _is_ trans-
ferred to your computer. It's just a question to use the
proper program. :-)





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Polytropon
On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:
   i have heard about the 848 or whatever cards for years.
   should i have my sister's technician add one?  i understood
   everything but your last paragraph.  please do send me the
   linksoffline i f you think it wise to spare the
   bandwidth.

Just to make a note: This is the card I'm using. The model
name is Haupauge WinTV and the tuner chip is Brooktree 878.
It is well supported by FreeBSD (and has been for many years).
A problem may be that it is a PCI card.

The programs mplayer and mencoder can be used to address the
tuner and video-in functions of that card, as well as displaying
and storing the received content. You need a HF line to the
card (or an antenna maybe), except you provide the video feed
from a satelite receiver via video-in. In that case, you also
need to provide the audio signal from the receiver to your
sound card's line-in. With mencoder, both sources can be
combined and the result can be stored as a video file in
any format and container you want.

This is the card:

bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
chip=0x036e109e rev=0x11 hdr=0x00
vendor = 'Conexant (Was: Brooktree Corp)'
device = 'Bt878/Fusion 878A Mediastream Controller'
class  = multimedia
subclass   = video

The card provides HF-in both for TV and radio, video-in,
audio-out and... not sure what it is. :-)

You need the kernel modules loaded per

bktr_load=YES

in /boot/loader.conf, and the card will work out of the box.
No need to manually and interactively install a driver. :-)

The player command is something like

% mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0

and similarly mencoder can be used (-ovc and -oac need to be
adjusted accordingly) to encode to a file.

I'm not sure how to handle TV (antenna) input as I've always
been using a raw video feed (from VTR or camera). However, there's
documentation that may help:

http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html

It also contains an example to record to file, which will
implement the software video tape recoder functionality.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Da Rock

On 03/14/12 13:09, Polytropon wrote:

On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote:

i have heard about the 848 or whatever cards for years.
should i have my sister's technician add one?  i understood
everything but your last paragraph.  please do send me the
linksoffline i f you think it wise to spare the
bandwidth.

Just to make a note: This is the card I'm using. The model
name is Haupauge WinTV and the tuner chip is Brooktree 878.
It is well supported by FreeBSD (and has been for many years).
A problem may be that it is a PCI card.

The programs mplayer and mencoder can be used to address the
tuner and video-in functions of that card, as well as displaying
and storing the received content. You need a HF line to the
card (or an antenna maybe), except you provide the video feed
from a satelite receiver via video-in. In that case, you also
need to provide the audio signal from the receiver to your
sound card's line-in. With mencoder, both sources can be
combined and the result can be stored as a video file in
any format and container you want.

This is the card:

bktr0@pci0:0:9:0:   class=0x04 card=0x13eb0070
 chip=0x036e109e rev=0x11 hdr=0x00
 vendor = 'Conexant (Was: Brooktree Corp)'
 device = 'Bt878/Fusion 878A Mediastream Controller'
 class  = multimedia
 subclass   = video

The card provides HF-in both for TV and radio, video-in,
audio-out and... not sure what it is. :-)

You need the kernel modules loaded per

bktr_load=YES

in /boot/loader.conf, and the card will work out of the box.
No need to manually and interactively install a driver. :-)

The player command is something like

% mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0

and similarly mencoder can be used (-ovc and -oac need to be
adjusted accordingly) to encode to a file.

I'm not sure how to handle TV (antenna) input as I've always
been using a raw video feed (from VTR or camera). However, there's
documentation that may help:

http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html

It also contains an example to record to file, which will
implement the software video tape recoder functionality.
Brooktrees would be nice - if you could find them. Given the move to DVB 
is nearly over, there aren't many analog cards available - or need for them.


The new cards use incompatible chipsets (learnt the hard way), including 
analog and especially DVB; you have to use the cx88 port to use them. Or 
if you come across a different chipset ensure the card is USB based and 
use webcamd.


Following all that, FBSD works beautifully as a HTPC.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about SMTP-authentication (2nd )

2012-03-12 Thread kamolpat

Dear Matthew,

According to your recommendation   (as following). When I do make at 
/usr/src/sur.sbin/sendmail it show as following.

ns1:kamolpat:/usr/src/usr.sbin/sendmailmake clean
rm -f sm_os.h sendmail alias.o arpadate.o bf.o collect.o conf.o 
control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o 
headers.o macro.o main.o map.o mci.o milter.o mime.o parseaddr.o queue.o 
ratectrl.o readcf.o recipient.o savemail.o sasl.o sfsasl.o shmticklib.o 
sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o 
udb.o usersmtp.o util.o version.o mailq.1.gz newaliases.1.gz 
aliases.5.gz sendmail.8.gz mailq.1.cat.gz newaliases.1.cat.gz 
aliases.5.cat.gz sendmail.8.cat.gz

ns1:kamolpat:/usr/src/usr.sbin/sendmailmake
ln -sf 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include/sm/os/sm_os_freebsd.h 
sm_os.h
cc -O2 -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
-D_FFR_TLS_1 -I/usr/local/include/sasl -DSASL=2 -std=gnu99 
-fstack-protector  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c
In file included from 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c:14:
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:135:25: 
error: sasl/sasl.h: No such file or directory
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:136:29: 
error: sasl/saslutil.h: No such file or directory
In file included from 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c:14:
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:607: 
error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:691: 
error: expected specifier-qualifier-list before 'sasl_conn_t'

*** Error code 1

Stop in /usr/src/usr.sbin/sendmail.


then I try to find where is sasl.h

ns1:kamolpat:/usrfind . -name sasl.h
./local/include/sasl/sasl.h
./ports/security/cyrus-sasl2/work/cyrus-sasl-2.1.25/include/sasl.h
./ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.25/include/sasl.h

What should I do next? Shold I just copy the sasl.h to 
/usr/src/contrib/sendmail/src/sendmail   ?


Thanks
Kamolpat

On 3/9/2012 12:34 AM, Matthew Seaman wrote:

On 08/03/2012 15:55, kamolpat wrote:

Setup Reference
==
1. I read the how to setup from  FreeBSD Handbook (online)-  Chapter 29
Electronic Mail -  29.10 SMTP Authentication  from freebsd.org
2. setup for cyrus-sasl2 was fine (setup via
usr/ports/security/cyrus-sasl2)
3. setup for openssl was 90% fine (setup via port) reference to FreeBSD
Handbook (online)-Chapter 15 Security -  15.8 OpenSSL
 accept the STARTTLS line doesn't appear  as mention on the last
part of article.


Did you rebuild sendmail with the right flags so that it would enable
all the SASL bits?  Apart from that you seem to have done all the right
stuff that I can see.

You need to add this to /etc/make.conf:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

and then rebuild sendmail -- assuming you have system sources installed:

# cd /usr/src/usr.sbin/sendmail
# make clean
# make
# make install

If you haven't got the system sources installed, then you can get them
easily enough with csup(1) or freebsd-update(8) or several other ways.
Or you could just install sendmail from ports -- obviously, make sure to
choose the option to enable SASL in the config dialogue.  If you use the
ports sendmail, so long as you set up mailer.conf(5) to point to the
ports version -- like so:

lucid-nonsense:/etc/mail:% cat mailer.conf
# $FreeBSD: stable/8/etc/mail/mailer.conf 93858 2002-04-05 04:25:14Z
gshapiro $
#
# Execute the real sendmail program, named /usr/local/sbin/sendmail
#
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail
hoststat/usr/local/sbin/sendmail
purgestat   /usr/local/sbin/sendmail

and put the following in /etc/make.conf so it uses the latest
configuration file bits:

SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
MAKEMAP=/usr/local/sbin/makemap

then the ports sendmail is pretty much a drop-in replacement for the
system one, and you can use all the config bits in /etc/mail in exactly
the same way as normal.

Cheers,

Matthew







E-mail message checked by Internet Security (7.0.0.508)
Database version: 6.19440
http://www.pctools.com/en/internet-security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about SMTP-authentication (2nd )

2012-03-12 Thread Matthew Seaman
On 12/03/2012 13:26, kamolpat wrote:
 According to your recommendation   (as following). When I do make at
 /usr/src/sur.sbin/sendmail it show as following.
 ns1:kamolpat:/usr/src/usr.sbin/sendmailmake clean
 rm -f sm_os.h sendmail alias.o arpadate.o bf.o collect.o conf.o
 control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o
 headers.o macro.o main.o map.o mci.o milter.o mime.o parseaddr.o queue.o
 ratectrl.o readcf.o recipient.o savemail.o sasl.o sfsasl.o shmticklib.o
 sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o
 udb.o usersmtp.o util.o version.o mailq.1.gz newaliases.1.gz
 aliases.5.gz sendmail.8.gz mailq.1.cat.gz newaliases.1.cat.gz
 aliases.5.cat.gz sendmail.8.cat.gz
 ns1:kamolpat:/usr/src/usr.sbin/sendmailmake
 ln -sf
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/include/sm/os/sm_os_freebsd.h
 sm_os.h
 cc -O2 -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src
 -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB
 -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS
 -D_FFR_TLS_1 -I/usr/local/include/sasl -DSASL=2 -std=gnu99
 -fstack-protector  -c
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c
 In file included from
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c:14:
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:135:25:
 error: sasl/sasl.h: No such file or directory
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:136:29:
 error: sasl/saslutil.h: No such file or directory
 In file included from
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c:14:
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:607:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:691:
 error: expected specifier-qualifier-list before 'sasl_conn_t'
 *** Error code 1
 
 Stop in /usr/src/usr.sbin/sendmail.
 
 
 then I try to find where is sasl.h
 
 ns1:kamolpat:/usrfind . -name sasl.h
 ./local/include/sasl/sasl.h
 ./ports/security/cyrus-sasl2/work/cyrus-sasl-2.1.25/include/sasl.h
 ./ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.25/include/sasl.h
 
 
 What should I do next? Shold I just copy the sasl.h to
 /usr/src/contrib/sendmail/src/sendmail   ?

No.  Don't do that.  It won't help anything.

You need to follow my instructions correctly.  Specifically this line
needs to be in /etc/make.conf in order to pick up the SASL header files:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2

Where, you will note, this does *not* say /usr/local/include/sasl, which
is what appears in your compiler output.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: question about SMTP-authentication (3rd )

2012-03-12 Thread kamolpat

Dear Matthew,

Ok, I got sendmail complied. Thanks.
But seem like ...
POP3 still working in clear text usr/pwd sending to Server (but it work, 
I can get mail from server normal). When I chose option in ThunderBird 
to another mode, it doesn't work (accept connection security: none, 
authentication method: password transmitted insecurity this is the 
option that TB dectected during setting mail account)



SMTP doesn't work it declare
from Thunder Bird:

Send Message Error
The Kerberos/GSSAPI ticket was not accepted by the SMTP server 
mail.dmaccess.co.th Please check that you are logged in to the 
Kerberos/GSSAPI realm.
(event I change authentication method: Kerberos/GSSAPI, it still 
inform this message)


from /var/log/maillog
Mar 12 22:38:04 ns1 sendmail[93331]: q2CMc4jF093331: 
ppp-58-8-130-33.revip2.asianet.co.th [58.8.130.33] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to MSA



this is my test on server
=
ns1:kamolpat:/etctelnet dmaccess.co.th 25
Trying 202.170.122.33...
Connected to dmaccess.co.th.
Escape character is '^]'.
220 ns1.dmaccess.co.th ESMTP Sendmail 8.14.4/8.14.4; Mon, 12 Mar 2012 
22:23:14 GMT

ehlo dmaccess.co.th
250-ns1.dmaccess.co.th Hello ns1.dmaccess.co.th [202.170.122.33], 
pleased to meet you

250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
250-DELIVERBY
250 HELP
quit
221 2.0.0 ns1.dmaccess.co.th closing connection
Connection closed by foreign host.


this is my /etc/mail/freebsd.mc
=
Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=78 
dnl Uncomment the first line to change the location of the default 
http://202.170.122.33:10099/sendmail/move.cgi?idx=78down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=78up=1 

Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=79 
dnl /etc/mail/local-host-names and comment out the second line. 
http://202.170.122.33:10099/sendmail/move.cgi?idx=79down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=79up=1 

Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=80 
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') 
http://202.170.122.33:10099/sendmail/move.cgi?idx=80down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=80up=1 

*Define* 
http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=81 
define(`confCW_FILE', `-o /etc/mail/local-host-names') 
http://202.170.122.33:10099/sendmail/move.cgi?idx=81down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=81up=1 


Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=82  

http://202.170.122.33:10099/sendmail/move.cgi?idx=82down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=82up=1
Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=83 
dnl Enable for both IPv4 and IPv6 (optional) 
http://202.170.122.33:10099/sendmail/move.cgi?idx=83down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=83up=1 

Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=84 
DAEMON_OPTIONS(`Name=IPv4, Family=inet') 
http://202.170.122.33:10099/sendmail/move.cgi?idx=84down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=84up=1 

Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=85 
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') 
http://202.170.122.33:10099/sendmail/move.cgi?idx=85down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=85up=1 


Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=86  

http://202.170.122.33:10099/sendmail/move.cgi?idx=86down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=86up=1
*Define* 
http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=87 
define(`confBIND_OPTS', `WorkAroundBroken') 
http://202.170.122.33:10099/sendmail/move.cgi?idx=87down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=87up=1 

*Define* 
http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=88 
define(`confNO_RCPT_ACTION', `add-to-undisclosed') 
http://202.170.122.33:10099/sendmail/move.cgi?idx=88down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=88up=1 

*Define* 
http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=89 
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') 
http://202.170.122.33:10099/sendmail/move.cgi?idx=89down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=89up=1 


Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=90  

http://202.170.122.33:10099/sendmail/move.cgi?idx=90down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=90up=1
Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=91 
GENERICS_DOMAIN_FILE(`/etc/mail/genericdomains'); 
http://202.170.122.33:10099/sendmail/move.cgi?idx=91down=1http://202.170.122.33:10099/sendmail/move.cgi?idx=91up=1 


Other http://202.170.122.33:10099/sendmail/edit_feature.cgi?idx=92  


Re: question about SMTP-authentication (3rd )

2012-03-12 Thread Paul Macdonald

On 12/03/2012 15:47, kamolpat wrote:

Dear Matthew,

Ok, I got sendmail complied. Thanks.
But seem like ...
POP3 still working in clear text usr/pwd sending to Server (but it 
work, I can get mail from server normal). When I chose option in 
ThunderBird to another mode, it doesn't work (accept connection 
security: none, authentication method: password transmitted 
insecurity this is the option that TB dectected during setting mail 
account)



SMTP doesn't work it declare
from Thunder Bird:

Send Message Error
The Kerberos/GSSAPI ticket was not accepted by the SMTP server 
mail.dmaccess.co.th Please check that you are logged in to the 
Kerberos/GSSAPI realm.
(event I change authentication method: Kerberos/GSSAPI, it still 
inform this message)


from /var/log/maillog
Mar 12 22:38:04 ns1 sendmail[93331]: q2CMc4jF093331: 
ppp-58-8-130-33.revip2.asianet.co.th [58.8.130.33] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to MSA




what are you using as the authentication method for sasl?

there are multiple authentication mechansims available for sasl(2), 
simplest is probably saslauthd


*In /etc/rc.conf
*saslauthd_enable=yes

In /usr/local/lib/sasl2/Sendmail.conf have:

pwcheck_method: saslauthd

make sure its running
/usr/local/etc/rc.d/saslauthd start

add a user with saslpasswd2

Test your u/p locally with testsaslauthd
testsaslauthd -u user -p PASS

(if thats not working it won't work over the network either)

have TB set to conn security to STARTTLS and password security set to 
normal password, (for non encrypted password obv)


Paul.



--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546PLEASE NOTE NEW MOBILE
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-12 Thread Shane Ambler

On 12/03/2012 10:16, Da Rock wrote:

On 03/12/12 07:19, Polytropon wrote:

On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:

here us a FBSD qauestion how can i capture any tv
stream---or radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like the
Online TV Recoder which I occassionally use. Maybe this works also
for radio programs?

Additionally, there may be an option to download some kind of media
streams. There are tools for that available.

There is cx88 in the ports which will cover a lot of pci devices, and
 webcamd covers just about all the rest. Then use mplayer or another
tool to record the stream.

And if you're real tricky you can set it to record at a specific time
 and shut off at another specified time... :) I wrote a script for
this; a bit hackish, but it gets the job done. I have to clean it up
someday when I have the spare time.


No one suggesting MythTV? I haven't used a tuner card but I thought
MythTV was the one to use.


--

Shane Ambler
FreeBSD (at) ShaneWare (dot) Biz

http://ShaneWare.Biz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-12 Thread Da Rock

On 03/13/12 12:27, Shane Ambler wrote:

On 12/03/2012 10:16, Da Rock wrote:

On 03/12/12 07:19, Polytropon wrote:

On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:

here us a FBSD qauestion how can i capture any tv
stream---or radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like the
Online TV Recoder which I occassionally use. Maybe this works also
for radio programs?

Additionally, there may be an option to download some kind of media
streams. There are tools for that available.

There is cx88 in the ports which will cover a lot of pci devices, and
 webcamd covers just about all the rest. Then use mplayer or another
tool to record the stream.

And if you're real tricky you can set it to record at a specific time
 and shut off at another specified time... :) I wrote a script for
this; a bit hackish, but it gets the job done. I have to clean it up
someday when I have the spare time.


No one suggesting MythTV? I haven't used a tuner card but I thought
MythTV was the one to use.

Pah! Too much bloat - especially for this use.

A lot of setup and configuration is required, and for a one off why bother?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Gary Kline
guys,

i made the mistake that conrad did when replying.  i could make e
excuse liked only getting five hours sleep, etc, bujt i wont.

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?  or is that illegal, too?

gray



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Joshua Isom

On 3/11/2012 3:28 PM, Gary Kline wrote:

guys,

i made the mistake that conrad did when replying.  i could make e
excuse liked only getting five hours sleep, etc, bujt i wont.

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?  or is that illegal, too?

gray





For capturing, I believe linux is your best bet.  I had tried using the 
bktr driver, but I couldn't get it to work properly with the card I had. 
 It could work somewhat from what I remember.  The card was my 
brother's and he used it under linux, but he upgraded to a better one.


Legality should be the same as a VCR/DVR, personal use only and don't 
redistribute.

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Al Plant

Gary Kline wrote:

guys,

i made the mistake that conrad did when replying.  i could make e
excuse liked only getting five hours sleep, etc, bujt i wont.

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?  or is that illegal, too?

gray




Aloha,

Most Public Radio stations have the programs in podcast form from their 
websites. I have had TV stations send me dvd's of broadcasts that my 
Wife has been on here in Hawaii. I think asking the media will get you 
results.


Many of us on the FreeBSD questions list seem to have writing 
backgrounds and are interested in Joseph Campbell and his developments 
in writing and storytelling audio and video process.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

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


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Polytropon
On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:
 here us a FBSD qauestion how can i capture any tv stream---or
 radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like
the Online TV Recoder which I occassionally use. Maybe this
works also for radio programs?

Additionally, there may be an option to download some kind
of media streams. There are tools for that available.



 or is that illegal, too?

Yes, it is. It's also illegal to listen to MP3 in the US. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: oops, now: bsd question: how to record a tv stream?

2012-03-11 Thread Da Rock

On 03/12/12 07:19, Polytropon wrote:

On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote:

here us a FBSD qauestion how can i capture any tv stream---or
radio stream for later replay?

I've been using a BrookTree (Haupauge WinTV) PCI card for
capturing from TV which worked very good using the standard
programs mplayer and mencoder.

For capturing TV programs, there may be some service like
the Online TV Recoder which I occassionally use. Maybe this
works also for radio programs?

Additionally, there may be an option to download some kind
of media streams. There are tools for that available.
There is cx88 in the ports which will cover a lot of pci devices, and 
webcamd covers just about all the rest. Then use mplayer or another tool 
to record the stream.


And if you're real tricky you can set it to record at a specific time 
and shut off at another specified time... :) I wrote a script for this; 
a bit hackish, but it gets the job done. I have to clean it up someday 
when I have the spare time.

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


question about SMTP-authentication

2012-03-08 Thread kamolpat

To whom it may concern:

Hello, may I need your help about SMTP authentication?

Problems:
=
SMTP-authen  doesn't functioning, when I use ThunderBird I try to set 
authentication method as Kerberos/GSSAPI or Encrypted password, it 
doesn't work.


Background:
===
I'm intermediate FreeBSD sysadmin. I used to run only normal mail 
service in my company, which use POP3 on myserver and SMTP from ISP. Now 
my ISP always get problem, so I prefer to set SMTP service on my server 
and provide to staffs in company. However to set pure SMTP is not safe, 
then I prefer to use SMTP-authenicate.


Setup Reference
==
1. I read the how to setup from  FreeBSD Handbook (online)- Chapter 29 
Electronic Mail - 29.10 SMTP Authentication  from freebsd.org

2. setup for cyrus-sasl2 was fine (setup via usr/ports/security/cyrus-sasl2)
3. setup for openssl was 90% fine (setup via port) reference to FreeBSD 
Handbook (online)-Chapter 15 Security - 15.8 OpenSSL
accept the STARTTLS line doesn't appear  as mention on the last 
part of article.


Raw info for considers

from /var/log/maillog
---
revip2.asianet.co.th is my provider , the dmaccess.co.th is my server

Mar  8 22:35:35 ns1 sendmail[18640]: q28MZZ4l018640: 
ppp-58-8-163-248.revip2.asianet.co.th [58.8.163.248] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to IPv4
Mar  8 22:37:29 ns1 sendmail[18644]: q28MbSv3018644: ruleset=check_rcpt, 
arg1=kamol...@dmaccess.net, 
relay=ppp-58-8-163-248.revip2.asianet.co.th [58.8.163.248], reject=550 
5.7.1 kamolpa
Mar  8 22:37:34 ns1 sendmail[18644]: q28MbSv3018644: 
from=smtpt...@dmaccess.co.th, size=778, class=0, nrcpts=0, 
proto=ESMTP, daemon=IPv4, relay=ppp-58-8-163-248.revip2.asianet.co.th [58.
Mar  8 22:38:31 ns1 sendmail[18646]: q28McVl2018646: 
ppp-58-8-163-248.revip2.asianet.co.th [58.8.163.248] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to IPv4
Mar  8 22:39:55 ns1 sendmail[18650]: q28MdsOC018650: 
ppp-58-8-163-248.revip2.asianet.co.th [58.8.163.248] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to IPv4
Mar  8 22:40:57 ns1 sendmail[18688]: q28MevLw018688: 
ppp-58-8-163-248.revip2.asianet.co.th [58.8.163.248] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to IPv4
Mar  8 22:42:05 ns1 sendmail[18689]: q28Mffbd018689: 
ppp-58-8-163-248.revip2.asianet.co.th [58.8.163.248] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to IPv4


from /etc/mail/freebsd.mc
--
dnl set SASL options
TRUST_AUTH_MECH (`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS',`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl

dnl SSL Options
define(`confCACERT_PATH',`/etc/ssl')dnl
define(`confCACERT',`/etc/ssl/dm_new.crt')dnl
define(`confSERVER_CERT',`/etc/ssl/dm_new.crt')dnl
define(`confSERVER_KEY',`/etc/ssl/dm_ca.key')dnl
define(`confTLS_SRV_OPTIONS',`V')dnl

MAILER(local)
MAILER(smtp)


Thanks in advance

Kamolpat








E-mail message checked by Internet Security (7.0.0.508)
Database version: 6.19420
http://www.pctools.com/en/internet-security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about SMTP-authentication

2012-03-08 Thread Matthew Seaman
On 08/03/2012 15:55, kamolpat wrote:
 Setup Reference
 ==
 1. I read the how to setup from  FreeBSD Handbook (online)- Chapter 29
 Electronic Mail - 29.10 SMTP Authentication  from freebsd.org
 2. setup for cyrus-sasl2 was fine (setup via
 usr/ports/security/cyrus-sasl2)
 3. setup for openssl was 90% fine (setup via port) reference to FreeBSD
 Handbook (online)-Chapter 15 Security - 15.8 OpenSSL
 accept the STARTTLS line doesn't appear  as mention on the last
 part of article.
 

Did you rebuild sendmail with the right flags so that it would enable
all the SASL bits?  Apart from that you seem to have done all the right
stuff that I can see.

You need to add this to /etc/make.conf:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

and then rebuild sendmail -- assuming you have system sources installed:

# cd /usr/src/usr.sbin/sendmail
# make clean
# make
# make install

If you haven't got the system sources installed, then you can get them
easily enough with csup(1) or freebsd-update(8) or several other ways.
Or you could just install sendmail from ports -- obviously, make sure to
choose the option to enable SASL in the config dialogue.  If you use the
ports sendmail, so long as you set up mailer.conf(5) to point to the
ports version -- like so:

lucid-nonsense:/etc/mail:% cat mailer.conf
# $FreeBSD: stable/8/etc/mail/mailer.conf 93858 2002-04-05 04:25:14Z
gshapiro $
#
# Execute the real sendmail program, named /usr/local/sbin/sendmail
#
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail
hoststat/usr/local/sbin/sendmail
purgestat   /usr/local/sbin/sendmail

and put the following in /etc/make.conf so it uses the latest
configuration file bits:

SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
MAKEMAP=/usr/local/sbin/makemap

then the ports sendmail is pretty much a drop-in replacement for the
system one, and you can use all the config bits in /etc/mail in exactly
the same way as normal.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: question about SMTP-authentication

2012-03-08 Thread Julian H. Stacey
kamolpat wrote:
 To whom it may concern:

I hope you get a more useful reply than mine later,  no time here, sorry
but I've had SASL-1 running fine for years FreeBSD both ends.
Documented here, 
http://www.berklix.com/~jhs/txt/sasl.html 
There's various URLs there to SASL-2

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


realpath(3): a curiosity question

2012-03-08 Thread Conrad J. Sabatier
I'm just wondering if anyone knows the rationale behind the differing
return codes from realpath() for non-existent paths, depending on
whether the non-existent element of a path is at the end of the
path or if it occurs somewhere further up the chain.

Not asking that it be changed, mind you.  Just wondering why it was
decided to distinguish between these two cases.  From the programmer's
perspective, this is something of a minor annoyance, as running a
non-existent path through realpath() may or may not return NULL, and
therefore still requires additional code to further validate the path
returned in the non-NULL case.

Granted, the stated purpose of this function is not to verify a path's
existence, but nonetheless, having a function that might be called
non-deterministic in the results it returns just seems, well, *bad* to
me (for lack of a better word at the moment).

Does anyone have any idea what the reasoning is behind this design?

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hey.

I believe I have a pcmcia card that requires upgt firmware.
From upgt(4) ...

 This driver requires the upgtfw firmware to be installed before it will
 work.  The firmware files are not publicly available.  A package of the
 firmware which can be installed via pkg_add(1) is available:

   http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz... Done.
pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

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


Re: Simple question about pkg_add ...

2012-02-28 Thread Polytropon
On Wed, 29 Feb 2012 01:52:13 +1030, David Walker wrote:
 Hey.
 
 I believe I have a pcmcia card that requires upgt firmware.
 From upgt(4) ...
 
  This driver requires the upgtfw firmware to be installed before it will
  work.  The firmware files are not publicly available.  A package of the
  firmware which can be installed via pkg_add(1) is available:
 
  http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 
 pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz... 
 Done.
 pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

Did you have a look at what's inside the .tar.gz file?
A directory upgt-firmware-2.13.1.0 with the following
files: Makefile, distinfo, pkg-descr, and pkg-plist.

Obviously, that's not a binary package for pkg_add use.
It's a port.

Extract the file and use it with the port infrastructure
(i. e. make install).

Seems that the instruction in man 4 upgt is just missing
the proper terminology...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hi Polytropon.

I did have a look inside and I did pkg_add -v which gives enough
information combined with my meagre knowledge to guess that it had
something to do with source.
I'm so unfamiliar with pkg_add I'm not sure if that is normal.
I'm very new here.
Certainly it's not in a suitable format for pkg_add to deal with.

I guess pkg_add is the preferred option for firmware installation.
I'll contact the maintainer.

On 29/02/2012, Polytropon free...@edvax.de wrote:
 On Wed, 29 Feb 2012 01:52:13 +1030, David Walker wrote:
 Hey.

 I believe I have a pcmcia card that requires upgt firmware.
 From upgt(4) ...

  This driver requires the upgtfw firmware to be installed before it
 will
  work.  The firmware files are not publicly available.  A package of
 the
  firmware which can be installed via pkg_add(1) is available:

 http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

 pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz...
 Done.
 pkg_add: unable to open table of contents file '+CONTENTS' - not a
 package?

 Did you have a look at what's inside the .tar.gz file?
 A directory upgt-firmware-2.13.1.0 with the following
 files: Makefile, distinfo, pkg-descr, and pkg-plist.

 Obviously, that's not a binary package for pkg_add use.
 It's a port.

 Extract the file and use it with the port infrastructure
 (i. e. make install).

 Seems that the instruction in man 4 upgt is just missing
 the proper terminology...



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

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


Re: Simple question about pkg_add ...

2012-02-28 Thread Polytropon
On Wed, 29 Feb 2012 12:41:46 +1030, David Walker wrote:
 Hi Polytropon.
 
 I did have a look inside and I did pkg_add -v which gives enough
 information combined with my meagre knowledge to guess that it had
 something to do with source.

A port (as you can find it inside the archive) is a recipe
for dealing with sources, e. g. where to obtain then, how
to compile, where to install to and so on. The ports collection
of the FreeBSD OS is used to deal with handling software
based on sources: configure, patch, build, install, deinstall,
upgrade and similar tasks.

See man ports for a better explaination.



 I'm so unfamiliar with pkg_add I'm not sure if that is normal.

The pkg_add utility installs programs from binary packages.
Those packages are created by compiling a port - typically
with its default options. Those packages are built for the
FreeBSD ports collection and made available by the FreeBSD
team. External packages, created outside the world of
FreeBSD ports, are possible.

See man pkg_add for details.



 I'm very new here.
 Certainly it's not in a suitable format for pkg_add to deal with.

Correct. A pkg_add package typically contains compiled stuff,
i. e. binaries, and a packaging list for installation and
later removal. Additional tasks can also be scripted.



 I guess pkg_add is the preferred option for firmware installation.

It's used to install programs (or libraries) to the FreeBSD
system. The use with firmware is also possible. Basically,
ports (from source) and packages (precompiled binaries) have
the same purpose: Get things installed.

If the maintainer would compile the port (that he provided
for download) and give the proper URL of the result in the
manpage, pkg_add would work as intended.



 I'll contact the maintainer.

That would be a good idea as the description you quoted from
the manpage is technically not correct.

Option 1: Provide a pkg_add-able package.

Option 2: Provide instructions on how to deal with the port.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS question

2012-02-18 Thread Denis Fortin

Good morning,

On a small system using FreeBSD 9.0-RELEASE, ZFS is reporting an issue 
on a pool, that I am not certain is really an issue, but I don't know 
how to investgate...


Here is the situation: I have created a ZFS pool on an external 1TB 
Maxstor USB drive.


The ZFS pool sees little or no activity, I haven't started using it for 
real yet.


The drive spins down frequently because of lack of activity, and takes 
quite a few seconds to spin up.


Now, I frequently get errors in the 'zpool status' thus (like, a couple 
of times per day):


 [denis@datasink] ~ zpool status -v
   pool: maxstor
  state: ONLINE
 status: One or more devices has experienced an unrecoverable error.  An
 attempt was made to correct the error.  Applications are 
unaffected.
 action: Determine if the device needs to be replaced, and clear the 
errors

 using 'zpool clear' or replace the device with 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-9P
  scan: scrub repaired 0 in 0h0m with 0 errors on Sat Feb 18 08:49:41 2012
 config:

 NAME  STATE READ 
WRITE CKSUM
 maxstor   ONLINE   
0 0 0
   gptid/64a30ca9-56ad-11e1-80c4-24ce7c30  ONLINE   
1 0 0


 errors: No known data errors
 [denis@datasink] ~ zpool iostat -v maxstor
capacity operations
bandwidth
 poolalloc   free   read  write   
read  write
 --  -  -  -  -  
-  -
 maxstor 1.10M   928G  0  0
455  1.11K
   gptid/64a30ca9-56ad-11e1-80c4-24ce7c30  1.10M   928G  
0  0455  1.11K
 --  -  -  -  -  
-  -


I know that this sounds bad for the drive, but I cannot find anywhere in 
my logs (/var/log/messages, dmesg, etc) a reference to this supposed 
'unrecoverable error' that the drive has had, and the resilvering 
*always* works.


I am wondering whether it might not simply be a timeout issue, that is: 
the drive is taking too long to spin up, which causes a timeout and a 
read error to be reported, which then disappears completely once the 
drive has spun up.


Does anybody have a suggestion about how I could go about investigating 
this issue?  Shouldn't there be a log of the 'unrecoverable error' 
somewhere?


Thank you all,

Denis

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


Question regarding SPF records

2012-02-18 Thread Jonathan Vomacka
I am inquiring about how to setup a proper SPF record. I know there are 
SPF wizards/generators available but each seem to have a different 
opinion of what should be included and what should not be included.


Let me give you a scenario of my setup, and hopefully someone can help 
me out.


My domain is: test.com
My mailserver hostname is: mail.host.com which also has a MATCHING PTR 
record
mail.host.com (for example) resolves to 50.1.1.1 and 50.1.1.1 resolves 
to mail.host.com


This is a STANDALONE mail server which will receive and send email 
without any VIP's or load balancing. There is however one additional 
host that will send out mail from the domain but it wont be receiving 
mail, it will only be used as an SMTP (outbound only) server attached to 
a website automailer which is on a seperate webserver... It only 
generates error reports and sends them out... so technically it isn't a 
full mail server but it will be sending (outbound only) mail on behalf 
of the domain.


The additional host is: mail2.test.com which resolves to 50.2.2.2 and 
there is a Matching PTR.


These are the ONLY mail servers and IP addresses that will be sending 
out mail from the test.com domain. Some websites say I should use -all 
and others say -all will cause some MTA's to reject and ~all is better 
to use even if those are the only two hosts sending out mail.


Would you be able to assist with a solid SPF record?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question regarding SPF records

2012-02-18 Thread Waitman Gobble
On Feb 18, 2012 8:53 AM, Jonathan Vomacka juvi...@gmail.com wrote:

 I am inquiring about how to setup a proper SPF record. I know there are
SPF wizards/generators available but each seem to have a different
opinion of what should be included and what should not be included.

 Let me give you a scenario of my setup, and hopefully someone can help me
out.

 My domain is: test.com
 My mailserver hostname is: mail.host.com which also has a MATCHING PTR
record
 mail.host.com (for example) resolves to 50.1.1.1 and 50.1.1.1 resolves to
mail.host.com

 This is a STANDALONE mail server which will receive and send email
without any VIP's or load balancing. There is however one additional host
that will send out mail from the domain but it wont be receiving mail, it
will only be used as an SMTP (outbound only) server attached to a website
automailer which is on a seperate webserver... It only generates error
reports and sends them out... so technically it isn't a full mail server
but it will be sending (outbound only) mail on behalf of the domain.

 The additional host is: mail2.test.com which resolves to 50.2.2.2 and
there is a Matching PTR.

 These are the ONLY mail servers and IP addresses that will be sending out
mail from the test.com domain. Some websites say I should use -all and
others say -all will cause some MTA's to reject and ~all is better to use
even if those are the only two hosts sending out mail.

 Would you be able to assist with a solid SPF record?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

I usually choose soft fail because a user might decide to use a mobile
device for email.

Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question regarding SPF records

2012-02-18 Thread Jonathan Vomacka



On 2/18/2012 12:18 PM, Waitman Gobble wrote:


On Feb 18, 2012 8:53 AM, Jonathan Vomacka juvi...@gmail.com
mailto:juvi...@gmail.com wrote:
 
  I am inquiring about how to setup a proper SPF record. I know there
are SPF wizards/generators available but each seem to have a different
opinion of what should be included and what should not be included.
 
  Let me give you a scenario of my setup, and hopefully someone can
help me out.
 
  My domain is: test.com http://test.com
  My mailserver hostname is: mail.host.com http://mail.host.com which
also has a MATCHING PTR record
  mail.host.com http://mail.host.com (for example) resolves to
50.1.1.1 and 50.1.1.1 resolves to mail.host.com http://mail.host.com
 
  This is a STANDALONE mail server which will receive and send email
without any VIP's or load balancing. There is however one additional
host that will send out mail from the domain but it wont be receiving
mail, it will only be used as an SMTP (outbound only) server attached to
a website automailer which is on a seperate webserver... It only
generates error reports and sends them out... so technically it isn't a
full mail server but it will be sending (outbound only) mail on behalf
of the domain.
 
  The additional host is: mail2.test.com http://mail2.test.com which
resolves to 50.2.2.2 and there is a Matching PTR.
 
  These are the ONLY mail servers and IP addresses that will be sending
out mail from the test.com http://test.com domain. Some websites say I
should use -all and others say -all will cause some MTA's to reject and
~all is better to use even if those are the only two hosts sending out mail.
 
  Would you be able to assist with a solid SPF record?
  ___
  freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org
mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
mailto:freebsd-questions-unsubscr...@freebsd.org

I usually choose soft fail because a user might decide to use a mobile
device for email.

Waitman Gobble
San Jose California USA



Waitman,

Fair enough statement.

I also generated the following SPF using a wizard. Let me know if this 
looks correct:


teamwarfare.com. IN TXT v=spf1 a mx a:mail.teamwarfare.com 
a:mail2.teamwarfare.com ip4:66.90.73.80 ip4:216.250.250.148 ~all


I wouldn't need an include: or ptr statement in this right? I would 
told include: was to include OTHER domains that are allowed to send 
e-mail, but then again I see some people writing the domain again as an 
include. Also is PTR good to use or not?

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


Re: Question regarding SPF records

2012-02-18 Thread RW
On Sat, 18 Feb 2012 12:34:09 -0500
Jonathan Vomacka wrote:


 teamwarfare.com. IN TXT v=spf1 a mx a:mail.teamwarfare.com 
 a:mail2.teamwarfare.com ip4:66.90.73.80 ip4:216.250.250.148 ~all
 
 I wouldn't need an include: or ptr statement in this right? I
 would told include: was to include OTHER domains that are allowed
 to send e-mail, but then again I see some people writing the domain
 again as an include. Also is PTR good to use or not?


If you can specify the servers  with ip addresses then that's all you
need.

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


Re: ZFS question

2012-02-18 Thread George Kontostanos
On Sat, Feb 18, 2012 at 12:35 PM, Denis Fortin for...@acm.org wrote:
 Good morning,

 On a small system using FreeBSD 9.0-RELEASE, ZFS is reporting an issue on a
 pool, that I am not certain is really an issue, but I don't know how to
 investgate...

 Here is the situation: I have created a ZFS pool on an external 1TB Maxstor
 USB drive.

 The ZFS pool sees little or no activity, I haven't started using it for real
 yet.

 The drive spins down frequently because of lack of activity, and takes quite
 a few seconds to spin up.

 Now, I frequently get errors in the 'zpool status' thus (like, a couple of
 times per day):

 [denis@datasink] ~ zpool status -v
   pool: maxstor
  state: ONLINE
 status: One or more devices has experienced an unrecoverable error.  An
         attempt was made to correct the error.  Applications are
 unaffected.
 action: Determine if the device needs to be replaced, and clear the errors
         using 'zpool clear' or replace the device with 'zpool replace'.
    see: http://www.sun.com/msg/ZFS-8000-9P
  scan: scrub repaired 0 in 0h0m with 0 errors on Sat Feb 18 08:49:41 2012
 config:

         NAME                                          STATE     READ WRITE
 CKSUM
         maxstor                                       ONLINE       0     0
     0
           gptid/64a30ca9-56ad-11e1-80c4-24ce7c30  ONLINE       1     0
     0

 errors: No known data errors
 [denis@datasink] ~ zpool iostat -v maxstor
                                            capacity     operations
  bandwidth
 pool                                    alloc   free   read  write   read
  write
 --  -  -  -  -  -
  -
 maxstor                                 1.10M   928G      0      0    455
  1.11K
   gptid/64a30ca9-56ad-11e1-80c4-24ce7c30  1.10M   928G      0      0
  455  1.11K
 --  -  -  -  -  -
  -

 I know that this sounds bad for the drive, but I cannot find anywhere in my
 logs (/var/log/messages, dmesg, etc) a reference to this supposed
 'unrecoverable error' that the drive has had, and the resilvering *always*
 works.

 I am wondering whether it might not simply be a timeout issue, that is: the
 drive is taking too long to spin up, which causes a timeout and a read error
 to be reported, which then disappears completely once the drive has spun up.

 Does anybody have a suggestion about how I could go about investigating this
 issue?  Shouldn't there be a log of the 'unrecoverable error' somewhere?

 Thank you all,

 Denis

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

The power management settings put your drive to sleep after some time
of inactivity.

Unfortunately the only way I have found to adjust this is from a
windows pc utility. (You can download it from their website)

To solve the problem you can export the pool when you don't use it and
import it back again. If that is not possible you can schedule a 5
minute cron job to query the status.

Regards
-- 
George Kontostanos
Aicom telecoms ltd
http://www.aisecure.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Technical Support Question

2012-02-17 Thread perryh
Chip Oakley silverskymus...@gmail.com wrote:

 Am tempted to remove the drive and insert a new one, not sure as
 there is memory on the drive available and nothing really wrong
 with it.

If you don't mind losing everything currently on the drive,
overwriting the MBR -- and the backup GPT at the end of the drive,
if the BIOS supports GPT/UEFI -- would surely keep it from booting
into Windows.  You'd probably have to take the drive out, and
connect it to a different machine (since this one's BIOS seems
hardwired to boot only from the hard drive).

Another possibility would be to clear the machine's CMOS, if there's
a way to do that.  Desktop mainboards usually have a jumper for the
purpose; dunno about Samsung laptops but removing the CMOS battery
and giving it a few minutes for the stray capacitance to discharge
should suffice.  (Getting to the CMOS battery may involve taking the
case apart.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Technical Support Question

2012-02-17 Thread Chip Oakley
Thanks interesting possibilities.

One thought I had is creating an operating system independent BIOS where
the appropriate machine code is inserted into the events that lead to an
override of the processes that is forcing into windows. Maybe burned to a
CD or USB,  from another computer and tie the low level to a keyboard
function,  Like pressing F2 etc, at boot to access new BIOS functionality.

Is this possible?

On Fri, Feb 17, 2012 at 11:26 AM, per...@pluto.rain.com wrote:

 Chip Oakley silverskymus...@gmail.com wrote:

  Am tempted to remove the drive and insert a new one, not sure as
  there is memory on the drive available and nothing really wrong
  with it.

 If you don't mind losing everything currently on the drive,
 overwriting the MBR -- and the backup GPT at the end of the drive,
 if the BIOS supports GPT/UEFI -- would surely keep it from booting
 into Windows.  You'd probably have to take the drive out, and
 connect it to a different machine (since this one's BIOS seems
 hardwired to boot only from the hard drive).

 Another possibility would be to clear the machine's CMOS, if there's
 a way to do that.  Desktop mainboards usually have a jumper for the
 purpose; dunno about Samsung laptops but removing the CMOS battery
 and giving it a few minutes for the stray capacitance to discharge
 should suffice.  (Getting to the CMOS battery may involve taking the
 case apart.)




-- 
Any attachments (WAV. MP3, PDF) files etc, contain copyrighted material
that is protected under intellectual property law in the USA
and internationally through the World Intellectual Property Organization in
Geneva, Switzerland.

 Messages are for the intended recipients only and usually contain
confidential information as well. If you received this message or any
previous messages in error, please notify the sender immediately and delete
any files or emails that may be in question. Thanks for your consideration.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Technical Support Question

2012-02-17 Thread Da Rock

On 02/17/12 19:58, Chip Oakley wrote:

Thanks interesting possibilities.

One thought I had is creating an operating system independent BIOS where
the appropriate machine code is inserted into the events that lead to an
override of the processes that is forcing into windows. Maybe burned to a
CD or USB,  from another computer and tie the low level to a keyboard
function,  Like pressing F2 etc, at boot to access new BIOS functionality.

Is this possible?

I don't believe so.

Its not really that hardwired to windows, not in my experience; it is a 
real PITA though. If you play your cards right and you know enough about 
BIOS you will get it. With the new laptops they really try hard to stick 
windows like shit on your laptop. But they can't _make_ you use it.


New HP laptops (like the ones I use), can take a few goes to get it to 
install. Asus are about the same. Just watch your boot ordering and you 
will be fine.


I keep reiterating using USB to install because it really does simplify 
matters.


In the BIOS you usually find about 3 entries to set the boot order. One 
is to set the boot order (removable, hdd, or network), one for which 
removable (cdrom, usb cdrom, usb floppy, etc), and one for hdd priority 
(here is where your usb disk will show up, and you _will_ have to set it 
as boot every time, but it will boot).


Set the boot order for removable, hdd, network (or disable if you like). 
Set the removable to cdrom. Set the hdd (temporarily because as I said 
it _will_ change) to the usb disk. Voila! it will start the install.


I have found the cdrom to be fickle on the new laptops for booting, I'm 
not sure exactly why but I suspect the confusion of removable drives in 
the BIOS. I'm not a samsung expert, but most laptop BIOS are very 
similar (at least ones in the same era).


#1 Get a BIOS expert to help if you can't get this figured. They will be 
able to show you exactly what to do in front of you in about 5-10 mins. 
Easier to understand if its visually shown to you rather than described.


Once you jump this hurdle you will do just fine.


On Fri, Feb 17, 2012 at 11:26 AM,per...@pluto.rain.com  wrote:


Chip Oakleysilverskymus...@gmail.com  wrote:


Am tempted to remove the drive and insert a new one, not sure as
there is memory on the drive available and nothing really wrong
with it.

If you don't mind losing everything currently on the drive,
overwriting the MBR -- and the backup GPT at the end of the drive,
if the BIOS supports GPT/UEFI -- would surely keep it from booting
into Windows.  You'd probably have to take the drive out, and
connect it to a different machine (since this one's BIOS seems
hardwired to boot only from the hard drive).

Another possibility would be to clear the machine's CMOS, if there's
a way to do that.  Desktop mainboards usually have a jumper for the
purpose; dunno about Samsung laptops but removing the CMOS battery
and giving it a few minutes for the stray capacitance to discharge
should suffice.  (Getting to the CMOS battery may involve taking the
case apart.)






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


Re: Processor question

2012-02-17 Thread Erich Dollansky
Hi,

On Thursday 16 February 2012 17:20:23 krad wrote:
 On 14 February 2012 20:28, Frank Shute fr...@shute.org.uk wrote:
 
  On Tue, Feb 14, 2012 at 02:47:08PM -0500, Mike Dockery wrote:
  
   Greetings,
 
  Aloha,
 
  
   I have been a user of Linux since 1994, but most of the linux distros
   seem to be getting away from freedom... which is why I chose it in the
   first place.  They seem intent on forcing things that do not work well
   (like pulseaudio and nouveau) on everyone.  Freedom of choice is always
   best.
 
  Yeah, I used to use Linux but they became a bunch of Freedom Nazis
  controlled by big companies.
 
  Happily using FreeBSD for 10 years.
 
  
   My question is:  Should I try the amd64 version of FreeBSD with my Intel
   Core i7-2600 processor or should I use the i386?
 
  Generally, for an x86 machine with 4GB or greater memory use amd64.
  Memory less than that use i386.
 
 
 I would actually say 3GB or more, as if you have a machine at 4gb and run a
 32bit os you waste the best part of a gig or more due to pci addressing etc
 
I would use the amd64 version in any case. I was forced once to switch because 
I needed more than 4GB memory for a single application. I noticed then that 
most things went smoother then.

Erich
 
 
  ie. you almost certainly want to use amd64, I should think.
 
  
   I hope to give FreeBSD a try later this month.
 
  Excellent. Best of luck and any problems not covered in the handbook
  or google, post here. Welcome to FreeBSD!
 
  
   Thanks,
  
   Mike Dockery
 
  Regards,
 
  --
 
   Frank
 
   Contact info: http://www.shute.org.uk/misc/contact.html
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


<    1   2   3   4   5   6   7   8   9   10   >