Re: Is there reference manual for sh?

2006-12-31 Thread George
On Sat, Dec 30, 2006 at 06:22:09PM -0600, Lane wrote:
 On Saturday 30 December 2006 12:22, [EMAIL PROTECTED] wrote:
  On Sat, Dec 30, 2006 at 10:16:20AM -0500, Robert Huff wrote:
   [EMAIL PROTECTED] writes:
  I need any online complete manual on sh, not a brief as it is man
  sh.  The last one doesn't describe many features both interactive
  (command line editing, using history interactively, and many others)
  and scripting (for example, conditional expressions).
 
 Here's a brute-force manual:
 
 #!/bin/sh
 for each in `find /etc/rc.d`
 do more $each
 done

Bonus points for not using cat, but it sounds like you're recommending a
manual you yourself haven't read.

$ for each in /etc/rc.d/* ; do more $each ; done

Or skipping the unecessary logic: 

$ more /etc/rc.d/*

Sarcasm is mostly counterproductive, doncha think?

 If you need more than what is there then you probably need Kernigan
 and Ritchie's The C Programming Language, (still) available on
 amazon.com.

My guess is the OP is inquiring about scripting in general, but bash(1)
and readline(3) in particular.  If that's the case, the manpages should
be more than adequate; a reading of Mendel Cooper's Advanced Bash
Scripting Guide (available for free at a Google search near you) would
also be useful for a practical perspective.  Recommending the KR book I
don't think is appropriate.

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


How to reset /dev/dsp ?

2006-12-31 Thread Luke Dean


I'm running FreeBSD 6.1.

My sound device shows up like this in my dmesg:
pcm0: Intel ICH5 (82801EB) port 0xd800-0xd8ff,0xdc00-0xdc3f mem 
0xfc001000-0xfc0011ff,0xfc002000-0xfc0020ff irq 17 at device 31.5 on pci0

pcm0: primary codec not ready!
pcm0: Avance Logic ALC658 AC97 Codec

My sound driver is compiled into the kernel:
device  sound
device  snd_ich

I've got a java application that I run through diablo-jdk-1.5.0.07.01_1 
that uses sound.  It's a game.  Partway through the game, the sound stops 
working.  The people who make the game have been aware of the problem for 
many months, but don't understand what to do about it.

Okay, I can accept that.

What I can't accept is that this java application breaks the sound in  such 
a way that NOTHING can play sound anymore until I reboot the machine!


If I attempt to play a movie with mplayer after the game has broken the 
sound, it says:
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or 
directory


However, the dsp device still exists in /dev:
[0:/dev ll dsp*
crw-rw-rw-  1 root  wheel  -   0,  51 Dec 29 21:36 dsp0.0
crw-rw-rw-  1 root  wheel  -   0,  54 Dec 29 21:37 dsp0.1
crw-rw-rw-  1 root  wheel  -   0,  52 Dec 29 19:24 dspW0.0
crw-rw-rw-  1 root  wheel  -   0,  55 Dec 29 19:24 dspW0.1
crw-rw-rw-  1 root  wheel  -   0,  57 Dec 29 19:24 dspr0.1

The sndstat device doesn't show any problem, if I'm reading the output 
right:

[0:/dev cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Intel ICH5 (82801EB) at io 0xfc001000, 0xfc002000 irq 17 bufsz 
16384  (1p/1r/0v channels duplex default)


Is there anything I can do short of rebooting the machine to get my sound 
working when this happens?  I thought maybe there was something I could do 
with devd or devctl to reset the device, but I can't figure out how to do 
that.  I'm not even sure how to see the problem except to attempt to 
play a sound.

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


Re: a Q about mixer

2006-12-31 Thread Beni
On Sunday 31 December 2006 05:45, Tsu-Fan Cheng wrote:
 Hi,
   one quick question, how can I change the default of mixer?? when I reboot
 the system, the mic and rec are always zero, and I have to adjust them so i
 can use skype, kinda pain in the butt, thx!!

 TFC

See man mixer, but i think that :

[EMAIL PROTECTED] ~]$ mixer mic 0:0
Setting the mixer mic from 100:100 to 0:0.
[EMAIL PROTECTED] ~]$

Here my mixer keeps those settings after a reboot.

Hope this helps,

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


Re: a Q about mixer

2006-12-31 Thread Andrew Pantyukhin

On 12/31/06, Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

Hi,
  one quick question, how can I change the default of mixer?? when I reboot
the system, the mic and rec are always zero, and I have to adjust them so i
can use skype, kinda pain in the butt, thx!!


I wonder how you load your sound card drivers? If
they are not compiled into your kernel, you have
to load them from /boot/loader.conf or else when
rc script restores mixer values, it won't find
mixer at all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there reference manual for sh?

2006-12-31 Thread Lane
On Sunday 31 December 2006 01:52, George wrote:
 On Sat, Dec 30, 2006 at 06:22:09PM -0600, Lane wrote:
  On Saturday 30 December 2006 12:22, [EMAIL PROTECTED] wrote:
   On Sat, Dec 30, 2006 at 10:16:20AM -0500, Robert Huff wrote:
[EMAIL PROTECTED] writes:
  
   I need any online complete manual on sh, not a brief as it is man
   sh.  The last one doesn't describe many features both interactive
   (command line editing, using history interactively, and many others)
   and scripting (for example, conditional expressions).
 
  Here's a brute-force manual:
 
  #!/bin/sh
  for each in `find /etc/rc.d`
  do more $each
  done

 Bonus points for not using cat, but it sounds like you're recommending a
 manual you yourself haven't read.

 $ for each in /etc/rc.d/* ; do more $each ; done

 Or skipping the unecessary logic:

 $ more /etc/rc.d/*

 Sarcasm is mostly counterproductive, doncha think?
I do, George.  But I'm not sure you actually share that notion.

  If you need more than what is there then you probably need Kernigan
  and Ritchie's The C Programming Language, (still) available on
  amazon.com.

 My guess is the OP is inquiring about scripting in general, but bash(1)
 and readline(3) in particular.  If that's the case, the manpages should
 be more than adequate; a reading of Mendel Cooper's Advanced Bash
 Scripting Guide (available for free at a Google search near you) would
 also be useful for a practical perspective.  Recommending the KR book I
 don't think is appropriate.
I'm sorry that you felt the need to tell me, and the whole world, that.

He said he needed brief but not as brief as man sh

I said, by example, use these tools which are here, in as clear and readable 
a form as I could, owing to the near certainty that the OP was unfamiliar 
with the language form(s).

Then I followed up with a recommendation for further reading which, regardless 
of your apparent encyclopedic knowledge of the subject, is exactly what I 
recommended: Further reading if the OP needs more functionality than could be 
deduced from a study of the basic startup scripts for freebsd.

Whatever tone you are hearing is not emanating from my email.

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


6.2 rc2, VMWARE, seeing USB disks

2006-12-31 Thread Christoph P. Kukulies
Hi,

I installed FreeBSD 6.2 rc2 in a VMWARE VM machine. So far so good.
It boots and works fine. Just I cannot see a hard disk that I have connected
to a USB port.

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


Audio (Record) not functioning... (record interrupt timeout)

2006-12-31 Thread Ben H.
Thanks in advance for any help you can provide...  On reply please cc my email 
address.

http://www.bsdforums.org/forums/showthread.php?t=45514  [HISTORY]


http://lists.freebsd.org/pipermail/...rch/003877.html [Related Link]



I am trying to get Skype  or Vonage softphone(via wine) working on my notebook.



My problem is getting the input from the mic to the application.



The mic is working because I can talk and hear the sound via the
external speakers. If (on command line mixer) I turn the rec and
igain to 0 the I CAN still hear any sound I make via the mic on the
attached speakers. If I turn mic to 0 then I cannot hear any sound I
make via the mic on the attached speakers. 



Here is the error I am seeing on the system console:



 pcm0:record:0:dsp0.0: record interrupt timeout, channel dead



Here are my settings:



[EMAIL PROTECTED] uname -a

FreeBSD sony.family.hom 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Tue Dec 19 
16:55:50 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SONY01  i386



[EMAIL PROTECTED] cat /dev/sndstat

FreeBSD Audio Driver (newpcm)

Installed devices:

pcm0: Acer Labs M5451 at io 0x1800 irq 9 kld snd_t4dwave (4p/1r/4v channels 
duplex default)



[EMAIL PROTECTED] dmesg | grep pcm

pcm0: Acer Labs M5451 port 0x1800-0x18ff mem 0xe810-0xe8100fff at device 
6.0 on pci0

pcm0: Yamaha YMF753 AC97 Codec

pcm0: [GIANT-LOCKED]

pcm0:record:0:dsp0.0: record interrupt timeout, channel dead

pcm0:record:0:dsp0.0: record interrupt timeout, channel dead



[EMAIL PROTECTED] sysctl hw.snd

hw.snd.report_soft_formats: 1

hw.snd.targetirqrate: 32

hw.snd.verbose: 1

hw.snd.maxautovchans: 4

hw.snd.unit: 0

hw.snd.pcm0.buffersize: 4096

hw.snd.pcm0.vchans: 4


More info at:  http://www.bsdforums.org/forums/showthread.php?t=46469


  STRBen
strbenjr{a}yahoo.com 
 ben_hacker{a}inter-op.net 
-- -- -- 
 http://www.coeba.org 
 http://www.inter-op.net



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


How to configure switching between network interfaces?

2006-12-31 Thread mstrickland16
How to configure switching between network interfaces?
I would like to determine how, or if, the following can be accomplished with 
FreeBSD. 
Configuration:
A BSD box setup with 1 GbE NIC and a 4 port 10/100 NIC
The GbE interface will have a static IP configured (192.168.10.x/24)
Planned Implementation:
  Along with possibly serving other data such as NFS or HTTP traffic, I would 
like the interfaces to work as a switch. The GbE interface is a fiber optic NIC 
which connects to the rest of the network 100 or so meters away. I plan to use 
the other 4 interfaces to attach hosts to my network. I would prefer all of my 
hosts to be on the same subnet if possible, otherwise I would just configure 
routing between the appropriate interfaces. My question then is: Can the 
interfaces be configured to function as a switch would, allowing the connected 
hosts to recieve DHCP and other traffic routing from the fiber optic 
interface via the FreeBSD box. I know that in a basic configuration, 2 
interfaces on the same subnet are not a best practice and would required 
special routing information. I assume that somewhere this can be configured. A 
good shove in the right direction would be most appreciated.
Thanks,
Mike 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2 rc2, VMWARE, seeing USB disks

2006-12-31 Thread Andreas Rudisch
On Sun, 31 Dec 2006 12:40:29 +0100
Christoph P. Kukulies [EMAIL PROTECTED] wrote:

 Hi,

 I installed FreeBSD 6.2 rc2 in a VMWARE VM machine. So far so good.
 It boots and works fine. Just I cannot see a hard disk that I have connected
 to a USB port.

What about mounting the hard disk?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

Andreas

--
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpZ8J6undted.pgp
Description: PGP signature


Re: How to configure switching between network interfaces?

2006-12-31 Thread Martin Hepworth

Myself, I'd get a couple of small fiber/ethernet convertors and then connect
everything to a small ethernet switch.

A bit more money, but simpler and I like simple.


--
Martin

On 12/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


How to configure switching between network interfaces?
I would like to determine how, or if, the following can be accomplished
with FreeBSD.
Configuration:
A BSD box setup with 1 GbE NIC and a 4 port 10/100 NIC
The GbE interface will have a static IP configured (192.168.10.x/24)
Planned Implementation:
  Along with possibly serving other data such as NFS or HTTP traffic, I
would like the interfaces to work as a switch. The GbE interface is a fiber
optic NIC which connects to the rest of the network 100 or so meters away. I
plan to use the other 4 interfaces to attach hosts to my network. I would
prefer all of my hosts to be on the same subnet if possible, otherwise I
would just configure routing between the appropriate interfaces. My question
then is: Can the interfaces be configured to function as a switch would,
allowing the connected hosts to recieve DHCP and other traffic routing
from the fiber optic interface via the FreeBSD box. I know that in a basic
configuration, 2 interfaces on the same subnet are not a best practice and
would required special routing information. I assume that somewhere this can
be configured. A good shove in the right direction would be most
appreciated.
Thanks,
Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


gnupg: discarding older version

2006-12-31 Thread Gerard Seibert

Running:
/usr/sbin/pkg_version -vIL=
produces this output:

gnupg-1.4.6_2  needs updating (index has 2.0.1)


Running:
pkgdb -Fv
produces this output:

Checking for origin duplicates
Duplicated origin: security/gnupg - gnupg-1.4.6_2 gnupg-2.0.1
Unregister any of them? [no]

This is from the /usr/ports/UPDATING file:

20061221:
   AFFECTS: users of security/gnupg
   AUTHOR: [EMAIL PROTECTED]

   The security/gnupg port was upgraded to 2.0.1 (with security fix)
   and good-old gnupg-1.4.6 was repocopied to security/gnupg1.

   Both of security/gnupg (2.x) and security/gnupg1 (1.4.x) are
   designed not to conflict with each other.  So you can use
   security/gnupg1 for gpg(1), and use security/gnupg for gpg2(1)
   commands.

   All directly dependents are $PORTREVISION bumped, so portupgrade -R
   gnupg will works fine.  After portupgrade, you will have both of
   gnupg-2.0.1 and gnupg-1.4.6.

Obviously, I now have both versions installed on my PC. My question is 
should I simply answer (YES) and unregister the older version of this 
program, or simply leave both versions installed. If I unregister the 
older version, will it cause any problems?


Thanks!

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


changing subject of this list?

2006-12-31 Thread Zbigniew Szalbot
Hello,

All the best for the New Year to everyone. By the way, would it be
possible for this list to introduce a subject prefix like [FBSDQ] or
something along this line? It would make sorting much easier. Some people
put the list address in CC so with MUAs like SquirrelMail it is a bit
difficult to filter the messages.

Many thanks!


-- 
Zbigniew Szalbot

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


Re: a Q about mixer

2006-12-31 Thread Tsu-Fan Cheng

yeah, this I know, I just wonder how I can  keep the previous setting even
after the reboot, thx!!

TFC

On 12/31/06, Beni [EMAIL PROTECTED] wrote:


On Sunday 31 December 2006 05:45, Tsu-Fan Cheng wrote:
 Hi,
   one quick question, how can I change the default of mixer?? when I
reboot
 the system, the mic and rec are always zero, and I have to adjust them
so i
 can use skype, kinda pain in the butt, thx!!

 TFC

See man mixer, but i think that :

[EMAIL PROTECTED] ~]$ mixer mic 0:0
Setting the mixer mic from 100:100 to 0:0.
[EMAIL PROTECTED] ~]$

Here my mixer keeps those settings after a reboot.

Hope this helps,

Beni.


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


Re: changing subject of this list?

2006-12-31 Thread Matthew Seaman
Zbigniew Szalbot wrote:

 All the best for the New Year to everyone. By the way, would it be
 possible for this list to introduce a subject prefix like [FBSDQ] or
 something along this line? It would make sorting much easier. Some people
 put the list address in CC so with MUAs like SquirrelMail it is a bit
 difficult to filter the messages.

A very effective method of filtering is to look for the List-ID: header.
Most mail software won't display it to you without persuasion, but
for [EMAIL PROTECTED] it looks like this:

[...]
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions freebsd-questions.freebsd.org
List-Unsubscribe: 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions, 
mailto:[EMAIL PROTECTED]
[...]

Mailing lists should nowadays include a List-ID: header in the mails they
send out.  [RFC 2919 if you're that interested] Sorting messages based on
it is, I find, generally the most accurate way to classify them correctly.

It's very easy to do in procmail -- too obvious to bother giving an
example. In thunderbird, you have go into Tools:Message Filters, then
hit New to create a new rule, then choose 'Customize' from the 'Subject'
pull-down.  Unfortunately squirrelmail is not a software package I know
much about, but I'd expect any reasonably competent e-mail client to
be able to filter on arbitrary mail headers without too much trouble.

Cheers

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: a Q about mixer

2006-12-31 Thread Lowell Gilbert
Tsu-Fan Cheng [EMAIL PROTECTED] writes:

  one quick question, how can I change the default of mixer?? when I reboot
 the system, the mic and rec are always zero, and I have to adjust them so i
 can use skype, kinda pain in the butt, thx!!

In recent versions of FreeBSD, it should happen automatically (see
/etc/rc.d/mixer).  If you are still on an earlier version, you can
always create your own script to set the values however you like.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing subject of this list?

2006-12-31 Thread Andrew Pantyukhin

On 12/31/06, Matthew Seaman [EMAIL PROTECTED] wrote:

Zbigniew Szalbot wrote:

 All the best for the New Year to everyone. By the way, would it be
 possible for this list to introduce a subject prefix like [FBSDQ] or
 something along this line? It would make sorting much easier. Some people
 put the list address in CC so with MUAs like SquirrelMail it is a bit
 difficult to filter the messages.

A very effective method of filtering is to look for the List-ID: header.
Most mail software won't display it to you without persuasion, but
for [EMAIL PROTECTED] it looks like this:

[...]
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions freebsd-questions.freebsd.org
List-Unsubscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
mailto:[EMAIL PROTECTED]
[...]

Mailing lists should nowadays include a List-ID: header in the mails they
send out.  [RFC 2919 if you're that interested] Sorting messages based on
it is, I find, generally the most accurate way to classify them correctly.

It's very easy to do in procmail -- too obvious to bother giving an
example. In thunderbird, you have go into Tools:Message Filters, then
hit New to create a new rule, then choose 'Customize' from the 'Subject'
pull-down.  Unfortunately squirrelmail is not a software package I know
much about, but I'd expect any reasonably competent e-mail client to
be able to filter on arbitrary mail headers without too much trouble.


In gmail it's undocumented, but you can use listid
search operator to search and filter by List-ID.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sharing ports tree, possible?

2006-12-31 Thread Ceri Davies
On Fri, Dec 29, 2006 at 02:20:58PM -0800, Simon Gao wrote:
 Is it possible to share ports tree directory? If so, what's the procedure?

As Bill said, you need to set WRKDIRPREFIX in /etc/make.conf; I
generally use /var/tmp/port-builds.  I also have a writeable share that
consists of the port distfiles which is mounted at /usr/ports/distfiles
by clients (well, it isn't really, but this will do for the purposes of
explanation).

I also have the following symlinks in /usr/ports:

-rw-r--r-- 1 root  wheel  10508970 Dec 30 13:22 INDEX
-rw-r--r-- 1 root  wheel   9714237 Dec 30 13:22 INDEX-5
lrwxr-xr-x 1 root  wheel18 Jul 18 22:22 INDEX-5.db - 
/var/db/INDEX-5.db
-rw-r--r-- 1 root  wheel   9715000 Dec 30 13:23 INDEX-6
lrwxr-xr-x 1 root  wheel18 Jul 18 22:22 INDEX-6.db - 
/var/db/INDEX-6.db
lrwxr-xr-x 1 root  wheel 7 Jul 18 22:20 INDEX-7 - INDEX-6
-rw-r--r-- 1 root  wheel  23674880 Nov  5 13:22 INDEX-7.db
lrwxr-xr-x 1 root  wheel16 Jul 18 22:23 INDEX.db - /var/db/INDEX.db

I'm not really sure what they're for; they're definitely there because
clients running sysutils/portupgrade expect to be able to create them,
but there may also have been some endian issues that I ran into when
sharing them across different architectures.  I honestly can't remember.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgppC08HFIqyQ.pgp
Description: PGP signature


Re: How to configure switching between network interfaces?

2006-12-31 Thread Chuck Swiger

[EMAIL PROTECTED] wrote:

How to configure switching between network interfaces?
I would like to determine how, or if, the following can be accomplished with FreeBSD. 
Configuration:

A BSD box setup with 1 GbE NIC and a 4 port 10/100 NIC
The GbE interface will have a static IP configured (192.168.10.x/24)
Planned Implementation:
  Along with possibly serving other data such as NFS or HTTP traffic, I would like the 
interfaces to work as a switch. The GbE interface is a fiber optic NIC which connects to 
the rest of the network 100 or so meters away. I plan to use the other 4 interfaces to 
attach hosts to my network. I would prefer all of my hosts to be on the same subnet if 
possible, otherwise I would just configure routing between the appropriate interfaces. My 
question then is: Can the interfaces be configured to function as a switch would, 
allowing the connected hosts to recieve DHCP and other traffic routing from 
the fiber optic interface via the FreeBSD box. I know that in a basic configuration, 2 
interfaces on the same subnet are not a best practice and would required special routing 
information. I assume that somewhere this can be configured. A good shove in the right 
direction would be most appreciated.


You can configure the interfaces together as a bridge and FreeBSD will act as 
a smart switch-- see the bridge(4) manpage or the Handbook for more info.


Note that this configuration might make sense if you wanted to impose firewall 
rules to limit cross-segment traffic while still letting the client machines 
all be on one subnet.  Or you might divert all WWW traffic seen going by to a 
transparent proxy server.


But unless you plan to do something with this traffic like that-- if all you 
want to do is have a switch-- you'd otherwise be better off getting a 4-port 
gigabit Cu or Fibre switch then setting up a dedicated server for the task.


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


What is involved in switching from i386 to AMD64?

2006-12-31 Thread Oliver Iberien
Hi,

What actually needs to be done when switching machine architectures? I am 
facing a motherboard/CPU upgrade following the demise of an Athlon+ setup. (I 
am running my FreeBSD drive in a P3 while trying to figure this out.)

Replacing it with an oldish P4 would be easiest but they are rapidly becoming 
extinct. After much Googling I can't quite figure out what happens if I were 
to put the FreeBSD i386 HD into a 64-bit system. Nothing? Disaster? Do I 
totally have the wrong end of the stick? I'd be grateful for any advice.

Thanks,

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


Re: What is involved in switching from i386 to AMD64?

2006-12-31 Thread Erik Trulsson
On Sun, Dec 31, 2006 at 10:40:37AM -0800, Oliver Iberien wrote:
 Hi,
 
 What actually needs to be done when switching machine architectures? I am 
 facing a motherboard/CPU upgrade following the demise of an Athlon+ setup. (I 
 am running my FreeBSD drive in a P3 while trying to figure this out.)
 
 Replacing it with an oldish P4 would be easiest but they are rapidly becoming 
 extinct. After much Googling I can't quite figure out what happens if I were 
 to put the FreeBSD i386 HD into a 64-bit system. Nothing? Disaster? Do I 
 totally have the wrong end of the stick? I'd be grateful for any advice.

Since the AMD64 architecture is completely backwards-compatible with the
older i386 architecture, the i386 version of FreeBSD should work just fine
in the new system.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what is operator group for?

2006-12-31 Thread Chris Whitehouse

Hi all

I sent this once already but didn't see it come back, sorry if it has 
appeared twice.



can anyone tell me what the operator group is for, or docs where I can
read about it? I see that /sbin/shutdown and /sbin/mk_snap_ffs are both 
executable by members and various things in /dev/ are mountable by them.


I want a regular user to be able to mount removeable media and shutdown 
the computer. If I make them a member of operator group what else am I

allowing them to do?

Thanks

Chris

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


Re: changing subject of this list?

2006-12-31 Thread Vince Hoffman

Andrew Pantyukhin wrote:

On 12/31/06, Matthew Seaman [EMAIL PROTECTED] wrote:

Zbigniew Szalbot wrote:

 All the best for the New Year to everyone. By the way, would it be
 possible for this list to introduce a subject prefix like [FBSDQ] or
 something along this line? It would make sorting much easier. Some 
people

 put the list address in CC so with MUAs like SquirrelMail it is a bit
 difficult to filter the messages.

A very effective method of filtering is to look for the List-ID: header.
Most mail software won't display it to you without persuasion, but
for [EMAIL PROTECTED] it looks like this:

[...]
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions freebsd-questions.freebsd.org
List-Unsubscribe: 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions,

mailto:[EMAIL PROTECTED]

[...]

Mailing lists should nowadays include a List-ID: header in the mails 
they
send out.  [RFC 2919 if you're that interested] Sorting messages 
based on
it is, I find, generally the most accurate way to classify them 
correctly.


It's very easy to do in procmail -- too obvious to bother giving an
example. In thunderbird, you have go into Tools:Message Filters, then
hit New to create a new rule, then choose 'Customize' from the 'Subject'
pull-down.  Unfortunately squirrelmail is not a software package I know
much about, but I'd expect any reasonably competent e-mail client to
be able to filter on arbitrary mail headers without too much trouble.


In gmail it's undocumented, but you can use listid
search operator to search and filter by List-ID.
This is untried as I only use squirrelmail when I am behind draconian 
firewalls
that dont allow imap or ssh and usually use procmailfor filtering, 
however in the
options menu, select filters then new, then choose to match a header 
that contains

*List-Id:* User questions freebsd-questions.freebsd.org
and move it to where you want it moved to. Like i say untested but
I cant see why it wont work.

Vince


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


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


ghostscript - port - titles

2006-12-31 Thread Vizion
I am curious about the retitling of current versions of ghostscript released 
under gnu public license.

In /print/ghostscript version 8.15.x is ghostscript-gpl whereas version 7.07x 
is ghostscript-gnu.

Am I missing something here?

Does portupgrade handle the upgrade or do we need to deinstall 7.07x to install 
8.x?

david


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


Re: what is operator group for?

2006-12-31 Thread perryh
 can anyone tell me what the operator group is for, or docs where I can
 read about it? I see that /sbin/shutdown and /sbin/mk_snap_ffs are both 
 executable by members and various things in /dev/ are mountable by them.

My understanding is that group operator is intended for those who
deal with devices, e.g. running backups and monitoring printers.

 I want a regular user to be able to mount removeable media and shutdown 
 the computer. If I make them a member of operator group what else am I
 allowing them to do?

With the usual permission settings, you are also allowing them to read
disks directly (e.g. with dump(8)), and thus to read any file on the
system -- including the system's and other users' private key files.

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


LINUX_LDLIBS = -ldl

2006-12-31 Thread dima
Hello.

I'm trying to compile TransConnect 
(http://sourceforge.net/projects/transconnect), but compilation aborts 
with a message: /usr/libexec/elf/ld: cannot find -ldl

So, can anyone have idea how to solve this problem?

--
dima 7509107*mail,ru 2:550/112
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems compiling Maildrop

2006-12-31 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Awesome! That worked

Thanks!



On Dec 30, 2006, at 5:40 AM, Jurjen Middendorp wrote:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-September/ 
035268.html
maybe this works? haven't tried it myself though, because make-ing  
the port

worked without problems...


On Fri, Dec 29, 2006 at 11:55:16AM -0500, Joe Auty wrote:


On Dec 29, 2006, at 11:38 AM, Lowell Gilbert wrote:


Joe Auty [EMAIL PROTECTED] writes:


Is it just me having problems with this port? I'd really appreciate
if somebody could confirm whether or not they are getting this  
error

so I know whether or not to bug the port maintainer.


It seems to build in a clean environment:

http://pointyhat.freebsd.org/errorlogs/i386-5-latest-logs/
maildrop-2.0.2.log





Hmmm... Any ideas what be happening for me then? I've duplicated this
problem on another machine of mine running FBSD 5.4.


Here is the error in question:



Compiling maildirkwtest.c
Linking maildirkwtest
Compiling maildirkw.c
Linking maildirkw
/usr/local/lib/libfam.a(fam.o)(.text+0x31): In function `FAMOpen2':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x4f): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x81): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x12e): In function `FAMClose':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x225): In function `FAMMonitor
(FAMConnection*, char const*, FAMRequest*, void*, int)':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x243): In function `FAMMonitor
(FAMConnection*, char const*, FAMRequest*, void*, int)':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x414): In function
`FAMMonitorCollection':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x433): In function
`FAMMonitorCollection':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x5d3): In function
`GroupStuff::GroupStuff()':
: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x60b): In function
`GroupStuff::GroupStuff()':
: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.eh_frame+0x12): undefined reference
to `__gxx_personality_v0'
/usr/local/lib/libfam.a(Client.o)(.text+0xb92): In function
`Client::storeUserData(int, void*)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xbab): In function
`Client::storeUserData(int, void*)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc17): In function
`Client::storeEndExist(int)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc2f): In function
`Client::storeEndExist(int)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xeca): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to `std::ios_base::Init::Init()'
/usr/local/lib/libfam.a(Client.o)(.text+0xef8): In function  
`__tcf_0':

: undefined reference to `std::ios_base::Init::~Init()'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6removeERKi+0xfc): In function
`BTreeint, void*::remove(int const)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x5a): In function
`BTreeint, void*::insert(int const, void* const)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x87): In function
`BTreeint, void*::insert(int const, void* const)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xde): In
function `BTreeint, void*::insert(BTreeint, void*::Node*, int
const, void* const)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xfb): In
function `BTreeint, void*::insert(BTreeint, void*::Node*, int
const, void* const)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x191): In
function `BTreeint, void*::insert(BTreeint, void*::Node*, int
const, void* const)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x1ae): In
function `BTreeint, void*::insert(BTreeint, void*::Node*, int
const, void* const)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)

Re: What is involved in switching from i386 to AMD64?

2006-12-31 Thread Oliver Iberien
Thank you very much!

On Sunday 31 December 2006 11:05, Erik Trulsson wrote:
 On Sun, Dec 31, 2006 at 10:40:37AM -0800, Oliver Iberien wrote:
  Hi,
 
  What actually needs to be done when switching machine architectures? I am
  facing a motherboard/CPU upgrade following the demise of an Athlon+
  setup. (I am running my FreeBSD drive in a P3 while trying to figure this
  out.)
 
  Replacing it with an oldish P4 would be easiest but they are rapidly
  becoming extinct. After much Googling I can't quite figure out what
  happens if I were to put the FreeBSD i386 HD into a 64-bit system.
  Nothing? Disaster? Do I totally have the wrong end of the stick? I'd be
  grateful for any advice.

 Since the AMD64 architecture is completely backwards-compatible with the
 older i386 architecture, the i386 version of FreeBSD should work just fine
 in the new system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


file system for FreeBSD, OS X and WinXP?

2006-12-31 Thread Keith Beattie

Hello all,

I recently picked up a big 700G external USB/Firewire Seagate drive with the
hopes of using it to store my growing collection of music, photos, etc.
currently spread across several different machines (all with nearly full
discs).  My hope is that I could use a single file system on this drive
which could then be plugged into any of these machines which run FreeBSD, OS
X, or WinXP.

The disc came formatted FAT32, which FreeBSD didn't like (too big was the
error when mounting).  Formatting it UFS on OS X, showed that Apple's notion
of UFS differs significantly from FreeBSD's notion of UFS.  Formatting it
under FreeBSD, likewise, leaves it only usable there.

Is there a file system which will work for a drive this size on at least
FreeBSD and OS X?  It appears that HFS+ is a possibility, but I'm concerned
that the support for that file system under FreeBSD is not current.  What
are people's experiences here?  Is it perhaps better to punt on the idea of
moving the drive about and go with a NAS-like solution running NFS/Samba and
such on the FreeBSD box?

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


Re: file system for FreeBSD, OS X and WinXP?

2006-12-31 Thread Derek Ragona
I would use the drive under FreeBSD and mount it over the network using 
samba.  Physically moving drives makes little sense when you can share the 
drive over a network.


-Derek


At 05:08 PM 12/31/2006, Keith Beattie wrote:

Hello all,

I recently picked up a big 700G external USB/Firewire Seagate drive with the
hopes of using it to store my growing collection of music, photos, etc.
currently spread across several different machines (all with nearly full
discs).  My hope is that I could use a single file system on this drive
which could then be plugged into any of these machines which run FreeBSD, OS
X, or WinXP.

The disc came formatted FAT32, which FreeBSD didn't like (too big was the
error when mounting).  Formatting it UFS on OS X, showed that Apple's notion
of UFS differs significantly from FreeBSD's notion of UFS.  Formatting it
under FreeBSD, likewise, leaves it only usable there.

Is there a file system which will work for a drive this size on at least
FreeBSD and OS X?  It appears that HFS+ is a possibility, but I'm concerned
that the support for that file system under FreeBSD is not current.  What
are people's experiences here?  Is it perhaps better to punt on the idea of
moving the drive about and go with a NAS-like solution running NFS/Samba and
such on the FreeBSD box?

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

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



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

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


Re: file system for FreeBSD, OS X and WinXP?

2006-12-31 Thread Eric Kjeldergaard

On 12/31/06, Keith Beattie [EMAIL PROTECTED] wrote:


Hello all,

I recently picked up a big 700G external USB/Firewire Seagate drive with
the
hopes of using it to store my growing collection of music, photos, etc.
currently spread across several different machines (all with nearly full
discs).  My hope is that I could use a single file system on this drive
which could then be plugged into any of these machines which run FreeBSD,
OS
X, or WinXP.



My usual recommendation for this very problem is the ext2 filesystem.  As
far as I know, the drivers exist and work reasonably well for win32, MacOSX,
linux, BSD, and several others.  If taking it to machines that may not have
network to get FS drivers is an issue, you could consider several small
partitions each with an FS driver for a specific OS on it.

--
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is involved in switching from i386 to AMD64?

2006-12-31 Thread Oliver Iberien
On Sunday 31 December 2006 11:05, Erik Trulsson wrote:
 On Sun, Dec 31, 2006 at 10:40:37AM -0800, Oliver Iberien wrote:
  Hi,
 
  What actually needs to be done when switching machine architectures? I am
  facing a motherboard/CPU upgrade following the demise of an Athlon+
  setup. (I am running my FreeBSD drive in a P3 while trying to figure this
  out.)
 
  Replacing it with an oldish P4 would be easiest but they are rapidly
  becoming extinct. After much Googling I can't quite figure out what
  happens if I were to put the FreeBSD i386 HD into a 64-bit system.
  Nothing? Disaster? Do I totally have the wrong end of the stick? I'd be
  grateful for any advice.

 Since the AMD64 architecture is completely backwards-compatible with the
 older i386 architecture, the i386 version of FreeBSD should work just fine
 in the new system.

Thanks very much for this. I have the impression from scanning the 
freebsd-amd64 archives that it is difficult to convert an existing system 
from i386 to AMD64, and probably not worth it. Do people have any opinions on 
this?

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


Re: What is involved in switching from i386 to AMD64?

2006-12-31 Thread Bill Moran
Oliver Iberien [EMAIL PROTECTED] wrote:

 On Sunday 31 December 2006 11:05, Erik Trulsson wrote:
  On Sun, Dec 31, 2006 at 10:40:37AM -0800, Oliver Iberien wrote:
   Hi,
  
   What actually needs to be done when switching machine architectures? I am
   facing a motherboard/CPU upgrade following the demise of an Athlon+
   setup. (I am running my FreeBSD drive in a P3 while trying to figure this
   out.)
  
   Replacing it with an oldish P4 would be easiest but they are rapidly
   becoming extinct. After much Googling I can't quite figure out what
   happens if I were to put the FreeBSD i386 HD into a 64-bit system.
   Nothing? Disaster? Do I totally have the wrong end of the stick? I'd be
   grateful for any advice.
 
  Since the AMD64 architecture is completely backwards-compatible with the
  older i386 architecture, the i386 version of FreeBSD should work just fine
  in the new system.
 
 Thanks very much for this. I have the impression from scanning the 
 freebsd-amd64 archives that it is difficult to convert an existing system 
 from i386 to AMD64, and probably not worth it. Do people have any opinions on 
 this?

Depends on your need.  I've never upgraded from i386 to amd64, so I can't
say what the process is like.

If you're running a desktop system, I recommend against running amd64.  A
lot of desktop code burns down, falls over, then sinks into the swamp when
run on amd64.

If you're running a server, not much problem.  Most serious server programs
have been running on 64-bit systems since before amd64 existed.

One workaround is that you can run i386 programs on an amd64 kernel, if you
compile with a special kernel option.  I have no actual experience with this
to comment on how well it works.

Except for some very specific workloads, CPUs tend to perform roughly
equally when run in i386 mode vs. amd64 mode.

The only majorly compelling argument for amd64 at this time is that it
makes life much easier if you have more than 3.5G of RAM in your system.
In i386 mode, you either need to compile your kernel with PAE (which is
an ugly, poorly supported hack in my opinion) or give up the RAM over
3.5G.

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


Re: How to configure switching between network interfaces?

2006-12-31 Thread mstrickland16
 
   Thanks,
  I believe thats what i'm looking for.  I will probably end up with a cu-fiber 
switch, but I wanted to know if that was possible in theroy.  The switches make 
more sense anyway because, otherwise, i'll have to setup a makeshift bridge on 
the server on the other end of the fiber.
 
  - Mike

- Original Message - 
From: Chuck Swiger [EMAIL PROTECTED] 
Date: Sunday, December 31, 2006 12:49 pm 
Subject: Re: How to configure switching between network interfaces? 
To: [EMAIL PROTECTED] 
Cc: freebsd-questions@freebsd.org 

 [EMAIL PROTECTED] wrote: 
  How to configure switching between network interfaces? 
  I would like to determine how, or if, the following can be 
 accomplished with FreeBSD. 
  Configuration: 
  A BSD box setup with 1 GbE NIC and a 4 port 10/100 NIC 
  The GbE interface will have a static IP configured (192.168.10.x/24) 
  Planned Implementation: 
  Along with possibly serving other data such as NFS or HTTP 
 traffic, I would like the interfaces to work as a switch. The GbE 
 interface is a fiber optic NIC which connects to the rest of the 
 network 100 or so meters away. I plan to use the other 4 
 interfaces to attach hosts to my network. I would prefer all of my 
 hosts to be on the same subnet if possible, otherwise I would just 
 configure routing between the appropriate interfaces. My question 
 then is: Can the interfaces be configured to function as a switch 
 would, allowing the connected hosts to recieve DHCP and other 
 traffic routing from the fiber optic interface via the FreeBSD 
 box. I know that in a basic configuration, 2 interfaces on the 
 same subnet are not a best practice and would required special 
 routing information. I assume that somewhere this can be 
 configured. A good shove in the right direction would be most 
 appreciated. 
 You can configure the interfaces together as a bridge and FreeBSD 
 will act as 
 a smart switch-- see the bridge(4) manpage or the Handbook for 
 more info. 
 
 Note that this configuration might make sense if you wanted to 
 impose firewall 
 rules to limit cross-segment traffic while still letting the 
 client machines 
 all be on one subnet. Or you might divert all WWW traffic seen 
 going by to a 
 transparent proxy server. 
 
 But unless you plan to do something with this traffic like that-- 
 if all you 
 want to do is have a switch-- you'd otherwise be better off 
 getting a 4-port 
 gigabit Cu or Fibre switch then setting up a dedicated server for 
 the task. 
 
 -- 
 -Chuck 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LINUX_LDLIBS = -ldl

2006-12-31 Thread Dan Nelson
In the last episode (Jan 01), dima said:
 I'm trying to compile TransConnect 
 (http://sourceforge.net/projects/transconnect), but compilation aborts 
 with a message: /usr/libexec/elf/ld: cannot find -ldl

The functions in Linux's libdl are in FreBSD's libc, so just remove
-ldl .

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


Any documentation for the FreeBSD port of mplex?

2006-12-31 Thread Oliver Iberien
The mplex multiplexer port doesn't seem to support the same options that the 
linux version does. (At least, -f is illegal.) The man page is very brief 
and the pkg-descr file has almost nothing as well. I'm trying to get the  
http://inferno.slug.org/cgi-bin/wiki?AviToVob script to work, but without a 
man page I'm stuck. Any clues?

Thanks,

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


Re: Any documentation for the FreeBSD port of mplex?

2006-12-31 Thread Dan Nelson
In the last episode (Dec 31), Oliver Iberien said:
 The mplex multiplexer port doesn't seem to support the same options
 that the linux version does. (At least, -f is illegal.) The man
 page is very brief and the pkg-descr file has almost nothing as well.
 I'm trying to get the http://inferno.slug.org/cgi-bin/wiki?AviToVob
 script to work, but without a man page I'm stuck. Any clues?

I don't think there's any such thing as a Linux version of mplex.
Your distribution might have local patches, in which case you could
submit a ports PR with them attached so they can be included in the
FreeBSD port.

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


Re: Any documentation for the FreeBSD port of mplex?

2006-12-31 Thread Michael Johnson

On 12/31/06, Oliver Iberien [EMAIL PROTECTED] wrote:

The mplex multiplexer port doesn't seem to support the same options that the
linux version does. (At least, -f is illegal.) The man page is very brief
and the pkg-descr file has almost nothing as well. I'm trying to get the
http://inferno.slug.org/cgi-bin/wiki?AviToVob script to work, but without a
man page I'm stuck. Any clues?



You're probably using the wrong mplex, I'm guessing you're using
multimedia/mplex? Use multimedia/mjpegtools as it contains the
the mplex you're looking for.

Michael


Thanks,

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


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


Information about loader and ldconfig

2006-12-31 Thread Rob Hurle
	In diagnosing problems after a recent install of refdb and 
mysql on my Freebsd 6.1 release system, I came across the directory:

/usr/local/libdata/ldconfig
 which contains files with names like mysql.  Each of these files 
contains just one line, which is a path to library modules (e.g. 
/usr/local/lib/mysql) for that program.  Other programs (e.g. 
mozilla) also have library modules in their own subdirectory in 
/usr/local/lib, but do not seem to need any files in the ldconfig 
directory.


	My query is why is this?  Is it to do with shared library 
modules?  Why not put entries for all of the subdirectories from 
/usr/local/lib in the ldconfig directory?


	Just seeking information, but others may be interested to note 
that I had to put an entry for the dbd subdirectory into the 
ldconfig directory when installing refdb.  Thank you all.


Cheers,

Rob Hurle
-
Rob Hurle   Faculty of Asian Studies, ANU
Home address and contacts:   Tel: +61 2 6247 2397
  PO Box 4013Fax: +61 2 6247 2397
  AinslieCell phone: 0417 293 603
  Australia e-mail: [EMAIL PROTECTED]
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LINUX_LDLIBS = -ldl

2006-12-31 Thread dima
On Sun, 31 Dec 2006, Dan Nelson wrote:

  I'm trying to compile TransConnect 
  (http://sourceforge.net/projects/transconnect), but compilation 
  aborts with a message: /usr/libexec/elf/ld: cannot find -ldl

 The functions in Linux's libdl are in FreBSD's libc, so just remove
 -ldl .

Remove or just chage to lc.6?
lc.6 = /usr/lib/libc.so.6

--
dima 7509107*mail,ru 2:550/112
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Information about loader and ldconfig

2006-12-31 Thread Dan Nelson
In the last episode (Jan 01), Rob Hurle said:
 In diagnosing problems after a recent install of refdb and 
 mysql on my Freebsd 6.1 release system, I came across the directory:

 /usr/local/libdata/ldconfig

 which contains files with names like mysql.  Each of these files
 contains just one line, which is a path to library modules (e.g.
 /usr/local/lib/mysql) for that program.  Other programs (e.g. 
 mozilla) also have library modules in their own subdirectory in
 /usr/local/lib, but do not seem to need any files in the ldconfig 
 directory.
 
 My query is why is this?  Is it to do with shared library modules? 
 Why not put entries for all of the subdirectories from
 /usr/local/lib in the ldconfig directory?

The /etc/rc.d/ldconfig ends up reading the contents of the files in
that directory to build the /var/run/ld-elf.so.hints file.  It's a lot
more efficient for the few ports that put their libraries in
nonstandard locations to create /usr/local/libdata/ldconfig files
rather than have /etc/rc.d/ldconfig have to scan all the subdirectories
in /usr/local/lib.  My system, for example, has 1500, wiuth the worst
offender being perl5.  Most of those subdirectories don't need to be
listed in ldconfig since they are directly opened via the dlopen()
function and an absolute path.

 Just seeking information, but others may be interested to note that I
 had to put an entry for the dbd subdirectory into the ldconfig
 directory when installing refdb.  Thank you all.

Sounds like the databases/libdbi-drivers port needs to add a

USE_LDCONFIG=   ${PREFIX}/lib/dbd

line to its port Makefile.

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


Re: LINUX_LDLIBS = -ldl

2006-12-31 Thread Dan Nelson
In the last episode (Jan 01), dima said:
 On Sun, 31 Dec 2006, Dan Nelson wrote:
 
   I'm trying to compile TransConnect 
   (http://sourceforge.net/projects/transconnect), but compilation 
   aborts with a message: /usr/libexec/elf/ld: cannot find -ldl
 
  The functions in Linux's libdl are in FreBSD's libc, so just remove
  -ldl .
 
 Remove or just chage to lc.6?
 lc.6 = /usr/lib/libc.so.6

Remove, since gcc always includes libc when linking executables.

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


VideoBSD and other APIs

2006-12-31 Thread Damian Sobieralski
Hi all,

  If this is a repost, my apologies in advance.  It's just that I didn't
see my message post in the last two digests of the list that I received.
This is my third post on this. I hope this one gets through.

  I have a series of questions that probably have been discussed at
length here. So if you'd rather point to the old material, please feel
free. Otherwise, any input would be useful and extremely appreciated.

 I am looking to do some trivial coding for a Hauppauge WinTV card. It
is supported by the bktr driver.

 So the question comes up, what API can I use to access this?  I'm new
to this sort of thing (accessing a tv card), hence the hobby interest in
playing around.  

 After much web searching the v4l2
(http://linuxtv.org/v4lwiki/index.php/Main_Page) project looks
promising. However, I'd prefer to do this on FreeBSD over Linux.  I do
have a Kubuntu box but I'd like to use FreeBSD (duh!).

 Then I came across many instances of people recommending going to:

http://people.freebsd.org/~jmg/videobsd.html

 And this looks like a promising start.  But as the page is dated 2003,
I wonder if this project is moving forward?

 Then I found out about the bktr API. Although this would limit my test
app to just my card (and is held my many as an older almost obsolete API
due to the meteor legacy) it looks like that's really the only avenue
for me on FreeBSD.  So then I searched for an API reference/tutorial for
bktr.  But I find that instead of a reference that many people are
stating to go over the fxtv source code
(http://www.freebsd.org/cgi/url.cgi?ports/multimedia/fxtv/pkg-descr) as
my tutorial.  Well, I can try to do that but I was hoping for a bit
more professional assistance in education for me. One thing I love
about FreeBSD it that although it is done in people's spare time - it
always has a feeling of being a professional operating system.

 So now the request for assistance. On FreeBSD, where is my best bet to
learn about interfacing with a Hauppauge WinTV card via C or C++?

 Thank you very much for any assistance that you can render.

- Damian

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