Re: PC Speaker and dwepcrack theory

Jacob Frelinger <[email protected]> Mon, 14 Oct 2002 15:11:26 -0400
Newsgroups gmane.network.wireless.bsd.airtools
Message-ID <[email protected]>
On Mon, Oct 14, 2002 at 03:14:54PM -0400, A. Wright wrote:
> I have a Dell Latitude CPi laptop.  I don't have X installed at all, as I do
> everything I need to from the command prompt.  I can't figure out how to get
> dstumbler to use the laptop's PC speaker for audio.  Whenever I enable sound
> in dstumbler I get this error: "error: unable to open speaker device: Device
> not configured".  Can someone give me an idea of where to start?

it uses the at speaker device not the dsp sound device.  in freebsd
stable you need 'pseudo-device speaker' in your kernel config.

> I also have a question about dwepcrack.  If I have a dual-processor machine,
> would it be better to specify -j 2, -j 20, or other?  What would be the
> optimal number of processes?

more processes then cpu's helps when your speed is largly bound by
something else (like lots of disk io).  it allows you to do do other
computation while waiting for disks to feed data to the waiting
process.  dwepcrack hasn't used lots of io in my experience, so only
run as many processes as you have cpus.  you can experemnt though
and run it with various -j n values and see how much cpu time is
spent in various states in top.

-- 
Jacob "I'm Brainy For Zombie Pops" Frelinger 
Jolly at TheCoffinClub dot Com 
http://www.thecoffinclub.com
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9qxbdO887GYmMIQIRAs22AJ93TvFSozOAHYgHSrRjcP7SC7TpBwCePkSj
zxiJC1MXtnS2EgS1aKPLDxQ=
=Kyqq
-----END PGP SIGNATURE-----