Re: problem with microphone and alsa - no sound?

2005-05-19 Thread Martin A. Hansen
in snd the meter i supposed to move afaik. i dont know about audacity,
but recording in audacity records silence only ... hence something is wrong.


martin



On Thu, May 19, 2005 at 07:27:56AM +0200, Jonathan Kaye wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 En/La Martin A. Hansen ha escrit, a 18/05/05 23:37:
 | i have tried the mic with:
 |
 | cat /dev/dsp  /dev/dsp, along with audacity, snd, and sound-recorder. i
 | never get to hear myself. the mic does work out fine in windows on the
 | same hardware and connections.
 |
 | i dont use kde, but kmix is prolly just the kde frontend to amixer,
 | where i use alsamixer.
 |
 | martin
 Martin,
 You say, I never get to hear myself... but does the level metre move?
 I mean does it respond when you talk into your mike? I think in
 audacity, the default is that you don't hear yourself while you're
 recording but you push some button (sorry don't remember what it's
 called) and then you do hear. The important thing is if you see the
 metre responding the it is receiving input. If nothing happens then
 there's a problem.
 Cheers,
 Jonathan
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)
 
 iD8DBQFCjCPc64+f0AXUe+4RAjuZAJ9QsDIzUF+K8UnwN8uQz+3XBVmpXQCeI5zs
 dcxtSueTLkeKey/nsgKJkIU=
 =MvkY
 -END PGP SIGNATURE-
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]


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



Re: problem with microphone and alsa - no sound?

2005-05-18 Thread Martin A. Hansen
ok


i have now gone over the reports in the mail achive and they seem to be 
concered with missing
capture or mic level set to 0.

however, i dont think that is the problem here, because according to the amixer 
dump i posted,
that is not the case here:


Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch 
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
  Front Left: Capture [on]
  Front Right: Capture [on]


so any suggestions are indeed most welcome.


best regards


martin



On Sat, May 14, 2005 at 08:48:41PM +0200,  wrote:
 hi
 
 
 i cant get my microphone to work with alsa. i need help :o)
 
 
 [EMAIL PROTECTED]:/home/maasha# dpkg -l |grep alsa
 ii  alsa-base  1.0.8-7ALSA driver configuration files
 ii  alsa-oss   1.0.8-1ALSA wrapper for OSS applications
 ii  alsa-utils 1.0.8-4ALSA utilities
 rc  alsaconf   0.4.3b-4   ALSA configurator
 
 [EMAIL PROTECTED]:/home/maasha# lspci | grep Multi
 :00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) 
 AC'97 Audio Controller (rev 02)
 :02:02.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
 
 [EMAIL PROTECTED]:/home/maasha# lsmod | grep snd
 snd_pcm_oss53444  1 
 snd_mixer_oss  19104  2 snd_pcm_oss
 snd_intel8x0   32964  3 
 snd_ac97_codec 58820  1 snd_intel8x0
 snd_pcm92992  2 snd_pcm_oss,snd_intel8x0
 snd_timer  25152  1 snd_pcm
 snd_page_alloc 12324  2 snd_intel8x0,snd_pcm
 snd_mpu401_uart 8608  1 snd_intel8x0
 snd_rawmidi24384  1 snd_mpu401_uart
 snd_seq_device  9284  1 snd_rawmidi
 snd55364  11 
 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
 soundcore  11136  4 saa7134,snd
 
 [EMAIL PROTECTED]:/home/maasha# amixer
 Simple mixer control 'Master',0
   Capabilities: pvolume pswitch pswitch-joined
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 31 [100%] [on]
   Front Right: Playback 31 [100%] [on]
 Simple mixer control 'PCM',0
   Capabilities: pvolume pswitch pswitch-joined
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 31 [100%] [on]
   Front Right: Playback 31 [100%] [on]
 Simple mixer control 'Surround',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 0 [0%] [off]
   Front Right: Playback 0 [0%] [off]
 Simple mixer control 'Center',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
   Playback channels: Mono
   Limits: Playback 0 - 31
   Mono: Playback 31 [100%] [off]
 Simple mixer control 'LFE',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
   Playback channels: Mono
   Limits: Playback 0 - 31
   Mono: Playback 0 [0%] [off]
 Simple mixer control 'Line',0
   Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
 cswitch-exclusive
   Capture exclusive group: 0
   Playback channels: Front Left - Front Right
   Capture channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 31 [100%] [on] Capture [off]
   Front Right: Playback 31 [100%] [on] Capture [off]
 Simple mixer control 'CD',0
   Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
 cswitch-exclusive
   Capture exclusive group: 0
   Playback channels: Front Left - Front Right
   Capture channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 31 [100%] [on] Capture [off]
   Front Right: Playback 31 [100%] [on] Capture [off]
 Simple mixer control 'Mic',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch 
 cswitch-joined cswitch-exclusive
   Capture exclusive group: 0
   Playback channels: Mono
   Capture channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Mono: Playback 31 [100%] [on]
   Front Left: Capture [on]
   Front Right: Capture [on]
 Simple mixer control 'Mic Boost (+20dB)',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
   Mono: Playback [on]
 Simple mixer control 'Mic Select',0
   Capabilities:
   Mono:
 Simple mixer control 'Video',0
   Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
 cswitch-exclusive
   Capture exclusive group: 0
   Playback channels: Front Left - Front Right
   Capture channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 0 [0%] [off] Capture [off]
   Front Right: Playback 0 [0%] [off] Capture [off]
 Simple mixer control 'Phone',0
   Capabilities: cswitch cswitch-joined cswitch-exclusive
   Capture exclusive group: 0
   Capture channels: Front Left - Front Right
   Front Left: Capture 

Warning: Missing charsets in String to FontSet conversion

2005-05-18 Thread Martin A. Hansen
hi


i upgraded from woody to sarge and after the upgrade xfig, galeon, and
other applications seem to have problems with the fonts:

[EMAIL PROTECTED]:~/Sspe_paper/figures$ xfig
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*
to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
to type FontSet




how do i resolve this?


best regards


martin


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



Re: problem with microphone and alsa - no sound?

2005-05-18 Thread Martin A. Hansen
i have tried the mic with:

cat /dev/dsp  /dev/dsp, along with audacity, snd, and sound-recorder. i
never get to hear myself. the mic does work out fine in windows on the
same hardware and connections.

i dont use kde, but kmix is prolly just the kde frontend to amixer,
where i use alsamixer.

martin



On Wed, May 18, 2005 at 07:47:05PM +0200, Jonathan Kaye wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 En/La Martin A. Hansen ha escrit, a 18/05/05 14:02:
 | ok
 |
 |
 | i have now gone over the reports in the mail achive and they seem to
 be concered with missing
 | capture or mic level set to 0.
 |
 | however, i dont think that is the problem here, because according to
 the amixer dump i posted,
 | that is not the case here:
 |
 |
 | Simple mixer control 'Mic',0
 |   Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
 cswitch-joined cswitch-exclusive
 |   Capture exclusive group: 0
 |   Playback channels: Mono
 |   Capture channels: Front Left - Front Right
 |   Limits: Playback 0 - 31
 |   Mono: Playback 31 [100%] [on]
 |   Front Left: Capture [on]
 |   Front Right: Capture [on]
 |
 |
 | so any suggestions are indeed most welcome.
 |
 |
 | best regards
 |
 |
 | martin
 |
 |
 |
 | On Sat, May 14, 2005 at 08:48:41PM +0200,  wrote:
 |
 |hi
 |
 |
 |i cant get my microphone to work with alsa. i need help :o)
 |
 |
 |[EMAIL PROTECTED]:/home/maasha# dpkg -l |grep alsa
 |ii  alsa-base  1.0.8-7ALSA driver configuration files
 |ii  alsa-oss   1.0.8-1ALSA wrapper for OSS applications
 |ii  alsa-utils 1.0.8-4ALSA utilities
 |rc  alsaconf   0.4.3b-4   ALSA configurator
 |
 |[EMAIL PROTECTED]:/home/maasha# lspci | grep Multi
 |:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER
 (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
 |:02:02.0 Multimedia controller: Philips Semiconductors SAA7134
 (rev 01)
 |
 |[EMAIL PROTECTED]:/home/maasha# lsmod | grep snd
 |snd_pcm_oss53444  1
 |snd_mixer_oss  19104  2 snd_pcm_oss
 |snd_intel8x0   32964  3
 |snd_ac97_codec 58820  1 snd_intel8x0
 |snd_pcm92992  2 snd_pcm_oss,snd_intel8x0
 |snd_timer  25152  1 snd_pcm
 |snd_page_alloc 12324  2 snd_intel8x0,snd_pcm
 |snd_mpu401_uart 8608  1 snd_intel8x0
 |snd_rawmidi24384  1 snd_mpu401_uart
 |snd_seq_device  9284  1 snd_rawmidi
 |snd55364  11
 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
 |soundcore  11136  4 saa7134,snd
 |
 |[EMAIL PROTECTED]:/home/maasha# amixer
 |Simple mixer control 'Master',0
 |  Capabilities: pvolume pswitch pswitch-joined
 |  Playback channels: Front Left - Front Right
 |  Limits: Playback 0 - 31
 |  Front Left: Playback 31 [100%] [on]
 |  Front Right: Playback 31 [100%] [on]
 |Simple mixer control 'PCM',0
 |  Capabilities: pvolume pswitch pswitch-joined
 |  Playback channels: Front Left - Front Right
 |  Limits: Playback 0 - 31
 |  Front Left: Playback 31 [100%] [on]
 |  Front Right: Playback 31 [100%] [on]
 |Simple mixer control 'Surround',0
 |  Capabilities: pvolume pswitch
 |  Playback channels: Front Left - Front Right
 |  Limits: Playback 0 - 31
 |  Front Left: Playback 0 [0%] [off]
 |  Front Right: Playback 0 [0%] [off]
 |Simple mixer control 'Center',0
 |  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
 |  Playback channels: Mono
 |  Limits: Playback 0 - 31
 |  Mono: Playback 31 [100%] [off]
 |Simple mixer control 'LFE',0
 |  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
 |  Playback channels: Mono
 |  Limits: Playback 0 - 31
 |  Mono: Playback 0 [0%] [off]
 |Simple mixer control 'Line',0
 |  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
 cswitch-exclusive
 |  Capture exclusive group: 0
 |  Playback channels: Front Left - Front Right
 |  Capture channels: Front Left - Front Right
 |  Limits: Playback 0 - 31
 |  Front Left: Playback 31 [100%] [on] Capture [off]
 |  Front Right: Playback 31 [100%] [on] Capture [off]
 |Simple mixer control 'CD',0
 |  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
 cswitch-exclusive
 |  Capture exclusive group: 0
 |  Playback channels: Front Left - Front Right
 |  Capture channels: Front Left - Front Right
 |  Limits: Playback 0 - 31
 |  Front Left: Playback 31 [100%] [on] Capture [off]
 |  Front Right: Playback 31 [100%] [on] Capture [off]
 |Simple mixer control 'Mic',0
 |  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
 cswitch-joined cswitch-exclusive
 |  Capture exclusive group: 0
 |  Playback channels: Mono
 |  Capture channels: Front Left - Front Right
 |  Limits: Playback 0 - 31
 |  Mono: Playback 31 [100%] [on]
 |  Front Left: Capture [on]
 |  Front Right: Capture [on]
 |Simple mixer control 'Mic Boost (+20dB)',0
 |  Capabilities: pswitch pswitch-joined
 |  Playback channels: Mono
 |  Mono: Playback

problem with microphone and alsa - no sound?

2005-05-14 Thread Martin A. Hansen
hi


i cant get my microphone to work with alsa. i need help :o)


[EMAIL PROTECTED]:/home/maasha# dpkg -l |grep alsa
ii  alsa-base  1.0.8-7ALSA driver configuration files
ii  alsa-oss   1.0.8-1ALSA wrapper for OSS applications
ii  alsa-utils 1.0.8-4ALSA utilities
rc  alsaconf   0.4.3b-4   ALSA configurator

[EMAIL PROTECTED]:/home/maasha# lspci | grep Multi
:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) 
AC'97 Audio Controller (rev 02)
:02:02.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)

[EMAIL PROTECTED]:/home/maasha# lsmod | grep snd
snd_pcm_oss53444  1 
snd_mixer_oss  19104  2 snd_pcm_oss
snd_intel8x0   32964  3 
snd_ac97_codec 58820  1 snd_intel8x0
snd_pcm92992  2 snd_pcm_oss,snd_intel8x0
snd_timer  25152  1 snd_pcm
snd_page_alloc 12324  2 snd_intel8x0,snd_pcm
snd_mpu401_uart 8608  1 snd_intel8x0
snd_rawmidi24384  1 snd_mpu401_uart
snd_seq_device  9284  1 snd_rawmidi
snd55364  11 
snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore  11136  4 saa7134,snd

[EMAIL PROTECTED]:/home/maasha# amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch 
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 3
  Mono: 0 [0%]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture 

printing problem - margins screwed ???

2003-02-25 Thread Martin A. Hansen
hi i print with lprng to a postscript printer, but the top and bottom margins
are screwed. no top margin and double bottom margin. what do i do?

heres my printcap and papersize:

[EMAIL PROTECTED]:/home/maasha/procmail# head /etc/printcap
riget:\
:lp=:\
:mx#0:\
:rm=130.226.119.169:\
:rp=lp:\
:sd=/var/spool/lpd/riget:\
:sh:

[EMAIL PROTECTED]:/etc# cat papersize 
a4



martin


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



Re: printing problem - margins screwed ???

2003-02-25 Thread Martin A. Hansen
On Tue, Feb 25, 2003 at 07:50:15AM -0700, Andreas J Guelzow wrote:
 Martin A. Hansen wrote:
 
 hi i print with lprng to a postscript printer, but the top and bottom 
 margins
 are screwed. no top margin and double bottom margin. what do i do?
 
 
 Are you sure that it's not a problem within the app creating your files? 
 (I am asking since I had the same problem with some latex files that 
 used to work great but then geometry.sty changed...)
 
 Andreas

im not sure where the problem is, and i havent been able to find anything about
it in the documentation. printing from galeon or using a2ps both results in
screwed margins.


martin

 
 
 
 heres my printcap and papersize:
 
 [EMAIL PROTECTED]:/home/maasha/procmail# head /etc/printcap
 riget:\
 :lp=:\
 :mx#0:\
 :rm=130.226.119.169:\
 :rp=lp:\
 :sd=/var/spool/lpd/riget:\
 :sh:
 
 [EMAIL PROTECTED]:/etc# cat papersize 
 a4
 
 
 
 martin
 
 
 
 
 
 
 -- 
 Prof. Dr. Andreas J. Guelzow
 http://www.math.concordia.ab.ca/aguelzow


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



Re: printing problem - margins screwed ???

2003-02-25 Thread Martin A. Hansen
On Tue, Feb 25, 2003 at 09:41:46AM -0700, Andreas J Guelzow wrote:
 Martin A. Hansen wrote:
 
 
 im not sure where the problem is, and i havent been able to find anything 
 about
 it in the documentation. printing from galeon or using a2ps both results in
 screwed margins.
 
 
 
 When you create a postscript file using a2ps and then preview the file 
 in a postscript viewer, are the margins correct? (trying to figure out 
 where the problem happens  a - ps or ps - printer)
 

a - ps looks good, then problem must be ps - printer

martin



 Andreas
 
 
 
 
 
 
 -- 
 Prof. Dr. Andreas J. Guelzow
 http://www.math.concordia.ab.ca/aguelzow


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



mail relay ???

2003-01-23 Thread Martin A. Hansen
hi


i have a unix account with a mail address. i want all mail to that account
forwarded to another mail address. how is this done?



martin


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




sound is being played too fast?

2002-10-09 Thread Martin A. Hansen

hi


i have cs4232 sound setup, but the sound is being played a wee bit to fast in
mpg123 and xmms ? how can i confirm and adjust this?

and how do i get rid of that annoying 'beep' whenever i mistype?


:o)

martin


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




Re: alsa help needed desperately!

2002-09-30 Thread Martin A. Hansen

hi

i know about the mute issue. and it is not the problem. i run

amixer set 'Master Digital' 90% unmute

and alsamixer, which both unmute.

this is repated further back in this long thread


martin


On Mon, Sep 30, 2002 at 07:43:38AM +0200, Stephan Hachinger wrote:
 Hi!
 
 Hmm, I think the problem is that your alsa channels are *muted* by
 default and you need a suitable mixer application to change the
 volume... there also seems to be a mixer setup problem at my machine
 here *g*, but at least I can use the kde mixer, when oss mixer
 emulation is loaded (module snd-mixer-oss). Maybe you could try
 alsamixer from alsa-utils, I think it's even got a little GUI. Note
 that you'll also need the snd-pcm-oss module if you want to use
 programs which need the old oss sound system.
 
 Regards,
 
 Stephan
 
 On Sat, 28 Sep 2002 12:25:00 -0500
 [EMAIL PROTECTED] (Martin A. Hansen) wrote:
 
  ok, i guess i should not use xamixer2 then. (i never have before,
  but im desperate). anyway you are telling me that xamixer fails of
  natural causes, so back to the drawing table ...
  
  
  by the way. user is added to group audio:
  
  root@homer:/etc# grep audio group
  audio:x:29:maasha
  
  but again, as im trying to get sound to work as root - this should
  not be relevant (for the time being).
  
  martin
  
   | xamixer2 uses the 0.4 ALSA API. If your alsa version is 0.9,
   | that would explain why xamixer failed.
  
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]
  


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




Re: alsa help needed desperately!

2002-09-28 Thread Martin A. Hansen

i did run snddevices:

root@homer:/home/maasha# ll /dev/amixer0 /dev/adsp0
crw-rw1 root audio 14,  12 18 sep 20:34 /dev/adsp0
crw-rw1 root audio 14,  11 18 sep 20:34 /dev/amixer0


martin

 Hi!
 
 Are the devices /dev/amixer0, /dev/adsp0 etc. there? If not, run
 /usr/share/doc/alsa-base/examples/snddevices
 
 Regards,
 
 Stephan
 
 On Fri, 27 Sep 2002 19:31:23 -0500
 [EMAIL PROTECTED] (Martin A. Hansen) wrote:
 
  sorry. here goes:
  
  root@homer:/etc/alsa/modutils# ls -l /dev/mixer0 /dev/dsp0
  crwxrwxrwx1 root audio 14,   3 18 sep 20:34 /dev/dsp0
  crw-rw1 root audio 14,   0 18 sep 20:34 /dev/mixer0
  
  
  by the way, i can provoke some errors with xamixer2:
  -
  root@homer:/etc/alsa/modutils# xamixer2
  Unable to get hardware information about card #0!
  Error: Inappropriate ioctl for device
  Trying to guess the appropriate values.
  Unable to open mixer #0 on card #0~
  Error: No such file or directory
  Unable to get the info for mixer #0 on card 0!  Error: Invalid
  argument There's not much more I can do on this mixer.  Shutting it
  down. Oh well.  I couldn't even close the mixer.  I suspect that
  something is seriously wrong here.  Good luck.
  --
  
  perhaps it is useful for diagnostics ?
  
  martin
  
  
  
  
   Nope, that was for the symlink.  Now, let's look at the real
   permissions those of:
   
   - /dev/mixer0
   - /dev/dsp0
   
   -- 
   Jamin W. Collins
   
   
   -- 
   To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
   with a subject of unsubscribe. Trouble? Contact
   [EMAIL PROTECTED]
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]
  


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




Re: alsa help needed desperately!

2002-09-28 Thread Martin A. Hansen

ok, i guess i should not use xamixer2 then. (i never have before, but im desperate). 
anyway you are telling me that xamixer fails of natural causes, so back to the drawing 
table ...


by the way. user is added to group audio:

root@homer:/etc# grep audio group
audio:x:29:maasha

but again, as im trying to get sound to work as root - this should not be
relevant (for the time being).

martin

 | xamixer2 uses the 0.4 ALSA API. If your alsa version is 0.9, that
 | would explain why xamixer failed.



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




Re: alsa help needed desperately!

2002-09-27 Thread Martin A. Hansen

its a laptop.

m


On Fri, Sep 27, 2002 at 10:30:32AM +0930, Tom Cook wrote:
 On  0, Martin A. Hansen [EMAIL PROTECTED] wrote:
  hi folks
  
  i cant get my alsa working. it have worked before.
  
  please help me! i have used many hours by now!!!
 
 What does lspci say?  Is the card firmly in the slot?
 
 Tom
 -- 
 Tom Cook
 Information Technology Services, The University of Adelaide
 
 The secret of creativity is knowing how to hide your sources.
   - Albert Einstein
 
 Get my GPG public key: 
https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au



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




Re: alsa help needed desperately!

2002-09-27 Thread Martin A. Hansen

some more info:

when i do /etc/init.d/alsa restart i can hear the speakers click, which is
supposedly a good sign (the card is detected and drivers loaded and the
speakers are on).

martin


On Fri, Sep 27, 2002 at 04:17:05PM -0500, Jamin W. Collins wrote:
 On Fri, 27 Sep 2002 16:12:19 -0500 [EMAIL PROTECTED] (Martin A. Hansen)
 wrote:
 
  its a laptop.
 
 That presumably answers one of the two questions.  So, what does lspci
 say?
 
 -- 
 Jamin W. Collins
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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




Re: alsa help needed desperately!

2002-09-27 Thread Martin A. Hansen

eeeh? they were in the other mail :)

777 for both.

martin

On Fri, Sep 27, 2002 at 07:11:46PM -0500, Jamin W. Collins wrote:
 On Fri, 27 Sep 2002 19:03:15 -0500 [EMAIL PROTECTED] (Martin A. Hansen)
 wrote:
 
  and alsamixer do work as root
 
 It does?  Looks like a permissions problem most likely then.  What are the
 permissions on:
 
 - /dev/mixer0
 - /dev/dsp0
 
 -- 
 Jamin W. Collins
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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




alsa help needed desperately!

2002-09-26 Thread Martin A. Hansen

hi folks

i cant get my alsa working. it have worked before.

please help me! i have used many hours by now!!!

:~(

martin

the only error messages i can provoke is from xamimer2:

root@homer:/home/maasha# xamixer2 
Unable to get hardware information about card #0!
Error: Inappropriate ioctl for device
Trying to guess the appropriate values.
Unable to open mixer #0 on card #0~
Error: No such file or directory
Unable to get the info for mixer #0 on card 0!  Error: Invalid argument
There's not much more I can do on this mixer.  Shutting it down.
Oh well.  I couldn't even close the mixer.  I suspect that something is
seriously wrong here.  Good luck.



root@homer:/home/maasha# uname -a
Linux homer 2.4.19 #3 Sat Aug 31 13:33:18 CDT 2002 i686 unknown



root@homer:/home/maasha# dpkg -l |grep alsa
ii  alsa-base  0.9+0beta12-3  ALSA driver common files
ii  alsa-modules-2 0.9+0beta12+3+ Advanced Linux Sound Architecture (drivers)
ii  alsa-utils 0.9.0beta12-1  Advanced Linux Sound Architecture (utils)



here is my config stuff:


root@homer:/home/maasha# cat /etc/alsa/modutils/0.9
alias char-major-116 snd
alias char-major-14 soundcore

options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=
29 snd_device_uid=0

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3

alias snd-card-0 snd-cs4236

alias sound-slot-0 snd-card-0
above snd-card-0 sound-service-0-0 sound-service-0-1 sound-service-0-3 sound-ser
vice-0-8 sound-service-0-12

options snd-cs4236 snd_index=0 snd_id=CARD_0 snd_port=0x530 snd_cport=0x210 snd_
mpu_port=0x330 snd_fm_port=0x388 snd_irq=5 snd_mpu_irq=9 snd_dma1=0 snd_dma2=1
root@homer:/home/maasha# cat /etc/alsa/modutils/0.9
alias char-major-116 snd
alias char-major-14 soundcore

options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 
snd_device_uid=0

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3

alias snd-card-0 snd-cs4236

alias sound-slot-0 snd-card-0
above snd-card-0 sound-service-0-0 sound-service-0-1 sound-service-0-3 
sound-service-0-8 sound-service-0-12

options snd-cs4236 snd_index=0 snd_id=CARD_0 snd_port=0x530 snd_cport=0x210 
snd_mpu_port=0x330 snd_fm_port=0x388 snd_irq=5 snd_mpu_irq=9 snd_dma1=0 snd_dma2=1




root@homer:/home/maasha# cat /proc/asound/cards
0 [CARD_0 ]: CS4237B - CS4237B
 CS4237B at 0x530, irq 5, dma 01




root@homer:/home/maasha# lsmod
Module  Size  Used byNot tainted
appletalk  18892   0  (autoclean)
serial 48192   0  (autoclean)
snd-ac97-codec 21952   0  (unused)
snd-seq-midi3104   0  (autoclean) (unused)
snd-opl3-synth  8380   0  (autoclean) (unused)
snd-seq-instr   4240   0  (autoclean) [snd-opl3-synth]
snd-seq-midi-emul   4368   0  (autoclean) [snd-opl3-synth]
snd-ainstr-fm   1492   0  (autoclean) [snd-opl3-synth]
snd-cs4236  2208   0  (autoclean)
snd-cs4236-lib 10208   0  (autoclean) [snd-cs4236]
snd-opl3-lib5280   0  (autoclean) [snd-opl3-synth snd-cs4236]
snd-hwdep   3712   0  (autoclean) [snd-opl3-lib]
snd-cs4231-lib 13216   0  (autoclean) [snd-cs4236 snd-cs4236-lib]
snd-mpu401-uart 2528   0  (autoclean) [snd-cs4236]
snd-rawmidi12256   0  (autoclean) [snd-seq-midi snd-mpu401-uart]
snd-seq-oss23744   0  (unused)
snd-seq-midi-event  2792   0  [snd-seq-midi snd-seq-oss]
snd-seq35884   2  [snd-seq-midi snd-opl3-synth snd-seq-instr 
snd-seq-midi-emul snd-seq-oss snd-seq-midi-event]
snd-seq-device  3856   0  [snd-seq-midi snd-opl3-synth snd-opl3-lib 
snd-rawmidi snd-seq-oss snd-seq]
ide-scsi7552   0 
usb-uhci   20740   0  (unused)
usb-storage20860   0  (unused)
sd_mod 10204   0  (unused)
usbcore34976   0  [usb-uhci usb-storage]
scsi_mod   80408   2  [ide-scsi usb-storage sd_mod]
vfat9148   0  (unused)
nls_iso8859-1   2848   0  (unused)
nls_cp865   4384   0  (unused)
nls_cp850   3616   0  (unused)
msdos   4732   0  (unused)
hfs73312   0  (unused)
isofs  16992   0  (unused)
fat29464   0  [vfat msdos]
dummy960   0  (unused)
loop8272   0  (unused)
snd-pcm-oss35520   0  (unused)
snd-pcm47840   0  

SOLVED: vim and debian?

2002-06-24 Thread Martin A. Hansen
stick this in the .vimrc file:

s F6 to lookup sigle danish word
map F6 :call Test_danish(xxx)cr

fun! Test_danish(pattern)
let a = expand(cword)
:execute !grep  . a .  /usr/share/dict/danish
endfun


press F7 to lookup sigle english word
map F7 :call Test_english(xxx)cr

fun! Test_english(pattern)
let a = expand(cword)
:execute !grep  . a .  /usr/share/dict/american-english
endfun





On Fri, Jun 21, 2002 at 05:02:47PM +0200, Martin A. Hansen wrote:
 does anyone know how to get vim to spell check a single word with
 :set keywordprg=ispell ???
 
 im not sure that can be done on a debian system, but what then?
 
 and how do you handle multiple languages?
 
 
 martin
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



keymap is fubar! what to do?

2002-06-24 Thread Martin A. Hansen
i installed debian on an oldworld ppc. the keymap is fubar, but i can connect
to the box per remote. how do i fix the keymap


its a 8500 series power mac running woody with a 2.2.19 kernel

i did dpkg-reconfigure console-common and selected 'choose keymap' and 'standard
keyboard' with 'qwerty layout', but it doest work?


martin


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



vim and debian?

2002-06-21 Thread Martin A. Hansen
does anyone know how to get vim to spell check a single word with
:set keywordprg=ispell ???

im not sure that can be done on a debian system, but what then?

and how do you handle multiple languages?


martin


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



how to boot debian on a oldwolrd ppc ?

2002-06-19 Thread Martin A. Hansen
im trying to install debian potato on a 8500 series oldworld ppc. everything 
goes fine besides the make debian bootable from the harddisk-step.

i dont have macos on the box, i only want debian :-)

it would be nice if i could boot into linux from the harddisk or a rescue disk. 
however, using debian install guide for QUIK doesnt seem to work. and i have 
not been able to find a working rescue.bin image.


help!

:o)

martin


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



setting up authentication in apache ???

2002-05-21 Thread Martin A. Hansen
hi


i have some webpages generated by a CGI-script.

so i have:

~cis/cgi-bin/index.cgi?page=review
~cis/cgi-bin/index.cgi?page=research
~cis/cgi-bin/index.cgi?page=cisomatic

now i want to restrict access to the
~cis/cgi-bin/index.cgi?page=cisomatic
page to a user with a password.

i have made a user with a password:

htpasswd -c /etc/apache/users cis

and i have in my /etc/apache/access.conf

AuthName restricted stuff
AuthType Basic
AuthUserFile /etc/apache/users

require valid-user

but now what?


?

martin


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



fvwm font problem

2002-05-13 Thread Martin A. Hansen
hi

after an upgrade my fvwm dont work anymore. x works.

i get this error when trying to start fvwm:

[FVWM][GetFontSetOrFixed]: ERROR -- can't get fontset 
'-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*'


[EMAIL PROTECTED]:~# xlsfonts | grep 'fixed-medium-r-normal-*-14-*-*-*-*-*-*-*
gives loads of this: 
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-10
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-13
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-14
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-15
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-2
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-3
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-4
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-5
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-7
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-8
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-9
-misc-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
-misc-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
-misc-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
-misc-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
-misc-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
-misc-fixed-medium-r-normal--14-130-75-75-c-70-koi8-r

and xset shows the font path to be:

[EMAIL PROTECTED]:~# xset q
Font Path:
 unix/:7100,/usr/lib/X11/fonts/misc,/usr/X11R6/lib/X11/icewm/themes/Infadel2
 Bug Mode: compatibility mode is disabled
 


help!

what do i do?

martin


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



Re: [: fvwm font problem]

2002-05-13 Thread Martin A. Hansen
[EMAIL PROTECTED]:/etc/init.d# locale
LANG=da_DK
LC_CTYPE=da_DK
LC_NUMERIC=da_DK
LC_TIME=da_DK
LC_COLLATE=da_DK
LC_MONETARY=da_DK
LC_MESSAGES=en_US
LC_PAPER=da_DK
LC_NAME=da_DK
LC_ADDRESS=da_DK
LC_TELEPHONE=da_DK
LC_MEASUREMENT=da_DK
LC_IDENTIFICATION=da_DK
LC_ALL=



On Mon, May 13, 2002 at 07:16:29PM +0400, Alexander Kotelnikov wrote:
 what is your locale?
 -- 
 Alexander Kotelnikov
 Saint-Petersburg, Russia


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



printing from linux to windows print server?

2002-05-10 Thread Martin A. Hansen
hi

im trying to print to a windows print server from my linux box.

i have installed smbspool, but what should i put in my printcap?


martin


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



ralt key dont work in x after woody upgrade ?

2002-05-09 Thread Martin A. Hansen
hi

i have a laptop with a danish keyboard running woody. i just upgraded and now 
my ralt/alt-gr key dont work in x. it works in console. how do i fix this ???

my XF86Config-4 have this entry:

Section InputDevice
 Identifier  Generic Keyboard
 Driver  keyboard
 Option  CoreKeyboard
 Option  XkbRules  xfree86
 Option  XkbModel  pc105
 Option  XkbLayout dk
 Option  XkbVariantdk
 Option  XkbOptionsralt:mode_switch
EndSection


i have also tried pc101 pc102 pc103 pc104 in vain.


martin


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



GD.pm and libgd-perl problem

2002-05-08 Thread Martin A. Hansen
hi

i an upgraded woody installation.

i have installed libgd-perl and is trying to run the example from man GD. 
however, i get this error:

Can't locate GD/Image.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 
/usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at ./GD-test.pl line 5.
BEGIN failed--compilation aborted at ./GD-test.pl line 5.


somehow, the GD modules is not loaded ?

martin


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



Re: printing to a remote debian host?

2002-05-01 Thread Martin A. Hansen
   path = /var/spool/lpd/phaser
   printer name = phaser 
   writable = yes
   public = yes
   printable = yes
   print command = /usr/bin/lpr -r -h -P %p %s




On Tue, Apr 30, 2002 at 05:40:26PM -0700, Alvin Oga wrote:
 
 
 hi ya martin
 
 the printcap looks okay...
 
 what does  the printcap look like for the linux box 
 connected with the phaser printer???
   - what does its smb.conf look like ??
 
 c ya
 alvin
 
 On Tue, 30 Apr 2002, Martin A. Hansen wrote:
 
  hi again
  
  maybe i didnt get it clear that the printer is a network printer. the 
  printer is located on the external network. i have a linux router 
  connecting the internal and external networks. on the internal network i 
  have a linux box, win boxes and macs which i want to be able to print on 
  the printer via the router. my first goal is to get the internal linux box 
  to print (i can print from the linux router just fine :). however, i get 
  permission error when printing from the internal linux box.
  
  internal linux box printcap:
  
  lp|phaser|Tektronix Phaser 560:\
 :sh:\
 :sd=/var/spool/lpd/phaser:\
 :rm=192.168.0.10:\
 :rp=raw:
  
  router printcap:
  
  lp|phaser|Tektronix Phaser 560:\
 :sh:\
 :sd=/var/spool/lpd/phaser:\
 :rm=130.226.119.169:\
 :rp=raw:
  
  i think it looks alright? mayby its a problem with iptables?
  
  
  ?
  
  martin
  
  
  On Mon, Apr 29, 2002 at 07:56:30PM -0700, Alvin Oga wrote:
   
   hi ya
   
   on the linux box with the local printer...
   ( call it lpserver )
 #
 # look for sd, lp and some kind of input filter(if)
 #
 lp|phaser|:\
  :sh:\
  :ml=0:\
  :mx=0:\
  :sd=/var/spool/lpd/phaser:\
   --   :lp=/dev/lp0:\
  :lpd_bounce=true:\
  :if=/usr/share/printconf/mf_wrapper:
   
 -- dont forget to stop and start the lpd
   
 -- what is the output of lpc status
   
 -- did it print a file ??   
 lpr -Phaser /etc/printcap
   
   your printcap on the remote linux box looks fine..
   ( call it lpclient )
  lp|phaser|Tektronix Phaser 560:\
 :sh:\
 :sd=/var/spool/lpd/phaser:\
   --  :rm=192.168.0.10:\
 :rp=raw:
   
 -- dont forget to stop and start the lpd
   
 --  what is the output of lpc status
   
 -- did it print a file ??
 lpr -Pphaser /etc/printcap
   
   for your linux printer server... lets make it lpserver...that windoze is
   trying to connect to it... 
   
   lpserver#  vi /etc/samba/smb.conf
 ...
   
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
   
 ...
   
 [homes]
comment = Home Directories
path = /opt/home
browseable = no
writable = yes
   
 
 # NOTE: If you have a BSD-style print system there is no need to
 # specifically define each individual printer
 [printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
printable = yes
print command = /usr/bin/lpr -r  %s ;  rm %s
#
# name of the samba'ized printer
#
printer = xerox
printing = BSD
read only = yes
   
 -- restart samba
   
 -- what is the output of testprns xerox /etc/printcap
   
 === in order for Windozed to see the xerox printer connected
 === to lpserver in their network neighborhood... you need to 
 === define your samba passwd
 ==  ( try to make it different from your ssh login and 
 ==  your windoze login 
 ===
 === lpserver#  cd /etc/samba ; smbpasswd  you
 ===
   
   now fire up   MS word ... and print a couple sentences to the pritner...
 and than do Add (network) Printer to your list of printers
 ( it should have its own printer drivers )
   
   
   c ya
   alvin
   
   
   On Mon, 29 Apr 2002, Martin A. Hansen wrote:
   
hi

i have two linux boxes. one acts as router and is connected to a 
network printer on the remote network. printing from the server to the 
remote printer works.

now printing from the linux box on the internal network to the router 
dont work:

i get this error from lpq:


Printer: [EMAIL PROTECTED] 'Tektronix Phaser 560' (dest [EMAIL 
PROTECTED])
Queue: no printable jobs in queue
Server: no server active
Status: keeping error job '[EMAIL PROTECTED]' at 19:01:35.913
Rank   Owner/ID  Class Job Files Size 
Time
error  [EMAIL PROTECTED]A28 ERROR: job removal 
requested
`no connect permissions


my printcap looks like this:

# REMOTE print
lp|phaser|Tektronix Phaser 560:\
:sh:\
:sd=/var/spool/lpd/phaser:\
:rm=192.168.0.10

Re: printing to a remote debian host?

2002-04-30 Thread Martin A. Hansen
hi again

maybe i didnt get it clear that the printer is a network printer. the printer 
is located on the external network. i have a linux router connecting the 
internal and external networks. on the internal network i have a linux box, win 
boxes and macs which i want to be able to print on the printer via the router. 
my first goal is to get the internal linux box to print (i can print from the 
linux router just fine :). however, i get permission error when printing from 
the internal linux box.

internal linux box printcap:

lp|phaser|Tektronix Phaser 560:\
   :sh:\
   :sd=/var/spool/lpd/phaser:\
   :rm=192.168.0.10:\
   :rp=raw:

router printcap:

lp|phaser|Tektronix Phaser 560:\
   :sh:\
   :sd=/var/spool/lpd/phaser:\
   :rm=130.226.119.169:\
   :rp=raw:

i think it looks alright? mayby its a problem with iptables?


?

martin


On Mon, Apr 29, 2002 at 07:56:30PM -0700, Alvin Oga wrote:
 
 hi ya
 
 on the linux box with the local printer...
 ( call it lpserver )
   #
   # look for sd, lp and some kind of input filter(if)
   #
   lp|phaser|:\
:sh:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/phaser:\
 --   :lp=/dev/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/mf_wrapper:
 
   -- dont forget to stop and start the lpd
 
   -- what is the output of lpc status
 
   -- did it print a file ??   
   lpr -Phaser /etc/printcap
 
 your printcap on the remote linux box looks fine..
 ( call it lpclient )
lp|phaser|Tektronix Phaser 560:\
   :sh:\
   :sd=/var/spool/lpd/phaser:\
 --  :rm=192.168.0.10:\
   :rp=raw:
 
   -- dont forget to stop and start the lpd
 
   --  what is the output of lpc status
 
   -- did it print a file ??
   lpr -Pphaser /etc/printcap
 
 for your linux printer server... lets make it lpserver...that windoze is
 trying to connect to it... 
 
 lpserver#  vi /etc/samba/smb.conf
   ...
 
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
 
   ...
 
   [homes]
  comment = Home Directories
  path = /opt/home
  browseable = no
  writable = yes
 
   
   # NOTE: If you have a BSD-style print system there is no need to
   # specifically define each individual printer
   [printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
  # Set public = yes to allow user 'guest account' to print
  guest ok = no
  printable = yes
  print command = /usr/bin/lpr -r  %s ;  rm %s
  #
  # name of the samba'ized printer
  #
  printer = xerox
  printing = BSD
  read only = yes
 
   -- restart samba
 
   -- what is the output of testprns xerox /etc/printcap
 
   === in order for Windozed to see the xerox printer connected
   === to lpserver in their network neighborhood... you need to 
   === define your samba passwd
   ==  ( try to make it different from your ssh login and 
   ==  your windoze login 
   ===
   === lpserver#  cd /etc/samba ; smbpasswd  you
   ===
 
 now fire up   MS word ... and print a couple sentences to the pritner...
   and than do Add (network) Printer to your list of printers
   ( it should have its own printer drivers )
 
 
 c ya
 alvin
 
 
 On Mon, 29 Apr 2002, Martin A. Hansen wrote:
 
  hi
  
  i have two linux boxes. one acts as router and is connected to a network 
  printer on the remote network. printing from the server to the remote 
  printer works.
  
  now printing from the linux box on the internal network to the router dont 
  work:
  
  i get this error from lpq:
  
  
  Printer: [EMAIL PROTECTED] 'Tektronix Phaser 560' (dest [EMAIL PROTECTED])
  Queue: no printable jobs in queue
  Server: no server active
  Status: keeping error job '[EMAIL PROTECTED]' at 19:01:35.913
  Rank   Owner/ID  Class Job Files Size Time
  error  [EMAIL PROTECTED]A28 ERROR: job removal requested
  `no connect permissions
  
  
  my printcap looks like this:
  
  # REMOTE print
  lp|phaser|Tektronix Phaser 560:\
  :sh:\
  :sd=/var/spool/lpd/phaser:\
  :rm=192.168.0.10:\
  :rp=raw:
  
  
  what do i do?
  
  btw, winboxes connected with samba on the internal network cant connect to 
  the printer either.
  
  
  martin
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  


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



smb.conf problem

2002-04-30 Thread Martin A. Hansen
hi

i have an internal network with a debian box as a router to the external 
network and the external network printer. i can print from internal linux boxes 
via the router to the external printer. now im trying to do the same thing from 
the winboxes. i have installed samba on the debian router. the smb.conf is 
below. only the upload dir is working. the home dir asks for user and password 
(which i want it to), but it goes: 

Incorrect passsword or unknown username for
\\Debainbox\home

and i did not misstype!

also the printer goes:

Printer on Debianbox Access denied, unable to connect

i hope someone can help me out :)

martin


[global]
   interfaces = 192.168.
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = mac
   invalid users = root

; security = user is always a good idea. This will require a Unix account
;   in this server for every user accessing the server.
   security = share

; Change this for the workgroup your Samba server will part of
   workgroup = GRGROUP

   server string = %h server (Samba %v)

; If you want Samba to log though syslog only then set the following
;   parameter to 'yes'. Please note that logging through syslog in
;   Samba is still experimental.
   syslog only = no

; We want Samba to log a minimum amount of information to syslog. Everything
;   should go to /var/log/{smb,nmb} instead. If you want to log through
;   syslog you should set the following parameter to something higher.
   syslog = 0;

; This socket options really speed up Samba under Linux, according to my
;   own tests.
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096

; Passwords are encrypted by default. This way the latest Windows 95 and NT
;   clients can connect to the Samba server with no problems.
   encrypt passwords = true

; It's always a good idea to use a WINS server. If you want this server
;   to be the WINS server for your network change the following parameter
;   to yes. Otherwise leave it as no and specify your WINS server
;   below (note: only one Samba server can be the WINS server).
;   Read BROWSING.txt for more details.

   wins support = no

; If this server is not the WINS server then specify who is it and uncomment
;   next line.
;   wins server = 172.16.0.10

; Please read BROWSING.txt and set the next four parameters according
;   to your network setup. There is no valid default so they are commented
;   out.
;   os level = 0
;   domain master = no
;   local master = no
;   preferred master = no

; What naming service and in what order should we use to resolve host names
;   to IP addresses

   name resolve order = lmhosts host wins bcast

; This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

; Name mangling options

   preserve case = yes
   short preserve case = yes

; This boolean parameter controlls whether Samba attempts to sync. the Unix
;   password with the SMB password when the encrypted SMB password in the
;   /etc/samba/smbpasswd file is changed.

   unix password sync = yes

; For Unix password sync. to work on a Debian GNU/Linux system, the following
;   parameters must be set (thanks to Augustin Luton
;   [EMAIL PROTECTED] for sending the correct chat script for
;   the passwd program in Debian Potato).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .

; The following parameter is useful only if you have the linpopup package
;   installed. The samba maintainer and the linpopup maintainer are
;   working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup %f %m %s; rm %s' 

; The default maximum log file size is 5 MBytes. That's too big so this
;   next parameter sets it to 1 MByte. Currently, Samba rotates log
;   files (/var/log/{smb,nmb} in Debian) when these files reach 1000 KBytes.
;   A better solution would be to have Samba rotate the log file upon
;   reception of a signal, but for now on, we have to live with this.

   log file = /var/log/samba-log.%m
   max log size = 1000
   lock directory = /var/lock/samba

   obey pam restrictions = yes

[uploads]
   comment = Upload Directory
   path = /upload
   writable = true
   browsable = yes
   guest ok = yes


[home]
   comment = Home Directories
   path = /home
   security = user
   read only = no
   browseable = yes
   guest ok = no
   create mode = 0750

; By default, the home directories are exported read only. Change next
;   parameter to no if you want to be able to write to them.
;   read only = no

; File creation mask is set to 0700 for security reasons. If you want to
;   create files with group=rw permissions, set next parameter to 0775.
;   create mask = 0775

; Directory creation mask is set to 0700 for security reasons. If you want to
;   

Re: smb.conf problem

2002-04-30 Thread Martin A. Hansen
yes, i did that and now the login part works :)

however, i still cant print?


martin


On Tue, Apr 30, 2002 at 02:56:23PM +0200, Christian Koenning wrote:
 On Tue, Apr 30, 2002 at 10:18:48AM +0200, Martin A. Hansen wrote:
  hi
  
  i have an internal network with a debian box as a router to the external 
  network and the external network printer. i can print from internal linux 
  boxes via the router to the external printer. now im trying to do the same 
  thing from the winboxes. i have installed samba on the debian router. the 
  smb.conf is below. only the upload dir is working. the home dir asks for 
  user and password (which i want it to), but it goes: 
  
  Incorrect passsword or unknown username for
  \\Debainbox\home
  
  perhaps, you didn't add the user/pwd to the sambapasswd : try 
  smbpasswd - a unixuser:sambauser 
  
  M.f.G.
  
  Christian
  
  and i did not misstype!
  
  also the printer goes:
  
  Printer on Debianbox Access denied, unable to connect
  
  i hope someone can help me out :)
  
  martin
  
  
  [global]
 interfaces = 192.168.
 printing = bsd
 printcap name = /etc/printcap
 load printers = yes
 guest account = mac
 invalid users = root
  
  ; security = user is always a good idea. This will require a Unix account
  ;   in this server for every user accessing the server.
 security = share
  
  ; Change this for the workgroup your Samba server will part of
 workgroup = GRGROUP
  
 server string = %h server (Samba %v)
  
  ; If you want Samba to log though syslog only then set the following
  ;   parameter to 'yes'. Please note that logging through syslog in
  ;   Samba is still experimental.
 syslog only = no
  
  ; We want Samba to log a minimum amount of information to syslog. Everything
  ;   should go to /var/log/{smb,nmb} instead. If you want to log through
  ;   syslog you should set the following parameter to something higher.
 syslog = 0;
  
  ; This socket options really speed up Samba under Linux, according to my
  ;   own tests.
 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
  
  ; Passwords are encrypted by default. This way the latest Windows 95 and NT
  ;   clients can connect to the Samba server with no problems.
 encrypt passwords = true
  
  ; It's always a good idea to use a WINS server. If you want this server
  ;   to be the WINS server for your network change the following parameter
  ;   to yes. Otherwise leave it as no and specify your WINS server
  ;   below (note: only one Samba server can be the WINS server).
  ;   Read BROWSING.txt for more details.
  
 wins support = no
  
  ; If this server is not the WINS server then specify who is it and uncomment
  ;   next line.
  ;   wins server = 172.16.0.10
  
  ; Please read BROWSING.txt and set the next four parameters according
  ;   to your network setup. There is no valid default so they are commented
  ;   out.
  ;   os level = 0
  ;   domain master = no
  ;   local master = no
  ;   preferred master = no
  
  ; What naming service and in what order should we use to resolve host names
  ;   to IP addresses
  
 name resolve order = lmhosts host wins bcast
  
  ; This will prevent nmbd to search for NetBIOS names through DNS.
 dns proxy = no
  
  ; Name mangling options
  
 preserve case = yes
 short preserve case = yes
  
  ; This boolean parameter controlls whether Samba attempts to sync. the Unix
  ;   password with the SMB password when the encrypted SMB password in the
  ;   /etc/samba/smbpasswd file is changed.
  
 unix password sync = yes
  
  ; For Unix password sync. to work on a Debian GNU/Linux system, the 
  following
  ;   parameters must be set (thanks to Augustin Luton
  ;   [EMAIL PROTECTED] for sending the correct chat script for
  ;   the passwd program in Debian Potato).
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
  *Retype\snew\sUNIX\spassword:* %n\n .
  
  ; The following parameter is useful only if you have the linpopup package
  ;   installed. The samba maintainer and the linpopup maintainer are
  ;   working to ease installation and configuration of linpopup and samba.
  ;   message command = /bin/sh -c '/usr/bin/linpopup %f %m %s; rm %s' 
  
  ; The default maximum log file size is 5 MBytes. That's too big so this
  ;   next parameter sets it to 1 MByte. Currently, Samba rotates log
  ;   files (/var/log/{smb,nmb} in Debian) when these files reach 1000 KBytes.
  ;   A better solution would be to have Samba rotate the log file upon
  ;   reception of a signal, but for now on, we have to live with this.
  
 log file = /var/log/samba-log.%m
 max log size = 1000
 lock directory = /var/lock/samba
  
 obey pam restrictions = yes
  
  [uploads]
 comment = Upload Directory
 path = /upload
 writable = true
 browsable = yes
 guest ok = yes
  
  
  [home]
 comment = Home Directories
 path

Re: vim :help error?

2002-04-29 Thread Martin A. Hansen
great

solution is implemented and works

thanks

(but this is a typical development bug - but its hard to figure the solution 
when you dont know that you have to deal with an old bugfix)

martin


On Thu, Apr 25, 2002 at 11:39:15AM -0500, dman wrote:
 On Thu, Apr 25, 2002 at 01:00:04PM +0200, Martin A. Hansen wrote:
 | hi
 | 
 | i cant get :help to work in vim.
 | 
 | i get this error:
 | 
 | help.txt.gz [readonly][noeol] 8L, 3051C
 | Error detected while processing BufRead Auto commands for *.gz:
 | E21: Cannot make changes, 'modifiable' is off
 | E434: Can't find tag pattern
 | Hit ENTER or type command to continue
 | 
 | how do i fix this?
 
 Old versions (=5.8) of vim couldn't automatically handle .gz files.
 Wichert (the package maintainer) put a slew of neat autocommands in
 /etc/vimrc to recognize, and then transparently (de)compress the
 files.
 
 Current versions (=6.0) of vim handle gzipped files automatically,
 and also set the 'nomodifiable' flag on help files.  The nomod flag
 causes the old autocommands to fail.  The vimrc in the new package
 doesn't have those autocommands.
 
 The solution :
 Edit /etc/vimrc and remove all gzip related autocommands.
 
 -D
 
 -- 
 
 If any of you lacks wisdom, he should ask God, who gives generously to
 all without finding fault, and it will be given to him.  But when he
 asks he must believe and not doubt, because he who doubts is like a wave
 of the sea, blown and tossed by the wind.
 James 1:5-6
 
 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
 



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



printing to a remote debian host?

2002-04-29 Thread Martin A. Hansen
hi

i have two linux boxes. one acts as router and is connected to a network 
printer on the remote network. printing from the server to the remote printer 
works.

now printing from the linux box on the internal network to the router dont work:

i get this error from lpq:


Printer: [EMAIL PROTECTED] 'Tektronix Phaser 560' (dest [EMAIL PROTECTED])
Queue: no printable jobs in queue
Server: no server active
Status: keeping error job '[EMAIL PROTECTED]' at 19:01:35.913
Rank   Owner/ID  Class Job Files Size Time
error  [EMAIL PROTECTED]A28 ERROR: job removal requested
`no connect permissions


my printcap looks like this:

# REMOTE print
lp|phaser|Tektronix Phaser 560:\
:sh:\
:sd=/var/spool/lpd/phaser:\
:rm=192.168.0.10:\
:rp=raw:


what do i do?

btw, winboxes connected with samba on the internal network cant connect to the 
printer either.


martin


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



vim :help error?

2002-04-25 Thread Martin A. Hansen
hi

i cant get :help to work in vim.

i get this error:


help.txt.gz [readonly][noeol] 8L, 3051C
Error detected while processing BufRead Auto commands for *.gz:
E21: Cannot make changes, 'modifiable' is off
E434: Can't find tag pattern
Hit ENTER or type command to continue


how do i fix this?


best

martin


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



how to print A1 document ?

2002-03-26 Thread Martin A. Hansen
hi

im making a poster using xfig. the poster size is A1. how can i print the 
poster on a A4 printer so that the poster is split onto 4 pages of A4 paper?

martin


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



Re: how to print A1 document ?

2002-03-26 Thread Martin A. Hansen
this man page is hard to disect aswell!

so i have a a1.ps file and want it split in 9 a4.ps files...

however, it looks like pstops is meant for the opposite job ?

any idea for a line that can help me?

:P

martin

On Tue, Mar 26, 2002 at 06:33:03PM +0800, Crispin Wellington wrote:
 On Tue, 2002-03-26 at 18:24, Martin A. Hansen wrote:
  hi
  
  im making a poster using xfig. the poster size is A1. how can i print the 
  poster on a A4 printer so that the poster is split onto 4 pages of A4 paper?
 
 This is probably not the best way, or the nicest, or the easiest, so if
 someone can point us to another programme, that would be great. I'm
 interested too.
 
 the programme pstops (apt-get install psutils) can disect postscript
 
 man pstops
 
 Kind Regards
 Crispin Wellington
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



Re: how to print A1 document ?

2002-03-26 Thread Martin A. Hansen
i have found this program which looks ok:

apt-get install poster

:)

martin


On Tue, Mar 26, 2002 at 12:03:01PM +0100, Martin A. Hansen wrote:
 this man page is hard to disect aswell!
 
 so i have a a1.ps file and want it split in 9 a4.ps files...
 
 however, it looks like pstops is meant for the opposite job ?
 
 any idea for a line that can help me?
 
 :P
 
 martin
 
 On Tue, Mar 26, 2002 at 06:33:03PM +0800, Crispin Wellington wrote:
  On Tue, 2002-03-26 at 18:24, Martin A. Hansen wrote:
   hi
   
   im making a poster using xfig. the poster size is A1. how can i print the 
   poster on a A4 printer so that the poster is split onto 4 pages of A4 
   paper?
  
  This is probably not the best way, or the nicest, or the easiest, so if
  someone can point us to another programme, that would be great. I'm
  interested too.
  
  the programme pstops (apt-get install psutils) can disect postscript
  
  man pstops
  
  Kind Regards
  Crispin Wellington
  
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



AltGr dont work !?!

2002-03-12 Thread Martin A. Hansen
hi

after an upgrade of xf3 to xf4 my AltGr key dont work in x. it do work in 
console thou.

i have a dell latitude laptop.

i have no idea what to do?


help needed :)

martin
-- 



Solved: AltGr dont work !?!

2002-03-12 Thread Martin A. Hansen
it worked when i hashed out

OptionXkbVariant  dk

in /etc/X11/XF86Config-4


:/

--m

On Tue, Mar 12, 2002 at 03:08:17PM +0100, Martin A. Hansen wrote:
 hi
 
 after an upgrade of xf3 to xf4 my AltGr key dont work in x. it do work in 
 console thou.
 
 i have a dell latitude laptop.
 
 i have no idea what to do?
 
 
 help needed :)
 
 martin
 -- 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 



how do i get æ ø and å in xterm and mutt?

2002-02-13 Thread Martin A. Hansen





debian on asus k7v266 with xp1700+ will not boot???

2002-01-18 Thread Martin A. Hansen
hi

i have upgraded my pc to an asus k7v266 motherboard with an xp1700+ processor 
and 256 mb ddr ram. however, i cant install debian on it!

using the potato cd-kit i get the splash screen and when pressing enter to do a 
fresh install it shows the lilo.. with 20 dots or so and 
then it hangs!

the install cd is ok. i have also tried with the netinst cd from:
http://people.debian.org/~ieure/netinst/

but now i am stuck! i have an idea that the hardware is not supported under 2.2 
kernels, but i cant confirm this. and even if i could, i dont know how to solve 
the problem.

any help will be greatly appreciated!

martin




Re: newbie

2002-01-18 Thread Martin A. Hansen



On Fri, 18 Jan 2002, Karim Zerioh wrote:

 Hi everybody,
 I've never used linux. And I'm trying to install debian 2.2 rev2.
 But I want you to help me for this.
 I booted from CD-ROM and entered the keaboard language.
 But in the next stage (partition hard disk) i don't know what to do?
 I tried to do write for all partitions suggested but the installation 
 process still on the same stage.
 Can you help me with cfdisk, please?.
 I read the documentation but no chance.

 Thank you for advance

 _
 Want a new web-based email account ? --- http://www.firstlinux.net


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


i suggest you go to www.debian.org and read the install howto

good luck with it :)

also go and ask on irc: #debian irc.debian.org

:)

martin



Re: iptables ruleset

2002-01-04 Thread Martin A. Hansen



On Thu, 3 Jan 2002, Jeff wrote:

 Martin A. Hansen, 2002-Jan-03 17:52 +0100:
 
  hi
 
  im putting up iptables on a server using the default ruleset that comes 
  when install ipmasq under debian woody.
 
  now im wondering if that ruleset represents a strong firewall or what?
  i want my internal network masqed, but no targets in the rulesset shows any 
  masq activity?
 
  heres the ruleset;
 
  [EMAIL PROTECTED]:/home/maasha# iptables -L

 Martin,

 Please post the results of 'iptables -vL' which will give more
 details on the ruleset.  There are things missing with the
 'iptables -L' command.

 jc

 --
 Jeff Coppock  Systems Engineer
 Diggin' DebianAdmin and User


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



ok, here goes:


[EMAIL PROTECTED]:/home/maasha# iptables -vL
Chain INPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   destination
 4221  259K ACCEPT all  --  lo any anywhere anywhere
0 0 LOGall  --  !loany 127.0.0.0/8  anywhere
   LOG level warning
0 0 DROP   all  --  !loany 127.0.0.0/8  anywhere
0 0 ACCEPT all  --  eth0   any anywhere 
255.255.255.255
 4031  298K ACCEPT all  --  eth0   any localnet/24  anywhere
0 0 ACCEPT!tcp  --  eth0   any anywhere 
BASE-ADDRESS.MCAST.NET/4
0 0 LOGall  --  tr0any localnet/24  anywhere
   LOG level warning
0 0 DROP   all  --  tr0any localnet/24  anywhere
  720  239K ACCEPT all  --  tr0any anywhere 
255.255.255.255
  375  127K ACCEPT all  --  tr0any anywhere 
rhpc119-213.rh.dk
0 0 ACCEPT all  --  tr0any anywhere 
130.226.255.255
0 0 LOGall  --  anyany anywhere anywhere
   LOG level warning
0 0 DROP   all  --  anyany anywhere anywhere

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   destination
 6933  504K ACCEPT all  --  eth0   tr0 localnet/24  anywhere
 4860 1756K ACCEPT all  --  tr0eth0anywhere localnet/24
0 0 LOGall  --  anytr0 anywhere localnet/24 
   LOG level warning
0 0 DROP   all  --  anytr0 anywhere localnet/24
0 0 LOGall  --  anyany anywhere anywhere
   LOG level warning
0 0 DROP   all  --  anyany anywhere anywhere

Chain OUTPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   destination
 4221  259K ACCEPT all  --  anylo  anywhere anywhere
0 0 ACCEPT all  --  anyeth0anywhere 
255.255.255.255
 1883  487K ACCEPT all  --  anyeth0anywhere localnet/24
0 0 ACCEPT!tcp  --  anyeth0anywhere 
BASE-ADDRESS.MCAST.NET/4
0 0 LOGall  --  anytr0 anywhere localnet/24 
   LOG level warning
0 0 DROP   all  --  anytr0 anywhere localnet/24
0 0 ACCEPT all  --  anytr0 anywhere 
255.255.255.255
  379 25872 ACCEPT all  --  anytr0 rhpc119-213.rh.dkanywhere
0 0 ACCEPT all  --  anytr0 130.226.255.255  anywhere
0 0 LOGall  --  anyany anywhere anywhere
   LOG level warning
0 0 DROP   all  --  anyany anywhere anywhere
[EMAIL PROTECTED]:/home/maasha#




token ring error?

2002-01-04 Thread Martin A. Hansen
hi

i have a server routing an internal eth0 network with to the external token 
ring tr0 network.

everything worked fine last night. however, returning this morning the routing 
had stopped and the server displayed this message on the screen:

tr0: Soft Error
// repeated 15 times
tr: Counter Overflow

// and these three lines are repeated endlessly...

anyone know this error?

-martin



Re: iptables ruleset

2002-01-04 Thread Martin A. Hansen
try

apt-get install ipmasq

-martin


On Fri, 4 Jan 2002, Pauwel Demeyer wrote:

 Hi,

 I'm installing debian, and downloaded the package iptables.  you say it
 has a standard config? well, when I do iptables -L, I get the following:
 modprobe: Can't locate module ip_tables
 iptables v1.2.4: can't initialize iptables table `filter': iptables who?
 (do you need to insmod?)
 Perhaps iptables or your kernel needs to be upgraded.


 I did the net-install of debian woody 3.0,I thought...
 Can anyone help?


 Martin A. Hansen wrote:

 hi
 
 im putting up iptables on a server using the default ruleset that comes when 
 install ipmasq under debian woody.
 
 now im wondering if that ruleset represents a strong firewall or what?
 i want my internal network masqed, but no targets in the rulesset shows any 
 masq activity?
 
 heres the ruleset;
 
 [EMAIL PROTECTED]:/home/maasha# iptables -L
 Chain INPUT (policy DROP)
 target prot opt source   destination
 ACCEPT all  --  anywhere anywhere
 LOGall  --  127.0.0.0/8  anywhere   LOG level warning
 DROP   all  --  127.0.0.0/8  anywhere
 ACCEPT all  --  anywhere 255.255.255.255
 ACCEPT all  --  anywhere homer
 ACCEPT all  --  anywhere 192.168.0.255
 LOGall  --  anywhere anywhere   LOG level warning
 DROP   all  --  anywhere anywhere
 
 Chain FORWARD (policy DROP)
 target prot opt source   destination
 LOGall  --  anywhere anywhere   LOG level warning
 DROP   all  --  anywhere anywhere
 
 Chain OUTPUT (policy DROP)
 target prot opt source   destination
 ACCEPT all  --  anywhere anywhere
 ACCEPT all  --  anywhere 255.255.255.255
 ACCEPT all  --  homeranywhere
 ACCEPT all  --  192.168.0.255anywhere
 LOGall  --  anywhere anywhere   LOG level warning
 DROP   all  --  anywhere anywhere
 
 any suggestions on how to set up a strong firewall rule set will be 
 appreciated!
 
 regards
 
 -martin
 
 







iptables ruleset

2002-01-03 Thread Martin A. Hansen

hi

im putting up iptables on a server using the default ruleset that comes when 
install ipmasq under debian woody.

now im wondering if that ruleset represents a strong firewall or what?
i want my internal network masqed, but no targets in the rulesset shows any 
masq activity?

heres the ruleset;

[EMAIL PROTECTED]:/home/maasha# iptables -L
Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT all  --  anywhere anywhere
LOGall  --  127.0.0.0/8  anywhere   LOG level warning
DROP   all  --  127.0.0.0/8  anywhere
ACCEPT all  --  anywhere 255.255.255.255
ACCEPT all  --  anywhere homer
ACCEPT all  --  anywhere 192.168.0.255
LOGall  --  anywhere anywhere   LOG level warning
DROP   all  --  anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source   destination
LOGall  --  anywhere anywhere   LOG level warning
DROP   all  --  anywhere anywhere

Chain OUTPUT (policy DROP)
target prot opt source   destination
ACCEPT all  --  anywhere anywhere
ACCEPT all  --  anywhere 255.255.255.255
ACCEPT all  --  homeranywhere
ACCEPT all  --  192.168.0.255anywhere
LOGall  --  anywhere anywhere   LOG level warning
DROP   all  --  anywhere anywhere

any suggestions on how to set up a strong firewall rule set will be appreciated!

regards

-martin



Re: Fish swimming over my Desktop and ... system locked ?!?

2001-12-20 Thread Martin A. Hansen

HEH, i have seen it too, but my system didnt hang. i think it has to do with 
wanda the gnomefish...

-martin


On Wed, 19 Dec 2001, Martin Emrich wrote:

 Hi All !

 Today, something _really_ weird happened on my computer:

 I was writing some tex file in emacs, and suddenly, a little blue Fish
 swam over my Display (no, I dont work underwater ;)
 It looked similar to the one in this Fish-Applet for GNOME Panel.
 After it stopped halfway between the upper-left corner and the center of
 the Screen, my system hang. Only the mouse was moveable, but no Keyboard
   Functions worked (no CTRL-ALT-F1, no CTRL-ALT-BACKSPACE, no
 CTRL-ALT-DELETE). As I was not at home, I had no other computer
 available to telnet, so I was forced to push the reboot-and-do-fsck
 button...

 My System:

 Sony Notebook P3-450
 Debian potato, upgraded to testing, then upgraded to unstable (AFAIK you
 call this sid)
 Gnome 1.4
 Xfree86 4.1.0
 Kernel 2.4.16

 IIRC I was running only xemacs, 2 terminals and xdvi.

 Does anybody know what this fish does ? I have no screensaver enabled,
 and I was working all the time.
 And don't tell me to do google fish :

 Martin


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





procmail redirect problem

2001-12-17 Thread Martin A. Hansen

hi

i have set up procmail to sort incoming mail into subfolders. the mail is 
sortet and put in the subfolders all right, but every mail is put inside its 
own folder so i get:

[EMAIL PROTECTED]:/home/maasha/mail# ls -al debian-user/
total 44
drwxr-xr-x2 maasha   maasha   8192 Dec 17 09:50 .
drwx--6 maasha   maasha   4096 Dec 17 10:01 ..
-rw---1 maasha   maasha   3091 Dec 17 09:11 msg.OWeB
-rw---1 maasha   maasha   2462 Dec 17 09:45 msg.WWeB
-rw---1 maasha   maasha   3142 Dec 17 09:18 msg.XWeB
-rw---1 maasha   maasha   2537 Dec 17 09:20 msg.YWeB
-rw---1 maasha   maasha   4202 Dec 17 09:48 msg.dWeB
-rw---1 maasha   maasha   2607 Dec 17 09:06 msg.mVeB
-rw---1 maasha   maasha   2224 Dec 17 09:50 msg.uWeB

and each folder contains the correct mail.

this is most annoying :) ! i didnt ask (i think) for any msg.foo folders!

this is my .procmailrc file:

[EMAIL PROTECTED]:~$ cat .procmailrc

PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/mail
PMDIR=$HOME/procmail

LOGFILE=$PMDIR/procmaillog
INCLUDERC=$PMDIR/maashamail.rc

LOCKFILE=$HOME/.lockmail


and this is the rc file:

[EMAIL PROTECTED]:~/procmail$ cat maashamail.rc

#Redirects
:0:
* ^Resent-From:[EMAIL PROTECTED]
debian-user

:0:
* ^To:[EMAIL PROTECTED]
sslug


i use fetchmail, postfix and pine

hope anyone can help

regards

martin



AppleTalk not up! Child exited with 1.

2001-12-13 Thread Martin A. Hansen

hi

my netatalk wount run properly on my linux server

kernel 2.2.13 (i know its old, but token ring requires it)
netatalk   1.4b2+asun2.1. Appletalk user binaries

i get this message :

[EMAIL PROTECTED]:/etc/init.d# ./netatalk start
Starting AppleTalk Daemons (this will take a while):AppleTalk not up! Child 
exited with 1.
 atalkdbind: Cannot assign requested address
bind: Cannot assign requested address
 afpd papd.

any idea?


martin