somewhat Off topic, Sendmail Issue

2011-10-12 Thread Dean E. Weimer
I know this is a Sendmail issue, but I haven't been able to track down 
any information online, or found any Sendmail user email lists yet.  And 
since I am running it on a FreeBSD server, I thought I would try here 
and see if anyone knows the answer to my problem.


I have enabled SSL on SMTP to enable the delivery and reception of TLS 
encrypted emails, the server is going to be used as a relay between a MS 
Exchange server and an external Spam filtering service that has an 
encrypted email sending application that strips attachments and creates 
a password protected HTTPS link based on keywords in the subject.


Everything works as expected, but when I test the server against 
required PCI scans, it accepts weak encryption ciphers, I need to limit 
these ciphers.  After a lot of extensive searching I have found 
references to the fact that it is possible to configure Sendmail to do 
this, but I can't find any documentation on how to do it.


The server is running FreeBSD 8.2 which is patched up to p4, and 
Sendmail was configured with the following options, this test setup is 
also being used to test secure IMAP with authentication, so there are 
settings in here as well for Cyrus IMAP.


/etc/make.conf:
# Use OpenSSL from ports instead of base
WITH_OPENSSL_PORT=yes
# Enable SMTP Authentication
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL

Steps done after editing /etc/make.conf:
cd /usr/src/lib/libsmutil
make cleandir  make obj  make
cd /usr/src/lib/libsm
make cleandir  make obj  make
cd /usr/src/usr.sbin/sendmail
make cleandir  make obj  make  make install

/etc/rc.conf:
# Enable Sendmail
saslauthd_enable=YES
saslauthd_flags=-a sasldb
cyrus_imapd_enable=YES
sendmail_enable=YES

/etc/mail/hostname.mc:
define(`confLOCAL_MAILER',`cyrusv2')
define(`CYRUS_MAILER_PATH',`/usr/local/cyrus/bin/deliver')
MAILER(`cyrusv2')
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')
dnl Cert Options
define(`confCACERT_PATH', `/usr/local/etc/ssl/smtp')dnl
define(`confCACERT', `/usr/local/etc/ssl/smtp/gd_bundle.crt')dnl
define(`confSERVER_CERT', `/usr/local/etc/ssl/smtp/server.crt')dnl
define(`confSERVER_KEY', `/usr/local/etc/ssl/smtp/server.key')dnl
dnl DAEMON_OPTIONS
dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')


I know that setting this option in Apache does the trick for HTTPS, I 
just need to figure out how to tell Sendmail to do the same.
SSLCipherSuite 
ALL:!aNULL:!eNULL:!LOW:!EXP:!ADH:RC4+RSA:+HIGH:+MEDIUM:!SSLv2


If anyone has any idea how to do this, or any idea on what keywords to 
search on that might find me the directions it would be a great help.


--

Thanks,
 Dean E. Weimer
 dwei...@dweimer.net
 http://www.dweimer.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: somewhat Off topic, Sendmail Issue

2011-10-12 Thread Daniel Feenberg



On Wed, 12 Oct 2011, Dean E. Weimer wrote:

I know this is a Sendmail issue, but I haven't been able to track down any 
information online, or found any Sendmail user email lists yet.  And since I 
am running it on a FreeBSD server, I thought I would try here and see if 
anyone knows the answer to my problem.


I have enabled SSL on SMTP to enable the delivery and reception of TLS 
encrypted emails, the server is going to be used as a relay between a MS 
Exchange server and an external Spam filtering service that has an encrypted 
email sending application that strips attachments and creates a password 
protected HTTPS link based on keywords in the subject.


Everything works as expected, but when I test the server against required PCI 
scans, it accepts weak encryption ciphers, I need to limit these ciphers. 
After a lot of extensive searching I have found references to the fact that 
it is possible to configure Sendmail to do this, but I can't find any 
documentation on how to do it.




There is an active Usenet group at comp.mail.sendmail.

Does the ENCR parameter documented at

  http://www.sendmail.org/m4/starttls.html

do you any good? It doesn't restrict the method, only the number of bits 
in the key.


Daniel Feenberg
___
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 Off topic, Sendmail Issue

2011-10-12 Thread Chuck Swiger
Hi--

On Oct 12, 2011, at 8:29 AM, Dean E. Weimer wrote:
 I know that setting this option in Apache does the trick for HTTPS, I just 
 need to figure out how to tell Sendmail to do the same.
 SSLCipherSuite ALL:!aNULL:!eNULL:!LOW:!EXP:!ADH:RC4+RSA:+HIGH:+MEDIUM:!SSLv2
 
 If anyone has any idea how to do this, or any idea on what keywords to search 
 on that might find me the directions it would be a great help.

If you can't find a way of specifying the allowed SSL ciphers via sendmail 
config (as someone mentioned, you can test ${cipher_bits} against ENCR:bits, 
but that doesn't disable anonymous ciphers like ADH entirely), you can build a 
modern flavor of OpenSSL to /usr/local with the ciphers you don't like 
disabled, and rebuild sendmail against this OpenSSL.

I believe that the security/openssl already does most of this for you, and 
would be easy to tweak a bit more if that's needed.

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: Turning system accounting data into money

2011-10-12 Thread David Brodbeck
On Tue, Oct 11, 2011 at 1:23 PM, Christopher J. Ruwe c...@cruwe.de wrote:
 So, systems that do what you want (and customers who want to pay on a per use 
 basis) must be around for quite some time.

Yeah, this was the normal way of doing things for many years on
large systems, back when a large system was a multiuser UNIX box
the size of a refrigerator.  For a long time it went away, as computer
time got too cheap to meter, so a lot of the accounting tools that
exist in UNIX are a bit foreign to modern admins.

We're seeing a bit of a resurgence of the pay-for-usage model with
services like Amazon EC2.
___
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 Off topic, Sendmail Issue

2011-10-12 Thread Dean E. Weimer

On 12.10.2011 11:30, Daniel Feenberg wrote:


There is an active Usenet group at comp.mail.sendmail.

Does the ENCR parameter documented at

http://www.sendmail.org/m4/starttls.html

do you any good? It doesn't restrict the method, only the number of 
bits

in the key.

Daniel Feenberg


Well after searching the comp.mail.sendmail list through Google groups, 
I have come up wiht the following changes.


I changed the orignal /etc/make.conf:
from this:
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
to:
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL -D_FFR_TLS_1

redid the compile steps:

Added this to the end of /etc/mail/hostname.mc:
LOCAL_CONFIG
O 
CipherList=ALL:!aNULL:!eNULL:!LOW:!EXP:!ADH:RC4+RSA:+HIGH:+MEDIUM:!SSLv2


under /etc/mail
executed the make, make install steps

After restarting, an attempt to do:
/usr/local/bin/openssl s_client -starttls smtp -cipher EXP-RC4-MD5 
-connect localhost:25


Failed, this successfully connected before these changes.  Scans are 
running now, I will let you all know if it was successful.


--

Thanks,
 Dean E. Weimer
 dwei...@dweimer.net
 http://www.dweimer.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: somewhat Off topic, Sendmail Issue

2011-10-12 Thread Matthew Seaman
On 12/10/2011 20:36, Dean E. Weimer wrote:
 Well after searching the comp.mail.sendmail list through Google groups,
 I have come up wiht the following changes.
 
 I changed the orignal /etc/make.conf:
 from this:
 SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
 to:
 SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL -D_FFR_TLS_1
 
 redid the compile steps:
 
 Added this to the end of /etc/mail/hostname.mc:
 LOCAL_CONFIG
 O CipherList=ALL:!aNULL:!eNULL:!LOW:!EXP:!ADH:RC4+RSA:+HIGH:+MEDIUM:!SSLv2
 
 under /etc/mail
 executed the make, make install steps
 
 After restarting, an attempt to do:
 /usr/local/bin/openssl s_client -starttls smtp -cipher EXP-RC4-MD5
 -connect localhost:25
 
 Failed, this successfully connected before these changes.  Scans are
 running now, I will let you all know if it was successful.

_FFR_TLS_1 is actually already defined in the default sendmail on
FreeBSD.  See /usr/src/usr.sbin/sendmail/Makefile around line 63.
It's also enabled in the ports version of sendmail, so long as you
select the WITH_TLS option.  I just added this setting to my sendmail
config and it seems to work using the ports sendmail without having to
recompile anything.

It could certainly do with being mentioned in the documentation more
prominently.  There's not a hint of the CipherList option in
/usr/share/sendmail/cf/README

_FFR_SMTP_SSL on the other hand, doesn't appear anywhere under /usr/src
-- think that must be a fossil remnant from some older version of sendmail.

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


Re: KVM - FreeBSD Network Problem

2011-10-12 Thread Jeremy Johnston
On 10/07/11 01:01, Aydın Demirel wrote:
 Hi;

 I installed FreeBSD 8.2 on Centos 5.7 via KVM. KVM version is 8.3 and
 qemu version is 0.12.4

 We have network problem. I set guest freebsd network as bridge mode
 and Status seems active. Default gateway is defined..

 When I see network packets with tcpdump, packets are streaming (for 
 example: ARP, requested has 10.6.21.221 ...)

 But, Guest network doesn't go out.

 What can be the problem? Any suggestion?

 Regards


I have noticed odd behaviour when using Gentoo as the KVM host. I get
very intermitant connectivity. I have it setup as a bridge on the host.
___
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


LLTD protocol (Link Layer Topology Discovery)

2011-10-12 Thread Jerry
I was just doing some reading about the LLTD protocol. It seems that
Microsoft is distributing a package designed for Linux. This is the
URL:
http://www.howtoforge.com/installing-the-lltd-protocol-responder-for-linux-on-debian-lenny

I was wondering if this would actually work in a FreeBSD environment
and if anyone had actually tried it. The link for downloading the
Windows Rally Development Kit is wrong in the article. It should be:
http://msdn.microsoft.com/en-us/windows/hardware/gg463034

-- 
Jerry ✌
jerry+f...@seibercom.net

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

http://www.catb.org/~esr/faqs/smart-questions.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: somewhat Off topic, Sendmail Issue

2011-10-12 Thread Dean E. Weimer

On 12.10.2011 15:16, Matthew Seaman wrote:


_FFR_TLS_1 is actually already defined in the default sendmail on
FreeBSD. See /usr/src/usr.sbin/sendmail/Makefile around line 63.
It's also enabled in the ports version of sendmail, so long as you
select the WITH_TLS option. I just added this setting to my sendmail
config and it seems to work using the ports sendmail without having 
to

recompile anything.

It could certainly do with being mentioned in the documentation more
prominently. There's not a hint of the CipherList option in
/usr/share/sendmail/cf/README

_FFR_SMTP_SSL on the other hand, doesn't appear anywhere under 
/usr/src

-- think that must be a fossil remnant from some older version of
sendmail.

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


Interesting info, I will take a look at that Makefile and see what I 
find, I found those options to set originally on a web page, can't quite 
remember where, I pieced info from a few different locations to get 
everything working as I wanted.  I do know a lot of it was originally 
done for an older version of FreeBSD, so perhaps it was an FFR option at 
that time it was written.  One thing I have figured out in this process 
is that Sendmail FFR compiled options are basically undocumented outside 
of the source file comments.  Perhaps it was my inclusion of an old 
setting, that caused the ciphers to open up more to start with.  It did 
pass the tests as is, I will look more into this though.  And see if I 
can't slim down the overall steps to get the server up and running 
before it goes live on a production server.


--

Thanks,
 Dean E. Weimer
 dwei...@dweimer.net
 http://www.dweimer.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: Can't access a music CD

2011-10-12 Thread Michael D. Norwick

On 10/10/11 05:44, Frank Shute wrote:

On Mon, Oct 10, 2011 at 04:47:40AM -0500, Michael D. Norwick wrote:

On 10/10/11 01:37, Frank Shute wrote:

On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:

 snip 

This looks like it's playing. Is the CD/DVD drive active?

 snip 

Still will not play.  Tried 2 different CD's.

Thank You,

If the drive is active and you're not getting sound out:

What does:

$ mixer



$ cat /dev/sndstat

show?


Regards,



GoodDay;

Tried again with the following results;

A dialog box dislplaying the following,

Unable to mount Audio Disc

DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a 
reply (timeout by message bus)


and

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Sigmatel STAC9205X PCM #0 Analog (play/rec) default

$ mixer
Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer rec  is currently set to  75:75
Recording source: monitor

no sound and no drive activity.

Thank You,

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


Freebsd, Virtual OSs and GUI

2011-10-12 Thread Jorge Biquez

Hello all.

I hope this question does not sound too stupid. I am sorry in advance 
if you think so.


Since version 2.x and until now all I have been using FreeBsd as a 
server, helping a small ISP company of a friend , basic web services, 
email, dns etc. All I have been doing has been done in the text 
interface, the pure shell. In fact, I have to confess that I have 
never tried any of the GUIs available.


For some reasons not important to mention I need to have a server 
that can virtualize some other OS's (Linux, Freebsd and Windows). 
This will be used as a lab for some personal projects. Of course I 
thought to have as the base FreeBsd Version 8.2 and have the virtual 
machines running inside, was wondering if Virtualbox runs fine there. 
The virtual machines need to be used with their graphical interface 
(Gnome , Kde and windows). So I guess that the best and need is to 
have a graphical interface also running with the base (FreeBsd 8.2).


Is that correct? If so, here are some questions:

It is better to install KDE or GNOME as the base GUI or it is better 
to have any other ? (I do not know what could be).


What do you think is the best option to save hardware resources and 
accomplish this task ? Something important is that this lab machine 
will be connected directly with the ISP (public IP's)  and I will 
need to connect remotely to control the server and the other OS's.


If I do not need necessarily a GUI running with FreeBSD, what do you 
suggest to use?


I have to mention that I have done the first phase of my testing 
using XP and inside of it running VirtualBox with FreeBsd and Linux 
distros without problems... BUT... OF COURSE even with the firewall, 
antivirus , latest patches and all the protection schema, yesterday 
the antivirus start telling the machine has virus and seems it was 
comprmised, of course I can not continue using it and it was not the 
idea to have that, but for the 3 dyas of testing what I need to do was enough.


By the way the hardware I will use I guess it is enough since it is 
for testing only and I won't be connected remotely all the time. The 
machine is an old Pentium Core 2 Duo, 2GB of ram (its maximum) and 
a hard disk of 500gb, also it has an Nvdia card 256Mb (can use the 
one with the motherboard if that is a problem) The motherboard is an 
INtel one. It runs perectly FreeBSD using it in text mode. As a 
curios information something in the motherboard maybe is not 
compatible with UBuntu .


As always thanks in advance for your comments and your time.

Jorge Biquez

___
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: Freebsd, Virtual OSs and GUI

2011-10-12 Thread Adam Vande More
On Wed, Oct 12, 2011 at 5:38 PM, Jorge Biquez jbiq...@intranet.com.mxwrote:

It is better to install KDE or GNOME as the base GUI or it is better to have
 any other ? (I do not know what could be).


This is one of those ask a hundred different people get 100 different
answers.  I prefer KDE which would work well for you because both KDE and
VirtualBox are built on QT4, a rather large system.  KDE isn't really that
heavy though relatively speaking.  VirtualBox runs great for me and does all
you indicated.



 What do you think is the best option to save hardware resources and
 accomplish this task ? Something important is that this lab machine will be
 connected directly with the ISP (public IP's)  and I will need to connect
 remotely to control the server and the other OS's.


You will probably want a CPU and chipset that has hardware assist for
virtualization, and plenty of RAM for both host and guests.  Disk choice
should reflect your data capacity, redundancy, and speed needs.  A good
quality Intel NIC is always nice.



 If I do not need necessarily a GUI running with FreeBSD, what do you
 suggest to use?


You don't need a GUI, VirtualBox has a headless mode that handles it for
you.

By the way the hardware I will use I guess it is enough since it is for
 testing only and I won't be connected remotely all the time. The machine is
 an old Pentium Core 2 Duo, 2GB of ram (its maximum) and a hard disk of
 500gb, also it has an Nvdia card 256Mb (can use the one with the motherboard
 if that is a problem) The motherboard is an INtel one. It runs perectly
 FreeBSD using it in text mode. As a curios information something in the
 motherboard maybe is not compatible with UBuntu .


The hardware you mention likely doesn't have VT-d, and probably has VT-x
which is perfectly fine, because to my knowledge you can't use VT-d with
VirtualBox yet anyways.

-- 
Adam Vande 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: Can't access a music CD

2011-10-12 Thread Polytropon
On Wed, 12 Oct 2011 17:38:53 -0500, Michael D. Norwick wrote:
 GoodDay;
 
 Tried again with the following results;
 
 A dialog box dislplaying the following,
 
 Unable to mount Audio Disc
 
 DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a 
 reply (timeout by message bus)

You cannot mount an audio CD, it doesn't contain a file
system.

Idea: Maybe some kind of interference of your desktop
environment that intends to mount a CD that cannot be
mounted, and the command line tool trying to access
a resource that is blocked due to the first thing?

You should step down to the lowest level possible
for diagnostics, i. e. running the system's command
line tools to make the CD play. If _this_ works, then
go up and test within your GUI desktop environment.
The less abstraction layers are in between, the better.



 and
 
 $ cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices:
 pcm0: HDA Sigmatel STAC9205X PCM #0 Analog (play/rec) default
 
 $ mixer
 Mixer vol  is currently set to 100:100
 Mixer pcm  is currently set to  75:75
 Mixer speaker  is currently set to  75:75
 Mixer rec  is currently set to  75:75
 Recording source: monitor
 
 no sound and no drive activity.

Hmmm... I'm missing the CD in that listing.

Which mixer is your default mixer? Try -f /dev/mixer0 to
make sure the correct one is selected. On HDA codecs, there
may be several mixers.




-- 
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 access a music CD

2011-10-12 Thread Lowell Gilbert
Michael D. Norwick mnorw...@centurytel.net writes:

 A dialog box dislplaying the following,

 Unable to mount Audio Disc

You're not supposed to mount an audio disk.
There's even a FAQ entry titled 
Why can I not mount an audio CD?
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD

___
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 access a music CD

2011-10-12 Thread Michael D. Norwick

On 10/12/11 18:33, Lowell Gilbert wrote:

Michael D. Norwickmnorw...@centurytel.net  writes:


A dialog box dislplaying the following,

Unable to mount Audio Disc

You're not supposed to mount an audio disk.
There's even a FAQ entry titled
Why can I not mount an audio CD?
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD



Good Day;

Thank You for the replies.  Got the part about not mounting an audio 
CD.  I wasn't trying to.  Inserting the disc in the drive brought up the 
error message.  Mounting a data CD or DVD acts normally and the 
filesystem on it can be accessed.


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


Re: Can't access a music CD

2011-10-12 Thread Polytropon
On Wed, 12 Oct 2011 18:49:58 -0500, Michael D. Norwick wrote:
 Thank You for the replies.  Got the part about not mounting an audio 
 CD.  I wasn't trying to.  Inserting the disc in the drive brought up the 
 error message.  Mounting a data CD or DVD acts normally and the 
 filesystem on it can be accessed.

Do you have the option of testing mixer settings and CD
playing commands _outside_ of the GUI, i. e. in normal
text mode - just to make sure no DBUS, HAL or whatever
part of the desktop environment might interfere?

Things to check:

- Which mixers do exist? Which settings are active?

- Which CD device can be accessed by cdcontrol? Does
  it start playing properly?

On today's disc drives, you typically don't have a
3.5mm headphone connector for direct listening. Also
some sound cards (unlike most onboard sound chips)
have the ability to connect the CD audio wire inside
the machine. This feature is obsolete, but still works.
It's typically not part of laptop designs.


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


netstat -di - Idrop vs. Drop

2011-10-12 Thread Jon Schipp
On FreeBSD what's the difference between Drop and Idrop in the netstat
output?

$ netstat -di
NameMtu Network   Address  Ipkts Ierrs Idrop
Opkts Oerrs  Coll Drop
bge0*  1500 Link#1  00:16:d4:e3:49:310 0 0
 0 0 00
wpi0   2290 Link#2  00:1b:77:86:2d:fa0 53068 0
179587 3 00

The man page doesn't explain them.

Also, does netstat get the drop count from the NIC or from a kernel buffer?
For instance, if the NIC can't accept any more packets because of the lack
of descriptors, will the packets lost be reported as one of the drop values
in netstat?

I ask because in Linux, ifconfig reads from /proc/net/dev and as for as I
know, it drops only when the kernel buffer is full. So if the NIC wouldn't
accept packets due to lack of descriptors you wouldn't know about it i.e. it
hasn't made it's way into kernel memory.

that and netstat on FreeBSD has the -B option for the BPF buffer stats, so
right now it makes sense that netstat -di reports the drop count from the
NIC/driver itself.

Right/Wrong?

Any help is appreciated, Thanks
-- 
- Jon
-- 
--

VMB: 812-682-0231

Dubois County Linux User Group - http://www.dclinux.org
Southern Indiana Computer Klub - http://sickbits.networklabs.org
Bloomington FOOLS - http://www.bloomingtonfools.org/
BloomingLabs -  http://www.bloominglabs.org
ISSA-Kentuckiana  -  http://issa-kentuckiana.org

GPG Key ID: 810903CB
Key fingerprint = 0069 ED69 EABB DF84 5983  AD3C 6C20 BEFD 8109 03CB
___
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 access a music CD

2011-10-12 Thread Chuck Swiger
On Oct 12, 2011, at 5:14 PM, Polytropon wrote:
 On today's disc drives, you typically don't have a
 3.5mm headphone connector for direct listening. Also
 some sound cards (unlike most onboard sound chips)
 have the ability to connect the CD audio wire inside
 the machine. This feature is obsolete, but still works.
 It's typically not part of laptop designs.

A fair number of motherboards with integrated audio will take the analog audio 
output from a CD/DVD drive; the better ones will also accept a 3-pin digital 
SP/DIF connection as well.  Even if they don't, however, it's not uncommon for 
them to have audio connectivity in the form of a microphone input buried within 
a 10-pin extension header (AC'97 and Intel's HD Audio front panel connector), 
rather than have a 4-pin or 3-pin connector which matches the cable which came 
with the CD/DVD drive.

Anyway, none of the above should not be needed with modern SATA devices-- 
digital audio data goes directly over the SATA cable without a need for a 
separate audio cable.  Any laptop (which isn't obsolete) would use this route.

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: Can't access a music CD

2011-10-12 Thread Lowell Gilbert
Michael D. Norwick mnorw...@centurytel.net writes:

 Thank You for the replies.  Got the part about not mounting an audio
 CD.  I wasn't trying to.  Inserting the disc in the drive brought up
 the error message.  Mounting a data CD or DVD acts normally and the
 filesystem on it can be accessed.

Okay, so what *are* you you using to try to play the CD?
Someone suggested cdcontrol, but these days a lot of 
computers don't come with the cable to get analog audio
directly off the drive. That's why the FAQ suggests xmcd, 
although it's far from the only option; most of the big 
desktop environments come with a CD playing application
that gets the data digitally.  For example, I think the
Gnome application is brasero.
___
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: Freebsd, Virtual OSs and GUI

2011-10-12 Thread Carl Johnson
Adam Vande More amvandem...@gmail.com writes:

 On Wed, Oct 12, 2011 at 5:38 PM, Jorge Biquez jbiq...@intranet.com.mxwrote:

 It is better to install KDE or GNOME as the base GUI or it is better to have
 any other ? (I do not know what could be).


 This is one of those ask a hundred different people get 100 different
 answers.  I prefer KDE which would work well for you because both KDE and
 VirtualBox are built on QT4, a rather large system.  KDE isn't really that
 heavy though relatively speaking.  VirtualBox runs great for me and does all
 you indicated.



 What do you think is the best option to save hardware resources and
 accomplish this task ? Something important is that this lab machine will be
 connected directly with the ISP (public IP's)  and I will need to connect
 remotely to control the server and the other OS's.


 You will probably want a CPU and chipset that has hardware assist for
 virtualization, and plenty of RAM for both host and guests.  Disk choice
 should reflect your data capacity, redundancy, and speed needs.  A good
 quality Intel NIC is always nice.

If the OP is going to run a 64-bit OS, then hardware vitualization
assist is *required* for VirtualBox to handle it.  It is not required
when VirtualBox is running a 32-bit OS.  Just another minor detail to
consider.

-- 
Carl Johnsonca...@peak.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