Re: How to be an imap Client?

2011-04-21 Thread perryh
Jerry freebsd.u...@seibercom.net wrote:

 On Wed, 20 Apr 2011 10:01:28 -0500
 Martin McCormick mar...@dc.cis.okstate.edu articulated:
  ... our entire network is on the blacklist ...

 Why are you blacklisted? It seems correcting that problem
 would be my first priority.

Being a university, okstate.edu has students, most of whom are
not in the CIS department or in any way under control of the CIS
department's sysadmin.  Need I say more?
___
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: Modifying Sendmail's Configuration the Correct way.

2011-04-21 Thread Ruben de Groot
On Wed, Apr 20, 2011 at 03:50:16PM -0400, Alejandro Imass typed:
 On Wed, Apr 20, 2011 at 2:47 PM, Martin McCormick
 mar...@dc.cis.okstate.edu wrote:
  ? ? ? ?The /etc/mail/sendmail.cf file very clearly tells one
  not to edit it directly so I edited the
 
 
 Hey Martin, this might not be the exact answer you're looking for but
 I despise sendmail but *love* FreeBSD so here are my $0.02:
 
 
 1) edit your /etc/rc.conf
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES
 
 2) cd /usr/ports/mail/postfix
 make install clean

For crying out loud, he's asking a question about sendmail configuration.
If someone asks you directions to the airport, and you hate flying, do 
you point them to the railway station?

Ruben

___
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: redirecting command output depending on exit status

2011-04-21 Thread Riaan Kruger

  I have a cron task set up using lockf.
 
  I'd like to redirect one exit status to /dev/null :

I think that the exit status of a command will be after any output of the
command to stderr or stdout.  So first it will say This is wrong and then
it will exit giving you the exit code.

The only thing I can think of is to write a wrapper script which in effect
parses out the error message  for example:
command | grep -v offending message  logfile

Regards
Riaan
___
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: can't determine sound card driver to use in /etc/rc.conf

2011-04-21 Thread Polytropon
On Wed, 20 Apr 2011 14:52:56 -0500, Antonio Olivares olivares14...@gmail.com 
wrote:
 Here's output from shell
 
 [olivares@grulla ~]$ mplayer dvd://1
 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team
 
 Playing dvd://1.
 libdvdread: Using libdvdcss version 1.2.10 for DVD access
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
 libdvdread: Can't open file VIDEO_TS.BU.
 Can't open VMG info!
 No stream found to handle url dvd://1
 
 
 Exiting... (End of file)

This looks like mplayer is accessing the drive, but
cannot play the file. A missing codec error should
look different.



 I have tried different movies and get similar results :(

So you can exclude media error.

Maybe this diagnostic script from my outbox can
help you to track down the error. It has been made
on 7-STABLE i386 with mplayer-0.99.11_3 - a quite
old system. See if the steps described here can be
reproduced on your system in a similar way.



***

Here's an example of my THX 1138 movie DVD:

Step 1: Identify media

% cdcontrol info
Starting track = 1, ending track = 1, TOC size = 18 bytes
track start  duration   block  length   type
-
1   0:02.00  206:28.68   0  929168   data
  170  206:30.68 -  929168   -  -

Step 2: Identify file system

% file -  /dev/acd0
/dev/stdin: UDF filesystem data (version 1.5) 'THX_1138'

Step 3: Mount file system and check content

% sudo mount -t cd9660 -o ro /dev/acd0 /mnt

% ls -R /mnt
audio_ts/ video_ts/
/mnt/audio_ts:
/mnt/video_ts:
video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob* vts_05_0.bup*
video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob* vts_05_0.ifo*
video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup* vts_05_0.vob*
vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo* vts_05_1.vob*
vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob*
vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob*

% sudo umount /mnt

Step 4: Play DVD content - ATTENTION - DVD not mounted for that!

% mplayer -alang de -aid 129 dvd://2
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2,
Stepping:9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing dvd://2.

There are 21 titles on this DVD.
There are 50 chapters in this DVD title.
There are 1 angles in this DVD title.

audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (5.1) language: de aid: 129.
audio stream: 2 format: ac3 (5.1) language: es aid: 130.
audio stream: 3 format: ac3 (stereo) language: en aid: 131.
audio stream: 4 format: ac3 (5.1) language: en aid: 132.
number of audio channels on disk: 5.

subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: de
subtitle ( sid ): 2 language: es
subtitle ( sid ): 3 language: fr
subtitle ( sid ): 4 language: it
subtitle ( sid ): 5 language: pt
subtitle ( sid ): 6 language: da
subtitle ( sid ): 7 language: fi
subtitle ( sid ): 8 language: iw
subtitle ( sid ): 9 language: is
subtitle ( sid ): 10 language: no
subtitle ( sid ): 11 language: sv
subtitle ( sid ): 12 language: hr
subtitle ( sid ): 13 language: cs
subtitle ( sid ): 14 language: el
subtitle ( sid ): 15 language: pl
subtitle ( sid ): 16 language: hu
subtitle ( sid ): 17 language: tr
subtitle ( sid ): 18 language: sl
subtitle ( sid ): 19 language: en
subtitle ( sid ): 20 language: de
number of subtitles on disk: 21
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 
kbyte/s)

==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder 
libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))

==


Re: Modifying Sendmail's Configuration the Correct way.

2011-04-21 Thread Matthew Seaman
On 20/04/2011 19:47, Martin McCormick wrote:
   After that, I did a make in that directory and things
 seemed to go well. After restarting sendmail, it still wanted to
 resolve normally and not use the gateway.

Did you run?:

   # make all install restart

That's the usual idiom after editing the .mc file.  You can tell that
this has worked, because you will find the name of your smart host in
/etc/mail/sendmail.cf.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


how to protect my system from third party apps crashes

2011-04-21 Thread Michael

Hello.

I'm having stability issues on my desktop system running FreeBSD 8.2-R 
on amd64. It happens quite often that some application (say web browser) 
goes nuts and totally locks-up my system.


When it happens it looks like the application is frozen but I can't kill 
it. WCPU usage goes up rapidly and after a while system doesn't respond 
to anything than brutal hard reset.


I guess it's not the system itself to blame, but it would be good if it 
could handle misbehaving programs. What I'm looking for is some kind of 
protection from system lock ups. I don't mind when the browser hangs, 
but I don't want it to kill my whole system.

Any suggestions, hints, ideas please?

I am aware that it's a workaround to the problem instead of a real 
solution, but that's what is needed.


Michael

___
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


Cannot boot from ZFS raidz1

2011-04-21 Thread Wolfgang Riegler
Hi,

I have used this setup guide 
(http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1) line by line with the 
8.2-RELEASE DVD for amd64 to install a VirtualBox guest for testing.
The only difference to the setup guide: I use a SAS controler, so devicename is 
da0, da1, da2 instead of ad0, etc. I tried it with a SATA controler as well, 
but no differences.

After reboot, I get the following error from the loader:
ZFS: i/o error - all block copies unavailable
ZFS: can't read MOS object directory
Can't find root filesystem - giving up
ZFS: unexpected object set type 0
ZFS: unexpected object set type 0

FreeBSD/x86 boot
Default: zroot:/boot/kernel/kernel
boot:
ZFS: unexpected object set type 0

FreeBSD/x86 boot
Default: zroot:/boot/kernel/kernel
boot:


I hope someone can give an hint, what's going wrong here.

Thanks in advance

Wolfgang
___
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: Modifying Sendmail's Configuration the Correct way.

2011-04-21 Thread Jerry
On Thu, 21 Apr 2011 08:45:29 +0200
Ruben de Groot mai...@bzerk.org articulated:

 On Wed, Apr 20, 2011 at 03:50:16PM -0400, Alejandro Imass typed:
  On Wed, Apr 20, 2011 at 2:47 PM, Martin McCormick
  mar...@dc.cis.okstate.edu wrote:
   ? ? ? ?The /etc/mail/sendmail.cf file very clearly tells one
   not to edit it directly so I edited the
  
  
  Hey Martin, this might not be the exact answer you're looking for
  but I despise sendmail but *love* FreeBSD so here are my $0.02:
  
  
  1) edit your /etc/rc.conf
  
  sendmail_enable=NO
  sendmail_submit_enable=NO
  sendmail_outbound_enable=NO
  sendmail_msp_queue_enable=NO
  postfix_enable=YES
  
  2) cd /usr/ports/mail/postfix
  make install clean
 
 For crying out loud, he's asking a question about sendmail
 configuration. If someone asks you directions to the airport, and you
 hate flying, do you point them to the railway station?

For Christ's sake, considering how far off the beaten path so many of
these postings get, I consider that replay appropriate. In any case,
the poster did reply to the OPs question regarding Sendmail -- he told
him how to remove it from his system and install Postfix. A solution
that would permanently eliminate the Sendmail configuration problem.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: How to be an imap Client?

2011-04-21 Thread Jerry
On Wed, 20 Apr 2011 23:22:35 -0700
per...@pluto.rain.com per...@pluto.rain.com articulated:

 Jerry freebsd.u...@seibercom.net wrote:
 
  On Wed, 20 Apr 2011 10:01:28 -0500
  Martin McCormick mar...@dc.cis.okstate.edu articulated:
   ... our entire network is on the blacklist ...
 
  Why are you blacklisted? It seems correcting that problem
  would be my first priority.
 
 Being a university, okstate.edu has students, most of whom are
 not in the CIS department or in any way under control of the CIS
 department's sysadmin.  Need I say more?

Actually yes. Ignoring for a moment the reply you sent me directly,
conveniently bypassing the group forum, are you implying that these
students are using the University's web mail for possible illegal
actions and no one is policing that action?

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
It's not the fall that kills you, it's the landing.
___
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: can't determine sound card driver to use in /etc/rc.conf

2011-04-21 Thread Antonio Olivares
 So you can exclude media error.

 Maybe this diagnostic script from my outbox can
 help you to track down the error. It has been made
 on 7-STABLE i386 with mplayer-0.99.11_3 - a quite
 old system. See if the steps described here can be
 reproduced on your system in a similar way.



 ***

 Here's an example of my THX 1138 movie DVD:

 Step 1: Identify media

        % cdcontrol info
        Starting track = 1, ending track = 1, TOC size = 18 bytes
        track     start  duration   block  length   type
        -
            1   0:02.00  206:28.68       0  929168   data
          170  206:30.68 - 929168       -      -

 Step 2: Identify file system

        % file -  /dev/acd0
        /dev/stdin: UDF filesystem data (version 1.5) 'THX_1138        '

 Step 3: Mount file system and check content

        % sudo mount -t cd9660 -o ro /dev/acd0 /mnt

        % ls -R /mnt
        audio_ts/ video_ts/
        /mnt/audio_ts:
        /mnt/video_ts:
        video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob* vts_05_0.bup*
        video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob* vts_05_0.ifo*
        video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup* vts_05_0.vob*
        vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo* vts_05_1.vob*
        vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob*
        vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob*

        % sudo umount /mnt

 Step 4: Play DVD content - ATTENTION - DVD not mounted for that!

        % mplayer -alang de -aid 129 dvd://2
        MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
        CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2,
                Stepping:9)
        CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
        Compiled with runtime CPU detection.

        Playing dvd://2.

        There are 21 titles on this DVD.
        There are 50 chapters in this DVD title.
        There are 1 angles in this DVD title.

        audio stream: 0 format: ac3 (5.1) language: en aid: 128.
        audio stream: 1 format: ac3 (5.1) language: de aid: 129.
        audio stream: 2 format: ac3 (5.1) language: es aid: 130.
        audio stream: 3 format: ac3 (stereo) language: en aid: 131.
        audio stream: 4 format: ac3 (5.1) language: en aid: 132.
        number of audio channels on disk: 5.

        subtitle ( sid ): 0 language: en
        subtitle ( sid ): 1 language: de
        subtitle ( sid ): 2 language: es
        subtitle ( sid ): 3 language: fr
        subtitle ( sid ): 4 language: it
        subtitle ( sid ): 5 language: pt
        subtitle ( sid ): 6 language: da
        subtitle ( sid ): 7 language: fi
        subtitle ( sid ): 8 language: iw
        subtitle ( sid ): 9 language: is
        subtitle ( sid ): 10 language: no
        subtitle ( sid ): 11 language: sv
        subtitle ( sid ): 12 language: hr
        subtitle ( sid ): 13 language: cs
        subtitle ( sid ): 14 language: el
        subtitle ( sid ): 15 language: pl
        subtitle ( sid ): 16 language: hu
        subtitle ( sid ): 17 language: tr
        subtitle ( sid ): 18 language: sl
        subtitle ( sid ): 19 language: en
        subtitle ( sid ): 20 language: de
        number of subtitles on disk: 21
        MPEG-PS file format detected.
        VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 
 kbyte/s)
        
 ==
        Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
        VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
        Could not find matching colorspace - retrying with -vf scale...
        Opening video filter: [scale]
        The selected video_out device is incompatible with this codec.
        Try appending the scale filter to your filter list,
        e.g. -vf spp,scale instead of -vf spp.
        VDecoder init failed :(
        Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder 
 libmpeg2-v0.4.0b
        Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
        
 ==
        
 ==
        Opening audio decoder: [liba52] AC3 decoding with liba52
        Using SSE optimized IMDCT transform
        Using MMX optimized resampler
        AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000-192000)
        Selected audio codec: [a52] afm: liba52 (AC3-liba52)
        
 ==
        AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
        Starting playback...
        VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
        VDec: using Planar YV12 as output csp (no 0)
        Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
        VO: [xv] 720x576 = 

Re: How to be an imap Client?

2011-04-21 Thread RW
On Thu, 21 Apr 2011 07:34:32 -0400
Jerry freebsd.u...@seibercom.net wrote:

 On Wed, 20 Apr 2011 23:22:35 -0700
 per...@pluto.rain.com per...@pluto.rain.com articulated:
 
  Jerry freebsd.u...@seibercom.net wrote:
  
   On Wed, 20 Apr 2011 10:01:28 -0500
   Martin McCormick mar...@dc.cis.okstate.edu articulated:
... our entire network is on the blacklist ...
  
   Why are you blacklisted? It seems correcting that problem
   would be my first priority.
  
  Being a university, okstate.edu has students, most of whom are
  not in the CIS department or in any way under control of the CIS
  department's sysadmin.  Need I say more?
 
 Actually yes. Ignoring for a moment the reply you sent me directly,
 conveniently bypassing the group forum, are you implying that these
 students are using the University's web mail for possible illegal
 actions and no one is policing that action?

He's suggesting that mail sent direct-to-mx from arbitrary university IP
addresses is unlikely to be trustworthy. I presume that when the OP
said  our entire network is on the blacklist, he meant that the
university has put everything but it's own mailservers, into the Policy
Blocklist, and that he is trying to run an unofficial mailserver.

As regards the original question, unless I missed an RFC or Microsoft
implemented something proprietary, you can't send outgoing mail through
IMAP. The normal solution to the problem is to configure sendmail to
relay through a submission server.
___
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: How to be an imap Client?

2011-04-21 Thread Ian Smith
On Thu, 21 Apr 2011 07:34:32 -0400 Jerry freebsd.u...@seibercom.net wrote:
  On Wed, 20 Apr 2011 23:22:35 -0700
  per...@pluto.rain.com per...@pluto.rain.com articulated:
  
   Jerry freebsd.u...@seibercom.net wrote:
   
On Wed, 20 Apr 2011 10:01:28 -0500
Martin McCormick mar...@dc.cis.okstate.edu articulated:
 ... our entire network is on the blacklist ...
   
Why are you blacklisted? It seems correcting that problem
would be my first priority.
   
   Being a university, okstate.edu has students, most of whom are
   not in the CIS department or in any way under control of the CIS
   department's sysadmin.  Need I say more?
  
  Actually yes. Ignoring for a moment the reply you sent me directly,
  conveniently bypassing the group forum,

perry's message, like this one, was likely posted to you, cc the list. 
That's long been customary on freebsd lists, even this 'kindergarten' 
one; noone 'conveniently bypassed' anything.  If you don't like private
copies, sent as a courtesy, just delete them and move on.

The last thing we need is people here to troll on behalf of M$ stamping 
their feet, demanding we change the way we've always used these lists.

  are you implying that these
  students are using the University's web mail for possible illegal
  actions and no one is policing that action?

Ah Jerry, good to see you end your admonition with a little humour!

cheers, ian

He only does it to annoy, because he knows it teases -- Lewis Carroll
___
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


boot problem

2011-04-21 Thread Yavuz Maşlak
Hello

I have a freebsd7 box.  I also have another PC . I removed the disk from
freebsd installed machine and fixed it to the another PC.

It Works but there is a problem.  
While opening the server it waits at boot 

FreeBSD/i386 boot:
Default:0:ad(0,a)/boot/loader
Boot:

If I press enter, the server opens and it Works.

How can I get rid off this ?   


Bu elektronik posta ve varsa ekleri tamamen gizli ve gonderilen kisiler 
listesine ozeldir. Eger adiniz gonderilen kisiler listesinde yer almiyorsa, 
lutfen derhal gonderen kisiyi bilgilendiriniz ve icerigini herhangi baska bir 
kisiye iletmeyiniz, herhangi bir amac icin kullanmayiniz, sayisal ve basili 
ortamlar dahil olmak uzere saklamayiniz ve kopyalamayiniz.


This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately by reply e-mail and 
delete all copies of this message and attachments. Thank 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


Re: How to be an imap Client?

2011-04-21 Thread Jerry
On Thu, 21 Apr 2011 23:21:25 +1000 (EST)
Ian Smith smi...@nimnet.asn.au articulated:

 On Thu, 21 Apr 2011 07:34:32 -0400 Jerry freebsd.u...@seibercom.net
 wrote:
   On Wed, 20 Apr 2011 23:22:35 -0700
   per...@pluto.rain.com per...@pluto.rain.com articulated:
   
Jerry freebsd.u...@seibercom.net wrote:

 On Wed, 20 Apr 2011 10:01:28 -0500
 Martin McCormick mar...@dc.cis.okstate.edu articulated:
  ... our entire network is on the blacklist ...

 Why are you blacklisted? It seems correcting that problem
 would be my first priority.

Being a university, okstate.edu has students, most of whom are
not in the CIS department or in any way under control of the CIS
department's sysadmin.  Need I say more?
   
   Actually yes. Ignoring for a moment the reply you sent me directly,
   conveniently bypassing the group forum,
 
 perry's message, like this one, was likely posted to you, cc the
 list. That's long been customary on freebsd lists, even this
 'kindergarten' one; noone 'conveniently bypassed' anything.  If you
 don't like private copies, sent as a courtesy, just delete them and
 move on.

Wrong, it was sent directly, not CC'd. As per my stated policy, it was
answered/referred to on the list forum. I am seriously considering
changing that policy to also include reporting them as Spam.

 The last thing we need is people here to troll on behalf of M$
 stamping their feet, demanding we change the way we've always used
 these lists.

You are referring to the way you have always done things. See
previously posted comments on CC'ing and you will readily find that it
is not a universally accepted method. I will admit that it is mostly
the preferred method of narcissists.

   are you implying that these
   students are using the University's web mail for possible illegal
   actions and no one is policing that action?
 
 Ah Jerry, good to see you end your admonition with a little humour!
 
 cheers, ian
 
 He only does it to annoy, because he knows it teases -- Lewis
 Carroll

No humor intended. I have read another post that might also describe
why the network is being blacklisted. I firmly believe that a diligent
SA (note the word diligent) could attempt to correct this problem. From
past experience, those who are blacklisted are so listed due to their
own fault and for the protection of others. Attempting to bypass such a
listing is a favorite of Spammers and their ilk; as well as those who
are attempting a thief of service as per the conditions stated by the
IPs owner.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies, ignored and/or
rerported as Spam. Please do not ignore the Reply-To header.
__

___
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


source code

2011-04-21 Thread philippe joffre
Hi ,

May you help me

 I'm looking for  the code-source FREEBSD please it's possible to send me
the links .

Thank you in advance .

Best regards

Philippe
___
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 performance strangeness

2011-04-21 Thread Lars Wilke
Hi,

thanks to all who answered.

* Damien Fleuriot wrote:
  I refer you to this post by Jeremy Chadwick with tuning values *AND*
  their actual explanation.

  http://lists.freebsd.org/pipermail/freebsd-stable/2011-February/061642.html

Good post indeed, but i think i found my problem elsewhere, though i have to 
admit
that i don't really understand what is happening.

The Citrix XenServers 5.6 boxes are connected with 2x1GB, using bonding with
balance-slb, to an HP ProCurve 2910al-24G Switch.

It seems this balance-slb mode is patch from Citrix and i could not come
up with some documentation for it. Only thing i know it is a modified
form of balance-alb.

The FreeBSD box is also connected to this switch with two NICs,
one em and one igb driven NIC. If i do not use lagg and assign just
a single address to one of the NICs on FBSD, everything works well.

I do only set vm.kmem_size_scale and vfs.zfs.arc_max and get r/w speed
of a little bit above 100MB/s when doing: dd bs=1M count=4096 ...
and remounting before reading or writting.

But if i do use lagg in loadbalance or in lacp mode (here also
enabled lacp on the necessary switch ports) i see via a tcpdump, that
ip packets seem to get lost!? On top of that this only happens when
reading data via NFS, writting is fine.

Then again lagg in failover mode seems to work ok.

The NICs themself look fine and are automatically set to 1000baseT full
duplex. There are also no errors reported via netstat.

I am not sure if the switch does not like playing with the arp
addresses on its ports or if it has something to do with the slb
implementation from citrix. When i have a downtime for the xenserver
i will reconfigure it to use lacp, then lets see if that works.

cheers
   --lars

___
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: How to be an imap Client?

2011-04-21 Thread Chris Rees
On 21 April 2011 14:51, Jerry freebsd.u...@seibercom.net wrote:

 Disclaimer: off-list followups get on-list replies, ignored and/or
 rerported as Spam. Please do not ignore the Reply-To header.

s#\(re\)r\(ported\)#\1\2#

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: source code

2011-04-21 Thread Rolf G Nielsen

2011-04-21 14:58, philippe joffre skrev:

Hi ,

May you help me

  I'm looking for  the code-source FREEBSD please it's possible to send me
the links .

Thank you in advance .

Best regards

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




ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src/

or

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.2-RELEASE/src/

These should be the same, but just in case. Note that amd64 also works 
with Intel's 64 bit processors (x86_64), just as i386 works with AMD's 
32 bit processors.


Once you've downloaded the source, run the install.sh script. You may 
need to edit it or change its permissions.

___
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


Security monitoring all file changes

2011-04-21 Thread Artem Kuchin

Hello!

We are running hosting servers and i think we need to monitor and log 
all changes in filesystems (ftp log is written already, but
we give shell access and also files can be changed by scripts), so, when 
a client asks when the file/directory

was changed or deleted and by whom we can answer that question.

In what directtion should i look? Is Audit the thing for it?

The problem with the whole idea is that i don't want to hog the raid 
with huge log of what happened to the files

every nanosecond.

For example, file is opened, writen 1000 times with write() and the 
closed. I don't want to get 1000 lines

in the log. Something like:

opened for write
write repeated 1000 times (just one line with repetition counter)
closed

whould be nice, but if not possible, then just open and closed logged, 
w/o write. Better than nothing.

Or maybe it can be very optimized binary log.
I have no idea what i am writing about :)

Thanks in advance!

Best  regards,
Artem


--
С уважением,
Артем Кучин
Компания Ай Ти Легион
www.itlegion.ru
www.hostilla.ru
+7 (495) 232-0338


___
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: boot problem

2011-04-21 Thread Warren Block

On Thu, 21 Apr 2011, Yavuz Maşlak wrote:


I have a freebsd7 box.  I also have another PC . I removed the disk from
freebsd installed machine and fixed it to the another PC.


How is it connected?  USB?


It Works but there is a problem.
While opening the server it waits at boot

FreeBSD/i386 boot:
Default:0:ad(0,a)/boot/loader
Boot:

If I press enter, the server opens and it Works.

How can I get rid off this ?


Adding kern.cam.boot_delay=1 to /boot/loader.conf helps with some 
USB drives.___
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: How to be an imap Client?

2011-04-21 Thread Martin McCormick
per...@pluto.rain.com writes:
 Being a university, okstate.edu has students, most of whom are
 not in the CIS department or in any way under control of the CIS
 department's sysadmin.  Need I say more?

Spot on. About 25,000 students and some of them respond to
phishing attempts and make other poor management decisions, many
of which are done with the best of intentions.
 ___
 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: libreoffice not builds (sorry for codepage problem)

2011-04-21 Thread Lowell Gilbert
Гуляев Гоша gosha-n...@yandex.ru writes:

 Hi all! I'm try to install editors/libreoffice on my machine:
 OS: 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Apr 20 15:18:53 YEKST 2011 i386
 ls /var/db/pkg | grep jdk
 diablo-jdk-1.6.0.07.02_13
 jdk-1.6.0.3p4_22
  
 RAM: 2Gb + 4Gb swap file
 Hard disk space 29Gb
  
 I'm try disable all options, and try enable KDE + JAVA and KDE w/o JAVA.
  
 there is output of error:
  
 Entering 
 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/util

 Making: sdbc_hsqldb.dpj

 dmake: Executing shell macro: cd 
 $(MISC)/registry/data/org/openoffice/Office/DataAccess  ls *.xcu
 /usr/local/jdk1.6.0/bin/javac -source 1.5 -target 1.5 -classpath 
 .:../../../../../../unxfbsdi.pro/class:/usr/local/jdk1.6.0/jre/lib/rt.jar:.:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/hsqldb.jar::/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
  -d ../../../../../../unxfbsdi.pro/class @/tmp/mkUcfJf6
 terminate called after throwing an instance of 
 'com::sun::star::lang::IllegalArgumentException'
 /usr/local/bin/bash: line 1: 2894 Abort trap: 6 
 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
  
 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
  ../../unxfbsdi.pro/lib/test_metadatable.so
 dmake: Error code 134, while making 'test1'
 Making: sdbc_hsqldb.dpj

 echo Class-Path: hsqldb.jar ..  
 ../../../../../../unxfbsdi.pro/class/sdbc_hsqldb/META-INF/MANIFEST.MF
 updating: META-INF/MANIFEST.MF (deflated 7%)
 updating: com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.class 
 (deflated 55%)
 updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.class 
 (deflated 51%)
 updating: com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.class 
 (deflated 56%)
 updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.class 
 (deflated 50%)
 updating: com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.class (deflated 
 53%)
 updating: com/sun/star/sdbcx/comp/hsqldb/StorageAccess.class (deflated 54%)
 updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess$FileSync.class 
 (deflated 52%)
 updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.class (deflated 
 57%)
 updating: com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.class (deflated 46%)
 updating: org/hsqldb/lib/FileSystemRuntimeException.class (deflated 48%)
 connectivity deliver
 Module 'connectivity' delivered successfully. 0 files copied, 115 files 
 unchanged

 ---
  Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
 http://wiki.documentfoundation.org/Development

  internal build errors:

 ERROR: error 65280 occurred while making 
 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit
 ERROR: error 65280 occurred while making 
 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/pyuno/source/loader

  it seems you are using a threaded build, which means that the
  actual compile error is probably hidden far above, and could be
  inside any of these other modules:
  sfx2
  please re-run build inside each one to isolate the problem.
 ---

 /usr/local/bin/bash
 cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
 source ./FreeBSDX86Env.Set.sh
 cd pyuno
 build

 when the problem is isolated and fixed exit and re-run 'make' from the 
 top-level
 sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.
 gmake: *** [stamp/build] Ошибка 1
 *** Error code 1

 Stop in /usr/ports/editors/libreoffice.
 *** Error code 1

 Stop in /usr/ports/editors/libreoffice.

Hard to tell from this.  Given that the port itself is building in other
places, I'll take a guess and ask if maybe it's running out of space for
the build?  I seem to recall that I had to set TMPDIR to keep
editors/libreoffice from filling up my /tmp directory...

Otherwise, the best advice is probably the advice which you quoted in
the output from the build.

___
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: boot problem

2011-04-21 Thread Yavuz Maşlak

Attached sata Disk.   it is not usb 


Namely, The sata disk  is attached to new machine.
It is connected by sata cable.
 

On Thu, 21 Apr 2011, Yavuz Maşlak wrote:

 I have a freebsd7 box.  I also have another PC . I removed the disk from
 freebsd installed machine and fixed it to the another PC.

How is it connected?  USB?

 It Works but there is a problem.
 While opening the server it waits at boot

 FreeBSD/i386 boot:
 Default:0:ad(0,a)/boot/loader
 Boot:

 If I press enter, the server opens and it Works.

 How can I get rid off this ?

Adding kern.cam.boot_delay=1 to /boot/loader.conf helps with some 
USB drives.

___
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


Admin-tools for BIND DNS?

2011-04-21 Thread Ewald Jenisch
Hi,

I'm looking for graphical tools easing configuration of a bind
DNS-server. Ideally this tool should be capable of editing
IPv6-related records like  too.

Is there anything available out there for FreeBSD (I already checked
the ports collection, but couldn't find anything).

Thanks much in advance for any clue,
-ewald

___
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: Admin-tools for BIND DNS?

2011-04-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/21/11 1:56 PM, Ewald Jenisch wrote:
 Hi,
 
 I'm looking for graphical tools easing configuration of a bind
 DNS-server. Ideally this tool should be capable of editing
 IPv6-related records like  too.
 
 Is there anything available out there for FreeBSD (I already checked
 the ports collection, but couldn't find anything).
 
 Thanks much in advance for any clue,
 -ewald
 

Hi Ewald,

I didn't check if any of these are already part of the ports tree, but
there's a decent selection of tools here.

http://www.debianhelp.co.uk/bindweb.htm

If you use one and like it, please consider creating and submitting a
port for it.

Cheers,
Greg
- -- 
Greg Larkin

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

iEYEARECAAYFAk2weFwACgkQ0sRouByUApCqQgCeKMUsSRkuSTnm1FJIUFycxyRw
rqAAn3ecxGeY1XtAunroJGmMsrb/7VcK
=SKAt
-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


Can't play dvd

2011-04-21 Thread Antonio Olivares
Dear folks,

Can't play a dvd :(

I have installed vlc from ports, it gives:

Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/acd0'. Check the log for details.

[olivares@grulla ~]$ mplayer dvd://
MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team

Playing dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.BU.
Can't open VMG info!
No stream found to handle url dvd://


Exiting... (End of file)

The dvd's play fine on other computers.  What could be wrong?


Thanks,

Antonio

P.S.
Will be out for 3 days will get back to Machine on Monday.   So
answers/replies will be tested on Monday :(
___
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


Forcefully change a program's volume

2011-04-21 Thread John W
Hi,

I'm aware that in FreeBSD 8+ there is the VPC (Volume Per Channel)
feature which allows separate programs to have separate sound volumes.

But suppose there is a (bad) program that does not let me control its
volume from within its interface.
Is there a way for me to control it at the OS level?

In other words, I'm trying to perform these steps:

Given the program X:
1) Find out what channel(s) X is using
2) Forcibly modify the VPC settings for those channels

Is it possible?
I realize there are probably issues where if X opens/closes new
channels on the fly it might be hard to keep track of, but is the
underlying support even there?

I imagine if I can open the appropriate device, I can use the
SNDCTL_DSP_SETPLAYVOL ioctl. But how do I open the appropriate device?

Thanks
-John
___
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


[UPDATE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-04-21 Thread Devin Teske
Hi List Members!

 

I'm proud to announce the first update to my host-setup utility (a
dialog(1)-based host configurator for FreeBSD). The following changes have been
made:

 

- fixed bug where /etc/resolv.conf would be created with 0600 permissions

- fixed bug when switching from one default gateway to NO default gateway

- fixed typo in the title of netmask prompt and ifconfig options dialog

- fixed bug that prevented entry of netmask if no netmask is configured

 

You can get the updated version here:

 

http://druidbsd.sourceforge.net/download/host-setup.txt

or

http://druidbsd.sourceforge.net/download/host-setup.gz

or

http://druidbsd.sourceforge.net/

 

 

For those not familiar with my host-setup(1) utility, it is a 2,500+ line shell
script that utilizes the dialog(1) utility to walk the system administrator
through setting up their TimeZone, Hostname, Network Interfaces, Default
Gateway, and DNS. Our custom FreeBSD installer sets this script as the root
login shell, making it very easy for field engineers to quickly get a system on
the network without having to use the command-line (and without having to reboot
either). Underneath the hood - behind the system of prompts and dialogs - this
script manages both the contents of /etc/rc.conf, /etc/resolv.conf, and others
as well as utilizing ifconfig(8), route(8), and many other tools to avoid
requiring a reboot, prompting you if you would like to make the new changes
effective when values are changed from their active settings.

 

Here's the patch to show the details:

 

--- host-setup.3_0   2011-02-10 19:14:30.0 -0800

+++ host-setup  2011-04-21 13:38:58.0 -0700

@@ -2,12 +2,12 @@

# -*- tab-width:  4 -*- ;; Emacs

# vi: set tabstop=4 :: Vi/ViM

#

-# Revision: 3.0

+# Revision: 3.1

# Created: September 21st, 2010

-# Last Modified: December 6th, 2010

+# Last Modified: April 21st, 2011

 COPYRIGHT

#

-# Devin Teske (c)2006-2010. All Rights Reserved.

+# Devin Teske (c)2006-2011. All Rights Reserved.

#

# Redistribution and use in source and binary forms, with or without

# modification, are permitted provided that the following conditions

@@ -1353,8 +1353,10 @@ dialog_input_hostname()

  # permissions and ownership to match resolv.conf(5) before

  # we write it out and mv(1) it into place).

  #

-  quietly chmod $( stat -f '%#Lp'  $RESOLV_CONF ) $tmpfile

-  quietly chown $( stat -f '%u:%g' $RESOLV_CONF ) $tmpfile

+  local mode=$( stat -f '%#Lp' $RESOLV_CONF 2 /dev/null )

+  local owner=$( stat -f '%u:%g' $RESOLV_CONF 2 /dev/null )

+  quietly chmod ${mode:-0644} $tmpfile

+  quietly chown ${owner:-root:wheel} $tmpfile

   #

  # Operate on resolv.conf(5), replacing only the last

@@ -1646,7 +1648,7 @@ dialog_input_netmask()

#

while :; do

-  dialog --title $brand${band:+}${progname:-$0} \

+  dialog --title $brand${brand:+ }${progname:-$0}   \

 --hline Use numbers, punctuation, TAB or ENTER \

 --inputbox $msg 10 50  \

 $_netmask  \

@@ -1664,7 +1666,7 @@ dialog_input_netmask()

  [ $retval -eq $SUCCESS ] || return $retval

   # Return success if NULL value was entered

-  [ $_netmask ] || return $SUCCESS

+  [ $_input ] || return $SUCCESS

   # Take only the first word of the user's input

  _netmask=$_input

@@ -1705,7 +1707,7 @@ dialog_input_options()

msg=Please enter additional network media options to be

msg=$msg passed to ifconfig(8) for the $interface interface:

-dialog --title $brand${band:+}${progname:-$0} \

+dialog --title $brand${brand:+ }${progname:-$0}   \

   --hline Use numbers, punctuation, TAB or ENTER \

   --inputbox $msg 9 70   \

   $options   \

@@ -2183,9 +2185,12 @@ dialog_menu_netdev_edit()

   local dr=$( sysrc_get defaultrouter ) err

   err=$( ifconfig $interface inet $ipaddr \

  netmask $netmask $options 21 )

-   if [ $? -eq $SUCCESS -a $dr ]; then

-err=$( route add default $dr 21 )

-[ $? -eq $SUCCESS ] || dialog_msgbox $err

+   if [ $? -eq $SUCCESS ]; then

+if [ $dr -a $dr != NO ]; then

+  err=$( route add default $dr 21 )

+  [ $? -eq $SUCCESS ] || \

+   dialog_msgbox $err

+fi

   else

dialog_msgbox $err

   fi

@@ -2524,7 +2529,7 @@ exit $SUCCESS

#

# $Header$

#

-# $Copyright: 2006-2010. Devin Teske. All Rights Reserved. $

+# $Copyright: 

Re: can't determine sound card driver to use in /etc/rc.conf

2011-04-21 Thread Jason Garrett
On Thu, Apr 21, 2011 at 07:38, Antonio Olivares olivares14...@gmail.comwrote:

  So you can exclude media error.
 
  Maybe this diagnostic script from my outbox can
  help you to track down the error. It has been made
  on 7-STABLE i386 with mplayer-0.99.11_3 - a quite
  old system. See if the steps described here can be
  reproduced on your system in a similar way.
 
 FreeBSD Questions freebsd-questions@freebsd.org
 
  ***
 
  Here's an example of my THX 1138 movie DVD:
 
  Step 1: Identify media
 
 % cdcontrol info
 Starting track = 1, ending track = 1, TOC size = 18 bytes
 track start  duration   block  length   type
 -
 1   0:02.00  206:28.68   0  929168   data
   170  206:30.68 - 929168   -  -
 
  Step 2: Identify file system
 
 % file -  /dev/acd0
 /dev/stdin: UDF filesystem data (version 1.5) 'THX_1138'
 
  Step 3: Mount file system and check content
 
 % sudo mount -t cd9660 -o ro /dev/acd0 /mnt
 
 % ls -R /mnt
 audio_ts/ video_ts/
 /mnt/audio_ts:
 /mnt/video_ts:
 video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob*
 vts_05_0.bup*
 video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob*
 vts_05_0.ifo*
 video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup*
 vts_05_0.vob*
 vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo*
 vts_05_1.vob*
 vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob*
 vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob*
 
 % sudo umount /mnt
 
  Step 4: Play DVD content - ATTENTION - DVD not mounted for that!
 
 % mplayer -alang de -aid 129 dvd://2
 MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
 CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2,
 Stepping:9)
 CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
 Compiled with runtime CPU detection.
 
 Playing dvd://2.
 
 There are 21 titles on this DVD.
 There are 50 chapters in this DVD title.
 There are 1 angles in this DVD title.
 
 audio stream: 0 format: ac3 (5.1) language: en aid: 128.
 audio stream: 1 format: ac3 (5.1) language: de aid: 129.
 audio stream: 2 format: ac3 (5.1) language: es aid: 130.
 audio stream: 3 format: ac3 (stereo) language: en aid: 131.
 audio stream: 4 format: ac3 (5.1) language: en aid: 132.
 number of audio channels on disk: 5.
 
 subtitle ( sid ): 0 language: en
 subtitle ( sid ): 1 language: de
 subtitle ( sid ): 2 language: es
 subtitle ( sid ): 3 language: fr
 subtitle ( sid ): 4 language: it
 subtitle ( sid ): 5 language: pt
 subtitle ( sid ): 6 language: da
 subtitle ( sid ): 7 language: fi
 subtitle ( sid ): 8 language: iw
 subtitle ( sid ): 9 language: is
 subtitle ( sid ): 10 language: no
 subtitle ( sid ): 11 language: sv
 subtitle ( sid ): 12 language: hr
 subtitle ( sid ): 13 language: cs
 subtitle ( sid ): 14 language: el
 subtitle ( sid ): 15 language: pl
 subtitle ( sid ): 16 language: hu
 subtitle ( sid ): 17 language: tr
 subtitle ( sid ): 18 language: sl
 subtitle ( sid ): 19 language: en
 subtitle ( sid ): 20 language: de
 number of subtitles on disk: 21
 MPEG-PS file format detected.
 VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps
 (1225.0 kbyte/s)
 
  ==
 Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg
 PES)
 Could not find matching colorspace - retrying with -vf scale...
 Opening video filter: [scale]
 The selected video_out device is incompatible with this codec.
 Try appending the scale filter to your filter list,
 e.g. -vf spp,scale instead of -vf spp.
 VDecoder init failed :(
 Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder
 libmpeg2-v0.4.0b
 Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2
 (libmpeg2))
 
  ==
 
  ==
 Opening audio decoder: [liba52] AC3 decoding with liba52
 Using SSE optimized IMDCT transform
 Using MMX optimized resampler
 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio:
 48000-192000)
 Selected audio codec: [a52] afm: liba52 (AC3-liba52)
 
  ==
 AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
 Starting playback...
 VDec: vo 

Re: How to be an imap Client?

2011-04-21 Thread David Brodbeck
On Thu, Apr 21, 2011 at 6:51 AM, Jerry freebsd.u...@seibercom.net wrote:
 No humor intended. I have read another post that might also describe
 why the network is being blacklisted. I firmly believe that a diligent
 SA (note the word diligent) could attempt to correct this problem.

One of the things about working in a university environment is
top-level network policies are often set by a separate campus-wide
entity; sysadmins working on the department level often have no
control over this.  So the blacklisting decision may not be something
he has the power to change.

Also keep in mind that in a lot of university environments network
access is uncontrolled.  Where I work students can plug into any
network jack and have full access.  They do make an effort to react to
and shut down compromised machines, but I can see why blacklisting IPs
that aren't intended to have mail servers on them might seem like a
reasonable proactive measure.  There are blacklists that attempt to
contain all home cable and DSL IP blocks for exactly this reason.
___
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: can't determine sound card driver to use in /etc/rc.conf

2011-04-21 Thread Polytropon
On Thu, 21 Apr 2011 07:38:57 -0500, Antonio Olivares olivares14...@gmail.com 
wrote:
 Tried to mount the dvd, but sadly the system rebooted and I had to
 fsck three to 4 times to get the system back :(, I will try to not to
 mount it, don't want to go through that. 

This indicates a major problem. Under ANY circumstances,
you should be ABLE to mount a DVD. If this causes the
system to reboot, find out what's causing this. Maybe
a defective drive? Can you check with different drive?



 Tried to put in another dvd
 that works on other computers, and I get :
 
 [olivares@grulla /usr/home/olivares]$ mplayer dvdnav://
 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team
 
 Playing dvdnav://.
 libdvdnav: Using dvdnav version MPlayer-custom
 libdvdread: Using libdvdcss version 1.2.10 for DVD access
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
 libdvdread: Can't open file VIDEO_TS.IFO.
 libdvdnav: vm: failed to read VIDEO_TS.IFO
 Couldn't open DVD device: /dev/acd0 (Input/output error)
 No stream found to handle url dvdnav://
 
 
 Exiting... (End of file)
 [olivares@grulla /usr/home/olivares]$ mplayer dvd://
 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team
 
 Playing dvd://.
 libdvdread: Using libdvdcss version 1.2.10 for DVD access
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
 libdvdread: Can't open file VIDEO_TS.BU.
 Can't open VMG info!
 No stream found to handle url dvd://
 
 
 Exiting... (End of file)
 [olivares@grulla /usr/home/olivares]$

It's the same problem as in your previous description, and
I assume that is has nothing to do with codecs. In combination
with the inability of mounting DVDs (which should work),
there may be a SERIOUS problem hiding in the background.

Have you been able to perform the first steps of my
checklist, i. e. the cdcontrol and media identification
part?



 I have to blame mplayer or is it FreeBSD? 

I think it's the hardware - your description of rebooting
when trying to mount lets me think into this direction.

Try to find out the reason. Work with AS FEW variables
as possible, i. e. start with plain simple tests as
I mentioned them. If you get THAT done without error,
the problem is somewhere else.

Another thing: Can you check device permissions for
the acd* devices, as well as for cd* and xpt* if you're
using ATAPICAM? Just to make sure and MINIMIZE the
variables involved in this diagnostic process.



 The movie is good, it plays
 on my other FreeBSD box, is something wrong or should I try to go for
 vlc?

Well, VLC isn't bad, although I really prefer mplayer
as I'm using it since the earliest days. But I doubt
VLC will play without the codecs (that are, as far as
I understood, an independent part and 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


building a port with very long list of build options

2011-04-21 Thread Carl
Let's say I want to build a port for which I need to specify a huge 
number of build options (eg. ghostscript). In my case I am 
cross-compiling on an amd64 host for what will be a NanoBSD i386 target, 
but I don't think that's important here. The scenario precludes using 
the familiar configuration menu. The problem is that the desired list of 
options far exceeds what would be sane to specify on the 'make' command 
line. In fact, it apparently even exceeds what typical text editors 
tolerate when trying to enter the line in a shell script. What is the 
recommended solution?


Given that I do not want to customize the port's Makefile, I was hoping 
'make' would support a command line option that would let me simply 
point to a separate file containing the list of variables to add, one 
per line. It's not apparent to me that that exists.


Carl / K0802647

___
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: building a port with very long list of build options

2011-04-21 Thread Polytropon
On Thu, 21 Apr 2011 20:17:31 -0700, Carl k0802...@telus.net wrote:
 Given that I do not want to customize the port's Makefile, I was hoping 
 'make' would support a command line option that would let me simply 
 point to a separate file containing the list of variables to add, one 
 per line. It's not apparent to me that that exists.

This has been possible and common in the past. For example,
the many options for the mplayer and mencoder ports could
be specified in a file, so changing of a port's file was
not needed. I'm not fully sure this option is still present,
but at least on v7 it worked.

Create a file Makefile.local in the port's directory and
specify all your options as desired. This file will be
sourced when you issue a make command and will override
settings of the regular Makefile (e. g. if you want
different CFLAGS for _this_ port). The file is to be in
the known syntax, NAME=value.


-- 
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: can't determine sound card driver to use in /etc/rc.conf

2011-04-21 Thread Antonio Olivares
On Thu, Apr 21, 2011 at 9:55 PM, Polytropon free...@edvax.de wrote:
 On Thu, 21 Apr 2011 07:38:57 -0500, Antonio Olivares 
 olivares14...@gmail.com wrote:
 Tried to mount the dvd, but sadly the system rebooted and I had to
 fsck three to 4 times to get the system back :(, I will try to not to
 mount it, don't want to go through that.

 This indicates a major problem. Under ANY circumstances,
 you should be ABLE to mount a DVD. If this causes the
 system to reboot, find out what's causing this. Maybe
 a defective drive? Can you check with different drive?



 Tried to put in another dvd
 that works on other computers, and I get :

 [olivares@grulla /usr/home/olivares]$ mplayer dvdnav://
 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team

 Playing dvdnav://.
 libdvdnav: Using dvdnav version MPlayer-custom
 libdvdread: Using libdvdcss version 1.2.10 for DVD access
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
 libdvdread: Can't open file VIDEO_TS.IFO.
 libdvdnav: vm: failed to read VIDEO_TS.IFO
 Couldn't open DVD device: /dev/acd0 (Input/output error)
 No stream found to handle url dvdnav://


 Exiting... (End of file)
 [olivares@grulla /usr/home/olivares]$ mplayer dvd://
 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team

 Playing dvd://.
 libdvdread: Using libdvdcss version 1.2.10 for DVD access
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
 libdvdread: Can't open file VIDEO_TS.BU.
 Can't open VMG info!
 No stream found to handle url dvd://


 Exiting... (End of file)
 [olivares@grulla /usr/home/olivares]$

 It's the same problem as in your previous description, and
 I assume that is has nothing to do with codecs. In combination
 with the inability of mounting DVDs (which should work),
 there may be a SERIOUS problem hiding in the background.

 Have you been able to perform the first steps of my
 checklist, i. e. the cdcontrol and media identification
 part?

This is on mt TODO list, I was going to try and swap another dvd drive
(SATA) which is my suspicion :(




 I have to blame mplayer or is it FreeBSD?

 I think it's the hardware - your description of rebooting
 when trying to mount lets me think into this direction.

I'd think I'd have to agree :(, the damn dvd drive, it is new but old
IDE does not work as well as SATA.


 Try to find out the reason. Work with AS FEW variables
 as possible, i. e. start with plain simple tests as
 I mentioned them. If you get THAT done without error,
 the problem is somewhere else.

 Another thing: Can you check device permissions for
 the acd* devices, as well as for cd* and xpt* if you're
 using ATAPICAM? Just to make sure and MINIMIZE the
 variables involved in this diagnostic process.

I have a /etc/devfs.conf file with the following:

# Commonly used by many ports
linkacd0cdrom
linkacd0dvd

# Allow all users to access CD’s
perm /dev/acd0 0666
perm /dev/acd1 0666
perm /dev/cd0 0666
perm /dev/cd1 0666

# Allow all USB Devices to be mounted
perm /dev/da0 0666
perm /dev/da1 0666
perm /dev/da2 0666
perm /dev/da3 0666
perm /dev/da4 0666

# Misc other devices
perm /dev/pass0 0666
perm /dev/xpt0 0666
perm /dev/agpart 0666
perm /dev/uscanner0 0666



 The movie is good, it plays
 on my other FreeBSD box, is something wrong or should I try to go for
 vlc?

 Well, VLC isn't bad, although I really prefer mplayer
 as I'm using it since the earliest days. But I doubt
 VLC will play without the codecs (that are, as far as
 I understood, an independent part and port).

VLC did not play the dvds either, took a while to compile it(for
troubleshooting this dvd problem).  I like both players just to be
honest.




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


I have a similar amd64 machine that does play mostly everything in it,
but I installed mplayer differently
# pkg_add -r mplayer

** had problems with KDE and lib???.so not working and startx refused
to work, last time I used ports. But this time everything is working
beautifully have installed gkrellm, mplayer, vlc and texmaker fine via
ports.  I am getting some confidence back.

*However* that machine has SATA cables not IDE like this one, this is
my take on the issue.  If  i install/try a SATA dvd drive, it will
work*

Thanks for helping/advising.

Regards,

Antonio
___
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: building a port with very long list of build options

2011-04-21 Thread Mehmet Erol Sanliturk
On Thu, Apr 21, 2011 at 11:17 PM, Carl k0802...@telus.net wrote:

 Let's say I want to build a port for which I need to specify a huge number
 of build options (eg. ghostscript). In my case I am cross-compiling on an
 amd64 host for what will be a NanoBSD i386 target, but I don't think that's
 important here. The scenario precludes using the familiar configuration
 menu. The problem is that the desired list of options far exceeds what would
 be sane to specify on the 'make' command line. In fact, it apparently even
 exceeds what typical text editors tolerate when trying to enter the line in
 a shell script. What is the recommended solution?

 Given that I do not want to customize the port's Makefile, I was hoping
 'make' would support a command line option that would let me simply point to
 a separate file containing the list of variables to add, one per line. It's
 not apparent to me that that exists.

 Carl / K0802647





If you read the make manual page , you will see the following option :


  ...

 *-f* *makefile*
 Specify a makefile to read instead of the default one.

 ...


 which is used as

make -f your_own_make_file_name


This form will override the Makefile present in the current directory

and will use the specified make file with name your_own_make_file_name .


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: How to be an imap Client?

2011-04-21 Thread perryh
Jerry freebsd.u...@seibercom.net wrote:

Actually yes. Ignoring for a moment the reply you sent me
directly, conveniently bypassing the group forum,
  
  perry's message, like this one, was likely posted to you, cc the
  list. That's long been customary on freebsd lists, even this
  'kindergarten' one; noone 'conveniently bypassed' anything.  If you
  don't like private copies, sent as a courtesy, just delete them and
  move on.

 Wrong, it was sent directly, not CC'd. As per my stated policy, it was
 answered/referred to on the list forum. I am seriously considering
 changing that policy to also include reporting them as Spam.

Before making any such accusations, you had better make D@#% sure of
your facts, lest you find yourself on the wrong end of a libel suit.

My email client respects Reply-To: and I checked my logs just to be
sure.  That reply, as this one, was sent _only_ to the list.

 No humor intended. I have read another post that might also describe
 why the network is being blacklisted. I firmly believe that a diligent
 SA (note the word diligent) could attempt to correct this problem.

Others have sufficiently addressed this portion of your tirade, I think.
___
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: can't determine sound card driver to use in /etc/rc.conf

2011-04-21 Thread Polytropon
On Thu, 21 Apr 2011 23:02:27 -0500, Antonio Olivares olivares14...@gmail.com 
wrote:
 This is on mt TODO list, I was going to try and swap another dvd drive
 (SATA) which is my suspicion :(

Cross-testing would always be good - especially as you've
mentioned an impossible behaviour, i. e. mounting a DVD
causes a system reboot.



 I'd think I'd have to agree :(, the damn dvd drive, it is new but old
 IDE does not work as well as SATA.

I can't confirm that. In my machine which is more than
7 years old now, I'm using (P)ATA / ATAPI stuff only
(because it doesn't have any SATA inside), and it keeps
working as intended. Still it may be possible that
modern hardware doesn't play that good anymore. :-)

If possible, just try a different DVD drive, as you've
eleminated the reason bad DVD already.



 I have a /etc/devfs.conf file with the following:
 
 # Commonly used by many ports
 linkacd0cdrom
 linkacd0dvd
 
 # Allow all users to access CD’s
 perm /dev/acd0 0666
 perm /dev/acd1 0666
 perm /dev/cd0 0666
 perm /dev/cd1 0666
 
 # Allow all USB Devices to be mounted
 perm /dev/da0 0666
 perm /dev/da1 0666
 perm /dev/da2 0666
 perm /dev/da3 0666
 perm /dev/da4 0666
 
 # Misc other devices
 perm /dev/pass0 0666
 perm /dev/xpt0 0666
 perm /dev/agpart 0666
 perm /dev/uscanner0 0666

Fully okay. So the reason wrong permissions is also out
of scope now.



 VLC did not play the dvds either, took a while to compile it(for
 troubleshooting this dvd problem).  I like both players just to be
 honest.

I really think it's the drive. Also make sure that the
codecs are installed. If you're on x64, try to use the
COMPAT32 facility. As I'm not owning x64 at home, I sadly
can't be more specific about this idea.



 I have a similar amd64 machine that does play mostly everything in it,
 but I installed mplayer differently
 # pkg_add -r mplayer

This installs mplayer with the default options which may
not be optimal in some situations, especially if it's
illegal in one's country to watch DVDs. :-)



 ** had problems with KDE and lib???.so not working and startx refused
 to work, last time I used ports.

I always use ports for this. Although I'm a big fan of
precompiled packages, mplayer and gmencoder are the tools
I *insist* on building from source, both with a custom
Makefile.local that defines ALL the codecs I want, which
is _all_ of them. :-)



 *However* that machine has SATA cables not IDE like this one, this is
 my take on the issue.  If  i install/try a SATA dvd drive, it will
 work*

Really, try a different drive, and if you can, also try
different cables, just to make sure it's NOT the cables
causing trouble.





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