Re: convert rm files to wav files

2006-08-09 Thread Adam Funk
On 2006-08-08, Kamaraju Kusumanchi [EMAIL PROTECTED] wrote:

 How can I convert a .rm (RealMedia) file to a .wav file so that I curn burn
 it in an audio CD? Using Etch/testing.

 Thanks for the replies. I finally managed to do it by vsound. I used the 
 command 

 vsound -f output.wav realplay input.rm

 and it worked. Only downside is that I have to sit and wait till the file 
 finished playing. But this is a one time issue for me. So that is fine.

That's why I prefer the mplayer command-line approach.  You can 
run it through screen or as an at job when you're not logged in.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: convert rm files to wav files

2006-08-08 Thread Adam Funk
On 2006-08-08, Kamaraju Kusumanchi [EMAIL PROTECTED] wrote:
 How can I convert a .rm (RealMedia) file to a .wav file so that I curn burn 
 it 
 in an audio CD? Using Etch/testing.

If you have mplayer (from Marillat's multimedia repository, for example)

  mplayer -ao pcm:file=foo.wav foo.rm

should do it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mapping between *.wav files and cdrecord -audio tracks?

2006-07-12 Thread Adam Funk
On 2006-07-11, Katipo [EMAIL PROTECTED] wrote:
 Adam Funk wrote:

I made digital copies of an old record by connecting my hi-fi line
output to my sound input and using Audacity to record the tracks (and
edit them slightly) and save them as RIFF (little-endian) data, WAVE
audio, Microsoft PCM, 16 bit, stereo 44100 Hz files,

 Have you tried gramofile?

It's looks pretty good, especially for removing ticks and scratches,
but whisperI did the recording on a Mac that already had Audacity
installed/whisper then copied the WAVE files onto a Debian box for
burning and mp3-encoding.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mapping between *.wav files and cdrecord -audio tracks?

2006-07-12 Thread Adam Funk
On 2006-07-11, Alec Berryman [EMAIL PROTECTED] wrote:

 How good is the inverse function (ripping the CD tracks back to WAV)?

 If your disks scratch, then you may lose information; also take into
 consideration the expected life of your media.

I think backup copies are the solution then.


 Is there any loss of information in burning the files to CD?

 I don't believe so.

In that case I don't think there's much benefit to keeping the WAVE
files on the hard drive.


 If you want to keep the wav files around, you'll almost certainly want
 to compress them; if you want to keep them accessible for playing, I
 suggest flac, but if not you may want to consider rzip instead of gzip
 or bzip2.

I'd never heard of rzip until you mentioned it, but (using the default
compression for all three commands) there isn't a lot of difference in
the file size.

  25579480  acid-boys-t1.wav
  24329347  acid-boys-t1.wav.gz
  23326313  acid-boys-t1.wav.rz
  23306444  acid-boys-t1.wav.bz2


Thanks for the information.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Mapping between *.wav files and cdrecord -audio tracks?

2006-07-11 Thread Adam Funk
I made digital copies of an old record by connecting my hi-fi line
output to my sound input and using Audacity to record the tracks (and
edit them slightly) and save them as RIFF (little-endian) data, WAVE
audio, Microsoft PCM, 16 bit, stereo 44100 Hz files, which I then
burnt to a CD with `cdrecord -audio ...`.

How good is the inverse function (ripping the CD tracks back to WAV)?

Is there any loss of information in burning the files to CD?

Is there any reason to keep the WAV files themselves backed up?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: netlink_lookup: write failed: Connection refused

2006-07-10 Thread Adam Funk
On 2006-07-05, Jim Seymour [EMAIL PROTECTED] wrote:

 I added tcp_diag to the list of modules getting loaded at boot time.
 That is the module it is looking for.

I added it with modprobe and that seems to have fixed the problem.
I'll add it to the boot configuration too.

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: netlink_lookup: write failed: Connection refused

2006-07-06 Thread Adam Funk
On 2006-07-05, Jim Seymour [EMAIL PROTECTED] wrote:

   identd[12299]: netlink_lookup: write failed: Connection refused

 I added tcp_diag to the list of modules getting loaded at boot time.
 That is the module it is looking for.

Thanks, I'll try that and see if goes away.  Having googled a bit more
about this, I get the impression [1] that the bug was in pidentd
version 3.0.18-2.Softlab-2 rather than in the kernel, but I've got
3.0.18-3, which should be fixed according to the bug-closing in [1].

Should I add this experience to bug #305926 to re-open it?  (I'm
reluctant to complain about things I don't really understand unless I
get corroboration.)

[1]
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305926


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Making a mixed audio and data CD with cdrecord? (CDplus)

2006-07-05 Thread Adam Funk
Kevin Buhr [EMAIL PROTECTED] wrote: 

 What you're trying to create is sometimes called a CDplus or CD+
 disc.  ...  Such discs need to be written in two cdrecord passes,
 using something like this:

cdrecord -v dev=/dev/hdd -multi -pad -audio track1.wav track2.wav 
 track3.wav
mkisofs -r -J -C `cdrecord -msinfo dev=/dev/hdd` -M /dev/hdd -o foo.iso 
 data/
cdrecord -v dev=/dev/hdd -data foo.iso

This worked well, but I have some questions about the output I got.
(I've added the numbers in brackets for reference.)

[1] $ cdrecord -v dev=/dev/hdc -multi -pad -audio tracks/*.wav

[2] $ cdrecord -msinfo dev=/dev/hdc
cdrecord: Warning: Running on Linux-2.6.15-25-686
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
0,54112

[3] $ su

[4] # cdrecord -msinfo dev=/dev/hdc
0,54112

[4] $ mkisofs -r -J -C '0,54112' -o foo.iso data/

[5] $ cdrecord -v dev=/dev/hdc -data foo.iso 


Since I got the same result in [4] as in [2], the warning resulting
from [2] isn't important, right?

Then I decided to burn more copies of the same thing.  I put a new
CD-R in the drive and ran [1].  Step [2] gave me the same numbers, so
I skipped [3] and [4] and re-used the same foo.iso file.  Do I
actually need to do [2] every time to check the numbers, or can I rely
on generating the same session details from the same track files every
time?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



netlink_lookup: write failed: Connection refused

2006-07-05 Thread Adam Funk
Since I upgraded to a 2.6 kernel a few months ago, I've been getting
this message from logcheck (from syslog)

  identd[12299]: netlink_lookup: write failed: Connection refused

at irregular intervals (sometimes several times in an hours, sometimes
not for a few days).  I've googled for it but haven't been able to
find an explanation of it.  It doesn't seem to correlate with any
network problems and upgrading to a higher 2.6 kernel hasn't changed
it.

Is it significant?  Do I need to fix anything or should I just add it
to logcheck's ignore-rules?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Comparison of aptitude hold and pinning?

2006-06-19 Thread Adam Funk
On 2006-05-26, Johannes Wiedersich [EMAIL PROTECTED] wrote:

 As with Keep, any action that was to be performed on the package is 
 cancelled. In addition, the package will not be automatically upgraded 
 [a] until the hold is removed. You may cancel a hold by issuing the 
 Install command.

 [a] That is, it will be unaffected by Actions-Mark Upgradable (U) or 
 the dist-upgrade or upgrade command-line actions.

 More on pinning can be found in the apt-howto in

 file:/usr/share/doc/Debian/apt-howto/apt-howto.en.html

 on your system.

 file:/usr/share/doc/Debian/apt-howto/ch-apt-get.en.html#s-pin

 on debian sarge.

Thanks for the useful information.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Why does Firefox's middlemouse.contentLoadURL keep getting reset?

2006-06-09 Thread Adam Funk
On 2006-06-08, René Seindal [EMAIL PROTECTED] wrote:

 The bizarre thing is that this is (as far as I can tell) the *only*
 customized behaviour that gets reset to the default.

 Add this to your user.js file in the profile directory:

 user_pref(middlemouse.contentLoadURL,true);

Thanks.  I'll see what happens with the next upgrade!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Making a mixed audio and data CD with cdrecord?

2006-06-09 Thread Adam Funk
On 2006-06-08, Kevin Buhr [EMAIL PROTECTED] wrote:

 Googling for cdrecord cdplus and cdrecord multisession may
 help, too.  In particular, there's a README.cdplus floating around
 that gives instructions on creating these kinds of discs.

It's always easier to google for something when you know what it's
really called!  This must be the file you're talking about:

http://cdrecord.berlios.de/old/private/man/README/README.cdplus

Thanks!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Making a mixed audio and data CD with cdrecord?

2006-06-08 Thread Adam Funk

I'd like to make a mixed audio and data CD that can be played in a
normal audio CD player or mounted on a GNU/Linux or Windows box.

Is this the correct way to do it?

$ mkisofs -r -J -o foo.iso data/
$ cdrecord -v -pad dev=/dev/hdd speed=24 -audio track1.wav \
  track2.wav track3.wav -data foo.iso

Or should the data come first?

I think the -pad option (which has improved my audio-only CDs in the
past) won't harm the data part, and that the -dao option is
incompatible with multiple tracks.  Are these assumptions correct?

(This is on a 2.6 kernel with /dev/hdd as the CD-RW drive.)

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Why does Firefox's middlemouse.contentLoadURL keep getting reset?

2006-06-07 Thread Adam Funk
On 2006-06-05, Wim De Smet [EMAIL PROTECTED] wrote:
 On 6/5/06, Adam Funk [EMAIL PROTECTED] wrote:
 I know how to use about:config to set middlemouse.contentLoadURL to
 true in order to enable pasting links directly in.  But why does this
 customized value get annoyingly reset to false with every upgrade?

 Are you running unstable?

I'm running testing/unstable, mostly testing (apt.conf says
APT::Default-Release testing; but I have some unstable packages).

 I myself am and the default behaviour is 'true'. I'm not sure why your
 default behaviour would be different. That it keeps resetting on
 upgrade is even weirder, here all values I changed are saved across
 upgrades. Something else must be up I guess?

It's not too big a deal.  When I middle-click in a Firefox window and
nothing happens, I know right away how to correct it.  

The bizarre thing is that this is (as far as I can tell) the *only*
customized behaviour that gets reset to the default.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Why does Firefox's middlemouse.contentLoadURL keep getting reset?

2006-06-07 Thread Adam Funk
On 2006-06-07, Patrick Wiseman [EMAIL PROTECTED] wrote:

 Same thing happens to me, and just did  yesterday when I updated.  It IS
 annoying, but, as you say, easily fixable (although I do it through Edit,
 Preferences rather than in about:config).

You mean Preferences - Tabbed Browsing - Tabbed Focus - Load
middle-clicked...?  Thanks for reminding me: I'd forgotten about
that!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Why does Firefox's middlemouse.contentLoadURL keep getting reset?

2006-06-05 Thread Adam Funk
I know how to use about:config to sett middlemouse.contentLoadURL to
true in order to enable pasting links directly in.  But why does this
customized value get annoyingly reset to false with every upgrade?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mplayer error: undefined symbol: faacDecOpen

2006-05-31 Thread Adam Funk
On 2006-05-16, Adam Funk [EMAIL PROTECTED] wrote:
 On 2006-05-15, Jérôme Schneider [EMAIL PROTECTED] wrote:

 I think the problem is here : libavcodec1 and libavcodec2 are not
 official and not in the Marillat's repositry ! I think you must remove
 them and it will work.

 I've purged them, then purged libabcodeccvs and libavcodeccvs51, then
 reinstalled mplayer, and I still get the same error.  I 
...
 I can't think of anywhere else to look for the problem.

I eventually solved this problem by purging the following packages

  faad libavcodeccvs51 libavutilcvs0 libavutilcvs49 libfaad2-0
  libpostproccvs51 mencoder mozilla-mplayer mplayer

and reinstalling mplayer, mencoder, mozilla-player and faad.  The
mplayer command works again.  Mysterious!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Comparison of aptitude hold and pinning?

2006-05-25 Thread Adam Funk
I recently used the `aptitude hold` command.  It seems to be doing
what I expected but I'm curious -- what are the differences between
this and pinning a package in /etc/apt/preferences, and where does
aptitude hold store the information?  (`grep -r PACKAGENAME /etc/apt/`
turns up nothing.)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting KMail to let me encrypt to an unsigned key?

2006-05-19 Thread Adam Funk
On 2006-05-14, Adam Funk [EMAIL PROTECTED] wrote:
 I'm running the Debian kmail 3.3.2-3 package.

 As far as I can tell, it flatly refuses to let me encrypt a message to
 any key that doesn't have a signature chain back to a trusted key.  I
 can see the usefulness of a warning about doing this, but I've
 accidentally sent a message unencrypted while trying to find a way
 around the problem.

 Is there any way to override this restriction?

I found one way: 
gpg --lsign 0123ABCD


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mplayer error: undefined symbol: faacDecOpen

2006-05-16 Thread Adam Funk
On 2006-05-15, Jérôme Schneider [EMAIL PROTECTED] wrote:

 I think the problem is here : libavcodec1 and libavcodec2 are not
 official and not in the Marillat's repositry ! I think you must remove
 them and it will work.

I've purged them, then purged libabcodeccvs and libavcodeccvs51, then
reinstalled mplayer, and I still get the same error.  I 

`apt-file search libavcodec` lists the following packages

  libavcodec-dev
  libavcodec0d 
  libavcodeccvs
  libavcodeccvs51
  libavcodeccvs51-dev
  mplayer-doc

and `dpkg -l libavcodec*` gives me the following;

  pn  libavcodec1  none
  pn  libavcodec2  none
  pn  libavcodeccvsnone
  ii  libavcodeccvs51  20060323-0.1

I can't think of anywhere else to look for the problem.


 Before check if you have the good Marillat repositry in your
 sources.list (he changes recently) :

I have the following.  Nothing changed when I replaced unstable with sid.

  deb http://www.debian-multimedia.org   stable main
  deb http://www.debian-multimedia.org  testing main
  deb http://www.debian-multimedia.org unstable main

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



mplayer error: undefined symbol: faacDecOpen

2006-05-15 Thread Adam Funk
I've been using Christian Marillat's mplayer packages for quite a
while, mostly successfully.  But recently it started failing with this error:

$ mplayer 
mplayer: symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: 
faacDecOpen

regardless of the arguments after mplayer.

I've looked at the Google results and they all point to the same
thing:

-- 5/11/2004 :
-- If you see this error message with mplayer :
-- 
-- mplayer: relocation error:
-- /usr/lib/libavcodec.so.0.4.9-pre1: undefined symbol:
-- faacDecOpen
-- 
-- Install my libfaad2-0 package, and don't try to mix up video
-- packages from my site with others repositories (for example
-- the rarewares.org repository) this doesn't work.

but that was a long time ago, and I'm fairly certain I am using his
libfaad2-0 package:

$ dpkg -l mplayer* libfaad*
[snipped out the uninstalled stuff]
ii  libfaad2-0  2.0.0+cvs20060416-0.1  
ii  mplayer 1.0-pre7cvs20060325-0.3
ii  mplayer-doc 1.0-pre7cvs20060325-0.3
ii  mplayer-skin-blue   1.5-0.5

I'd appreciate any suggestions for solving or debugging this problem.

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mplayer error: undefined symbol: faacDecOpen

2006-05-15 Thread Adam Funk
On 2006-05-15, Jérôme Schneider [EMAIL PROTECTED] wrote:

 aptitude show libavcodeccvs51
 aptitude show libfaad2-0

Of course! (Apologies for the wide lines.)

$ aptitude show libavcodeccvs51
Package: libavcodeccvs51
New: yes
State: installed
Automatically installed: yes
Version: 3:20060430-0.3
Priority: optional
Section: libs
Maintainer: Christian Marillat [EMAIL PROTECTED]
Uncompressed Size: 4772k
Depends: libavutilcvs49 (= 3:20060430), libc6 (= 2.3.6-6), libfaac0 (= 
1.24+cvs20060416), libfaad2-0 (= 2.0.0+cvs20060416), libgsm1 (= 1.0.10), 
liblame0 (= 3.96.1-1),
 liblzo1, libogg0 (= 1.1.3), libtheora0, libvorbis0a (= 1.1.2), 
libvorbisenc2 (= 1.1.2), libxvidcore4 (= 1:1.0.0-0.0), zlib1g (= 1:1.2.1)
Description: library to encode decode multimedia streams - runtime files
 ffmpeg is a hyper fast real time audio/video encoder, a streaming server and a 
generic audio and video file converter. 
 
 It can grab from a standard Video4Linux video source and convert it into 
several file formats based on DCT/motion compensation encoding. Sound is 
compressed in MPEG audio layer 2
 or using an AC3 compatible stream.


$ aptitude show libfaad2-0
Package: libfaad2-0
State: installed
Automatically installed: no
Version: 2.0.0+cvs20060416-0.1
Priority: optional
Section: libs
Maintainer: Christian Marillat [EMAIL PROTECTED]
Uncompressed Size: 492k
Depends: libc6 (= 2.3.6-6)
Description: freeware Advanced Audio Decoder - runtime files
 FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly decodes 
all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC files.


$ dpkg -l libavcodec* libfaad*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ NameVersion 
Description
+++-===-===-==
ii  libavcodec1 0.4.8-sarge0.0  
Library to encode decode multimedia streams - runtime files
ii  libavcodec2 0.4.9-pre1-sarge0.2 
Library to encode decode multimedia streams - runtime files
ii  libavcodeccvs   20060210-0.0
library to encode decode multimedia streams - runtime files
ii  libavcodeccvs51 20060323-0.1
library to encode decode multimedia streams - runtime files
ii  libfaad2-0  2.0.0+cvs20060416-0.1   
freeware Advanced Audio Decoder - runtime files


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Getting KMail to let me encrypt to an unsigned key?

2006-05-14 Thread Adam Funk
I'm running the Debian kmail 3.3.2-3 package.

As far as I can tell, it flatly refuses to let me encrypt a message to
any key that doesn't have a signature chain back to a trusted key.  I
can see the usefulness of a warning about doing this, but I've
accidentally sent a message unencrypted while trying to find a way
around the problem.

Is there any way to override this restriction?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Effect of `export PATH' not pemanent?

2006-05-12 Thread Adam Funk
On 2006-05-12, Rodolfo Medina [EMAIL PROTECTED] wrote:

 $ export PATH=$PATH:/sbin
 $ echo $PATH
 /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/sbin

 and everything all right; but the effect of `export PATH'
 is not permanent: after a while, or in another terminal, again:

 $ echo $PATH
 /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

 . How to make the effect of `export PATH' permanent,
 and why is it not?

Put

export PATH=$PATH:/sbin

in your ~/.bashrc file.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Rough aide upgrade: aide.conf.autogenerated and DNSDOMAINNAME?

2006-05-04 Thread Adam Funk
Yesterday I upgraded aide to 0.11a-3 and I've had a heck of a time
getting it to run.  I eventually pinned the problem down to a syntax
error in this line in /var/lib/aide.conf.autogenerated :

@@define DNSDOMAINNAME

and figured out that the problem was coming from this line in
/etc/aide/aide.conf.d/10_aide_hostname :

echo @@define DNSDOMAINNAME $(dnsdomainname | escapere)

I commented this line out and copied it with a private lan name
instead of $(...).  Aide now seems to be running.  But I'd like to
know what the right way to deal with this is.

Where does /bin/dnsdomainname get its output from?

And what in the world does escapere mean?

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: UTF-8 to ISO 8859-1 tool

2006-05-04 Thread Adam Funk
On 2006-05-04, Hugo Vanwoerkom [EMAIL PROTECTED] wrote:

 What editor can change UTF-8 to ISO 8859-1?
 Running Debian Sarge. Oo doesn't seem to. MC doesn't know what's what.
 Who?

  $ iconv -f UTF-8 -t ISO8859-1 foo.html foo.latin1.html

You could do the conversion with emacs, but the above method is more
suitable for batch processing.  I think this would cut out a step for
printing:

  $ iconv -f UTF-8 -t ISO8859-1 foo.html |a2ps


 Rationale: I change html pages to text to print with a2ps. But then all 
 accents show up as garbage utf-8 sequences. It seems to know ISO 8859-1.

What locale are you running?  I think you could try the following:

  $ LANG=en_GB.UTF-8   a2ps foo.html

or

  $ export LANG=en_GB.UTF-8
  $ a2ps foo.html
  $ a2ps bar.html


Please post what works or doesn't work!

HTH,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: UTF-8 to ISO 8859-1 tool

2006-05-04 Thread Adam Funk
On 2006-05-04, Hugo Vanwoerkom [EMAIL PROTECTED] wrote:

 Thanks Adam! iconv -f UTF-8 -t ISO_8859-15 chikung.txt  
 chikung.converted.txt does the ticket.

 I don't print html pages with a2ps because it uses too much ink + paper:

 iconv -f UTF-8 -t ISO_8859-15 chikung.txt | a2ps --medium=Letterdj -o 
 chikung.ps

 does the job in one step. I'll make that an mc immediate command...

I'm glad it worked!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Canon Ixus 55 on GNU/Linux?

2006-04-28 Thread Adam Funk
Recently I tried to attach a friend's Canon Ixus 55 to my Debian box
to copy some photos from it (I don't have a card reader for that type
of memory card).  The /dev/sda1 flatly refused to show up, although I
had no trouble using my Olympus camera later the same day.  (I've
listed below the packages that I think are relevant.)

Has anyone else been able to get one of these to work?

Thanks,
Adam

ii  hal 0.5.7-1
ii  libhal-storage1 0.5.7-1
ii  libhal1 0.5.7-1
ii  pmount  0.9.9-2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Canon Ixus 55 on GNU/Linux?

2006-04-28 Thread Adam Funk
On 2006-04-28, Dmitri Minaev [EMAIL PROTECTED] wrote:
 Recent Canons usually use a special protocol, called PTP (picture
 transfer protocol) to communicate with a computer. AFAIK, this is also
 true for Ixus 55. Install gphoto2 to download pictures from your
 camera.

Interesting.  Does gphoto2 not mount the camera on the filesystem?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Canon Ixus 55 on GNU/Linux?

2006-04-28 Thread Adam Funk
On 2006-04-28, chris roddy [EMAIL PROTECTED] wrote:

 Recent Canons usually use a special protocol, called PTP (picture
 transfer protocol) to communicate with a computer. AFAIK, this is also
 true for Ixus 55. Install gphoto2 to download pictures from your
 camera.
 Interesting.  Does gphoto2 not mount the camera on the filesystem?
 It does not.
 On my Canon A410:

 /home/hugoFri Apr 28-09:02:08HDA7# gphoto2 --auto-detect
 Model  Port
 --
 USB PTP Class Camera   usb:
 USB PTP Class Camera   usb:001,005

 and gphoto2 -P uploads the jpegs and avi's.

 FWIW, the gphoto project also offers a tool called gphotofs, which aims
 to allow any camera supported by libgphoto2 to be mounted into the
 filesystem using FUSE (I have not been able to use it personally with my
 Canon A610).

 gtkam and gthumb both provide graphic front-ends to gphoto2.

Thanks for all the replies.  I'll try the gphoto2 front-ends next time
he's here.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How do you grow brocolli?

2006-04-17 Thread Adam Funk
On 2006-04-17, Mike McCarty [EMAIL PROTECTED] wrote:

 Ich bin hier um Linux zu gesprechen gekommen. Aber ich auch ziehe
 gern Kräuter...
 
 (Trotz meines Namens bin ich nicht deutscher.)

 Man hat es geraten, ohne Sie es zu sagen!

Oh weh mir!
;-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How do you grow brocolli?

2006-04-16 Thread Adam Funk
On 2006-04-15, Michelle Konzack [EMAIL PROTECTED] wrote:
 Am 2006-03-31 16:14:05, schrieb Adam Funk:
 On 2006-03-31, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  How do you grow brocolli?
 
 If you really want to upset a few people, post gardening questions in
 non-English languages.

 Hallo Adam,

 um was geht es hier eigentlich?
 Haha, kanst selber raten was ich hier schreibe...

 ;-)

Ich bin hier um Linux zu gesprechen gekommen. Aber ich auch ziehe
gern Kräuter...

(Trotz meines Namens bin ich nicht deutscher.)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Telling aptitude dist-upgrade it can add but not remove packages?

2006-04-12 Thread Adam Funk
On 2006-04-11, Joris Huizer [EMAIL PROTECTED] wrote:
 Adam Funk wrote:
 Is there any set of command-line options that will let me `aptitude
 dist-upgrade` so that it will add any packages necessary to upgrade
 existing packages, but not remove any currently installed packages?
 
 

 You could run `aptitude dist-upgrade` and use the list of packages to 
 install with `aptitude install packages` ...

That's what I've been doing.  It just takes a while to sift through
the list picking out the ones that are causing others to be removed.

 If you are only concerned about a small number of packages, you could 
 use `aptitude hold packages` which tells aptitude never to change 
 those (until you tell it to do something else with them)

I don't want to prevent aptitude from upgrading any package (except
when it's pinned because of apt-listbugs).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Telling aptitude dist-upgrade it can add but not remove packages?

2006-04-11 Thread Adam Funk
Is there any set of command-line options that will let me `aptitude
dist-upgrade` so that it will add any packages necessary to upgrade
existing packages, but not remove any currently installed packages?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Help with timezones (values of TZ) and summer (daylight savings) time.

2006-04-11 Thread Adam Funk
I'm working on a script to record some radio shows broadcast on the
east coast of the USA and I want the filenames to contain the local
time when the recording started.  The script worked fine during the
winter:

   TIMESTAMP=`TZ=EST date +%Y%m%d-%H%M-%Z`

but I wanted to modify it for the summer.  I thought the code for east
coast daylight savings time was EDT, but that comes out wrong:

$ date
Tue Apr 11 14:49:19 BST 2006

$ TZ=EST date
Tue Apr 11 08:49:21 EST 2006

$ TZ=EDT date
Tue Apr 11 13:49:24 EDT 2006


What is the TZ code for eastern daylight savings time, and where can I
get a definite list of the abbreviations?

How can I get my script to determine automatically whether standard or
summer time applies?  (My computer automatically changes to summer
time for the UK, so I must have some relevant software that I don't
know how to find.)

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Using Ubuntu when I'm used to Debian.

2006-04-03 Thread Adam Funk
I'm getting a new computer at work with Ubuntu on it, but I'm used to
using Debian (at home and at my previous job).  I understand that they
have some similarities.

I'd appreciate any suggestions about common pitfalls when making this
transition, things that will catch me by surprise, etc.

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Using Ubuntu when I'm used to Debian.

2006-04-03 Thread Adam Funk
On 2006-04-03, Björn Lindström [EMAIL PROTECTED] wrote:
 Adam Funk [EMAIL PROTECTED]:

 I'm getting a new computer at work with Ubuntu on it, but I'm used
 to using Debian (at home and at my previous job).  I understand that
 they have some similarities.

 I'd appreciate any suggestions about common pitfalls when making
 this transition, things that will catch me by surprise, etc.

 Writing Debian lists asking about Ubuntu is a mistake a lot of people
 seems to make in the beginning.

I considered that, but what I really want is the perspective from
people who are mainly Debian users.

 http://dir.gmane.org/gmane.linux.ubuntu.user

But thanks for the link.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Using Ubuntu when I'm used to Debian.

2006-04-03 Thread Adam Funk
On 2006-04-03, Hodgins Family [EMAIL PROTECTED] wrote:
 Hi Phillipe:

 One issue that comes up is the way Ubuntu uses the sudo command.
 During installation, newcomers (with prior experience in Linux) are 
 caught off guard when they are not asked to set up a root account and 
 password. It can be unnerving. 

That's what I've heard...

 A root password CAN be set up, though. 
 And tasks that newcomers may have used the root account for in the past 
 can also be done *by issuing the sudo command as a user*.
 As an example to make a root password:
   As a user, enter a terminal and type:
   sudo passwd root
   Ubuntu thinks it over and then asks for your user password...

...and I wondered if that would work!

 To alter the fstab file
   As user, enter a terminal and type:
   sudo vi /etc/fstab
   Ubuntu ask for your user password...

 It seems a bit twisted compared to other systems and some people  are 
 steamed by it.

Well, you've provided the solution!

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How do you grow brocolli?

2006-03-31 Thread Adam Funk
On 2006-03-31, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 How do you grow brocolli?

If you really want to upset a few people, post gardening questions in
non-English languages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Help with find command: seeking *.log files not under hidden directories.

2006-03-29 Thread Adam Funk
I want to modify the following command

find . -maxdepth $DEPTH -name $.log -ok rm '{}' ';';

so that it doesn't look in directories or subdirectories that start
with a . -- any suggestions?

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Help with find command: seeking *.log files not under hidden directories.

2006-03-29 Thread Adam Funk
On 2006-03-29, Florian Kulzer [EMAIL PROTECTED] wrote:

 find . -maxdepth $DEPTH -name $.log -ok rm '{}' ';';

$.log was of course a type for *.log.

 so that it doesn't look in directories or subdirectories that start
 with a . -- any suggestions?

 You could try -regex instead of -name, e.g.

 find . -regex \./[^.].*\.log

Perfect!

 lists all files ending in .log except the ones in subdirectories which
 start with a dot. I don't know for sure if this also stops find from
 descending into such directories at all; I assume this is what you want
 to achieve in order to save time. Might be worth a try.

Using the -maxdepth option seems to keep it reasonable.  

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] How to subscribe to this list but disasble receiving the mail?

2006-03-28 Thread Adam Funk
On 2006-03-28, Tim Connors [EMAIL PROTECTED] wrote:

 Hello Adam!  The stapler is behind you!

It really is behind me RIGHT NOW!

 I heard something about you need to have a valid address for bofh.it
 to propogate.  That or needing to subscribe with a valid address
 somewhere on bofh.it?  Dunno, I ended up doing a completely different
 solution, since debian lists are open to anyone to post.

Whatever I did a few years ago (and I'm *still* sure it involved
subscribing and then disabling mail, which I know how to find on the
mailman web UI) is still working but I'd like an alternative in case
it mysteriously stops.

 Want my script?  I notice you are using slrn, what I do to reply is
 press ESC-1-F, enter a bogus address a, then my script modifies the
 headers as appropriate before forking the editor.

 It will cost you $20, same as in town.

SUBSCIRBE!!!
Oops, I mean, yes please.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] How to subscribe to this list but disasble receiving the mail?

2006-03-27 Thread Adam Funk
On 2006-03-25, S. Keeling [EMAIL PROTECTED] wrote:

  to the linux.debian.user newsgroup.  I told him to subscribe to the
  debian-user mailing list, then disable mail delivery, in order to get
  his posts through the newsgroup - mailing list gateway.

 I asked this of the list masters.  They say just unsubscribe.

  The first time you post to linux.debian.user, you should get an email 
  from lists.bofh.it.  When you answer that email you should be able to 
  post via the newsgroup.

 I have been through that hoop.  I'm subscribed to lists.bofh.it, yet
 posts to l.d.* never make it to the list.  They're silently dropped.
 Mail to [EMAIL PROTECTED] and [EMAIL PROTECTED]
 have so far been ignored.

I don't get it.  I never had any trouble with this (but I don't have
the link any more.)

 This one may (?) get through because it's being mailed to [EMAIL PROTECTED]

 Posts to l.d.* don't get through.

I'm sure this is really annoying.  (I prefer usenet to mailing lists
too.)  Maybe you could try the gmane.linux.debian.user group on
gmane.org?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: what kernel modules am I really using?

2006-03-24 Thread Adam Funk
On 2006-03-24, Sumo Wrestler (or just ate too much) [EMAIL PROTECTED] wrote:

 The third column of lsmod's output tells you if a module is being used. 
 Take a look in /proc to find out what process is using a particular module.

 Get info. about the lsmod command and proc filesystem;
 $ man lsmod
 $ man 5 proc

man lsmod.modutils says The format is name, size, use count, list of
referring modules.  So for the lsmod output

cdrom  33568  1 ide_cd
ide_disk   15936  7 

cdrom is loaded because the ide_cd module requires it, right?  But
what exactly does use count mean -- the number of what kinds of
things that require a particular module?  In this case, ide_disk is
loaded and used by 7 things which are not other modules.

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Hacking Scribe for Firefox 1.5.0.1.

2006-03-15 Thread Adam Funk
Since upgrading Firefox I seriously missed the Scribe extension.  I
discovered this page with some extensions hacked for 1.5
  
http://www.beatnikpad.com/archives/2005/09/09/firefox-15-beta-compatible-extensions
but Scribe wouldn't install on 1.5.0.1.  So I downloaded the .xpi
file, unzipped it, edited the the line
   em:maxVersion1.5/em:maxVersion
in install.rdf to change it to 1.6, and zipped it back up.  Firefox
then installed it and it appears to work.

Have I done something stupid or clever?

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Hacking Scribe for Firefox 1.5.0.1.

2006-03-15 Thread Adam Funk
On 2006-03-15, Steve Lamb [EMAIL PROTECTED] wrote:
 Adam Funk wrote:
 Have I done something stupid or clever?

  I'd say even if it didn't work perfectly that it would be something 
 clever.  Since you say that it does appear to work, go for clever.  :)

Oh, I like that answer!
Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: I missed the kernel-image to linux-image thing!

2006-03-07 Thread Adam Funk
On 2006-03-07, Linas Zvirblis [EMAIL PROTECTED] wrote:

 I cannot speak for how transparent it is or it is not, but you should
 have uninstalled kernel-image-2.4.27 before installing
 linux-image-2.4.27, and not let it overwrite things. Now if you
 uninstall one of them, it will take part of files belonging to another
 with it. You should now uninstall (purge) both of them and only install
 one, or things may break when you least expect it.

In that case, should linux-image-2.4.27 indicate Conflicts to
prevent apt from letting them both be installed simultaneously?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Upgrade to 2.6.15-1-k7 kernel -- eth0: Corrupted packet received... in syslog.

2006-02-28 Thread Adam Funk
On 2006-02-27, Adam Funk [EMAIL PROTECTED] wrote:
 Last night I upgraded from 2.6.8-2-k7 to 2.6.15-1-k7.  Now I'm getting
 the following about 24 times an hour in /var/log/syslog:

 kernel: eth0: Corrupted packet received, buffer status = 0x90c005ee.

Now I'm convinced this is connected with the problems I've been having
(on and off) with fetchnews, since the Corrupted packet messages are
interspersed with fetchnews messages, for example:

Feb 28 12:53:01 garcia fetchnews[25101]: leafnode 1.11.4: verbosity level is 0, 
debugmode is 0
Feb 28 12:53:08 garcia kernel: eth0: Corrupted packet received, buffer status = 
0x90c005ee.
Feb 28 12:53:46 garcia kernel: eth0: Corrupted packet received, buffer status = 
0x90c005ee.
Feb 28 12:54:27 garcia kernel: eth0: Corrupted packet received, buffer status = 
0x90c005ee.
Feb 28 12:54:48 garcia fetchnews[25101]:  (ERROR: timeout - no response in 100 
s)
Feb 28 12:54:48 garcia fetchnews[25101]: Server disconnection or timeout before 
article could be retrieved #2
Feb 28 12:54:48 garcia fetchnews[25101]: Warning: aborting fetch from 
news.individual.net due to previous condition.
Feb 28 12:54:49 garcia kernel: eth0: Corrupted packet received, buffer status = 
0x90c005ee.
Feb 28 12:56:29 garcia fetchnews[25101]:  (ERROR: timeout - no response in 100 
s)
Feb 28 12:56:29 garcia fetchnews[25101]: Server disconnection or timeout before 
article could be retrieved #1
Feb 28 12:56:29 garcia fetchnews[25101]: Warning: aborting fetch from 
text.news.blueyonder.co.uk due to previous condition.

Any ideas?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting Ensoniq 5880 soundcard to work again after 2.4 to 2.6 kernel upgrade.

2006-02-27 Thread Adam Funk
OK, I think I've got this sorted now.  I added snd_pcm_oss to
/etc/modules and commented out a bunch of old stuff, then rebooted.

Then X wouldn't start.  I'm not sure, but I think that might be
because I was trying to run udev on kernel-image-2.6.8-2-k7.  (This
was the first reboot since installing udev and hal to get pmount to
work as I expected it to.)

So I installed linux-image-2.6.15-1-k7 and booted with that.  Now X
and the soundcard work.  In the end I didn't need to mess with
/etc/modprobe.d/*.

Thanks very much for your help!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Upgrade to 2.6.15-1-k7 kernel -- eth0: Corrupted packet received... in syslog.

2006-02-27 Thread Adam Funk
Last night I upgraded from 2.6.8-2-k7 to 2.6.15-1-k7.  Now I'm getting
the following about 24 times an hour in /var/log/syslog:

kernel: eth0: Corrupted packet received, buffer status = 0x90c005ee.

Is this anything to be concerned about, or just I should suppress it
in logcheck's ignore files?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting Ensoniq 5880 soundcard to work again after 2.4 to 2.6 kernel upgrade.

2006-02-26 Thread Adam Funk
On 2006-02-26, Colin [EMAIL PROTECTED] wrote:
 Adam Funk wrote:
 Hang on.  A few weeks ago when I was asking about preparations for
 switching from 2.4 to 2.6, you said to move customizations from
 /etc/modutils/ to /etc/modprobe.d/ -- does that mean that 2.6 doesn't
 use /etc/modutils/*?

 That is correct.  I overlooked that.

 Do both 2.4 and 2.6 use /etc/modules?

 Yes.

Thanks for the confirmations.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Confused about 64-bit architectures.

2006-02-25 Thread Adam Funk
On 2006-02-17, Graham Smith [EMAIL PROTECTED] wrote:

 You have a wide range of choices. You can go pure 32 bit and install the 
 standard i386 Debian, you can go mixed and have a 64 bit kernel an 32 bit 
 user space or you can go pure 64 bit. I've never tried a mixed system but 
 apparently it works fine.

If I go pure 32 bit and install i386 Debian on 64 bit hardware, will
I be able to run the i386 binaries (e.g. OpenOffice and flash) without
any trouble?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting Ensoniq 5880 soundcard to work again after 2.4 to 2.6 kernel upgrade.

2006-02-25 Thread Adam Funk
On 2006-02-24, Colin [EMAIL PROTECTED] wrote:

 I haven't tampered with anything in /etc/modutils/ yet -- should I
 edit modutils/sndconfig and replace es1371 with snd_ens1371.

 Yes, do this

Hang on.  A few weeks ago when I was asking about preparations for
switching from 2.4 to 2.6, you said to move customizations from
/etc/modutils/ to /etc/modprobe.d/ -- does that mean that 2.6 doesn't
use /etc/modutils/*?

There's nothing about the soundcard in the new directory:

/etc # grep -r snd modprobe.d/

/etc # grep -r 1371 modprobe.d/

 Also, I'd add snd_ens1371 and snd_pcm_oss to your /etc/modules (not
 /etc/modules.conf) file

Do both 2.4 and 2.6 use /etc/modules?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting Ensoniq 5880 soundcard to work again after 2.4 to 2.6 kernel upgrade.

2006-02-25 Thread Adam Funk
Some more potential diagnostic information.  While I was messing with
modprobe, the following appeared in syslog:

Feb 25 17:23:52 garcia kernel: usbaudio: dma timed out??
Feb 25 17:43:29 garcia kernel: unable to register OSS mixer device 0:0
Feb 25 17:43:29 garcia kernel: unable to register OSS PCM device 0:0
Feb 25 17:44:59 garcia kernel: es1371: version v0.32 time 14:23:03 Aug 16 2005
Feb 25 17:45:04 garcia kernel: es1371: unloading
Feb 25 17:45:06 garcia kernel: es1371: version v0.32 time 14:23:03 Aug 16 2005
Feb 25 17:45:07 garcia kernel: es1371: unloading
Feb 25 17:45:21 garcia kernel: unable to register OSS mixer device 0:0
Feb 25 17:45:21 garcia kernel: unable to register OSS PCM device 0:0
Feb 25 17:45:21 garcia devfsd[424]: error stat(2)ing: sound/mixer1^INo such 
file or directory
Feb 25 17:45:21 garcia devfsd[424]: error stat(2)ing: sound/dsp1^INo such 
file or directory

So I assume that something wants /dev/sound/mixer1 and /dev/sound/dsp,
whereas I actually have the following.

$ ls -l /dev/sound/*
crw-rw  1 root audio 14, 12 1970-01-01 01:00 /dev/sound/adsp
crw-rw  1 root audio 14,  9 1970-01-01 01:00 /dev/sound/dmmidi
crw-rw  1 root audio 14,  3 1970-01-01 01:00 /dev/sound/dsp
crw-rw  1 root audio 14,  2 1970-01-01 01:00 /dev/sound/midi
crw-rw  1 root audio 14,  0 1970-01-01 01:00 /dev/sound/mixer

Any suggestions on identifying and resolving this conflict?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Confused about 64-bit architectures.

2006-02-23 Thread Adam Funk
On 2006-02-23, Justin Guerin [EMAIL PROTECTED] wrote:

 Is there a table anywhere that lists processors by their common names
 and tells which kernels will work on which ones?

 I hope the list on http://www.debian.org/ports/ gives you the information 
 you seek.  If not, what is missing?  It may yet be out there...

It gives the information -- but not in a dumbed-down enough format for
me.  For example, nowhere on that page is the word Xeon mentioned,
so if I bought a Xeon computer, for example, I wouldn't know from that
page alone to install AMD64.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting Ensoniq 5880 soundcard to work again after 2.4 to 2.6 kernel upgrade.

2006-02-23 Thread Adam Funk
On 2006-02-23, Colin [EMAIL PROTECTED] wrote:
 Adam Funk wrote:
 lsmod includes the following:
 
 es1371 36864  0 
 snd_ens137125252  0 

 You're loading both the OSS and ALSA versions of the sound module.  You
 have to choose just one.  I recommend the ALSA version (snd_ens1371).
 Make sure the other module (es1371) isn't in the /etc/modules file and
 that the alsa-base and alsa-utils packages are installed with apt-get
 (or aptitude or synaptic or...)

My /etc/modules file says it's generated automatically from
/etc/modutils, so I used my investigative hammer:

/etc $ grep 1371 modules.conf
alias sound-slot-0 es1371

/etc $ grep -r 1371 modutils/
modutils/sndconfig:alias sound-slot-0 es1371

/etc $ cat modutils/sndconfig 
alias sound-slot-0 es1371
post-install sound-slot-0 /bin/aumix -f /etc/.aumixrc -L /dev/null 21 || :
pre-remove sound-slot-0 /bin/aumix -f /etc/.aumixrc -S /dev/null 21 || :


I haven't tampered with anything in /etc/modutils/ yet -- should I
edit modutils/sndconfig and replace es1371 with snd_ens1371.

I've just tried
# rmmod es1371
but it didn't help.  (lsmod showed that snd_ens1371 was still there
but not es1371.)  Does that mean anything to you?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Confused about 64-bit architectures.

2006-02-23 Thread Adam Funk
On 2006-02-23, Justin Guerin [EMAIL PROTECTED] wrote:

 It gives the information -- but not in a dumbed-down enough format for
 me.  For example, nowhere on that page is the word Xeon mentioned,
 so if I bought a Xeon computer, for example, I wouldn't know from that
 page alone to install AMD64.

 You're right, but in the case of Xeon, it's because Intel makes both 32 bit 
 and 64 bit (EM64T) Xeon branded CPUs. 

I didn't know that! 

 I don't know if that situation 
 exists with other processors, but I wouldn't be surprised.  

Well, I know that an Athlon used to be 32-bit, so I figured out that
an Athlon 64 would be 64-bit, but obviously they're not all so
straightforward.

 It sounds like what you want is something that says Intel PIII processors 
 use the i386 port ... etc.  I don't know if that exists, but I agree it 
 would be a good resource.  Perhaps someone could put up a page on 
 wiki.debian.org?

That would be very useful.  I'm not stupid (of course I would say
that) -- I'm just not very interested in hardware or knowledgeable
about it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



pmount + hal + dbus work, but generate too many syslog entries for card reader.

2006-02-22 Thread Adam Funk
I've installed pmount, dbus and hal and they seem to work fine,
although I noticed last night that my syslog file was over 2MB!

As long as my camera memory card reader is plugged in -- but with no
card in it -- /dev/sda is present (as I think it should be) but every
two or three seconds the following entries appear in syslog:

Feb 21 23:41:29 garcia kernel: sddr09: could not read card info
Feb 21 23:41:29 garcia kernel: sddr09: could not read card info
Feb 21 23:41:29 garcia kernel: sda: assuming Write Enabled
Feb 21 23:41:29 garcia kernel: sda: assuming drive cache: write through

Since pmount works, I assume this is nothing to worry about, but it
bugs me that there is so much unnecessary stuff in syslog.  So I have
two questions:

1. Is this anything to be concerned about?

2. If not, how do I suppress the messages (other than by unplugging
   the card reader when I'm not using it)?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Getting Ensoniq 5880 soundcard to work again after 2.4 to 2.6 kernel upgrade.

2006-02-22 Thread Adam Funk
I'm now running a 2.6.8 kernel and my sound card, which worked find
with 2.4.*, no longer works.  (The XFCE4 volume control won't adjust
above 0, and when I run XMMS it runs through the sound files at very
high speed and produces no sound.)

`lscpi` describes the card thus:

:00:0c.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI128
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow TAbort-
TAbort- MAbort- SERR- PERR-
Latency: 32 (3000ns min, 32000ns max)
Interrupt: pin A routed to IRQ 209
Region 0: I/O ports at d000 [size=64]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

The devices appear normal (I think): /dev/dmmidi /dev/dsp /dev/midi
and /dev/mixer are symlinks to /dev/sound/dmmidi /dev/sound/dsp
/dev/sound/midi and /dev/sound/mixer, which exist:

$ ls -l /dev/sound/
total 0
crw-rw  1 root audio 14, 9 1970-01-01 01:00 dmmidi
crw-rw  1 root audio 14, 3 1970-01-01 01:00 dsp
crw-rw  1 root audio 14, 2 1970-01-01 01:00 midi
crw-rw  1 root audio 14, 0 1970-01-01 01:00 mixer


lsmod includes the following:

ac97_codec 18700  1 es1371
audio  48064  0 
es1371 36864  0 
snd57380  7
snd_ens1371,snd_ac97_codec,snd_usb_audio,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer
snd_ac97_codec 69508  1 snd_ens1371
snd_ens137125252  0 
snd_page_alloc 11720  1 snd_pcm
snd_pcm97480  2 snd_ens1371,snd_usb_audio
snd_rawmidi25316  2 snd_ens1371,snd_usb_audio
snd_seq_device  8264  1 snd_rawmidi
snd_timer  25668  1 snd_pcm
snd_usb_audio  72544  0 
soundcore  10336  3 es1371,snd,audio
usbcore   118308  10 
usbhid,ehci_hcd,uhci_hcd,snd_usb_audio,audio,pwc,ohci_hcd,usb_storage

I would appreciate any suggestions on how to fix this.

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Upgraded 2.4 to 2.6 kernel: how to get pmount to work?

2006-02-21 Thread Adam Funk
On 2006-02-21, Magnus Therning [EMAIL PROTECTED] wrote:

Are DBus (package dbus) and HAL (package hal) installed and running?

They are now...

 Is your user in the plugdev group?

and these are now...

Everything's working fine now.  Thanks to both of you.

The reason I asked what might seem to be a stupid question is that on
my previous work computer, I installed Debian with pmount and a 2.6
kernel, whereas I installed Debian on my home computer a few years ago
and have just this week changed to 2.6.  

I had assumed that pmount's dependencies would be sufficient for it to
work, so I'm curious: why aren't they?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Upgraded 2.4 to 2.6 kernel: how to get pmount to work?

2006-02-21 Thread Adam Funk
On 2006-02-21, Linas Zvirblis [EMAIL PROTECTED] wrote:
 Adam Funk wrote:

 $ pmount-hal /dev/sdb1
 Error: could not connect to dbus: org.freedesktop.DBus.Error.NoReply: No 
 reply within specified time

 Are DBus (package dbus) and HAL (package hal) installed and running?

They are now... (see next message)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Upgraded 2.4 to 2.6 kernel: how to get pmount to work?

2006-02-21 Thread Adam Funk
On 2006-02-21, Linas Zvirblis [EMAIL PROTECTED] wrote:
 Adam Funk wrote:

 I had assumed that pmount's dependencies would be sufficient for it to
 work, so I'm curious: why aren't they?

 Well, it is possible to use pmount without HAL if you pass all the 
 parameters to it yourself. Many people do just that, and there is no 
 reason to force HAL on them.

Interesting, thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Confused about 64-bit architectures.

2006-02-20 Thread Adam Funk
On 2006-02-17, Graham Smith [EMAIL PROTECTED] wrote:

 Yes. The Althon 64 fully supports i386 through some fancy on chip emulation 
 that is as fast as a native 32 bit chip (I think all the 64 bit processors 
 you mention do this but don't quite me on that).

So I could do that by booting a normal i386 network-installation
bootable CD, and start with the i386 kernel, right?  

In this case, would I be able to run OpenOffice, mplayer and flash
without difficulty from the binary packages?

Should this also work on Xeon and Opteron, and how do I choose between
the three processors?


 In that case, which kernel flavour would I use?

 You have a wide range of choices. You can go pure 32 bit and install the 
 standard i386 Debian, you can go mixed and have a 64 bit kernel an 32 bit 
 user space or you can go pure 64 bit. I've never tried a mixed system but 
 apparently it works fine.

 I'm running the 2.6.15-1-amd64-k8 kernel at the moment which is AMD64 
 specific. If you are confused just go for one of the generic kernels.

Is there a table anywhere that lists processors by their common names
and tells which kernels will work on which ones?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Upgraded 2.4 to 2.6 kernel: how to get pmount to work?

2006-02-20 Thread Adam Funk
I just upgraded from 2.4.27-2-k7 to 2.6.8-2-k7 and booted
successfully.  I then did `aptitude install pmount` but it isn't
working.  When I connect and disconnect USB devices, the /dev/sdb and
/dev/sdb1 (for example) appear and disappear, but I have a pmount-hal
command instead of pmount and it doesn't work:

$ ls /dev/sd*
/dev/sda  /dev/sdb  /dev/sdb1

$ pmount-hal /dev/sdb1
Error: could not connect to dbus: org.freedesktop.DBus.Error.NoReply: No reply 
within specified time

What am I doing wrong?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Confused about 64-bit architectures.

2006-02-17 Thread Adam Funk
I'm planning to buy a new home computer soon and am considering Xeon,
Athlon 64 and Opteron 64, but I'm not sure about the relevant Debian
architectures, ia64 and amd64.  Which one applies to which of those
processors?

I'm also concerned about the potential shortage of 64-bit software for
a general-purpose workstation, so I'd like to know what other people
think of this.  Will I be setting myself up for a lot of hassle?
Should I just stick with a Pentium 4 for now?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Confused about 64-bit architectures.

2006-02-17 Thread Adam Funk
On 2006-02-17, Graham Smith [EMAIL PROTECTED] wrote:

 Having said that there is not really any advantage to running the 64 bit port 
 as there isn't any software that makes use of the extra features and the 
 Althon 64 in 32 bit mode is just as fast.

Does that mean I can just install Debian i386 on an Athlon 64?  

In that case, which kernel flavour would I use?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



slrn/unstable, libslang2, unicode?

2006-02-06 Thread Adam Funk
The slrn.sourceforge.net documentation says Unicode support is
dependent on Slang 2, and that you can compile late version against
that library to get Unicode support.

The unstable version of slrn, however, requires libslang2 but does
support UTF-8.  Anyone know why?

$ slrn --version
Slrn 0.9.8.1pl1 [2005-02-17]
* Note: This version is a developer preview.
S-Lang Library Version: 2.0.5
Compiled at: Jan 22 2006 01:48:06
Operating System: Debian

 COMPILE TIME OPTIONS:
  Backends: +nntp +slrnpull +spool
  External programs / libs: +canlock +inews +ssl +uudeview
  Features: +charset_mapping +decoding +emphasized_text +end_of_thread
+fake_refs +gen_msgid -grouplens +mime -msgid_cache +piping +rnlock
+slang +spoilers -strict_from
 DEFAULTS:
  Default server object: nntp
  Default posting mechanism: nntp
  Default character set: isolatin
 SUPPORTED CHARACTER SETS:
  isolatin ibm850 ibm852 ibm857 ibm737 NeXT koi8

$ apt-show-versions slrn
slrn/testing uptodate 0.9.8.1pl1-15

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How much hassle to upgrade from 2.4.27 to 2.6.*?

2006-02-03 Thread Adam Funk
On 2006-02-03, Colin [EMAIL PROTECTED] wrote:

 You can actually remove the hdd=ide-scsi option altogether and write to
 your CD Writer directly. ie. instead of:

 cdrecord dev=0,0,0 ...

 you use:

 cdrecord dev=/dev/hdd ...

You mean with the 2.6.* kernel, right?


 If you haven't already, any customization you did in the /etc/modutils
 directory has to be moved over to your /etc/modprobe.d directory.

Thanks for pointing that out.  

I think the only customization I have is to use the pwcx.o driver for
my webcam.  Is something available to replace that for 2.6 kernels?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: use stable/unstable source at the same time

2006-02-03 Thread Adam Funk
 could I use stable and unstable sources list at the same time as this in
 /etc/apt/sources.list?

 deb ftp://ftp.linuxforum.net/debian/ stable main
 deb ftp://ftp.linuxforum.net/debian/ unstable main

Yes.  I think you should include testing as well.  Then you need to
put *one* of the following lines in /etc/apt/apt.conf

APT::Default-Release stable;
APT::Default-Release testing;
APT::Default-Release unstable;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: use stable/unstable source at the same time

2006-02-03 Thread Adam Funk
On 2006-02-03, John Halton [EMAIL PROTECTED] wrote:

 My understanding was that if you have more than two repositories then
 it is better to use pinning, using /etc/apt/preferences, so you can
 set different priorities for each of the non-default releases.

 The exact configuration then depends on which of the three
 repositories you want to prioritise - i.e. do you want to track stable
 but having testing/unstable packages available, or do you want to
 track testing or unstable.

I think that's what I'm doing with this line in apt.conf:
  APT::Default-Release testing;
so `aptitude install foo` will install the testing version by default,
but if I specifically want something else I can use options to get
what I want.  (I have a big preferences file but it's entirely
produced by apt-listbugs.)

I would like to take this opportunity to ask for clarification about
something.  Given my apt.conf line above, is the difference between
these
(1)  aptitude install foo/unstable
(2)  aptitude -t unstable install foo
that (1) will get the unstable version of foo but the testing versions
of any unsatisfied dependencies, whereas (2) will get the unstable
versions of foo's dependencies and foo itself?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How much hassle to upgrade from 2.4.27 to 2.6.*?

2006-02-02 Thread Adam Funk
I've got a Debian testing/unstable system running a 2.4.27-2-386 or
2.4.27-2-386 kernel, booted from LILO, and I'm thinking of upgrading
to 2.6.something.  I had originally planned to wait until I had a new
computer but I haven't got around to picking one out yet.

If I just use aptitude to install a 2.6 kernel, how much trouble will
it be to get it running?  I assume I'll need to edit lilo.conf to add
a suitable entry without the hdd=ide-scsi option (then I'll be able
to install and use pmount and to use cdrecord directly with the ATAPI
cd-writer).  But there are any other complications?  Or is it really
that simple?

I'd like to know before I start that it won't take up much of this
weekend!

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How much hassle to upgrade from 2.4.27 to 2.6.*?

2006-02-02 Thread Adam Funk
On 2006-02-02, David Kirchner [EMAIL PROTECTED] wrote:
 On 2/2/06, Adam Funk [EMAIL PROTECTED] wrote:
 I've got a Debian testing/unstable system running a 2.4.27-2-386 or
 2.4.27-2-386 kernel, booted from LILO, and I'm thinking of upgrading
 to 2.6.something.  I had originally planned to wait until I had a new
 computer but I haven't got around to picking one out yet.

 http://kerneltrap.org/node/3385

 describes a bizarre situation that, as far as I know, still exists today.

As I understand that, it wouldn't affect me since the computer in
question only has 1 NIC.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Firefox 1.5: middle-clicking URLs doesn't work now.

2006-01-29 Thread Adam Funk
I just upgraded to package firefox 1.5.dfsg-4.  I used to be able to
select URLs in another window and middle-click in Firefox to load
them, but it has stopped working and I can't find a configuration
option to reinstate this function.  Could anyone tell me how to get it
back?

-- 
Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Firefox 1.5: middle-clicking URLs doesn't work now.

2006-01-29 Thread Adam Funk
On 2006-01-29, Noah Dain [EMAIL PROTECTED] wrote:
 On 1/29/06, Adam Funk [EMAIL PROTECTED] wrote:
 I just upgraded to package firefox 1.5.dfsg-4.  I used to be able to
 select URLs in another window and middle-click in Firefox to load
 them, but it has stopped working and I can't find a configuration
 option to reinstate this function.  Could anyone tell me how to get it
 back?

 type: about:config  in the url input field and hit enter.

 in the filter field, type middle

 double click (set to true) browser.tabs.opentabfor.middleclick and
 middlemouse.opennewwindow

 i *think* that should do it.

Not quite but very close!  I had to set middlemouse.contentLoadURL
to true -- which I wouldn't have found without your suggestion.

Thanks!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Trying to upgrade libc6: aptitute wants to remove the kernel.

2006-01-23 Thread Adam Funk
On Monday 23 January 2006 01:20, Andrew Sackville-West wrote:

 I've got a mixed stable/testing system which I've been trying to
 upgrade
 and dist-upgrade for a while.  Whenever I try to `aptitude install
 libc6` to testing or unstable, with various options, I get this
 ominous warning:
 
 The following packages will be REMOVED:
   base-config initrd-tools kernel-image-2.4.23-1-386
   kernel-image-2.4.26-1-k7 kernel-image-2.4.27-1-k7
   kernel-image-2.4.27-2-386 kernel-image-2.4.27-2-k7
...
 actually, now that I think about it, how can you NOT have libc6
 already?

I had libc6 stable, but it was holding back an increasing list of other
packages from being upgraded, and there was something very fishy about
the initrd-tools dependency.  I tried
  aptitude -t testing install libc6 initrd-tools
and
  aptitude -t unstable install libc6 initrd-tools
but they refused to cooperate.  (Sorry, I don't remember the exact error
messages.)

In the end I had to do this:
   aptitude download initrd-tools/testing
   dpkg -i initrd-tools_0.1.84_all.deb 
   aptitude -t unstable install libc6
   aptitude upgrade
which worked.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Trying to upgrade libc6: aptitute wants to remove the kernel.

2006-01-21 Thread Adam Funk
I've got a mixed stable/testing system which I've been trying to upgrade
and dist-upgrade for a while.  Whenever I try to `aptitude install
libc6` to testing or unstable, with various options, I get this ominous
warning:

The following packages will be REMOVED:
  base-config initrd-tools kernel-image-2.4.23-1-386 
  kernel-image-2.4.26-1-k7 kernel-image-2.4.27-1-k7 
  kernel-image-2.4.27-2-386 kernel-image-2.4.27-2-k7 

I think there's a way to get over this hump without making my computer
unbootable, but I can't figure it out.  I'd appreciate any suggestions.

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SSH on two ports

2006-01-14 Thread Adam Funk
On Saturday 14 January 2006 13:00, Michael Przysucha wrote:

 Hello,
 
 I want to use ssh on two ports, 22 (standart) and 666. Can anybody
 tell how to configure it? My first thought was to simply add the
 second port nubmer in the configuration but did not work. Second was
 to set up iptables route the port but seems to be a bit to oversized!?

Just edit /etc/ssh/sshd_config and add the following two lines near the
top.  (Then run `/etc/init.d/ssh restart` of course.)

Port 22
Port 666

If you aren't doing anything complicated like running them on different
network interfaces, that's sufficient.

HTH,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is there a GPL substitute for RealPlayer?

2006-01-07 Thread Adam Funk
On Friday 30 December 2005 16:50, Hugo Vanwoerkom wrote:

 Bryan G wrote:
 i found this, I haven't installed it yet but it claims to replace
 realplayer without the problems of realplayer taking over your PC
 http://www.codecguide.com/download_real.htm
 
 I find that mplayer is a far better substitute for what I used to use
 RealPlayer for: mp3 streams.
 
 1. You can record and play at the same time w/o using vsound.

How do you do that?  I know how to record a stream to a WAV file, but
not how to play it at the same time.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Help with syslog.conf syntax and structure?

2005-12-13 Thread Adam Funk
On Friday 09 December 2005 01:00, Almut Behrens wrote:

 On Thu, Dec 08, 2005 at 11:01:53AM +, Adam Funk wrote:
 I've been running leafnode, which generates a lot of news.info syslog
 entries -- making up over 95% of /var/log/syslog -- so I want to stop
 logging news.info at all, but without interfering with anything else.
 
 I've read various man pages but I can't figure out how to subtract
 that from /var/log/syslog.
 
 If I were you I would try news.!=info (but I haven't tried actually,
 so I can't tell whether it works :)   I.e., try to modify this line
 
 *.*;auth,authpriv.none  -/var/log/syslog
 *.*;auth,authpriv.none;news.!=info   -/var/log/syslog
 
 If I'm reading syslog.conf(5) correctly, this should stop facility
 'news' with a priority exactly equal to 'info' from being logged to
 /var/log/syslog.

That seems to be doing exactly what I want.

Thanks very much!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Help with syslog.conf syntax and structure?

2005-12-08 Thread Adam Funk
I have what I think is a fairly standard syslog.conf (in other words,
I haven't tinkered with it yet), the non-commented parts of which I've
pasted below.

I've been running leafnode, which generates a lot of news.info syslog
entries -- making up over 95% of /var/log/syslog -- so I want to stop
logging news.info at all, but without interfering with anything else.

I've read various man pages but I can't figure out how to subtract
that from /var/log/syslog.

What do I need to put where in order to achieve this?

Thanks,
Adam


auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none  -/var/log/syslog
#cron.* /var/log/cron.log
daemon.*-/var/log/daemon.log
kern.*  -/var/log/kern.log
lpr.*   -/var/log/lpr.log
mail.*  -/var/log/mail.log
user.*  -/var/log/user.log
uucp.*  /var/log/uucp.log

mail.info   -/var/log/mail.info
mail.warn   -/var/log/mail.warn
mail.err/var/log/mail.err

news.crit   /var/log/news/news.crit
news.err/var/log/news/news.err
news.notice -/var/log/news/news.notice

*.=debug;\
auth,authpriv.none;\
news.none;mail.none -/var/log/debug
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none  -/var/log/messages


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Request to remove Information

2005-11-16 Thread Adam Funk
Ron Johnson wrote:

 On Tue, 2005-11-15 at 22:31 -0500, C Shore wrote:
 On Tue, Nov 15, 2005 at 06:49:03PM -0800, Steve Lamb wrote:
  Edward J. Shornock wrote:
   I beg to differ.  I, at least, am trying to avoid ending up living in
   a cardboard box or milking social services.
  
  And the corporations are trying to prevent from folding.  BTW, you
  do
  realize that corporations are nothing more than individuals just like
  you.
 
 That's a load of crap perpetuated by lawyers.  A coporation is not
 person in any reasonable definition of the word.
 
 I *think* he means that corporations nothing more than *groups*
 of individual people, and thus any nefarious deeds done by corp-
 orations are really done by individuals.

...who can thus avoid proper accountability for their actions.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to figure out why a computer rebooted?

2005-11-16 Thread Adam Funk
I'm disturbed that I've received a Reboot logcheck report from a
computer to which I don't have physical access right now.  I logged in
by ssh and looked at /var/log/syslog, which shows routine stuff, then
a 3-minute gap, then the restart log entries.

Nov 16 08:02:01 argon /USR/SBIN/CRON[16445]: (logcheck) CMD (   if [ -x 
/usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi)
Nov 16 08:02:01 argon /USR/SBIN/CRON[16446]: (root) CMD (/root/bin/minute)
Nov 16 08:03:01 argon /USR/SBIN/CRON[17248]: (root) CMD (/root/bin/minute)
Nov 16 08:04:01 argon /USR/SBIN/CRON[17251]: (root) CMD (/root/bin/minute)
Nov 16 08:05:01 argon /USR/SBIN/CRON[17255]: (root) CMD (/root/bin/minute)
Nov 16 08:06:01 argon /USR/SBIN/CRON[17259]: (root) CMD (/root/bin/minute)
Nov 16 08:09:15 argon syslogd 1.4.1#17: restart.
Nov 16 08:09:16 argon kernel: klogd 1.4.1#17, log source = /proc/kmsg started.
Nov 16 08:09:16 argon kernel: Inspecting /boot/System.map-2.4.27-2-386
Nov 16 08:09:16 argon kernel: Loaded 18328 symbols from 
/boot/System.map-2.4.27-2-386.
Nov 16 08:09:16 argon kernel: Symbols match kernel version 2.4.27.
Nov 16 08:09:16 argon kernel: Loaded 787 symbols from 36 modules.


A few days ago I deliberately shut the machine down for a while (with
physical access) and produced the following bit of syslog.

Nov 12 12:56:01 argon /USR/SBIN/CRON[21427]: (root) CMD (/root/bin/minute)
Nov 12 12:57:01 argon /USR/SBIN/CRON[21430]: (root) CMD (/root/bin/minute)
Nov 12 12:58:01 argon /USR/SBIN/CRON[21433]: (root) CMD (/root/bin/minute)
Nov 12 12:58:19 argon gdm[3158]: Master halting...
Nov 12 12:58:19 argon shutdown[3158]: shutting down for system halt
Nov 12 12:58:19 argon init: Switching to runlevel: 0
Nov 12 12:58:24 argon xfs[2254]: terminating 
Nov 12 12:58:25 argon xfs[2257]: terminating 
Nov 12 12:58:27 argon chronyd[30148]: chronyd exiting on signal
Nov 12 12:58:27 argon rpc.statd[2457]: Caught signal 15, un-registering and 
exiting.
Nov 12 12:58:27 argon exiting on signal 15
Nov 12 13:16:21 argon syslogd 1.4.1#17: restart.
Nov 12 13:16:22 argon kernel: klogd 1.4.1#17, log source = /proc/kmsg started.
Nov 12 13:16:22 argon kernel: Inspecting /boot/System.map-2.4.27-2-386
Nov 12 13:16:22 argon kernel: Loaded 18328 symbols from 
/boot/System.map-2.4.27-2-386.
Nov 12 13:16:22 argon kernel: Symbols match kernel version 2.4.27.
Nov 12 13:16:22 argon kernel: Loaded 787 symbols from 36 modules.


Obviously if I get home and the digital clocks are flashing, I'll know
there was a brief power cut.  But is there any way to determine from
the computer's own evidence why it restarted?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[Spam?] Re: Anyone know how to do a timed program with mplayer

2005-11-15 Thread Adam Funk
 and I've successfully recorded (using scripts and at) fixed-duration
 RealPlayer radio shows to .wav to listen to them later.  But I'd
 like to record a specific show tonight from the continuous live ogg
 stream.

In case anyone else cares, here's what I developed.  

$ at 16:00
 record-wuvt 15 15

for example, should produce files wuvt--20051115-1600.mp3 and
wuvt--20051115-1615.mp3, both just under 15 minutes long
(unfortunately you lose a few seconds between segments).

HTH someone,
Adam


#!/bin/sh
# Arguments: numbers of minutes to record

URL='http://engine.collegemedia.vt.edu:8000/wuvt.ogg'
BASENAME='wuvt-'

for MINUTES in $@
do
  FILENAME=${BASENAME}-`date +%Y%m%d-%H%M`
  
  date
  echo Start recording  ${FILENAME}  for ${MINUTES} minutes
  
  mplayer -really-quiet -ao  pcm:file=${FILENAME}.wav  ${URL}  
  PID=$!
  
  sleep ${MINUTES}m
  echo Ding!
  date

  killall mplayer
  wait ${PID}

  # normalize and encode in the background
  nice -18 normalize-audio -q -a -19dB ${FILENAME}.wav  \
  nice -18 lame --quiet  ${FILENAME}.wav  ${FILENAME}.mp3  \
  rm -v ${FILENAME}.wav 

done

wait
ls -l *.mp3
date


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't get grip to normalize before encoding.

2005-11-14 Thread Adam Funk
Adam Funk wrote:

 I think that was wrong.  I've removed the filename from that box in the
 configuration and now have:
 
 Options: Wav filter command:
/usr/bin/normalize-audio -a -20dB
 
 but it still isn't doing anything.  The files are coming out around
 -8dB.  Any ideas?

OK, I've filed a bug report:
Bug#338778
grip: Config-Rip-Options Wav filter command doesn't run.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: player for wav

2005-11-11 Thread Adam Funk
roberto wrote:

 $ file 1.wav
 1.wav: RIFF (little-endian) data, WAVE audio, MPEG Layer 3, stereo 48000
 Hz
 
 so according to
 http://lists.debian.org/debian-user/2004/03/msg04680.html
 
 it should be correct, and file is played but at a higher rate so
 voices are reproduced too fast and not a word is clearly understood

You can resample wav files with sox.  I haven't done it for a while, so the
following might be wrong, but it should be close enough for you to start
experimenting:

sox 1.wav -w -r 44100 1-resampled.wav resample

HTH.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: CHM to html ?

2005-11-07 Thread Adam Funk
On Monday 07 November 2005 13:30, Armin ranjbar wrote:

 anyone known a way to convert CHM files into plain html or pdf files ?

I don't know of any ready-made way to do it, but this might be useful
if you know python.

Package: python-chm
State: not installed
Version: 0.8.2-3
Priority: optional
Section: python
Maintainer: Carlos Z.F. Liu [EMAIL PROTECTED]
Uncompressed Size: 127k
Depends: python (= 2.3), python ( 2.4), libc6 (= 2.3.2.ds1-21)
Conflicts: python-pychm
Replaces: python-pychm
Description: Python binding for CHMLIB
 PyCHM is a package that provides python binding for Jed Wing's CHMLIB
library. 
 
 The chm package contains four modules, namely chm.chm, chm.chmlib,
chm.extra and chm._chmlib, which provide access to the API implemented
by the C library chmlib and some
 additional classes and functions. They are used to access MS-ITSS
encoded files - Compressed Html Help files (.chm). 
 
 Homepage: http://gnochm.sourceforge.net/pychm.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: player for wav

2005-11-04 Thread Adam Funk
roberto wrote:

 hello
 which is the right audio player for .wav files according to you?
 i tried real 10, kaffeine, xmms but nothing :(

If XMMS won't play some foo.wav, type file foo.wav and see what details
you get.  I discovered a while back 
   http://lists.debian.org/debian-user/2004/03/msg04680.html
that not all WAV files are equal.

If the file is the wrong subtype of WAV, you can use sox to reformat it.

HTH,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: marillat false alarm?

2005-11-01 Thread Adam Funk
Marty wrote:

 Since the Oct 29 update of realplayer:
 
 # chkrootkit -q
 
 /usr/lib/realplay-10.0.6/share/default/.realplayerrc
 
 Besides having no idea what chkrootkit is complaining about,
 what really bothers me is having no way to validate marillat
 packages, since I'm running stable.  (That's another issue which
 I've tried to address without success.)  Thanks for any help.

I think chkrootkit warns about any filenames that start with . in the
system directories.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Problem running normalize-mp3 --tmpdir /tmp ....

2005-11-01 Thread Adam Funk
(This refers to the normalize-mp3 command provided by package
normalize-audio, version 0.7.6-7.)


As I think is normal, /tmp has permissions rwxrwxrwt, which is supposed to
let me rename and unlink files that I own within in.  But normalize-mp3 has
problems using it:

$ normalize-mp3 --tmpdir /tmp/ -a -19dB foo.mp3 bar.mp3
Decoding foo.mp3...
Running normalize...
Re-encoding foo.mp3...
Can't rename temp file, leaving in /tmp/normalize-mp3-27670.tag, stopped at
/usr/bin/normalize-mp3 line 219.

$ mkdir /tmp/foo

$ normalize-mp3 --tmpdir /tmp/foo/ -a -19dB foo.mp3 bar.mp3
Can't read foo.mp3: No such file or directory, stopped at
/usr/bin/normalize-mp3 line 131.

(I've filed a bug report because normalize-mp3 had already deleted foo.mp3
before the first error.)

Shouldn't a program I'm running be able to rename a file it creates in /tmp?
Is this a bug in the package?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't get grip to normalize before encoding.

2005-10-31 Thread Adam Funk
On Saturday 29 October 2005 12:40, Adam Funk wrote:

 I have grip 3.3.1-4 installed and configured as follows:
 
 Ripper: grip (cdparanoia)
 
 Rip file format: /home/MISC/grip/%A--%d--%t--%n.wav
 
 Options: Wav filter command: /usr/bin/normalize-audio -a
 -20dB /home/MISC/grip/%A--%d--%t--%n.wav

I think that was wrong.  I've removed the filename from that box in the
configuration and now have:

Options: Wav filter command: 
   /usr/bin/normalize-audio -a -20dB

but it still isn't doing anything.  The files are coming out around
-8dB.  Any ideas?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't get grip to normalize before encoding.

2005-10-30 Thread Adam Funk
On Sunday 30 October 2005 00:40, Hugo Vanwoerkom wrote:

 Not knowing much about sound other than I listen to KUSC all the
 time... Is this related perhaps to the note in the man page for
 normalize: ...
 Unfortunately, many MP3 players do not support v2.4
 tags (including xmms, as of this writing), and the RVA2 tag is
 not native in previous ID3 versions.
 ...
 Is your MP3 player one of those?

My external MP3 player is one of those, but that just means that running
`normalize-audio -a -20dB *.mp3` will not have any audible effect when
I copy the files onto it and listen to them (off-line).

That's why I'm trying to normalize the WAV files between ripping and
encoding.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't get grip to normalize before encoding.

2005-10-29 Thread Adam Funk
I have grip 3.3.1-4 installed and configured as follows:

Ripper: grip (cdparanoia)

Rip file format: /home/MISC/grip/%A--%d--%t--%n.wav

Options: Wav filter command: /usr/bin/normalize-audio -a
-20dB /home/MISC/grip/%A--%d--%t--%n.wav

Encoder: lame

etc.


It produces properly named and tagged wav and mp3 files, but
normalization does not take place.  All the files of both types have a
much higher volume than I want (for my MP3 player).

Does anyone know what I'm doing wrong?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't get grip to normalize before encoding.

2005-10-29 Thread Adam Funk
On Saturday 29 October 2005 13:00, Bruno Buys wrote:

It produces properly named and tagged wav and mp3 files, but
normalization does not take place.  All the files of both types have a
much higher volume than I want (for my MP3 player).

Does anyone know what I'm doing wrong?

 Did you check if you have the normalize-audio package installed?

Yes (normalize-audio 0.7.6-7).  For a while I've been using
normalize-audio and normalize-mp3 from the command-line with no
problems at all.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't get grip to normalize before encoding.

2005-10-29 Thread Adam Funk
On Saturday 29 October 2005 17:30, Hugo Vanwoerkom wrote:

Did you check if you have the normalize-audio package installed?
 
 Yes (normalize-audio 0.7.6-7).  For a while I've been using
 normalize-audio and normalize-mp3 from the command-line with no
 problems at all.

Sorry, that was a bit ambiguous.  I meant that I've been using the
normalize-audio and normalize-mp3 commands (from the normalize-audio
package)

 Where do you get normalize-mp3?

The normalize-audio package provides three commands:
/usr/bin/normalize-mp3
/usr/bin/normalize-audio
/usr/bin/normalize-ogg

This was not the case for the normalize package that normalize-audio has
superseded.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Add which package to get mplayer to play an ogg stream?

2005-10-21 Thread Adam Funk
j j wrote:

 I *think* mplayer plays oggs without the need of extra codec. 

That's what I thought.

 but try vlc 
 to see if your ogg file is in good shape.

I know the stream itself is OK because xmms plays it with no trouble on both
machines, and mplayer plays it on one machine while at the same time it
chokes on the other one.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Add which package to get mplayer to play an ogg stream?

2005-10-20 Thread Adam Funk
On my Debian testing system at work, this works (using Marillat's
mplayer-i586 package):

$ mplayer http://engine.collegemedia.vt.edu:8000/wuvt.ogg


On my Debian testing system at home (using Marillat's mplayer-k7
package), however, it caches then fails thus:

$ mplayer http://engine.collegemedia.vt.edu:8000/wuvt.ogg
MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX



73 audio  180 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding echo 1024  /proc/sys/dev/rtc/max-user-freq to your system
startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing http://engine.collegemedia.vt.edu:8000/wuvt.ogg.
Resolving engine.collegemedia.vt.edu for AF_INET...
Connecting to server engine.collegemedia.vt.edu[128.173.235.23]:8000 ...
Cache size set to 1024 KBytes
Connected to server: engine.collegemedia.vt.edu
Cache fill: 19.53% (204800 bytes)[Ogg] stream 0: audio (Vorbis),
-aid 0
Ogg file format detected.
==
Trying to force audio codec driver family libmad...
Cannot find codec for audio format 0x73627276.
Read DOCS/HTML/en/codecs.html!
==
Audio: no sound
Video: no video


Exiting... (End of file)


I've compared various dpkg -l output to try to find the missing
codec/library package but can't find it.  Does anyone know what package
I need to add to play this stream?

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Anyone know how to do a timed program with mplayer?

2005-10-19 Thread Adam Funk
On Wednesday 19 October 2005 12:30, Hugo Vanwoerkom wrote:

 But there is a big difference between realplay and mplayer. Mplayer
 has much cleaner sound. With vsound you get sound AND recording, can
 you do that with mplayer?

With mplayer, you can record sound from a stream as part of a batch job
without an X display, so you can (for example) run a script from at
while you're logged out.

mplayer -really-quiet -ao pcm:file=foo.wav 'rtsp://example.com/foo.ra'

lame --quiet foo.wav foo.mp3rm foo.wav


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Anyone know how to do a timed program with mplayer?

2005-10-18 Thread Adam Funk
On Monday 17 October 2005 17:50, Oliver Lupton wrote:

 I guess this isn't the neatest either, but how about using mplayer's
 slave mode (-slave), so it reads for commands from stdin. And have a
 simple script which sleeps for 1:30 and then prints whatever mplayer's
 stop command is to mplayer?

Interesting, thanks.

 As I said it's not the neatest, but it's neater than killall mplayer
 :)

Actually, a friend sent me a link to this site

  http://osl.iu.edu/~tveldhui/radio/
  Linux Radio Timeshift HOWTO

which includes the following slightly more sophisticated version of
killall in a sample script.

vsound realplay http://www.bbc.co.uk/cgi-bin/... 
VSOUND_PID=$!
sleep 3660
kill `ps | grep realplay | awk '{ print $1 }'`

# Wait for vsound to terminate, creating vsound.wav
wait $VSOUND_PID

-- 
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: hosts.deny doesn't work for web services

2005-10-17 Thread Adam Funk
Nikolai Hlubek wrote:

 On one of my machines I'm running a zope server. This server should only
 be accessible from my LAN so I set:
 
 hosts.deny
 ALL: ALL
...
 Ping and ssh connects are refused but the web services provided by zope
 are still accessible from the outside. Is this a bug or am I missing
 something here?

I know that Apache, because it doesn't use the tcpwrappers library, isn't
affected by hosts.allow and hosts.deny.  You have to configure the
equivalent in Apache's own config files.

I've never used zope but perhaps it works the same way.  You could look
through the docs for any mention of tcpwrappers?

HTH,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Anyone know how to do a timed program with mplayer?

2005-10-17 Thread Adam Funk
I can listen to a continuously ogg-streaming radio station with this
command:

mplayer http://engine.collegemedia.vt.edu:8000/wuvt.ogg

and I've successfully recorded (using scripts and at) fixed-duration
RealPlayer radio shows to .wav to listen to them later.  But I'd like to
record a specific show tonight from the continuous live ogg stream.

I suppose I could set up an at job to start recording at 18:30 and another
to killall mplayer at 20:00, but I think that might cause problems (and
it's hideously inelegant).

Is there a better way?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



  1   2   3   4   >