USB Sound Cards on Etch: Can't Get One To Work

2008-12-07 Thread Hal Vaughan
I'm currently using an iMic USB sound card on a Soekris net5501 system 
that can handle USB 2.0, even if it is a slower CPU in comparison.  
(Unit specs here: http://soekris.com/net5501.htm)

Before I was using this (the iMic), I was using a Startech USB sound 
card (here on Newegg: http://tinyurl.com/5v4n4k).  I had errors with 
that card which led me to the iMic.

This computer is a general file/printer/nfs/nis/dns server but nothing 
that's heavy duty except possibly the printer stuff, but I haven't been 
printing while I've been testing.  I have a HD radio hooked up to one 
USB port and I can control it with an app I wrote for tuning, volume, 
and other settings.  It has analog stereo output that, on an older and 
bigger system, I ran into the sound card through the Line In jack and 
used a regular output jack to go to my speakers.  (I prefer to do this 
instead of splitting and weakening the analog audio from the radio 
output.)  I also take the input stream and use it with Icecast2 to make 
it available on my home audio system.  This always worked just fine with 
a Soundblaster in a PCI slot.

With the Startech USB sound card the sound from the Line In went to the 
speakers with no problem, but whenever I tried to read that sound stream 
with darkice or anything else, I kept getting errors that I tracked down 
to an indication there wasn't enough bandwidth to send the audio signal 
through from the card to the USB port.  (I used arecord and finally got 
error messages that helped me to track this down.)

Since I could find nothing to show me that I could work around this in 
any way, I finally started searching for other USB sound cards and found 
a few references to people using an iMic with Debian Etch.  It seemed 
like they just plugged it in and it worked.  No such luck.

Yet I dont' have access to the card.   Before running alsaconf, when the 
card was hooked up and I wasn't getting error messages from amixer or 
alsamixer, here's the stuff from /proc:

[EMAIL PROTECTED]:~]$ cat /proc/asound/cards
  
 0 [system ]: USB-Audio - iMic USB audio system 
   
  Griffin Technology, Inc iMic USB audio system at 
usb-:00:15.1-1.7, full spe
[EMAIL PROTECTED]:~]$ cat /proc/asound/devices 
  0: [ 0]   : control   
  1:: sequencer 
 16: [ 0- 0]: digital audio playback
 24: [ 0- 0]: digital audio capture 
 33:: timer  

It looked like alsaconf just matched it with the first driver it could, 
a Yamaha one, but when I deselected that as a choice and ran alsaconf 
again, when it was done, there was no card.  Here's output from the 
first time I ran alsaconf:

[EMAIL PROTECTED]:~]$ alsaconf
Unloading ALSA sound driver modules: snd-cs4236 snd-seq-dummy snd-seq-
oss snd-seq-midi snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss 
snd-cs4236-lib snd-mpu401-uart snd-cs4231-lib snd-opl3-lib snd-hwdep 
snd-pcm snd-page-alloc snd-rawmidi snd-seq-device snd-timer (failed: 
modules still loaded: snd-opl3-lib snd-hwdep snd-mpu401-uart snd-cs4236-
lib snd-seq-dummy snd-seq-oss snd-seq-midi snd-seq-midi-event snd-seq 
snd-rawmidi snd-seq-device snd-cs4231-lib snd-pcm snd-page-alloc snd-
timer).
Building card database...
Probing legacy cards..   This may take a few minutes..
Probing: opl3sa2grep: /sys/bus/pnp/devices/??:*/resources: No such file 
or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
 : FOUND!!


Running update-modules...
Loading driver...
FATAL: Error inserting snd_opl3sa2 
(/lib/modules/2.6.18-6-486/kernel/sound/isa/snd-opl3sa2.ko): No such 
device
FATAL: Error running install command for snd_opl3sa2
Setting default volumes...
amixer: Mixer attach default error: No such file or directory


===

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!


-

After it runs, there's no sound cards in /proc/asound/cards so alsamixer 
or anything else won't run.  Since it looked like it was just grabbing 
the first driver to use, I eliminated the Yamaha drivers (Kept g

Re: Video editing

2008-12-07 Thread Johann Spies
On Sun, Dec 07, 2008 at 08:36:54PM -0600, Ron Johnson wrote:
>
>>> Please someone suggest a proper video editing program that does that?
>>
>> Avidemux.
>
> Also, gopchop, if it's MPEG.

With Kino you can import the video and edit it.  I have recently
worked on a few mpg's and used kino.  I found it a bit easier to work
with than avidemux.  The drawback is that kino converts the mpg to a
.dv which is about 9 times bigger than the mpg.

Regards
Johann

-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "For I am the LORD your God: ye shall therefore  
  sanctify yourselves, and ye shall be holy; for I am 
  holy:"  Leviticus 11:44 


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



Re: Kernel 2.6.27 in Debian?

2008-12-07 Thread Sven Joachim
On 2008-12-08 00:34 +0100, Ron Johnson wrote:

> On 12/07/08 16:30, Sven Joachim wrote:
>>
>> If you don't want to build your own kernel, the Debian kernel team
>> provides unofficial 2.6.27 images, see
>> http://wiki.debian.org/DebianKernel.  You need to add the "trunk"
 ^^^  
>> repository to your sources.list.
>
> I put this in my sources.list, and ran "# apt-get update", but don't
> see the .27 kernel, either in image or source form.
>
> deb http://kernel-archive.buildserver.net/debian-kernel sid main
>
> # apt-cache policy
> Package files:
>  100 /var/lib/dpkg/status
>  release a=now
>  500 http://kernel-archive.buildserver.net sid/main Packages
 ^^^
You need to s/sid/trunk/ as I tried to explain.

>  release o=Debian-Kernel
> archive,a=kernel-dists-sid,l=Debian-Kernel archive,c=main
>  origin kernel-archive.buildserver.net

Sven


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



Re: remote system administration - grub via serial cable?

2008-12-07 Thread Douglas A. Tutty
On Mon, Dec 08, 2008 at 01:03:52AM +0200, Micha Feigin wrote:
> I'm trying to do some kernel development remotely which requires reboots and
> the occasional kernel panic on start which is very annoying since then I need 
> to
> wait a few days until I get to the computer or someone knowledged enough is
> around it to restart it into a working configuration.
> 
> Is there some way to control grub, see the startup text and reboot remotely in
> case of kernel panic such as through a serial cable (although I need to check
> if that motherboard actually has a serial port as these are hard to come by
> these days).

Yes, grub can use a serial console.  See the grub manual for how to set
it up.

There's also the savedefault feature of grub so that if a kernel choice
doesn't start it will start a default kernel that does boot next time
(not sure on this since I've never needed this aspect).

There's also the panic= kernel command line so that after a panic, the
machine will reboot after a delay rather than just sit there waiting for
a power cycle.

I don't know about grub, but the kernel can use usb dongles as serial
ports/console.

Doug.


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



Re: Remote signing of large files

2008-12-07 Thread Douglas A. Tutty
On Sun, Dec 07, 2008 at 11:10:29AM +, Magnus Therning wrote:
> Douglas A. Tutty wrote:
> > On Thu, Dec 04, 2008 at 12:26:31PM +, Magnus Therning wrote:
 
> > I wonder about the latest comment on this thread.  Examine why you don't
> > want the secret key on the build server and why you would feel more
> > secure with the signing done on a separate server.
> 
> Well, the main reason is that there are _a_lot_ of people with direct
> access to the build server.  The idea is to find a way to limit people's
> _direct_ access to the server with the keys.  I know there are problems,
> but hopefully it doesn't require too much work to at least achieve some
> traceability in such a setup.

However, if people you don't totally trust have access to the build
server, couldn't they fitz the packages before they're signed?  

Don't the keys have a passphrase option?  Then, when you are ready to
sign the packages, you'd have to enter the passphrase.

Doug.


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



USB Sound Cards on Etch: Can't Get One To Work

2008-12-07 Thread Hal Vaughan
I'm currently using an iMic USB sound card on a Soekris net5501 system 
that can handle USB 2.0, even if it is a slower CPU in comparison.  
(Unit specs here: http://soekris.com/net5501.htm)

Before I was using this (the iMic), I was using a Startech USB sound 
card (here on Newegg: http://tinyurl.com/5v4n4k).  I had errors with 
that card which led me to the iMic.

This computer is a general file/printer/nfs/nis/dns server but nothing 
that's heavy duty except possibly the printer stuff, but I haven't been 
printing while I've been testing.  I have a HD radio hooked up to one 
USB port and I can control it with an app I wrote for tuning, volume, 
and other settings.  It has analog stereo output that, on an older and 
bigger system, I ran into the sound card through the Line In jack and 
used a regular output jack to go to my speakers.  (I prefer to do this 
instead of splitting and weakening the analog audio from the radio 
output.)  I also take the input stream and use it with Icecast2 to make 
it available on my home audio system.  This always worked just fine with 
a Soundblaster in a PCI slot.

With the Startech USB sound card the sound from the Line In went to the 
speakers with no problem, but whenever I tried to read that sound stream 
with darkice or anything else, I kept getting errors that I tracked down 
to an indication there wasn't enough bandwidth to send the audio signal 
through from the card to the USB port.  (I used arecord and finally got 
error messages that helped me to track this down.)

Since I could find nothing to show me that I could work around this in 
any way, I finally started searching for other USB sound cards and found 
a few references to people using an iMic with Debian Etch.  It seemed 
like they just plugged it in and it worked.  No such luck.

Yet I dont' have access to the card.   Before running alsaconf, when the 
card was hooked up and I wasn't getting error messages from amixer or 
alsamixer, here's the stuff from /proc:

[EMAIL PROTECTED]:~]$ cat /proc/asound/cards
  
 0 [system ]: USB-Audio - iMic USB audio system 
   
  Griffin Technology, Inc iMic USB audio system at 
usb-:00:15.1-1.7, full spe
[EMAIL PROTECTED]:~]$ cat /proc/asound/devices 
  0: [ 0]   : control   
  1:: sequencer 
 16: [ 0- 0]: digital audio playback
 24: [ 0- 0]: digital audio capture 
 33:: timer  

It looked like alsaconf just matched it with the first driver it could, 
a Yamaha one, but when I deselected that as a choice and ran alsaconf 
again, when it was done, there was no card.  Here's output from the 
first time I ran alsaconf:

[EMAIL PROTECTED]:~]$ alsaconf
Unloading ALSA sound driver modules: snd-cs4236 snd-seq-dummy snd-seq-
oss snd-seq-midi snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss 
snd-cs4236-lib snd-mpu401-uart snd-cs4231-lib snd-opl3-lib snd-hwdep 
snd-pcm snd-page-alloc snd-rawmidi snd-seq-device snd-timer (failed: 
modules still loaded: snd-opl3-lib snd-hwdep snd-mpu401-uart snd-cs4236-
lib snd-seq-dummy snd-seq-oss snd-seq-midi snd-seq-midi-event snd-seq 
snd-rawmidi snd-seq-device snd-cs4231-lib snd-pcm snd-page-alloc snd-
timer).
Building card database...
Probing legacy cards..   This may take a few minutes..
Probing: opl3sa2grep: /sys/bus/pnp/devices/??:*/resources: No such file 
or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory
 : FOUND!!


Running update-modules...
Loading driver...
FATAL: Error inserting snd_opl3sa2 
(/lib/modules/2.6.18-6-486/kernel/sound/isa/snd-opl3sa2.ko): No such 
device
FATAL: Error running install command for snd_opl3sa2
Setting default volumes...
amixer: Mixer attach default error: No such file or directory


===

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!


-

After it runs, there's no sound cards in /proc/asound/cards so alsamixer 
or anything else won't run.  Since it looked like it was just grabbing 
the first driver to use, I eliminated the Yamaha drivers (Kept g

Re: Partition damaged

2008-12-07 Thread Patricio Inzaghi
Is the last partition, and i executed the command with the start and
end parameters, and before, I provide the partition device to the
parted command. What more information can i pass to it?


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



Re: Issues with PCF and BDF Fonts after regular lenny updates

2008-12-07 Thread Amit Uttamchandani
> 
> It should not be necessary to refer to ~/.fonts explicitly in
> ~/.fonts.conf. This directory is included in the font path by default.
> (You can check this with "xset q"; /home/$USER/.fonts should be listed
> at the end of the font path.)
> 

Ok, there's the first problem. When I do xset q /home/$USER/.fonts is
not listed:

Font Path:
  
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/usr/share/fonts/artwiz,/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType


> All that you should have to do is copy the fonts to ~/.fonts and run
> "mkfontdir ~/.fonts". I do not know where to find the Dina font, but I
> tested this with the snap font that you mentioned in your earlier mail:
> 
> $ fc-match snap
> snap.pcf.gz: "snap" "Regular"
> 

The above did not work initially, so I reinstalled using aptitude
'fontconfig' and 'fontconfig-config', now the above works.

> If this does not work then you have to check if bitmap fonts are enabled
> on your system. Run "dpkg-reconfigure fontconfig-config" and make sure
> that you answer "Yes" to the third question. You need to restart X to
> see the effect of changes in the fontconfig settings.
> 

I tried this but no luck with the Dina font.

$ fc-match Dina
Vera.ttf: "Bitstream Vera Sans" "Roman"

$ ls -al ~/.fonts

-rw-r--r--  1 amitu amitu  38603 Jul 13 19:28 Dina_i400-10.bdf
-rw-r--r--  1 amitu amitu  36296 Jul 13 19:28 Dina_i400-8.bdf
-rw-r--r--  1 amitu amitu  37832 Jul 13 19:29 Dina_i400-9.bdf
-rw-r--r--  1 amitu amitu  38599 Jul 13 19:29 Dina_i700-10.bdf
-rw-r--r--  1 amitu amitu  36292 Jul 13 19:29 Dina_i700-8.bdf
-rw-r--r--  1 amitu amitu  37828 Jul 13 19:29 Dina_i700-9.bdf
-rw-r--r--  1 amitu amitu  38603 Jul 13 19:29 Dina_r400-10.bdf
-rw-r--r--  1 amitu amitu  36296 Jul 13 19:29 Dina_r400-8.bdf
-rw-r--r--  1 amitu amitu  37832 Jul 13 19:29 Dina_r400-9.bdf
-rw-r--r--  1 amitu amitu  38599 Jul 13 19:29 Dina_r700-10.bdf
-rw-r--r--  1 amitu amitu  36292 Jul 13 19:29 Dina_r700-8.bdf
-rw-r--r--  1 amitu amitu  37828 Jul 13 19:29 Dina_r700-9.bdf

Again, I guess I'm not sure why xset q doesn't list my fonts dir.

> Regards,| http://users.icfo.es/Florian.Kulzer
>   Florian   |
> 
> 

Thank you for helping.


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



Re: Video editing

2008-12-07 Thread Ron Johnson

On 12/07/08 17:42, JoeHill wrote:
Rodolfo Medina wrote: 


I want to divide a video file into two pieces, or, more in general, cut off
and select pieces of a video file.


You don't mention what format the video is in.


Please someone suggest a proper video editing program that does that?


Avidemux.


Also, gopchop, if it's MPEG.

--
Ron Johnson, Jr.
Jefferson LA  USA

How does being physically handicapped make me Differently-Abled?
What different abilities do I have?


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




Re: squid-cache

2008-12-07 Thread Sam Leon

Tom Allison wrote:

why is there two different versions (v2.x vs v3.x) of squid supported?

Is there that much incompatibility between the two?

pros/cons with one over the other?




http://www.mail-archive.com/[EMAIL PROTECTED]/msg52046.html

Sam


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




cpqfc driver problem

2008-12-07 Thread Fred Zinsli
Hello all

I an attempting to get these old compaq FC arrays working.

I have managed to find the cpqfc driver on sourceforge but it won't compile.

server1:/usr/src/cpqfc# make all
makefile:152: /Rules.make: No such file or directory
make: *** No rule to make target `/Rules.make'.  Stop.
server1:/usr/src/cpqfc# 

It seems the rules file is missing.

I was wondering if anyone knows how I can fix this?

Regards

Fred



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



Re: Video editing

2008-12-07 Thread JoeHill
Rodolfo Medina wrote: 

> I want to divide a video file into two pieces, or, more in general, cut off
> and select pieces of a video file.
> 
> Please someone suggest a proper video editing program that does that?

Avidemux.

-- 
J


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



Video editing

2008-12-07 Thread Rodolfo Medina
Hi to all Debian users.

I want to divide a video file into two pieces, or, more in general, cut off and
select pieces of a video file.

Please someone suggest a proper video editing program that does that?

Thanks for any help
Rodolfo


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



Re: Kernel 2.6.27 in Debian?

2008-12-07 Thread Ron Johnson

On 12/07/08 16:30, Sven Joachim wrote:
[snip]


If you don't want to build your own kernel, the Debian kernel team
provides unofficial 2.6.27 images, see
http://wiki.debian.org/DebianKernel.  You need to add the "trunk"
repository to your sources.list.


I put this in my sources.list, and ran "# apt-get update", but don't 
see the .27 kernel, either in image or source form.


deb http://kernel-archive.buildserver.net/debian-kernel sid main

# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
 release a=now
 500 http://kernel-archive.buildserver.net sid/main Packages
 release o=Debian-Kernel 
archive,a=kernel-dists-sid,l=Debian-Kernel archive,c=main

 origin kernel-archive.buildserver.net
[snip]

--
Ron Johnson, Jr.
Jefferson LA  USA

How does being physically handicapped make me Differently-Abled?
What different abilities do I have?


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




Re: Better support for merging local and upstream (was: Erase cache, clean registry in Linux)

2008-12-07 Thread Boyd Stephen Smith Jr.
On Sunday 07 December 2008, lee <[EMAIL PROTECTED]> wrote about 'Re: 
Better support for merging local and upstream (was: Erase cache, clean 
registry in Linux)':
>On Sat, Dec 06, 2008 at 03:42:42AM -0600, Boyd Stephen Smith Jr. wrote:
>> On Saturday 2008 December 06 02:03, lee wrote:
>> > On Sat, Dec 06, 2008 at 12:45:28AM -0600, Boyd Stephen Smith Jr. 
wrote:
>> > > I disagree with this.  It should be possible to establish "hooks"
>> > > so that the administrator should not ever have to edit an installed
>> > > file, but instead place additional or overriding instructions in a
>> > > separate file which the packages manager would not read or modify.
>> >
>> > How exactly would that work?
>>
>> There are lots of ways to do this, but it basically boils down to
>> having a distribution/upstream provided configuration and locally
>> provided configuration.  This is actually ALWAYS the case, as the
>> source code has some default behavior
>
>Yes, I guess you have to have something in the source to compile it. I
>don't really consider that as "configuration", though.

But it is.  It's the underlying "defaults" that 1) your configuration 
alters and 2) could change the same way a distribution-provided 
configuration might.

>> When the program only reads from a single file, it's difficult to
>> separate distribution settings from locally administered settings,
>> even though those are two different things.
>
>It's the configuration of a program, not two different things.

It is.  They are maintained by two separate entities.  Just like the 
default behavior is maintained by the original author and the 
configuration is maintained by others.

>When a program uses a number of different configuration files, it's
>much more difficult for the administrator to configure it.

I completely disagree here.  Your specific examples, apache2 and exim4 
simply convince me further that you are wrong.  I maintain a exim4 
installation and multiple apache2 installations and I greatly prefer 
separated files to a single file.

It's easier to work with that way, not harder.

>As you want or need to
>distinguish the administrators configuration from the package
>managers, that could (better) be done by having different sections in
>the configuration file or by some other way to have and keep the
>package managers configuration within the file together with what the
>administrator has set up.

No, separate files is better, since files are already a natural unit.  'rm 
my.conf' (and leaving debian.conf) is easier than editing a single file to 
remove local changes.

>> Thus, we have conffiles -- a half-way solution between having
>> separate files for distribution and locally-administered settings.
>> When/where the defaults work administrators have no worries, the
>> package maintainer updates the conffiles as needed.  When the
>> defaults don't work, you get the dpkg prompt, which is usually
>> enough; administrators that have made changes keep their old file,
>> until they see an incompatable change (e.g. in the conffile format)
>> and then have to rebuild their configuration.  At this point they'd
>> generally have to rebuild their configuration anyway.
>
>Well, that already has been achieved to a great deal, hasn't it?

Well, it's achieved less than the alternative would, but with arguably less 
work.

>Just 
>packages like exim4 or apache2 that use an approach which makes it
>very difficult to impossible for the administrator to configure them
>break it.

I find the debian way of configuration apache2 superior to other 
distributions I've used.  I've never installed exim4 on a different 
distributions, but I do think it would be troublesome making changes to a 
single, large file then the logically separated small files in well-named 
directories used by Debian.

>> Anyway, the point is that most users of F(L)OSS software don't get
>> their software directly from the original authors, so it makes sense to
>> have at least 3 configuration files/directories (distribution, in
>> /usr/share mostly; system, in /etc mostly; and user, in ~ mostly) for
>> any user application, and 2 (the first 2) for non-user applications. 
>
>Hm, when I switched from Suse to Debian, one of the advantages of
>Debian was that they stayed closer to what the original authors
>did. 

I guess.  There are certainly changes in Ubuntu/openSuse that I don't see 
in Debian packages, but Debian (particularly the security team) is very 
adamant that Debian must be able to make changes without prior approval 
from the original authors to better serve the needs of it's users.  (E.g. 
firefox vs. iceweasel)

Also, some upstream programs may not need their source changed, but still 
need to be "configured" to work immediately after the package as been 
installed on a Debian system.  This might mean looking somewhere other 
than upstream expected for libraries, reading configurations 
from /etc//.conf instead of /etc/.conf, or 
simply having some defaults provided so 

remote system administration - grub via serial cable?

2008-12-07 Thread Micha Feigin
I'm trying to do some kernel development remotely which requires reboots and
the occasional kernel panic on start which is very annoying since then I need to
wait a few days until I get to the computer or someone knowledged enough is
around it to restart it into a working configuration.

Is there some way to control grub, see the startup text and reboot remotely in
case of kernel panic such as through a serial cable (although I need to check
if that motherboard actually has a serial port as these are hard to come by
these days).

Thanks


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



Re: Kernel 2.6.27 in Debian?

2008-12-07 Thread Florian Kulzer
On Mon, Dec 08, 2008 at 10:35:27 +1300, Simon Guest wrote:
> Hi all,
> 
> I really expected 2.6.27 to be in Sid by now, but it's not, and I
> can't find any mention of it anywhere, on the mailing lists or
> elsewhere.
 
The 2.6.27 source package is available in the experimental repository
now. Compiled images are on kernel-archive.buildserver.net, see
http://wiki.debian.org/DebianKernel .

> Does anyone know when this is likely to happen?  Is something holding
> it up?

I think 2.6.27 will enter Sid only after Lenny is released.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: Better support for merging local and upstream (was: Erase cache, clean registry in Linux)

2008-12-07 Thread Eduardo M KALINOWSKI
From: lee <[EMAIL PROTECTED]>
> When a program uses a number of different configuration files, it's
> much more difficult for the administrator to configure it.

I'd say it's a matter of preference. I like exim's split configuration, it 
makes upgrades easier as I only have to deal with the parts that I've 
changed. And perhaps not even that, if I can make a change by adding a new 
snippet file instead of changing an existing one.

For those who prefer a single file, debconf allows that, satisfying all 
kinds of people. You can even dump debconf altogether and do all the 
configuration yourself.

> Well, that already has been achieved to a great deal, hasn't it? Just
> packages like exim4 or apache2 that use an approach which makes it
> very difficult to impossible for the administrator to configure them
> break it.

That's your opinion. Do not take it as absolute.

I don't know about apache, but as I said, with exim it's quite easy to use 
a single file, if you prefer it that way.


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



Re: Kernel 2.6.27 in Debian?

2008-12-07 Thread Sven Joachim
On 2008-12-07 22:35 +0100, Simon Guest wrote:

> I really expected 2.6.27 to be in Sid by now, but it's not, and I
> can't find any mention of it anywhere, on the mailing lists or
> elsewhere.
>
> Does anyone know when this is likely to happen?  Is something holding
> it up?

Yes, the Lenny release.  After Lenny is released¹, a newer kernel will
hit unstable, though it will almost certainly not be 2.6.27.

> From kernel.org: The latest stable version of the Linux kernel is:
> 2.6.27.8
>
> Anyone like me with an Intel Wifi 5100 wireless chipset really needs 2.6.27.

If you don't want to build your own kernel, the Debian kernel team
provides unofficial 2.6.27 images, see
http://wiki.debian.org/DebianKernel.  You need to add the "trunk"
repository to your sources.list.

Sven


¹ Whenever that may be.


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



Kernel 2.6.27 in Debian?

2008-12-07 Thread Simon Guest
Hi all,

I really expected 2.6.27 to be in Sid by now, but it's not, and I
can't find any mention of it anywhere, on the mailing lists or
elsewhere.

Does anyone know when this is likely to happen?  Is something holding
it up?

From kernel.org: The latest stable version of the Linux kernel is:
2.6.27.8

Anyone like me with an Intel Wifi 5100 wireless chipset really needs 2.6.27.

cheers,
Simon


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



Re: Better support for merging local and upstream (was: Erase cache, clean registry in Linux)

2008-12-07 Thread lee
On Sat, Dec 06, 2008 at 03:42:42AM -0600, Boyd Stephen Smith Jr. wrote:
> On Saturday 2008 December 06 02:03, lee wrote:
> > On Sat, Dec 06, 2008 at 12:45:28AM -0600, Boyd Stephen Smith Jr. wrote:
> > > I disagree with this.  It should be possible to establish "hooks" so that
> > > the administrator should not ever have to edit an installed file, but
> > > instead place additional or overriding instructions in a separate file
> > > which the packages manager would not read or modify.
> >
> > How exactly would that work?
> 

> There are lots of ways to do this, but it basically boils down to
> having a distribution/upstream provided configuration and locally
> provided configuration.  This is actually ALWAYS the case, as the
> source code has some default behavior

Yes, I guess you have to have something in the source to compile it. I
don't really consider that as "configuration", though.

> When the program only reads from a single file, it's difficult to
> separate distribution settings from locally administered settings,
> even though those are two different things.

It's the configuration of a program, not two different things.

When a program uses a number of different configuration files, it's
much more difficult for the administrator to configure it. I prefer to
know the configuration when I'm configuring something, and that
includes the settings made by the package manager. Having it all in
one configuration file makes it much easier, as all the settings are
in one place, and there is no guessing about what is actually
configured and no trying to find out how the configuration works. It's
plain and simple.

Fortunately, the (Debian) idea is already to have the configuration in
one place (/etc), but spreading it across multiple files (or
directories) is somewhat contradictory. As you want or need to
distinguish the administrators configuration from the package
managers, that could (better) be done by having different sections in
the configuration file or by some other way to have and keep the
package managers configuration within the file together with what the
administrator has set up.

> Thus, we have conffiles -- a half-way solution between having
> separate files for distribution and locally-administered settings.
> When/where the defaults work administrators have no worries, the
> package maintainer updates the conffiles as needed.  When the
> defaults don't work, you get the dpkg prompt, which is usually
> enough; administrators that have made changes keep their old file,
> until they see an incompatable change (e.g. in the conffile format)
> and then have to rebuild their configuration.  At this point they'd
> generally have to rebuild their configuration anyway.

Well, that already has been achieved to a great deal, hasn't it? Just
packages like exim4 or apache2 that use an approach which makes it
very difficult to impossible for the administrator to configure them
break it.

> Anyway, the point is that most users of F(L)OSS software don't get their 
> software directly from the original authors, so it makes sense to have at 
> least 3 configuration files/directories (distribution, in /usr/share mostly; 
> system, in /etc mostly; and user, in ~ mostly) for any user application, and 
> 2 (the first 2) for non-user applications.  [It would also be nice to 
> have "site" configuration in /usr/local/share or somesuch.]  Unfortunately, 
> this doesn't happen often and we get half-way solutions like conffiles (or 
> Gentoo's equivalent).

Hm, when I switched from Suse to Debian, one of the advantages of
Debian was that they stayed closer to what the original authors
did. That made it a lot easier to, for example, get a newer version of
a software and use that instead of what came in the distribution ---
not only with configuring it, but also with compiling it and keeping
that version installed.

Too much automatic doing is a bad thing; it doesn't work for other
OSs, and it doesn't work for Debian (see exim4 and apache2).


-- 
"Don't let them, daddy. Don't let the stars run down."
http://adin.dyndns.org/adin/TheLastQ.htm


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



Re: Umlaute

2008-12-07 Thread lee
On Sun, Dec 07, 2008 at 09:18:08PM +0100, Sven Joachim wrote:
> On 2008-12-07 20:38 +0100, lee wrote:
> 
> > Hi,
> >
> > how can I get xterm and xemacs to display German Umlaute correctly?
> > I've configured locales so that they are available, but changing LANG
> > in xterm or trying to change the encoding xemacs uses for a buffer
> > don't get the Umlaute displayed. I've never had this problem before,
> > it just worked fine after configuring the right locales. The only
> > difference is that I don't have a German keyboard now and that I'm
> > using amd64 instead of i386.
> 
> Please show the output of "locale".


[EMAIL PROTECTED]:~$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=


I tried it with de_DE.ISO-8859-1, and it didn't work, either.

But when I gave up trying to get it to work and started to answer the
mail containing Umlaute, it suddenly worked. I don't know why, but
even xterm shows them now.


-- 
"Don't let them, daddy. Don't let the stars run down."
http://adin.dyndns.org/adin/TheLastQ.htm


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



Re: [OT] bashism

2008-12-07 Thread Boyd Stephen Smith Jr.
On Sunday 2008 December 07 03:36, Sven Joachim wrote:
> On 2008-12-07 02:04 +0100, Boyd Stephen Smith Jr. wrote:
> > On Saturday 2008 December 06 17:47, Dotan Cohen wrote:
> >> 2008/12/7 Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>:
> >> > For maximum compatibility, that needs to be:
> >> > VAR=; export VAR
> >>
> >> Compatibility with what?
> >
> > UNIX.  The Single Unix Specification is maintained by the Open Group who
> > certify UNIX products.
>
> You should upgrade your specification.  Susv3 explicitly mentions the
> "export name=word" syntax as supported.

You are correct.  Looks like the "export name=word" form has actually be 
supported since "Issue 6".

Older systems might not like it, but I suppose that's a problem with them not 
being up to date.
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpj8C4hkcXRy.pgp
Description: PGP signature


Re: Umlaute

2008-12-07 Thread Sven Joachim
On 2008-12-07 20:38 +0100, lee wrote:

> Hi,
>
> how can I get xterm and xemacs to display German Umlaute correctly?
> I've configured locales so that they are available, but changing LANG
> in xterm or trying to change the encoding xemacs uses for a buffer
> don't get the Umlaute displayed. I've never had this problem before,
> it just worked fine after configuring the right locales. The only
> difference is that I don't have a German keyboard now and that I'm
> using amd64 instead of i386.

Please show the output of "locale".

Sven


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



Re: Hosts List (ARP?)

2008-12-07 Thread Chris Davies
Phillipus Gunawan <[EMAIL PROTECTED]> wrote:
> but then, even from myxp box, when I try to ping with command:

> C:\>ping debian
> Ping request could not find host debian

On this Windows box, where have you defined the host "debian"?
Chris


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



Re: iptables, ftp and dnat?

2008-12-07 Thread Anoop Aryal

> > It hangs after ls? Sounds like your data traffic gets jammed
> > somehow.
> >

I know I'm jumping in halfway thru the conversation so this might have
already been mentioned. But you may want to check if the firewall is
blocking ICMP packets preventing PMTU being figured out correctly. The
scenerio you're describing sounds too much like the case of
'Fragmentation needed but DF flag is set'. Letting the right ICMP
packets (4/3, I believe) thru in your firewall usually solves these
problems.

anoop.



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



Umlaute

2008-12-07 Thread lee
Hi,

how can I get xterm and xemacs to display German Umlaute correctly?
I've configured locales so that they are available, but changing LANG
in xterm or trying to change the encoding xemacs uses for a buffer
don't get the Umlaute displayed. I've never had this problem before,
it just worked fine after configuring the right locales. The only
difference is that I don't have a German keyboard now and that I'm
using amd64 instead of i386.

Web browsers display Umlaute just fine.


-- 
"Don't let them, daddy. Don't let the stars run down."
http://adin.dyndns.org/adin/TheLastQ.htm


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



Re: lost my desktop[SOLVED]

2008-12-07 Thread Frank McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Neidorff wrote:
> On Sunday 07 December 2008 08:35 am, Frank McCormick wrote:
>> Raj Kiran Grandhi wrote:
>>> Frank McCormick wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Kelly Clowers wrote:
> On Sat, Dec 6, 2008 at 17:22, Frank McCormick <[EMAIL PROTECTED]>
>
> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Frank McCormick wrote:
>>> Well not all of it -- my regular icons have been replaced by generic
>>> looking white onesand when I click on 'em (I WAS configured to
>>> single-click) the desktop files open in a text editor.
>>>
>>> Does it happen to all users on your system? If not, move .gnome, .gconf
>>> etc, out of the way and see if it helps
>>Yes all users are affectedI've already tried moving several
>> directories and seemingly-related files out of the way but no luck. This
>> is really annoying.
> 
> OK.  How about restarting X?  (Ctrl-Alt-Backspace)  I don't use Gnome, but I 
> have had a similar problem with KDE once (and that is once in a long, long 
> time), and restarting X fixed it.  Also, check swap space.
> 
> 

  Nope...X has been restarted dozens of times. Fixed it this morning
after I realized that Nautilus obviously didn't know what to do with
desktop files...that's why it was opening them in a text editor.
Reinstalling mime-support and shared-mime-info brought the desktop back.
Best I can figure is that removing an icon theme and a gtk2 engine
somehow screwed mime support on this machine.
Thanks for everyones suggestions though.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk8IH8ACgkQnQV1aTcQlJuATQCfT7AFxy12rqiRXt59SX1LIU/p
vX0AoIUXYtLYin1Wn6VtpxIFFN7aXRi0
=6e5z
-END PGP SIGNATURE-


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



Re: ALSA sound recording frustration SOLVED (to a point)

2008-12-07 Thread Nigel Henry
On Sunday 07 December 2008 17:28, Mark Neidorff wrote:
> On Monday 01 December 2008 12:39 pm, Andrei Popescu wrote:
> > On Mon,01.Dec.08, 05:19:05, Mark Neidorff wrote:
> > > Now I need to compile some kernel modules for VirtualBox so I need the
> > > kernel source.  Of course, it is not listed in synaptic, so now I'm in
> > > the position of rebooting between configurations that use sound and one
> > > where I can use VirtualBox.
> >
> > Huh? What have you been looking for? The source packages are named like
> > linux-source-2.6.18
> >
> > Regards,
> > Andrei
>
> (quick review...no sound with linux 2.6.18 kernel...downloaded musix kernel
> which has ALSA 1.0.16 and sound works...but I use VirtualBox and it needs
> to compile kernel modules to work...but there is no source for the musix
> kernel.
>
> I see that there is an upgrade to the debian kernel 2.6.24.  How do I find
> out what version of ALSA that kernel has?
>
> Assuming that it is the wrong version of ALSA, where can I find detailed
> instructions for downloading and compiling the newer ALSA
> kernel(?)/modules(?) so that I can use sound and VirtualBox at the same
> time?
>
> Thanks,
>
> Mark (the OP)

Hi Mark.

I thought I'd already replied to your ? Anyway, I've now managed to update the 
alsa driver on the 2.6.18 kernel, and have gotten sounds with that.

 Caveat. I know absolutely nothing about Virtualbox.

The linux-headers are available for the Musix 2.6.26 kernel. And if you still 
have the Musix repo uncommented in /etc/apt/sources.list, you should see them 
there.

Back to the Etch 2.6.18-6-686 kernel. You do need a few packages installed to 
upgrade the alsa driver, and perhaps all the ones listed below are not 
needed, but most are small.

binutils
build-essential
dpkg-dev
g++-4.0 (version may be different on Etch)
gcc-4.0  (same as above)
kernel-package
libc6-dev
libstdc++6-4.0-dev(version may differ on Etch)
linux-kernel-headers
make

You also need the linux-headers for your running kernel. In my case (with 
Etch), synaptic shows the following as below.
linux-headers-2.6.18-6
linux-headers-2.6.18-6-686

I also see that linux-kbuild-2.6.18 is installed, but that may have been 
automatically installed as a dep to other packages mentioned above.

Just to take a break. The alsa driver that comes with the 2.6.24 etchnhalf 
kernel is 1.0.15. I get no sounds with that, when using the etchnhalf kernel, 
but on another install on the same machine, specifically Kubuntu Dapper, I 
upgraded the alsa driver from 1.0.10 to 1.0.15, and the sounds work. I am 
still having problems updating the alsa driver with the etchnhalf kernel 
(2.6.24), with continual complaints from make. Incidentally, I also get the 
same "make" complaints, when trying to upgrade the alsa driver on a Kubuntu 
Hardy (8.04) install against a 2.6.24 kernel. 

Puzzling. I'm not saying you will have problems with sounds using the 
etchnhalf 2.6.24 kernel. It could be hardware specific in my case.

Having now finished our break, and installed all the packages above, let's 
resume the upgrade of the alsa driver.

First create a new folder in your /home/user directory. I name mine 
Alsa-drivers, as I have a bunch of different versions in it. Now download the 
latest version of the alsa driver (1.0.18a) using the link below.

http://alsa-project.org/main/index.php/Main_Page

Save the tarball to your newly created Alsa-drivers directory. Next, open a 
terminal, or Konsole, if using KDE. Now type the commands below as user.

cd Alsa-drivers
tar xjvf alsa-driver-1.0.18a.tar.bz2
cd alsa-driver-1.0.18a
./configure (which if you have installed the necessary packages, will run 
to completion)

make(having typed make, this also (hopefully) will run to completion, with 
no errors).

If make runs to completion with no errors, su to root, and type as below.

make install

Reboot, and run cat /proc/asound/version , which should now show the alsa 
driver version as 1.0.18a. More importantly, you may have had some login 
sounds, and if not, open alsamixer on the CLI (terminal/Konsole), and check 
for muted controls (M key to mute/unmute), or sliders like Master, PCM, 
Front, CD, that need pushing up.

To see if your card has been detected on bootup, type:
cat /proc/asound/cards

Sorry if the stuff above is a bit basic, but it may be usefull for newer folks 
visiting the archives.

Best wishes on getting your sound working.

Nigel.


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



Re: ALSA sound recording frustration SOLVED (to a point)

2008-12-07 Thread Florian Kulzer
On Sun, Dec 07, 2008 at 11:28:33 -0500, Mark Neidorff wrote:
> On Monday 01 December 2008 12:39 pm, Andrei Popescu wrote:
> > On Mon,01.Dec.08, 05:19:05, Mark Neidorff wrote:
> > > Now I need to compile some kernel modules for VirtualBox so I need the
> > > kernel source.  Of course, it is not listed in synaptic, so now I'm in
> > > the position of rebooting between configurations that use sound and one
> > > where I can use VirtualBox.
> >
> > Huh? What have you been looking for? The source packages are named like
> > linux-source-2.6.18
> >
> > Regards,
> > Andrei
> 
> (quick review...no sound with linux 2.6.18 kernel...downloaded musix kernel 
> which has ALSA 1.0.16 and sound works...but I use VirtualBox and it needs to 
> compile kernel modules to work...but there is no source for the musix kernel. 
>  

Whoever distributes the musix kernel is required to provide the sources,
otherwise they would be in violation of the GPL. Most probably they will
also provide headers for their compiled kernels, but the Debian user
list is not a good place to find someone who knows where the musix
sources and headers can be found. Also, I would expect that building the
vboxdrv module with module-assistant works better with a Debian kernel.

> I see that there is an upgrade to the debian kernel 2.6.24.  How do I find 
> out 
> what version of ALSA that kernel has?

This information might be given in the release notes of Etch+1/2 or in
the upstream information for kernel 2.6.24. If you cannot find anything
there then you can download the common linux-headers package for 2.6.24
and extract include/sound/version.h:

$ aptitude download '~n^linux-headers-2.6.24.*-common$'
$ ar p linux-headers-2.6.24-*-common* data.tar.gz | tar -zxO --wildcards 
"*include/sound/version.h"
/* include/version.h.  Generated by alsa/ksync script.  */
#define CONFIG_SND_VERSION "1.0.15"
#define CONFIG_SND_DATE " (Tue Nov 20 19:16:42 2007 UTC)"

Unfortunately, Etch+1/2 only has ALSA 1.0.15.

> Assuming that it is the wrong version of ALSA, where can I find detailed 
> instructions for downloading and compiling the newer ALSA 
> kernel(?)/modules(?) so that I can use sound and VirtualBox at the same time?

Linux images for kernel 2.6.26 (which has ALSA 1.0.16) are available in
etch-backports. The virtualbox-ose-* packages are also included in the
backports, so it should be possible to build the vboxdrv module for the
2.6.26-bpo kernel using module-assistant.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: changing execution permissions with thunar?

2008-12-07 Thread Sven Aluoor
On Sun, 7 Dec 2008 15:34:12 +0200
Micha Feigin <[EMAIL PROTECTED]> wrote:

Hi Micha

> Is it possible to change the execution permissions of a file in
> thunar? 

It seems impossible. In Debian Lenny/Thunar 0.9.0 there are no GUI
options for changing execute perms. I didn't found properties for
changing that. IMHO that's a security feature, to prevent
misconfiguration of perms.

> All I could find was read/write permissions and even that I
> can't seem to do in batch mode, only one file at a time.

Why you don't wanna use "chmod" (in terminal)? With "chmod" and other
GNU tools is batch mode available :-)

LinuxQuestion documents[0] usage of "chmod"
 
> Thanks

kind regards
Sven

[0] http://wiki.linuxquestions.org/wiki/Chmod


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



Re: Partition damaged

2008-12-07 Thread Jordi Gutiérrez Hermoso
2008/12/7 Patricio Inzaghi <[EMAIL PROTECTED]>:
>> It looks like your partition table is damaged... have you tried
>>
>> http://os.cqu.edu.au/cgi-bin/info/info2html.cgi?(parted)rescue
>>
>> ?
>
> Thanks for the response.
>
> I installed parted, and i tried "parted /dev/sda3" , and then "rescue
> START END", but nothing happened. No response of the command.

The rescue command needs a bit of a hint as to where the partition
could be. And it needs a pretty good hint. Is the partition at the
beginning of your drive and goes all the way to the end? You said you
resized it, so try providing the resized partition as the hint.

- Jordi G. H.


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



Re: ALSA sound recording frustration SOLVED (to a point)

2008-12-07 Thread Elimar Riesebieter
* Mark Neidorff [081207 17:30 +0100] 
[...]
> Assuming that it is the wrong version of ALSA, where can I find
> detailed instructions for downloading and compiling the newer ALSA
> kernel(?)/modules(?) so that I can use sound and VirtualBox at the
> same time?

apt-get install alsa-source
read /usr/share/doc/alsa-source/README.Debian

Elimar


-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
-unknown-


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



Re: iptables, ftp and dnat?

2008-12-07 Thread Robert L. Harris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Tommy Bongaerts wrote:
> On Fri, Dec 05, 2008 at 03:30:19PM -0700, Robert L. Harris wrote:
>
>> I've read both of those and understand how the ftp works.  I've
>> spent the last 2 days googling. Unfortunately it's all working
>> now except how to get the iptables data connection in passive
>> mode working.  I can log in, etc just fine but when I do a "ls"
>> after issuing the "passive" command it times out.
>>
>> The second example looks good but doesn't handle the DNAT (the
>> ftp server is running on another machine behind my firewall.
>
> It hangs after ls? Sounds like your data traffic gets jammed
> somehow.
>
> Some things to consider: - did you open up the data port (this is
> control port minus 1)? - did you open some ports for the passive
> connection? - did you tell this to your server? - does the NAT
> machine translate the ftp packets properly?
>
> If you're using proftpd you may try set following directives in the
>  config:
>
> PassivePorts MasqueradeAddressNAT/firewall machine>
>
> I had the exact same problem, and this fixed it for me.
>

I'm not doing any outbound blocking and i'm trying to figure out the
syntax for the data port now.
What I have is a real mess and not working.  In Proftpd I have tried
the PassivePorts but it seems to
be ignored but the Masq directive is being picked up.  I have this in
my config:

# These ports should be safe...
PassivePorts 6 65535

when I connect I'm getting this on the server side:

{0}:/home/robert>lsof -i -n | grep -i ftp
proftpd 568   nobody0u  IPv4 447049808   TCP *:ftp (LISTEN)
proftpd 578   robert0u  IPv4 447049865   TCP
10.1.1.32:ftp->98.244.36.35:41893 (ESTABLISHED)
proftpd 578   robert1u  IPv4 447049865   TCP
10.1.1.32:ftp->98.244.36.35:41893 (ESTABLISHED)


Can you paste me your data port lines?   If I can get either dynamic
ports working or limited ports, I'll work with
it.

Robert




- --

:wq!

Robert L. Harris | GPG Key ID: E344DA3B
 @ x-hkp://pgp.mit.edu
DISCLAIMER:
  These are MY OPINIONS With Dreams To Be A King,
   ALONE.  I speak for  First One Should Be A Man
   no-one else.   - Manowar

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iD8DBQFJO/5o8+1vMONE2jsRAsW5AJwNag5H7OOmUy0nKbGLNO61hzSHAQCgkFJ8
BESrRruopzd0cd3Li3+ttUo=
=GTph
-END PGP SIGNATURE-


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



Re: ALSA sound recording frustration SOLVED (to a point)

2008-12-07 Thread Mark Neidorff
On Monday 01 December 2008 12:39 pm, Andrei Popescu wrote:
> On Mon,01.Dec.08, 05:19:05, Mark Neidorff wrote:
> > Now I need to compile some kernel modules for VirtualBox so I need the
> > kernel source.  Of course, it is not listed in synaptic, so now I'm in
> > the position of rebooting between configurations that use sound and one
> > where I can use VirtualBox.
>
> Huh? What have you been looking for? The source packages are named like
> linux-source-2.6.18
>
> Regards,
> Andrei

(quick review...no sound with linux 2.6.18 kernel...downloaded musix kernel 
which has ALSA 1.0.16 and sound works...but I use VirtualBox and it needs to 
compile kernel modules to work...but there is no source for the musix kernel.  

I see that there is an upgrade to the debian kernel 2.6.24.  How do I find out 
what version of ALSA that kernel has?

Assuming that it is the wrong version of ALSA, where can I find detailed 
instructions for downloading and compiling the newer ALSA 
kernel(?)/modules(?) so that I can use sound and VirtualBox at the same time?

Thanks,

Mark (the OP)


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



Re: Partition damaged

2008-12-07 Thread Patricio Inzaghi
> It looks like your partition table is damaged... have you tried
>
> http://os.cqu.edu.au/cgi-bin/info/info2html.cgi?(parted)rescue
>
> ?

Thanks for the response.

I installed parted, and i tried "parted /dev/sda3" , and then "rescue
START END", but nothing happened. No response of the command.


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



Re: unbootable system after fresh 4.0r5 installation

2008-12-07 Thread Jukka Salmi
Hello,

Sven Joachim --> debian-user (2008-12-05 17:54:56 +0100):
> On 2008-12-05 17:27 +0100, Jukka Salmi wrote:
> 
> > I just installed Debian 4.0r5 on a i386 systems (Dell PowerEdge 2950).
> > While the installer seemed to have succeeded without problems, the
> > freshly installed system didn't boot because its root file systems could
> > not be found:
> >
> > Begin: Waiting for root file system... ...
> > [...]
> > sd 3:0:0:0: Attached scsi removable disk sdb
> >
> > At this point the system hanged for some minutes, until
> >
> > ALERT! /dev/sdb3 does not exist. Dropping to a shell!
> >
> > was output and the BusyBox shell was executed.
> >
> > But indeed there is no /dev/sdb; there's only one (logical) disk
> > present, /dev/sda.
> 
> How many physical discs does the system have (removable and
> non-removable)?

The system has three SCSI disks, but since they are connected to a RAID
controller to form a RAID 5 the OS should see just a single disk.

BTW, I see the same problem on another i386 system (also a PowerEdge
2950).  It has six SCSI disks, four of which form a RAID 1+0, and two a
RAID 1.  The installer sees /dev/sd[abc], but after the system is
installed the disk which was sdc became sdb, and the original sdb became
sda.

I should probably find out what sda is...  I can try this tomorrow.


> And do you know the kernel versions in the installer and
> the installed system?

I don't remember which version they were exactly (something like
2.6.18?), but calling uname(1) from an installer shell and from the
installed system's shell both showed the same release version.


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


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



Re: Partition damaged

2008-12-07 Thread Jordi Gutiérrez Hermoso
2008/12/4 Patricio Inzaghi <[EMAIL PROTECTED]>:
> Is there any possibility of restore the partition? or i have to focus
> in data recovering?

It looks like your partition table is damaged... have you tried

 http://os.cqu.edu.au/cgi-bin/info/info2html.cgi?(parted)rescue

?

HTH,
- Jordi G.H.


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



Re: insserv & encrypted /home

2008-12-07 Thread Jochen Schulz
Michael Wagner:
> 
> -snip--
> # Services which need to be interactive
>boot.crypto
> 
> Names starting with a `+' sign are marked as optional.  If the service
> with  the name after the plus sign is available it will be used, if not
> available it is ignored silently.  Words beginning with  <  and ending
> with  > are keywords.  Currently  is the only know keyword
> for marking a service as an  interactive  one,  e.g.  a  service which
> requires a passphrase or password input during boot or runlevel change.
> -snap--

Thanks for the hint, I already found that configuration snippet. But I
am not sure on how to use that information. :)

I added 'cryptdisks' to the  line ('cryptdisks' is not only
the name of the init script, but also the name of the system facility it
provides). Unfortunately, the behaviour doesn't change. The same goes
for cryptdisks-early, which appears to be responsible for mounting my
/home.

J.
-- 
I am worried that my dreams pale in comparison beside TV docu-soaps.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Hosts List (ARP?)

2008-12-07 Thread Phillipus Gunawan
Hi there,

I got a debian box with a shorewall setup
Every client will have gateway pointing to debian and it works ok currently
on /etc/hosts file, i got this line:

192.168.1.1debian
192.168.1.2myxp
.

but then, even from myxp box, when I try to ping with command:

C:\>ping debian
Ping request could not find host debian. Please check the name and try again.

Why is that?
Ive got dnsmasq installed and using shorewall with ppp0 connected to a bridged 
modem
here are some snip of conf files that might worth to mention:

/etc/nsswitch.conf
hosts:  files dns
networks:   files
protocols:  db files
services:   db files
ethers: db files
rpc:db files
netgroup:   nis

/etc/resolv.conf
nameserver 203.12.160.35
nameserver 203.12.160.36

I dont see (cant find) any conf value inside /etc/dnsmasq.conf that being 
enabled
From what my understanding, nsswitch.conf with line nosts: files dns, means 
that it 
will try to read /etc/hosts first before pass it to dns which is resolv.conf

How will I get myxp' box read hosts listed on /etc/hosts?
Apart from installing BIND, is there any package able to auto-add /etc/hosts if
there is a new box being pluged into the network?

Please correct my understanding if I am wrong about any words I mentioned here

Cheers


  Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now 
http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline


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



Re: lost my desktop

2008-12-07 Thread Mark Neidorff
On Sunday 07 December 2008 08:35 am, Frank McCormick wrote:
> Raj Kiran Grandhi wrote:
> > Frank McCormick wrote:
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> Kelly Clowers wrote:
> >>> On Sat, Dec 6, 2008 at 17:22, Frank McCormick <[EMAIL PROTECTED]>
> >>>
> >>> wrote:
>  -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
> 
>  Frank McCormick wrote:
> > Well not all of it -- my regular icons have been replaced by generic
> > looking white onesand when I click on 'em (I WAS configured to
> > single-click) the desktop files open in a text editor.
> >
> > Does it happen to all users on your system? If not, move .gnome, .gconf
> > etc, out of the way and see if it helps
>
>Yes all users are affectedI've already tried moving several
> directories and seemingly-related files out of the way but no luck. This
> is really annoying.

OK.  How about restarting X?  (Ctrl-Alt-Backspace)  I don't use Gnome, but I 
have had a similar problem with KDE once (and that is once in a long, long 
time), and restarting X fixed it.  Also, check swap space.


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



Re: Issues with PCF and BDF Fonts after regular lenny updates

2008-12-07 Thread Florian Kulzer
On Sat, Dec 06, 2008 at 19:24:52 -0800, Amit Uttamchandani wrote:
> On Sat, 6 Dec 2008 16:50:02 +0900 Osamu Aoki wrote:
> 
> > Now default font set are picked via fontconfig thing.
> > 
> > http://people.debian.org/~osamu/pub/getwiki/html/ch08.en.html#fontsinthexwindow
> > 
> 
> Thanks for the reply.
> 
> Your document definitely helped a lot in understanding fonts in debain.
> So now I tried configuring my fonts using fontconfig, which I assume
> means configuration through fonts.conf. So I have the following
> ~/.fonts.conf:
> 
> 
> 
> 
> 
> /home/amitu/.fonts
> 
> 
> But urxvt still can't seem to use the Dina font which is located in
> ~/.fonts.
> 
> Any ideas?

It should not be necessary to refer to ~/.fonts explicitly in
~/.fonts.conf. This directory is included in the font path by default.
(You can check this with "xset q"; /home/$USER/.fonts should be listed
at the end of the font path.)

All that you should have to do is copy the fonts to ~/.fonts and run
"mkfontdir ~/.fonts". I do not know where to find the Dina font, but I
tested this with the snap font that you mentioned in your earlier mail:

$ fc-match snap
snap.pcf.gz: "snap" "Regular"

If this does not work then you have to check if bitmap fonts are enabled
on your system. Run "dpkg-reconfigure fontconfig-config" and make sure
that you answer "Yes" to the third question. You need to restart X to
see the effect of changes in the fontconfig settings.

If you do not want to enable all bitmap fonts then you can selectively
enable certain families in your ~/fonts.conf, for example:




  

  
snap
  

  


The effect of this configuration is instantaneous on my system (no need
to restart X) and the snap fonts is found by fc-match even if bitmap
fonts are disabled globally.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: lost my desktop

2008-12-07 Thread Frank McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Raj Kiran Grandhi wrote:
> Frank McCormick wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Kelly Clowers wrote:
>>> On Sat, Dec 6, 2008 at 17:22, Frank McCormick <[EMAIL PROTECTED]>
>>> wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Frank McCormick wrote:
> Well not all of it -- my regular icons have been replaced by generic
> looking white onesand when I click on 'em (I WAS configured to
> single-click) the desktop files open in a text editor.
>
> I did remove an icon theme ( Nimbus I believe it was called earlier
> today) and installed something called Moonlight (supposed to be a
> Linux/Unix equiv to Silverlight) but as far as I know
> didn't do or change anything else.
>
> Alt-F2 still works, and  the panel looks OK so it seems its just the
> desktop affected.
   It seems I can't create any new icons on the desktop either...
>>> Have you logged out and back in? 
>>
>> Dozens of times now :) Changed themes, customized themes by choosing new
>> icon packages...renamed the .gnome and .gnome2 directories...renamed the
>> .nautilus directory.

>> The strange thing is ALL the icons on the desktop now have .desktop
>> extensions. None had before.
>>
> 
> Does it happen to all users on your system? If not, move .gnome, .gconf
> etc, out of the way and see if it helps
> 
   Yes all users are affectedI've already tried moving several
directories and seemingly-related files out of the way but no luck. This
is really annoying.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk70TAACgkQnQV1aTcQlJvs6ACeNlvPx2Hr3WxM2Rl3wTBZwlZX
o+QAn2w8KKlkGmfFl9vjlZdu9p0GjU/C
=C+Sq
-END PGP SIGNATURE-


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



Re: lost my desktop

2008-12-07 Thread Frank McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kelly Clowers wrote:
> On Sat, Dec 6, 2008 at 19:17, Frank McCormick <[EMAIL PROTECTED]> wrote:
>> Kelly Clowers wrote:
>>> On Sat, Dec 6, 2008 at 17:22, Frank McCormick <[EMAIL PROTECTED]> wrote:

 Frank McCormick wrote:
> Well not all of it -- my regular icons have been replaced by generic
> looking white onesand when I click on 'em (I WAS configured to
> single-click) the desktop files open in a text editor.
>
> I did remove an icon theme ( Nimbus I believe it was called earlier
> today) and installed something called Moonlight (supposed to be a
> Linux/Unix equiv to Silverlight) but as far as I know
> didn't do or change anything else.
>
> Alt-F2 still works, and  the panel looks OK so it seems its just the
> desktop affected.
   It seems I can't create any new icons on the desktop either...
>>> Have you logged out and back in?
>> Dozens of times now :) Changed themes, customized themes by choosing new
>> icon packages...renamed the .gnome and .gnome2 directories...renamed the
>> .nautilus directory.
>>
>>
>> The strange thing is ALL the icons on the desktop now have .desktop
>> extensions. None had before.
> 
> I have no ideas, except reinstall nautilus and maybe some related
> packages. 

   I have reinstalled Nautilus ,and a few related packages...I even
reinstalled the icon theme I had removed

It seems to be a global problemit affects all users.

>maybe someone else will have a better
> idea.
>

  Certainly hope so.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk70MAACgkQnQV1aTcQlJt6aQCdHwJh/psQSavj3JEdq3pzlKSF
HcYAnjuSv9vTTi91MiC210q1hoBIEUFI
=Um7n
-END PGP SIGNATURE-


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



changing execution permissions with thunar?

2008-12-07 Thread Micha Feigin
Is it possible to change the execution permissions of a file in thunar? All I
could find was read/write permissions and even that I can't seem to do in batch
mode, only one file at a time.

Thanks


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



Re: Remote signing of large files

2008-12-07 Thread Magnus Therning
Douglas A. Tutty wrote:
> On Thu, Dec 04, 2008 at 12:26:31PM +, Magnus Therning wrote:
>> At work I want to add signing to our automatic build system.  In
>> theory it's a simple application of `gpg` at the end of building to
>> get a detached signature would do, but I'm weary of sticking the
>> secret key on the build servers.  I'd feel a bit more safe if the
>> signing could be done on a separate server.  However, the built files
>> are large and I don't want to introduce a bottle neck by transfering
>> all files back and forth over the network.
>>
>> So, my idea was to somehow separate the two steps that GnuPG performs
>> under the hood when signing, creating the message digest (hash) and
>> the signing of this message digest.  I've found `--print-md` which
>> looks promising, but there doesn't seem to be any `--sign-md`.
>  
> If mountain won't come to you, go to the mountain.
> 
> If you don't want to store the secret key on the build server and you
> don't want to copy the files over the network to a trusted server, can
> you access the secret key over the network and do the gpg stuff on the
> build server?  I.e. pipe the secret key through ssh?

Ah, yes that's a good idea, I'll have to explore that option.

> I wonder about the latest comment on this thread.  Examine why you don't
> want the secret key on the build server and why you would feel more
> secure with the signing done on a separate server.

Well, the main reason is that there are _a_lot_ of people with direct
access to the build server.  The idea is to find a way to limit people's
_direct_ access to the server with the keys.  I know there are problems,
but hopefully it doesn't require too much work to at least achieve some
traceability in such a setup.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: [OT] bashism (was: Re: Locale testing)

2008-12-07 Thread Tzafrir Cohen
On Sun, Dec 07, 2008 at 10:42:04AM +, Tzafrir Cohen wrote:
> On Sun, Dec 07, 2008 at 01:47:29AM +0200, Dotan Cohen wrote:
> > 2008/12/7 Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>:
> > > For maximum compatibility, that needs to be:
> > > VAR=; export VAR
> > 
> > Compatibility with what?
> 
> With older posix, I believe.
> 
> http://www.opengroup.org/onlinepubs/009695399/utilities/export.html
> 
> posh has no problem with that. checkbashism doesn't complain about it 
> (even with -p). Likewise zsh and busybox ash.

/me reads topic. Oops

Well, I did offer a small bug fix :-)

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


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



Re: [OT] bashism (was: Re: Locale testing)

2008-12-07 Thread Tzafrir Cohen
On Sun, Dec 07, 2008 at 01:47:29AM +0200, Dotan Cohen wrote:
> 2008/12/7 Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>:
> > For maximum compatibility, that needs to be:
> > VAR=; export VAR
> >
> 
> Compatibility with what?

With older posix, I believe.

http://www.opengroup.org/onlinepubs/009695399/utilities/export.html

posh has no problem with that. checkbashism doesn't complain about it 
(even with -p). Likewise zsh and busybox ash.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


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



Re: insserv & encrypted /home

2008-12-07 Thread Michael Wagner
* Jochen Schulz <[EMAIL PROTECTED]> 03.12.2008
> 
> I recently re-installed Debian on my laptop because I wanted to
> repartition my hard drive and use an encrypted filesystem for /home.
> Everything went quite smooth, but after installing and configuring
> insserv, I am sometimes unable to enter the passphrase needed for
> mounting my encrypted /home.
> 
> Insserv parallelizes the boot sequence which results in a nice speed
> gain. However, the input prompt of /etc/init.d/cryptdisks is completely
> broken by that. I usually don't see the prompt at all, I can just see
> that the system sits idle, apparently waiting for me to enter the
> password. What makes this worse is that sometimes I cannot even enter
> the passphrase as the keys I type are echoed on the display and
> apparently do not go anywhere else. 

Hello Jochen,

from "man insserv"

-snip--
# Services which need to be interactive
   boot.crypto

Names starting with a `+' sign are marked as optional.  If the service
with  the name after the plus sign is available it will be used, if not
available it is ignored silently.  Words beginning with  <  and ending
with  > are keywords.  Currently  is the only know keyword
for marking a service as an  interactive  one,  e.g.  a  service which
requires a passphrase or password input during boot or runlevel change.
-snap--

I installed "insserv" for the first time a few days ago and I have no
encrypted filesystems, but I think with the above information it's
possible to find a solution.

Hth Michael

-- 
"There are no shortcuts to any place worth going."


signature.asc
Description: Digital signature


Re: [OT] bashism

2008-12-07 Thread Teemu Likonen
Thilo Six (2008-12-07 01:21 +0100) wrote:

> Dotan Cohen wrote the following on 07.12.2008 00:47
>>> For maximum compatibility, that needs to be:
>>> VAR=; export VAR

>> Compatibility with what?
>
> csh, mksh, busybox, dash, zsh, ash and probably more...

dash supports "export VAR=VALUE" form.


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



Re: [OT] bashism

2008-12-07 Thread Sven Joachim
On 2008-12-07 02:04 +0100, Boyd Stephen Smith Jr. wrote:

> On Saturday 2008 December 06 17:47, Dotan Cohen wrote:
>> 2008/12/7 Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>:
>> > For maximum compatibility, that needs to be:
>> > VAR=; export VAR
>>
>> Compatibility with what?
>
> UNIX.  The Single Unix Specification is maintained by the Open Group who 
> certify UNIX products.

You should upgrade your specification.  Susv3 explicitly mentions the
"export name=word" syntax as supported.

> In particular, Mac OS X is certified UNIX.

And installs bash as /bin/sh.

Sven


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



OT: Label printer

2008-12-07 Thread Thierry Chatelet
Hi,
I have to give advice to a friend to buy a label printer that will work under 
Debian. Any advice from someone that as one working?
Thanks
Thierry


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



Re: lost my desktop

2008-12-07 Thread Raj Kiran Grandhi

Frank McCormick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kelly Clowers wrote:

On Sat, Dec 6, 2008 at 17:22, Frank McCormick <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Frank McCormick wrote:

Well not all of it -- my regular icons have been replaced by generic
looking white onesand when I click on 'em (I WAS configured to
single-click) the desktop files open in a text editor.

I did remove an icon theme ( Nimbus I believe it was called earlier
today) and installed something called Moonlight (supposed to be a
Linux/Unix equiv to Silverlight) but as far as I know
didn't do or change anything else.

Alt-F2 still works, and  the panel looks OK so it seems its just the
desktop affected.

  It seems I can't create any new icons on the desktop either...
Have you logged out and back in? 


Dozens of times now :) Changed themes, customized themes by choosing new
icon packages...renamed the .gnome and .gnome2 directories...renamed the
.nautilus directory.


The strange thing is ALL the icons on the desktop now have .desktop
extensions. None had before.



Does it happen to all users on your system? If not, move .gnome, .gconf 
etc, out of the way and see if it helps


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


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