Re: How to query the computer's ip address?

2004-02-08 Thread Nicholas Holley
Rob wrote:
Hi,

Silly question, maybe, but is there a simple command to query the 
computer's
ip address? Something similar to 'hostname' for finding the computer's 
hostname.
I need the four dot-separated ip numbers.

I can analyze the output of 'ifconfig', but isn't there an easier way.

Thanks,
Rob.
If reading the output of ifconfig is really too much trouble for you, 
then I would suggest writing up a small script or alias to grep the 
output of ifconfig.

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


Re: Cat a directory

2003-10-19 Thread Nicholas Holley
Karlsson Mikael HKI/SOSV wrote:

And while we're on the subject of different file types why
doesn't ls support coloring of different file types like in Linux. As it would make 
finding certain files easier by coloring them differently depending on their ending.
Try http://www.mandrakelinux.com/en/

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


Re: Bonobo issues in ports

2003-09-23 Thread Nicholas Holley
Tuc wrote:

Hi,

	Trying to upgrade my ports for some bonobo stuff. 

	Eh? What happened?
 

I was having a similar issue trying to update ports. I ended up using 
pkg_deinstall -f libbonobo and then installing the port again by had 
with make install clean. It was necessary to do this with another 
package as well; I'm not sure if you'll have to or not.

Hope this works,

Nick

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


Re: soundcard stopping?

2003-09-23 Thread Nicholas Holley
Jan-Espen Pettersen wrote:

On Mon, 2003-09-22 at 07:03, Nicholas Holley wrote:
 

I'm running an up to date version of Freebsd 5.1, and I'm having 
problems with my soundcard. I have an Asus a7n8x deluxe. The kernel has 
pcm support compiled in and the sound card works mostly, but 
occasionally the soundcard will not work properly.

For example:

   - xmms will be playing fine for an hour and then stop with the 
   generic error about the soundcard being unavailable
   - I'll pause mplayer and unpause it only to have it crash due to the
  soundcard being unavailable
   - snes9x will stop playing the sound after a short amount of 
   playtime

Most of the time, I see an error along the lines of an illegal error. 
With mplayer and xmms, usually a couple of tries and the sound will work 
again. fstat | grep dsp will never output anything when the sound 
isn't working so I don't think anything else is blocking the soundcard 
plus I have 4 virtual channels set up so that shouldn't be possible anyway.

The problem is hard to cause or predict so I can't really provide more 
specific situations, but I'm hoping that this has happened to someone 
else before.
   

I think this has something to do with malloc(9) returning NULL. (with
M_NOWAIT flag) Therefore dsp operations which requires memory allocation
or realloc will fail if there is not enough memory free to immediately
fullfill the alloc requests. The driver will then return ENOMEM.
I've seen debug messages here indicating a return value of 12 (ENOMEM)
from, I think it was some feeder init functions, but can't recall and
couldn't find it in the logs anymore, sorry.
 

Is there a diagnostic path I can take to try to find out more or should 
I just plug in my SoundBlaster? Also is this I should approach the 
driver developer about?

Thanks,

Nick

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


Re: Bonobo issues in ports

2003-09-23 Thread Nicholas Holley
Tuc wrote:

Tuc wrote:

   

Hi,

	Trying to upgrade my ports for some bonobo stuff. 

	Eh? What happened?

 

I was having a similar issue trying to update ports. I ended up using 
pkg_deinstall -f libbonobo and then installing the port again by had 
with make install clean. It was necessary to do this with another 
package as well; I'm not sure if you'll have to or not.

   

	That was the 2nd half of the message, I get :

===   Generating temporary packing list
===  Checking if devel/libbonobo already installed
===   An older version of devel/libbonobo is already installed 
(bonobo-activation-2.2.4,1)
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of devel/libbonobo
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1
Stop in /usr/ports/devel/libbonobo

A make deinstall claims to work, but doing the make install or
make reinstall gives the same message.
 

Try using pkg_deinstall not make deinstall.

Nick

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


soundcard stopping?

2003-09-21 Thread Nicholas Holley
I'm running an up to date version of Freebsd 5.1, and I'm having 
problems with my soundcard. I have an Asus a7n8x deluxe. The kernel has 
pcm support compiled in and the sound card works mostly, but 
occasionally the soundcard will not work properly.

For example:

   - xmms will be playing fine for an hour and then stop with the 
   generic error about the soundcard being unavailable
   - I'll pause mplayer and unpause it only to have it crash due to the
  soundcard being unavailable
   - snes9x will stop playing the sound after a short amount of 
   playtime

Most of the time, I see an error along the lines of an illegal error. 
With mplayer and xmms, usually a couple of tries and the sound will work 
again. fstat | grep dsp will never output anything when the sound 
isn't working so I don't think anything else is blocking the soundcard 
plus I have 4 virtual channels set up so that shouldn't be possible anyway.

The problem is hard to cause or predict so I can't really provide more 
specific situations, but I'm hoping that this has happened to someone 
else before.

Thanks,
Nick
P.S. Has anyone seen anything about possible support of 2 channels on 
this board or support of the nvidia nic?

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