Re: Bash question: get output as a variable?

2010-02-04 Thread Javier Barroso
On Fri, Feb 5, 2010 at 1:06 AM, Stephen Powell  wrote:
> On Thu, 4 Feb 2010 17:42:45 -0500 (EST), Javier Barroso wrote:
>> In this case output goes to stderr, so:
>>
>> tar -zcvf - * --exclude-from $EXCLUDES 2> /tmp/data$$ | openssl ...
>
> Is that something you just have to find out by trial and error?
> I checked the man page for tar, and there's nothing in there about
> the -v output being written to stderr.  I'll take your word for it,
> but in the general case, it's hard to tell.  Since stdout and
> stderr both default to the terminal, and since the doc doesn't
> say, how else would you know other than by trial and error?
If you are using stdout as tar output, including filenames there will
corrupt that output, so it is logical that in this case filenames goes
to stderr.

Sorry my bad english, I hope you understand my opinion


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Google Earth kills system

2010-02-04 Thread Cybe R. Wizard
On Thu, 04 Feb 2010 18:28:10 -0600
JW Foster  wrote:

> I built Google Earth as instructed in the installer. It starts OK then
> as soon as the browser pops open both the mouse & my keyboard freeze
> up & I have to reboot. It seems to open the browser & a popup with
> tips. I,m able to kill the tips,if I leave the curser in the browser
> screen, but in seconds the mouse dies & keyboard freezes up. Both are
> completely unresponsive. Any tips?
> Thanks 
> John
> 
Do you have a 3d accelerated graphics card and, if so, is it enabled?
Googleearth needs the heavy-duty graphics capabilities.

Cybe R. Wizard
-- 
Registered GNU/Linux user # 126326
Registered Ubuntu User # 2136


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Dave Thayer
On Wed, Feb 03, 2010 at 11:01:00PM +1030, Arthur Marsh wrote:
> 
> In my case I have:
> 
> UUID=4823-93A9  /mnt/usb8gigvfat
> defaults,users,uid=65534,gid=65534,umask=000,shortname=win95
> 0 2
> 
> (all on one line)
> 
> If I change that trailing "2" to a zero, no fsck should be performed.
> 
> I would like to have automatic mounting with fsck if the drive is
> present when the machine is booted, and automatic mounting without
> fsck if the drive is plugged in after the machine is booted.
> 
> Is this possible with any of the standard Debian tools and config
> files, or will it require yet-another-script?
> 

How about if you leave your fstab set up for no automount and no fsck,
and then use a @reboot cronjob to fsck and mount the device if the
device node is present. For instance, in /etc/crontab you could try:

@reboot root test -L /dev/disk/by-uuid/4823-93A9 && fsck.vfat -a
/dev/disk/by-uuid/4823-93A9 && mount /mnt/usb8gig

(all on one line, with terminating newline)

HTH

dt

-- 
Dave Thayer   | Whenever you read a good book, it's like the 
Denver, Colorado USA  | author is right there, in the room talking to 
d...@thayer-boyle.com | you, which is why I don't like to read 
  | good books. - Jack Handey "Deep Thoughts"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: grub2 + serial redirect

2010-02-04 Thread Tom H
>>> I'm not at the machine right now (don't have access to see how the video 
>>> looks), but this should only change the operation of the booting of the 
>>> kernel, rather than the availability of the Grub menu.  On machines which 
>>> use grub1, I have the following:

>> It was just a WAG...

> and much appreciated - usually if I write something out like that, it might 
> help me sort out where else to look (http://c2.com/cgi/wiki?RubberDucking)

You're welcome. Sorry it was useless...


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Cron does not run.

2010-02-04 Thread Sthu Deus
Thank You for Your time and answer, Boyd:

>On many Debian systems cron jobs are run at GMT time.

What is Your local time?

How do You get reports of works run?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: losing xmodmap settings during X startup

2010-02-04 Thread Joey Morris
Anthony Campbell  wrote on Tue, Feb 02, 2010 at 
06:42:32PM +:
> On 02 Feb 2010, Joey Morris wrote:
> > > 
> > > Did you try running the xmodmap -e e stuff at the command line in an
> > > xterm? That might give you a clearer idea of what is wrong.
> > 
> > Yes, I've done that. In fact, since this problem started, the first
> > thing I do after restarting X is to run the following in an xterm to
> > get the modifiers set up the way I want them:
> > 
> > $ xmodmap -e "clear Lock"
> > $ xmodmap -e "add Control = Control_L"
> > 
> > I get no errors or warnings, and everything works fine afterwards. I
> > skip the "keysym Caps_Lock = Control_L" step because it isn't
> > necessary (it's the one part of my .Xmodmap that sticks around), but I
> > did verify that it worked during my original troubleshooting.
> > 
> > 
> I'm pretty much out of ideas, I'm afraid. I have found that the order in
> which things are placed in .xinitrc can make a difference, you might try
> variations there. Other than that, the only thing I can think of is to
> put the above commands in a script (and perhaps call it from .xinitrc).

I've done some more research and troubleshooting, and now I'm even
more confused.

First, I tried using IceWM instead of blackbox since IceWM is working
for you, but that didn't help.

Next, I found a few threads reporting similar problems and possible
workarounds. One suggested that numlockx was the culprit, which
sounded promising because I had recently installed numlockx.
Unfortunately, though, uninstalling it didn't help.

Other posts pointed to xkbcomp. See this thread for example:
https://bugs.launchpad.net/ubuntu/+source/xfce-mcs-plugins/+bug/97175
I verified that xkbcomp was being executed during my X startup, but it
was running before xmodmap. So while it may be related to the problem,
I don't think it's the direct cause. I also verified that setxkbmap
overrides my xmodmap settings, as described in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508767, but it
appears that setxkbmap isn't being executed during my X startup.

Now here is where it gets strange. Testing a workaround, I changed the
xmodmap line in my .xinitrc from:

  /usr/bin/xmodmap $USRMODMAP

to

  (sleep 10 && /usr/bin/xmodmap $USRMODMAP) &

with the goal of delaying its execution until after the window manager
had started. This way it would run after whatever had been overriding
it ran. This workaround worked, but *only if* I pressed a key (any
key) during that period between the window manager coming up and when
xmodmap ran after the 10 second delay. If I started X and simply
waited 10 seconds, the xmodmap settings did not take effect. Baffling.
Does anyone have any insights about what's going on here?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re (2): Installing lilo in Squeeze after booting from the Lenny installer CD.

2010-02-04 Thread Stephen Powell
On Thu, 4 Feb 2010 14:19:06 -0500 (EST), Stephen Powell wrote:
> I can send you my lilo.conf file for comparison purposes, but
> I don't have access to it right now.

OK, I now have access to my lilo.conf file, and I will include it
inline in this e-mail for comparison purposes.  Be careful not
to copy it verbatim, because it doesn't match your configuration.
But it should serve as an illustration.  I have removed a lot of
comments to save space.

--

# Allows the initial RAM file system to be loaded above the
# 16M line.  Warning!  The BIOS must have support for this
# for it to work!  Not all BIOSes do!

large-memory

# Allows 32-bit logical block addressing to be used, which means
# that the kernel and the initial RAM file system can be read from
# locations beyond cylinder 1023.  Warning!  The BIOS must
# have support for this for it to work!  Not all BIOSes do!

lba32

# Specifies where the boot-strap code will be written.
# /dev/hda means the master boot record of the first IDE disk .

boot=/dev/hda

# Specifies the device that should be mounted as root. (`/')
#  /dev/hda2 means the second partition on the first IDE disk.

root=/dev/hda2

# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller.  Using `compact' is especially recommended when
# booting from a floppy disk.  It is disabled by default
# because it doesn't always work.

compact

# Installs the specified file as the new boot sector
# You have the choice between: text, bmp, and menu
# Look in lilo.conf(5) manpage for details

install=text

# Specifies the location of the map file

map=/boot/map

# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.

delay=20

# Specifies the VGA text mode at boot time. (normal, extended, ask, )

vga=779

# Boot up Linux by default.

default=Linux

# Here's the current Linux image.

image=/boot/vmlinuz
label=Linux
read-only
#   restricted
#   alias=1
initrd=/boot/initrd.img

# Here's the previous Linux image.

image=/boot/vmlinuz.old
label=LinuxOLD
read-only
optional
#   restricted
#   alias=2
initrd=/boot/initrd.img.old

--

Notes:

(1) "boot=/dev/hda" specifies to install lilo in the Master Boot Record (MBR)

(2) "root=/dev/hda2" specifies that the root partition is the second partition
on your system, from what you've told me, it sounds like this should be 
/dev/hda1.

(3) "install=text" requests a pure text-mode interface, which is its original 
historical
behavior

(4) "vga=779" specifies the start-up video mode.  This is a 132-column by 
50-row text video
mode that I like to use for virtual consoles 1-6.  This mode is not 
supported by all
video BIOS / video chipset / monitor combinations and may not work for you. 
 You
may prefer the traditional 80x25 default VGA boot-up mode, in which case 
specify
vga=normal.  Lack of support for this option is what originally made me 
switch
from grub-pc back to lilo because I like it so much.  If you do use it, you 
will also
have to make changes to /etc/default/console-setup.  Set FONTFACE="", 
FONTSIZE="",
and FONT="lat1u-08.psf.gz".  And make sure that the console-data package is 
installed.
If you try it and don't like it, make sure you backout the changes to 
/etc/lilo.conf
*and* /etc/default/console-setup *and* re-run lilo.

(5) Note that the symbolic links in my configuration have been changed from 
their default
values.  I like to see the symbolic links in the /boot directory, not in 
the / directory.
I think that's where they belong.  My symbolic links are

   image=/boot/vmlinuz
   initrd=/boot/initrd.img

for the current (Linux) image and

   image=/boot/vmlinuz.old
   initrd=/boot/initrd.img.old

for the previous (LinuxOLD) image.

If you want to do the same, then here's what you do.  (1) Make the four 
changes indicated
above (i.e. add /boot to the front of each of these "assignment statements" 
in
/etc/lilo.conf.  (2) From a shell prompt as root, issue commands similar to 
the
following:

   cd /
   rm vmlinuz
   rm initrd.img
   rm vmlinuz.old
   rm initrd.img.old
   cd boot
   ln -s vmlinuz-2.6.32-trunk-686 vmlinuz
   ln -s initrd.img-2.6.32-trunc-686 inird.img
   ln -s vmlinuz-2.6.30-2-686 vmlinuz.old
   ln -s initrd.img-2.6.30 initrd.img.old

Adjust these commands as necessary to match your current and previous 
kernel and
initial RAM filesystem image names.  Note also the "optional" flag in the 
LinuxOLD
section, so that if these symbolic links do not exist lilo will issue a 
warning rather
than an error.

For successful installation of future kernels, you should also check your
/etc/kernel-img.conf file.  Here's what mine looks like

--

do_syml

Re: Network Manager

2010-02-04 Thread Jasper

> Is there a CLI way to configure/reconfigure this system ... which may
> be more reliable than network manager??

"wvdial" is capable to do that.

--Jasper.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Unknown media type error message????

2010-02-04 Thread JW Foster
I get these with most every installation using any installer. Running
testing latest update & this has been going on for some time. Anyone
know how to get rid of the errors?

Unknown media type in type 'chemical/x-msi-hessian'

Unknown media type in type 'chemical/x-msi-mdf'

Unknown media type in type 'chemical/x-msi-msi'

Unknown media type in type 'chemical/x-ncbi-asn1'

Unknown media type in type 'chemical/x-ncbi-asn1-binary'

Unknown media type in type 'chemical/x-ncbi-asn1-xml'

Unknown media type in type 'chemical/x-pdb'

Unknown media type in type 'chemical/x-shelx'

Unknown media type in type 'chemical/x-vmd'

Unknown media type in type 'chemical/x-xyz'

Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...

Installation  is successful just dont like the errors.
Thanks
John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Kernel opps'es and lock-up under heavy TCP/IP traffic - Squeeze AMD64

2010-02-04 Thread Angus Hedger
Hey there.

I have been finding when I am doing anything network intensive (for
example bit-torrent) I have been getting alarmingly regular kernel oops's,
also on one occasion the system has locked up around the time one of these
oops's occurred.

One of the submitted kernel oopses:
http://www.kerneloops.org/submitresult.php?number=1763715

I also have the following in my syslog on each start-up, and I feel it might
be related.

Feb  2 22:48:33 veyka kernel: [   12.229668] shpchp: Standard Hot Plug PCI
Controller Driver version: 0.4
Feb  2 22:48:33 veyka kernel: [   12.257320] ACPI: I/O resource
nForce2_smbus [0x1c00-0x1c3f] conflicts with ACPI region SM00
[0x1c00-0x1c05]
Feb  2 22:48:33 veyka kernel: [   12.257428] ACPI: If an ACPI driver is
available for this device, you should use it instead of the native driver
Feb  2 22:48:33 veyka kernel: [   12.257431] nForce2_smbus :00:0a.1:
Error probing SMB1.
Feb  2 22:48:33 veyka kernel: [   12.257539] i2c i2c-0: nForce2 SMBus
adapter at 0x1c80
Feb  2 22:48:33 veyka kernel: [   12.662694] ACPI: PCI Interrupt Link [AAZA]
enabled at IRQ 22
Feb  2 22:48:33 veyka kernel: [   12.662699] HDA Intel :00:10.1: PCI INT
B -> Link[AAZA] -> GSI 22 (level, low) -> IRQ 22
Feb  2 22:48:33 veyka kernel: [   12.662761] HDA Intel :00:10.1: setting
latency timer to 64

Some more info about my system:

an...@veyka:~$ uname -r
2.6.32-trunk-amd64

It is a fully updated Squeeze install.

I did not have this problem under the older 2.6.30-2-amd64 kernel.

I would be very great-full if anyone could shed some light on my problem, I
can provide more logs and information if needed.

Regards,

Angus


Google Earth kills system

2010-02-04 Thread JW Foster
I built Google Earth as instructed in the installer. It starts OK then
as soon as the browser pops open both the mouse & my keyboard freeze up
& I have to reboot. It seems to open the browser & a popup with tips.
I,m able to kill the tips,if I leave the curser in the browser screen,
but in seconds the mouse dies & keyboard freezes up. Both are completely
unresponsive. Any tips?
Thanks 
John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Bash question: get output as a variable?

2010-02-04 Thread Stephen Powell
On Thu, 4 Feb 2010 17:42:45 -0500 (EST), Javier Barroso wrote:
> In this case output goes to stderr, so:
> 
> tar -zcvf - * --exclude-from $EXCLUDES 2> /tmp/data$$ | openssl ...

Is that something you just have to find out by trial and error?
I checked the man page for tar, and there's nothing in there about
the -v output being written to stderr.  I'll take your word for it,
but in the general case, it's hard to tell.  Since stdout and
stderr both default to the terminal, and since the doc doesn't
say, how else would you know other than by trial and error?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Celejar
On Thu, 4 Feb 2010 17:42:45 -0600
"Boyd Stephen Smith Jr."  wrote:

...

> If the file system may or may not be there, the information about the file 
> system is not *static* (unchanging).  Because the answer is sometimes 
> "/dev/some/thing/or/other" and sometimes the answer is NULL and errno is set 
> to ENOENT (No such file or directory).

I see your point, but I disagree.  I think that the fact that the fs is
always in the same place when it's there is sufficient to consider its
information static, the fact that it sometimes isn't there at all
notwithstanding.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Boyd Stephen Smith Jr.
On Thursday 04 February 2010 17:00:49 Celejar wrote:
> On Thu, 4 Feb 2010 10:31:10 -0600
> "Boyd Stephen Smith Jr."  wrote:
> > In any case, /etc/fstab is for *static* file systems.  It is *not* for
> > file systems that may or may not be there when the system is booting (or
> > otherwise in operation).
> 
> Please substantiate this assertion with some documentation.  The
> manpage just mentions "static information about the filesystems" - I see
> nothing that implies that it "is *not* for file systems that may or may
> not be there when the system is booting".

If the file system may or may not be there, the information about the file 
system is not *static* (unchanging).  Because the answer is sometimes 
"/dev/some/thing/or/other" and sometimes the answer is NULL and errno is set 
to ENOENT (No such file or directory).
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: grub2 + serial redirect

2010-02-04 Thread Lev Lvovsky
Matt,

On Feb 4, 2010, at 1:28 PM, Matt Zagrabelny wrote:
> 
> Note the GRUB_CMDLINE_LINUX line, it includes console=ttyS0,9600.
> 
> Perhaps it is time to file a bug report against grub-pc?

After your explaining how to do this privately, I dug through the existing bug 
reports, and found this:

http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg685989.html

This looks sort of similar to the related problem, although oddly enough even 
specifying serial doesn't get the menu on the serial console.  I have to see 
what the video output looks like once booting...

thanks,
-lev

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: grub2 + serial redirect

2010-02-04 Thread Lev Lvovsky
Hey Tom,

On Feb 4, 2010, at 3:18 PM, Tom H wrote:
>> I'm not at the machine right now (don't have access to see how the video 
>> looks), but this should only change the operation of the booting of the 
>> kernel, rather than the availability of the Grub menu.  On machines which 
>> use grub1, I have the following:
> 
> It was just a WAG...

and much appreciated - usually if I write something out like that, it might 
help me sort out where else to look (http://c2.com/cgi/wiki?RubberDucking)

thanks,
-lev

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: grub2 + serial redirect

2010-02-04 Thread Tom H
>> Here's a WAG:

>> Change
>> GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
>> to
>> GRUB_CMDLINE_LINUX="console=ttyS0,9600"
>> and run
>> update-grub
>> and reboot to see if you have the serial output (and still have the
>> console output).

> Here is mine and I have the same problem as the OP.

> % cat /etc/default/grub
> # This file is sourced by update-grub, and its variables are propagated
> # to its children in /etc/grub.d/
> GRUB_DEFAULT=0
> GRUB_TIMEOUT=5
> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
> GRUB_CMDLINE_LINUX="rootdelay=15 console=ttyS0,9600"
> GRUB_TERMINAL=serial

That answers my WAG, in the negative...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: grub2 + serial redirect

2010-02-04 Thread Tom H
>> Here's a WAG:
>>
>> Change
>> GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
>> to
>> GRUB_CMDLINE_LINUX="console=ttyS0,9600"
>> and run
>> update-grub
>> and reboot to see if you have the serial output (and still have the
>> console output).

> I'm not at the machine right now (don't have access to see how the video 
> looks), but this should only change the operation of the booting of the 
> kernel, rather than the availability of the Grub menu.  On machines which use 
> grub1, I have the following:

It was just a WAG...


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Celejar
On Thu, 4 Feb 2010 10:31:10 -0600
"Boyd Stephen Smith Jr."  wrote:

...

> In any case, /etc/fstab is for *static* file systems.  It is *not* for file 
> systems that may or may not be there when the system is booting (or otherwise 
> in operation).

Please substantiate this assertion with some documentation.  The
manpage just mentions "static information about the filesystems" - I see
nothing that implies that it "is *not* for file systems that may or may
not be there when the system is booting".

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Bash question: get output as a variable?

2010-02-04 Thread Javier Barroso
On Thu, Feb 4, 2010 at 11:32 PM, Stephen Powell  wrote:
> On Thu, 4 Feb 2010 17:09:28 -0500 (EST), Dotan Cohen wrote:
>> I'm scripting a backup solution, the line that does the business looks
>> like this:
>>
>> tar -zcvf - *  --exclude-from $EXCLUDES  | openssl des3 -salt -k $1 |
>> dd of=$(hostname)-$(date +%Y%m%d).tbz
>>
>> Because of the "v" flag tar writes to stdout the name of each file
>> copied. How can I get that output redirected to a variable, to use
>> later in the script?
>
> First of all, let me preface my remarks by saying that I am just
> learning shell scripting myself and definitely consider myself a
> novice.  Some guru out there may (and probably does) know a better
> way.
>
> Using a variable is problematic, since a pipeline runs in a subshell
> environment.  In fact, each stage of the pipeline is a separate
> process.  Thus, any variables set in a pipeline stage do not
> affect the values of the corresponding variable names in the shell
> environment that invoked the pipeline.
>
> How about something like this?
>
>   tar -zcvf - * --exclude-from $EXCLUDES | tee /tmp/data$$ | \
>   openssl ...
In this case output goes to stderr, so:

tar -zcvf - * --exclude-from $EXCLUDES 2> /tmp/data$$ | openssl ...


>   .
>   . logic to process the /tmp/data$$ data file
>   .
>   rm /tmp/data$$
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Bash question: get output as a variable?

2010-02-04 Thread Stephen Powell
On Thu, 4 Feb 2010 17:09:28 -0500 (EST), Dotan Cohen wrote:
> I'm scripting a backup solution, the line that does the business looks
> like this:
> 
> tar -zcvf - *  --exclude-from $EXCLUDES  | openssl des3 -salt -k $1 |
> dd of=$(hostname)-$(date +%Y%m%d).tbz
> 
> Because of the "v" flag tar writes to stdout the name of each file
> copied. How can I get that output redirected to a variable, to use
> later in the script?

First of all, let me preface my remarks by saying that I am just
learning shell scripting myself and definitely consider myself a
novice.  Some guru out there may (and probably does) know a better
way.

Using a variable is problematic, since a pipeline runs in a subshell
environment.  In fact, each stage of the pipeline is a separate
process.  Thus, any variables set in a pipeline stage do not
affect the values of the corresponding variable names in the shell
environment that invoked the pipeline.

How about something like this?

   tar -zcvf - * --exclude-from $EXCLUDES | tee /tmp/data$$ | \
   openssl ...
   .
   . logic to process the /tmp/data$$ data file
   .
   rm /tmp/data$$
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Bash question: get output as a variable?

2010-02-04 Thread Alex Samad
On Fri, Feb 05, 2010 at 12:09:28AM +0200, Dotan Cohen wrote:
> I'm scripting a backup solution, the line that does the business looks
> like this:
> 
> tar -zcvf - *  --exclude-from $EXCLUDES  | openssl des3 -salt -k $1 |
> dd of=$(hostname)-$(date +%Y%m%d).tbz
> 
> Because of the "v" flag tar writes to stdout the name of each file
> copied. How can I get that output redirected to a variable, to use
> later in the script?

not sure you can, as you are pushing the tar output via stdout as well.
maybe use a fifo to communicate between tar and openssl

Alex

> 
> Thanks!
> 

-- 
Winter is the season in which people try to keep the house as warm as
it was in the summer, when they complained about the heat.


signature.asc
Description: Digital signature


Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread Miles Fidelman

various folks write:

Might be interesting for some people on this list.

http://ftacademy.org/materials/fsm/2


Yer right.  'Twas very interesting.  Thanks for the link.  It looks
like a pretty decent reference to the subject, and I appreciate that
they have used a Debian (as well as a Fedora Core) focus for examples
of implementation.


Why, oh why, don't "professionals" proof-read their material?

  i'll be checking that out shortly as well, but i'm more put off by
the thought that an advanced admin book first feels the need to
evangelize the operating system.

  people who are drawn to an *advanced* administration book are
typically past the point where they need to be sold on the OS.


Yeah. I don't know how many books I've seen that dedicate an
entire chapter to the history of Linux, distros and whatnot. It gets
very, very annoying after a while.

Doesn't lool like and "advanced" book to me - more like a survey of 
advanced topics, with little depth behind any of them (though with some 
references).


Typos don't bother me as much - seems to be a translation.

--
In theory, there is no difference between theory and practice.
In practice, there is.    Yogi Berra



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Jochen Schulz
Boyd Stephen Smith Jr.:
> On Thursday 04 February 2010 10:53:06 Jochen Schulz wrote:
>> Boyd Stephen Smith Jr.:
>>> In any case, /etc/fstab is for *static* file systems.  It is *not* for
>>> file systems that may or may not be there when the system is booting (or
>>> otherwise in operation).
>> 
>> NACK. Or don't you have an entry for your CD/DVD drive?
> 
> That's what "noauto" is for.

Sure. But the existence of that option refutes your statement above. :)

J.
-- 
If you do not move for long enough, you might see a rat.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Bash question: get output as a variable?

2010-02-04 Thread Dotan Cohen
I'm scripting a backup solution, the line that does the business looks
like this:

tar -zcvf - *  --exclude-from $EXCLUDES  | openssl des3 -salt -k $1 |
dd of=$(hostname)-$(date +%Y%m%d).tbz

Because of the "v" flag tar writes to stdout the name of each file
copied. How can I get that output redirected to a variable, to use
later in the script?

Thanks!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: grub2 + serial redirect

2010-02-04 Thread Lev Lvovsky
Hi Tom,

On Feb 4, 2010, at 12:14 PM, Tom H wrote:
> Here's a WAG:
> 
> Change
> GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
> to
> GRUB_CMDLINE_LINUX="console=ttyS0,9600"
> and run
> update-grub
> and reboot to see if you have the serial output (and still have the
> console output).

I'm not at the machine right now (don't have access to see how the video 
looks), but this should only change the operation of the booting of the kernel, 
rather than the availability of the Grub menu.  On machines which use grub1, I 
have the following:

"terminal --timeout=1 serial console"

currently, for grub2, I have:

"terminal serial"

no timeout value, and no option to pass both serial and console in - apparently 
grub2 does not support the timeout option for that line.

thanks,
-lev

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread John Jason Jordan
On Thu, 4 Feb 2010 15:58:12 -0500 (EST)
Stephen Powell  dijo:

>The first sentence of his article was supposed to be
>
>   This is an exciting time for all of us!
>
>But he misspelled exciting.  He left out the "c".  So the first
>sentence of his article was
>
>   This is an exiting time for all of us!

Freud would had something to say about that slip of the pen.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: grub2 + serial redirect

2010-02-04 Thread Matt Zagrabelny
On Thu, 2010-02-04 at 15:14 -0500, Tom H wrote:
> > So after 12+ years of using lilo on my server, I've decided that it might 
> > be time to upgrade my boot loader.  With lilo I'm using the standard serial 
> > redirect since I'm running a headless box (more specifically it's a guest 
> > of a VirtualBox host).
> 
> > With Grub2, I've been able to get the standard serial redirect working with 
> > the following in my /etc/default/grub:
> 
> > GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
> > GRUB_TERMINAL=serial
> > GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600 --word=8 --parity=no 
> > --stop=1"
> 
> > This works fine once the kernel is booted (it redirects output to my serial 
> > port).  I am not able to see the boot menu with this new configuration 
> > however - it appears on the "video" portion of the screen, and I'm able to 
> > select a kernel that way, but the serial ouput gets nothing.  With Grub v.1 
> > on other machines with serial redirect, I've been able to get the menu.  Is 
> > there some option that I'm missing?
> 
> > Additionally, IIRC, the GRUB_CMDLINE_LINUX option above is conditional, 
> > meaning that if I want video vs. serial redirection while booting, I need 
> > to swap the two 'console' directives.  Given that there's only one way I 
> > can specify the linux command line option, how would I go about doing this?
> 
> Here's a WAG:
> 
> Change
> GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
> to
> GRUB_CMDLINE_LINUX="console=ttyS0,9600"
> and run
> update-grub
> and reboot to see if you have the serial output (and still have the
> console output).

Here is mine and I have the same problem as the OP.

% cat /etc/default/grub
# This file is sourced by update-grub, and its variables are propagated
# to its children in /etc/grub.d/
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX="rootdelay=15 console=ttyS0,9600"
GRUB_TERMINAL=serial


Note the GRUB_CMDLINE_LINUX line, it includes console=ttyS0,9600.

Perhaps it is time to file a bug report against grub-pc?

-- 
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 4096R/42A00942 2009-12-16
Fingerprint: 5814 2CCE 2383 2991 83FF  C899 07E2 BFA8 42A0 0942

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot


signature.asc
Description: This is a digitally signed message part


Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread Odd

Robert P. J. Day wrote:

On Thu, 4 Feb 2010, Kent West wrote:


AG wrote:

Odd wrote:

Might be interesting for some people on this list.

http://ftacademy.org/materials/fsm/2


Yer right.  'Twas very interesting.  Thanks for the link.  It looks
like a pretty decent reference to the subject, and I appreciate that
they have used a Debian (as well as a Fedora Core) focus for examples
of implementation.

Okay, you persuaded me to go take a look.

Why, oh why, don't "professionals" proof-read their material?

On the first page, in the first paragraph:

The GNU/Linux systems have reached an important level of maturity,
allowing to integrate them in almost any kind of work environment,
from a desktop PC to the *sever* facilities of a big company.


  i'll be checking that out shortly as well, but i'm more put off by
the thought that an advanced admin book first feels the need to
evangelize the operating system.

  people who are drawn to an *advanced* administration book are
typically past the point where they need to be sold on the OS.


Yeah. I don't know how many books I've seen that dedicate an
entire chapter to the history of Linux, distros and whatnot. It gets
very, very annoying after a while.

--
Odd


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread Stephen Powell
On Thu, 4 Feb 2010 15:18:21 -0500 (EST), Kent West wrote:
> Okay, you persuaded me to go take a look.
> 
> Why, oh why, don't "professionals" proof-read their material?
>
> On the first page, in the first paragraph:
>> The GNU/Linux systems have reached an important level of maturity,
>> allowing to integrate them in almost any kind of work environment,
>> from a desktop PC to the *sever* facilities of a big company.

The *sever* facilities of a big company?  Is that where they keep
the guillotines?  Is that where they chop off the heads of the
boss' political opponents?

That's the trouble with spell checkers.  They can tell you if you
used a word that's not in the dictionary, but they can't tell you
if you used the wrong word!

I once worked for a company that was merging with another
company of about the same size.  The employees of both companies
were nervous about losing their jobs.  The CEO wrote what was
supposed to be an upbeat article for the company newsletter
about the coming merger to try to boost morale.  The first
sentence of his article was supposed to be

   This is an exciting time for all of us!

But he misspelled exciting.  He left out the "c".  So the first
sentence of his article was

   This is an exiting time for all of us!

The spell checker didn't catch it, because "exiting" is a word.
To make matters worse, the cover of the newsletter had a
picture of a man running a race!  Needless to say, the boss
did not accomplish his objective.  But he did, accidentally,
tell the truth.  Thousands of employees lost their jobs within
a short time, including yours truly.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re(2): Postscript: Grub2 in current Squeeze

2010-02-04 Thread Tixy
On Thu, 2010-02-04 at 10:29 -0800, peasth...@shaw.ca wrote:
> On Mon, 2010-02-01 at 17:03 -0800, PETER EASTHOPE wrote:
> > Sorry for the absence of thread connection.  This mailer doesn't 
> > provide In-reply-to.
> 
> 
> 
> Date: Tue, 02 Feb 2010 10:10:16 +, Tixy  
> wrote,
> > I think it does, check the headers :-) 
> 
> The login for the Web based mailer is here.
>   http://webmail.shaw.ca/
> The header is minimal.  I couldn't find any 
> way to specify an In-reply-to parameter.  
> If you can tell me where it is, I'll happily 
> use it in the future.  

Err, both the message I just quoted and the one I originally replied to
have an "In-reply-to" header when I look at the message source, and they
are correctly threaded by my email program (Evolution). I don't know how
the headers got there, but if your mailer didn't do it, then there must
be some magic going on somewhere.

Or where you referring to a different message not having a thread
connection?

-- 
Tixy




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread Lee Winter
On Thu, Feb 4, 2010 at 3:18 PM, Kent West  wrote:

> Why, oh why, don't "professionals" proof-read their material?
>
> On the first page, in the first paragraph:
>> The GNU/Linux systems have reached an important level of maturity,
>> allowing to integrate them in almost any kind of work environment,
>> from a desktop PC to the *sever* facilities of a big company.

A legitimate issue for publishers.  One problem is writers who think
spell checking is good enough.  Clearly their self-expectations are
set too low.

Another problem is that it is extremely difficult for a writer to read
what he actually wrote as opposed to what he intended to write.  Even
worse is the problem of what he meant by what he intended to write as
opposed to what the reader might think he meant by what he actually
wrote.  This is why proofreading is a serious, professional (and thus
expensive) skill.

Multi-platform software coders learn the basics of such parallel,
multi-path interpretation when they confront the problem of multiple
compilers all of which claim to be standard, but no two of which
interpret certain code fragments the same way.

-- Lee


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Can only get Nvidia driver to work with 2.6.26

2010-02-04 Thread Alex Samad
On Wed, Feb 03, 2010 at 06:49:39PM -0500, Patrick Wiseman wrote:
> On Sat, Jan 30, 2010 at 8:40 AM, Patrick Wiseman  wrote:
> > Anyway, it's
> > working now with the 190.53 driver (installed using the nvidia
> > installer) and the 2.6.26 kernel, so I'm happy for now!
> 
> Since an xorg update a few days ago, it's not working with anything.
> Compiling against the current stock 2.6.32 kernel, with the header

strange when I tried to compile against the 2.6.32 headers it failed (it
works against the 2.6.32-trunk though)

> package installed, works, but the X server crashes after showing the
> Nvidia splash screen briefly.  This is way too frustrating!  I'm able
> to start the X server with no xorg.conf, and the Xorg.0.log indicates
> that I'm using the nv driver (with no glx, because the Nvidia glx
> driver, which is still installed, doesn't work with the nv driver; is
> there one which does?).  I tried the latest nvidia packages from sid,
> but no joy there either (same symptoms).  I'm next going to try sgfxi,
> as Paul Cartwright suggested (thanks).  I need my GoogleEarth (and it
> needs functioning glx)!
> 
> Patrick
> 
> 

-- 
Only through hard work and perseverance can one truly suffer.


signature.asc
Description: Digital signature


Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread Robert P. J. Day
On Thu, 4 Feb 2010, Kent West wrote:

> AG wrote:
> > Odd wrote:
> >> Might be interesting for some people on this list.
> >>
> >> http://ftacademy.org/materials/fsm/2
> >>
> > Yer right.  'Twas very interesting.  Thanks for the link.  It looks
> > like a pretty decent reference to the subject, and I appreciate that
> > they have used a Debian (as well as a Fedora Core) focus for examples
> > of implementation.
>
> Okay, you persuaded me to go take a look.
>
> Why, oh why, don't "professionals" proof-read their material?
>
> On the first page, in the first paragraph:
> > The GNU/Linux systems have reached an important level of maturity,
> > allowing to integrate them in almost any kind of work environment,
> > from a desktop PC to the *sever* facilities of a big company.

  i'll be checking that out shortly as well, but i'm more put off by
the thought that an advanced admin book first feels the need to
evangelize the operating system.

  people who are drawn to an *advanced* administration book are
typically past the point where they need to be sold on the OS.

rday
--



Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: vmlinuz-2.6.32-trunk-amd64?

2010-02-04 Thread Alex Samad
On Wed, Feb 03, 2010 at 05:52:49PM -0500, Thomas H. George wrote:
> I find I now have vmlinuz-2.6.32-trunk-amd64 in my boot directory.
> Added, I guess, as part of a recent dist-upgrade though I didn't notice it
> (careless) in the list of new items to be installed.
> 
> grub has added this kernel image to the top of the boot list but trying
> to boot with it ends in kernel panic, can't find root directory.  This
I had a similiar problem when upgrading to 2.6.32-6, what I did to fix
it was rebuild the initrd - some reason grub or mkinitrd had failed when
doing it during the linux-image install


> is not catastrophic as the system still boots and functions perfectly
> with vzlimuz-2.6.30-2-amd64.
> 
> I assume this will be corrected in due course but I am curious, what is
> the significance of the trunk designation?
> 
> 

-- 
"I'm also mindful that man should never try to put words in God's mouth. I 
mean, we should never ascribe natural disasters or anything else, to God. We 
are in no way, shape, or form should a human being, play God."

- George W. Bush
01/14/2005
Washington, DC
Appearing on ABC's 20/20


signature.asc
Description: Digital signature


Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread Kent West
AG wrote:
> Odd wrote:
>> Might be interesting for some people on this list.
>>
>> http://ftacademy.org/materials/fsm/2
>>
> Yer right.  'Twas very interesting.  Thanks for the link.  It looks
> like a pretty decent reference to the subject, and I appreciate that
> they have used a Debian (as well as a Fedora Core) focus for examples
> of implementation.

Okay, you persuaded me to go take a look.

Why, oh why, don't "professionals" proof-read their material?

On the first page, in the first paragraph:
> The GNU/Linux systems have reached an important level of maturity,
> allowing to integrate them in almost any kind of work environment,
> from a desktop PC to the *sever* facilities of a big company.



-- 
Kent West <*)))><
http://kentwest.blogspot.com
Praise Yah! \o/



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: grub2 + serial redirect

2010-02-04 Thread Tom H
> So after 12+ years of using lilo on my server, I've decided that it might be 
> time to upgrade my boot loader.  With lilo I'm using the standard serial 
> redirect since I'm running a headless box (more specifically it's a guest of 
> a VirtualBox host).

> With Grub2, I've been able to get the standard serial redirect working with 
> the following in my /etc/default/grub:

> GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
> GRUB_TERMINAL=serial
> GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600 --word=8 --parity=no 
> --stop=1"

> This works fine once the kernel is booted (it redirects output to my serial 
> port).  I am not able to see the boot menu with this new configuration 
> however - it appears on the "video" portion of the screen, and I'm able to 
> select a kernel that way, but the serial ouput gets nothing.  With Grub v.1 
> on other machines with serial redirect, I've been able to get the menu.  Is 
> there some option that I'm missing?

> Additionally, IIRC, the GRUB_CMDLINE_LINUX option above is conditional, 
> meaning that if I want video vs. serial redirection while booting, I need to 
> swap the two 'console' directives.  Given that there's only one way I can 
> specify the linux command line option, how would I go about doing this?

Here's a WAG:

Change
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
to
GRUB_CMDLINE_LINUX="console=ttyS0,9600"
and run
update-grub
and reboot to see if you have the serial output (and still have the
console output).


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Free book - GNU/Linux Advanced Administration

2010-02-04 Thread AG

Odd wrote:

Might be interesting for some people on this list.

http://ftacademy.org/materials/fsm/2

Yer right.  'Twas very interesting.  Thanks for the link.  It looks like 
a pretty decent reference to the subject, and I appreciate that they 
have used a Debian (as well as a Fedora Core) focus for examples of 
implementation.


I have a strong feeling that I will be digging deeper into this text in 
the months to come.  There seems to be plenty there even for the desktop 
user, such as myself.


Nice one, Odd.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




RE: sata hard drive mounting problem

2010-02-04 Thread David Hammett
Thanks Marco

I fixed it with this >>>

from the "root" prompt ( the pound sign)
# mkdir /media/NEW_FOLDER_NAME (whatever you want to call this folder)

# mount /dev/sdb1 /media/NEW_FOLDER_NAME

if you want to make it automount

then you can add that drive to /etc/fstab 

so mine would be something like:
/dev/sdb1  /media/NEW_FOLDER_NAME  ntfsdefaults0   2

-

All I needed to do was copy some files to the new debian install,
So I just mounted it then copied my files then unmounted and pulled 
the drive back out of the computer.



Thanks And:
God Bless You!


-Original Message-
From: bounce-debian-user=doclinux=copper@lists.debian.org
[mailto:bounce-debian-user=doclinux=copper@lists.debian.org] On Behalf
Of Marco Vaschetto
Sent: Wednesday, February 03, 2010 3:47 PM
To: debian-user@lists.debian.org
Subject: R: sata hard drive mounting problem



-Messaggio originale-
Da: David Hammett [mailto:docli...@copper.net] 
Inviato: mercoledì 3 febbraio 2010 22.20
A: debian-user@lists.debian.org
Oggetto: sata hard drive mounting problem

I have a computer with debian 5.0 etch.

Etch is debian 4, lenny is debian 5, but this isn't the point.

 I've added a sata 
hard drive dev/sdb1 it shows up in system media folder but when I
click it I get permissions denied so tried to mount it and error no 

mounting points I in /etc/fstab and /etc/mtab so I looked in fstab they 

Are no settings for dev/sdb1 in it. I'm new to debian so I need to know 

how to set it up so all user can use this drive.

Thanks And:
God Bless You!


You need add a line like this one in /etc/fstab:

/dev/device   /mount/point   filesistem options dumppass

For use normal user 

/dev/sdb1 /media/HDDext3defaults,user,rw
00

N.B.
If you create the mount point whit a root user do you need change the owner
of the folder, is better you create a folder whit a normal user you will
like use that device.

Bye Marco



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re (2): Installing lilo in Squeeze after booting from the Lenny installer CD.

2010-02-04 Thread Stephen Powell
On Thu, 4 Feb 2010 13:14:26 -0500 (EST), peasth...@shaw.ca wrote:
> Stephen,
>
>> I'd try the Squeeze/Sid installer or the "daily build" installer ...
>
> Worked nicely.  Wodim was able to burn the CD on 
> the machine itself, in a drive connected with a 
> USB-ATA adapter.
>
>> ... mount the
>> normal root file system somewhere, then do a chroot to that place in the
>> file system.
>
> Automated well in Rescue mode.  "chroot" isn't 
> stated but I don't know of any likely alternative.

I think you might have been somewhat confused by my suggestions.
I actually gave two completely different alternative recovery scenarios.

Alternative number 1:

Find a Debian installer CD which uses the exact same kernel version that
you are using, then at the boot prompt of the installer CD type

   rescue root=/dev/hda1

(or whatever is the device name of your normal root partition).  I haven't
tried something like this in a long time, but it used to work years ago.
The key is that your rescue CD needs to be running the same kernel
as is on the hard drive to use this method.  Otherwise, it won't be able to load
its modules from /lib/modules on your hard drive.

Alternative number 2:

If you can't find an installer CD which uses the same kernel version that
you are using, then boot the installer, escape to a shell at the appropriate
time, mount your root file system somewhere, then issue a chroot command
to run a nested shell with your normal root file system treated as "/".
There are a number of variations on this method, and someone out there may
wish to elaborate.  I can't test it right now because I'm currently away
from any i386-based Linux machines that I can test with.

These are not two successive steps in a two-step procedure, they are
two completely different alternatives.  But apparently you managed
to get it working somehow.  That is the important thing.

>> ... lilo.conf ... lilo ...
>
> All like clockwork.  One remark and one question.
>
> lilo.conf defaulted boot=/dev/hda1 whereas I 
> expected boot=/dev/hda.  In any case, it works.

With boot=/dev/hda1, lilo will install itself in the boot sector
of the first partition on drive /dev/hda.  To boot lilo installed
this way, you must have a functioning boot loader of some kind
installed in the master boot record which will "chainload" lilo.
The default bootloader from DOS/Windows will work in this case,
provided that /dev/hda1 is marked as the active partition.
This is a safer default.  It prevents you from wiping out your
master boot record.  But most people who install lilo want it installed
in the master boot record.  I assume that you changed
it to say

   boot=/dev/hda

> Many Web pages explain how to boot "single user" 
> with "linux single" at the boot prompt.  OK but 
> I get a two line menu on the coffee picture; 
> managed to interrupt automatic booting but 
> couldn't get a prompt.  What I really want is a 
> single user case in menu.  No mention in 
> lilo.conf.man.  Is it possible?

Read the man page for lilo.conf carefully.  In order to get
a boot prompt you must have the options set right.  The
way mine was set up by default, it boots the default menu
option within two seconds.  To interrupt the process,
press the Shift key (by itself) as soon as you see the
word LILO appear on the screen.  This will give you a
boot prompt.  I.e.

   boot:

At this point you type in the name of the system you want
to boot.  (The default is usually called Linux.)  If you
want to pass options to it, you can do that by typing,
for example,

   Linux single

If you can't remember the name of the system you want to
boot, press the Tab key when the boot prompt is displayed
and it will type out the valid names (kind of like
completion in the shell).  You will then get
another boot prompt and you can type in one of the names listed.
Typically, the backout system is called Linuxold, I think,
and will boot the previous kernel version, if there is
one.  All of this description assumes that you have lilo
set up to use a pure text mode interface and that it is
installed in the master boot record.  I'm worried that it
might not be, since you tell me that a coffee picture is
being displayed.

Now, is it possible to create a third menu item, called
Single, for example, that boots the current kernel in single-user
mode?  Yes, it is possible.  That's not what the designers
intended, but it is possible.  Clone the entry for Linux,
change the name to Single, and put "single" in the append option
for that entry.  Read the man page for details.  I can
send you my lilo.conf file for comparison purposes, but
I don't have access to it right now.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re(2): Postscript: Grub2 in current Squeeze

2010-02-04 Thread peasthope
On Mon, 2010-02-01 at 17:03 -0800, PETER EASTHOPE wrote:
> Sorry for the absence of thread connection.  This mailer doesn't 
> provide In-reply-to.



Date: Tue, 02 Feb 2010 10:10:16 +, Tixy  wrote,
> I think it does, check the headers :-) 

The login for the Web based mailer is here.
  http://webmail.shaw.ca/
The header is minimal.  I couldn't find any 
way to specify an In-reply-to parameter.  
If you can tell me where it is, I'll happily 
use it in the future.  

Of course the NO mailer, which is now available 
again, allows all the SMTP header parameters.

Thanks,   ... Peter E.






-- 
Google "pathology workshop"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re (2): Installing lilo in Squeeze after booting from the Lenny installer CD.

2010-02-04 Thread peasthope
Stephen,

> I'd try the Squeeze/Sid installer or the "daily build" installer ...

Worked nicely.  Wodim was able to burn the CD on 
the machine itself, in a drive connected with a 
USB-ATA adapter.

> ... mount the
> normal root file system somewhere, then do a chroot to that place in the
> file system.

Automated well in Rescue mode.  "chroot" isn't 
stated but I don't know of any likely alternative.

> ... lilo.conf ... lilo ...

All like clockwork.  One remark and one question.

lilo.conf defaulted boot=/dev/hda1 whereas I 
expected boot=/dev/hda.  In any case, it works.

Many Web pages explain how to boot "single user" 
with "linux single" at the boot prompt.  OK but 
I get a two line menu on the coffee picture; 
managed to interrupt automatic booting but 
couldn't get a prompt.  What I really want is a 
single user case in menu.  No mention in 
lilo.conf.man.  Is it possible?

Thanks for all the help,   ... Peter E.


-- 
Google "pathology workshop"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Boyd Stephen Smith Jr.
On Thursday 04 February 2010 11:44:36 Pier Paolo wrote:
> Yeah! An udev rule seems a good approach to me: i want to rsync my
> backup on an external drive. I'm using rsnapshot/cron stuff, but i'll
> get soon annoyed about to control the log, see if backup is already made
> and all, as there is no way in rsnapshot script (for what i understand)
> to assure the excpected backup frequency (with an EXTERNAL USB DISK i
> mean: no cron/anacron, maybe vfs or kde device mounter... i don't know)
> 
> So, if someone could please tell me how/where to look for this udev rule
> thing...

http://reactivated.net/writing_udev_rules.html

Specifically, http://reactivated.net/writing_udev_rules.html#external-run

Your udev rules will generally reside under /etc/udev/rules.d.

Since a backup/sycn operation can take a while, remember this warning: "This 
program can act on the device, however it must not run for any extended period 
of time, because udev is effectively paused while these programs are running. 
One workaround for this limitation is to make sure your program immediately 
detaches itself."
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Problem Dell studio 1557 with debian

2010-02-04 Thread Camaleón
On Thu, 04 Feb 2010 17:57:32 +0330, Mahdi.Bahrololoum wrote:

> *I have a laptop and when I installed Debian I sound card laptop does
> not recognize it.

- What Debian version?
cat /etc/debian_version

- What desktop environment (GNOME, KDE...)?

- What sound card?
(as root) lspci | grep Audio 
or 
sudo lspci | grep Audio

- What are your symptoms?

a) No systems (desktop environment) sounds. Test it with:
play /usr/share/sounds/ekiga/voicemail.wav

b) No multimedia (videos, flashplayer...) sound:
Go to YouTube and check if videos have sound

c) No sound at all

- Are sound controllers (Master, PCM...) at high levels?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Pier Paolo
Il giorno gio, 04/02/2010 alle 23.57 +1030, Arthur Marsh ha scritto:
> Pier Paolo wrote, on 04/02/10 04:07:
> > Il giorno mer, 03/02/2010 alle 16.35 +, Camaleón ha scritto:
> >> On Wed, 03 Feb 2010 23:04:26 +1030, Arthur Marsh wrote:
> >>
> >>> Camaleón wrote, on 03/02/10 21:52:
>  You should not list your devices in fstab if you want to make use of
>  your DE hotplug capabilities.
> 
> >>> As I just posted in another message in this thread, I'd like the USB
> >>> flash drive to be automatically mounted after fsck if the drive is
> >>> present at boot-up and automatically mounted without fsck if plugged in
> >>> after the machine is booted.
> >> As said, if you list the USB device in fstab, the system will try to 
> >> mount it on every boot, whether is plugged or not.
> >>  
> >>> I would also like the machine to boot fully if it is started without the
> >>> USB flash drive present.
> >> That should not happen at all (if the disk is not present it should log a 
> >> warn, but the system should keep loading). It can be a bug.
> >>
> >>> Any takers for suggestions?
> >> Greetings,
> >>
> >> -- 
> >> Camaleón
> >>
> >>
> > 
> > Maybe OT: what about executing a sh command on specific usb drive
> > mounts, on gnome and kde? As of as i recall from the debian wiki that's
> > not explained. Maybe in gentoo docs, i'll see.
> > 
> > Thanks for any hints.
> 
> Do you mean rather than using an /etc/fstab entry or a package like 
> usbmount, have a udev rule that on detection of the USB device, either 
> does an fsck and mount (at machine boot time) or just a mount of the 
> device (if the device appears after machine boot time)?
> 
> Arthur.
> 
> 
Yeah! An udev rule seems a good approach to me: i want to rsync my
backup on an external drive. I'm using rsnapshot/cron stuff, but i'll
get soon annoyed about to control the log, see if backup is already made
and all, as there is no way in rsnapshot script (for what i understand)
to assure the excpected backup frequency (with an EXTERNAL USB DISK i
mean: no cron/anacron, maybe vfs or kde device mounter... i don't know)

So, if someone could please tell me how/where to look for this udev rule
thing...

thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



grub2 + serial redirect

2010-02-04 Thread Lev Lvovsky
Hello,

So after 12+ years of using lilo on my server, I've decided that it might be 
time to upgrade my boot loader.  With lilo I'm using the standard serial 
redirect since I'm running a headless box (more specifically it's a guest of a 
VirtualBox host).

With Grub2, I've been able to get the standard serial redirect working with the 
following in my /etc/default/grub:

---
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600"
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1"
---

This works fine once the kernel is booted (it redirects output to my serial 
port).  I am not able to see the boot menu with this new configuration however 
- it appears on the "video" portion of the screen, and I'm able to select a 
kernel that way, but the serial ouput gets nothing.  With Grub v.1 on other 
machines with serial redirect, I've been able to get the menu.  Is there some 
option that I'm missing?

Additionally, IIRC, the GRUB_CMDLINE_LINUX option above is conditional, meaning 
that if I want video vs. serial redirection while booting, I need to swap the 
two 'console' directives.  Given that there's only one way I can specify the 
linux command line option, how would I go about doing this?

thanks!
-lev

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Can Anyone Explain the over-all view of Wireless Networking?

2010-02-04 Thread Andrew Sackville-West
On Wed, Feb 03, 2010 at 12:44:45AM -0600, Kent West wrote:
> Celejar wrote:
> > This is the networking subsystem attempting to configure the wireless
> > interface.
> >
> >   
> >> Sending on   LPF/wlan0/00:18:f8:29:b5:96
> >> Sending on   Socket/fallback
> >> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
> >> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
> >> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
> >> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
> >> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
> >> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
> >> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
> >> No DHCPOFFERS received.
> >> No working leases in persistent database - sleeping.
> >> done.
> >> 
> >
> > It is failing.  Now, IME, most such failures are due to the card not
> > being properly associated with the AP.  You can determine this by
> > either looking at syslog, or by calling 'iwconfig wlan0'.  If it's
> > properly associated, the first two lines should be something like this:
> >
> > wlan0 IEEE 802.11bg  ESSID:"nnn"  
> >   Mode:Managed  Frequency:2.437 GHz  Access Point: 12:34:56:78:99:aa
> >
> > If it's not, you'll see something like this:
> >
> > wlan0 IEEE 802.11bg  ESSID:off/any  
> >   Mode:Managed  Access Point: Not-Associated
> >
> > Information in syslog will be helpful in determining the cause of failure.
> >   
> Stuff like this in dmesg:
> 
> status=10 aid=0)
> [  575.125696] wlan0: AP denied association (code=10)
> [  575.321089] wlan0: association with AP 00:0b:86:bb:83:40 timed out
> [  594.893308] wlan0: deauthenticated (Reason: 1)
> [  652.178643] wlan0: direct probe to AP 00:0b:86:bb:83:40 try 1
> 

I have seen this exact behavior at my uni. The wireless tools are
picking, generally, the AP with the strongest signal and trying to
associate with it. But that AP denies association for whatever reason
(too busy perhaps), but the tools aren't smart enough to realize this
and move on to the next AP and try associating. 

My solution, for quite a while, was repeated issuances of:

sudo iwconfig wlan0 ap off

while watching a syslog tail. Then I would see it finally associate
and *hopefully* do it before dhclient times out. 

In my experience, this means that your wireless is essentially working
correctly, but is just not getting association with a free AP. Around
my school, this behavior is correlated with the number of running
laptops in the vicinity. For example, over in the liberal arts areas,
there are relatively few laptops and the AP's are generally
available. I can associate on the first or second try. Meanwhile in
the CS and engineering areas, laptops proliferate like bunnies and it
can take several attempts to get association. 


[...]

> I thought I was through with the machine, but I may have to bring it
> back up to the ACUWireless network, so I might get to play with it some
> more. 

I finally installed wicd and it is sophisticated enough to handle this
situation. Now my wireless just works. It can be slow to come alive if
there is a lot of traffic around, but it still gets me connected with
no fiddling on my part. 

very much my .02

A


signature.asc
Description: Digital signature


Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Boyd Stephen Smith Jr.
On Thursday 04 February 2010 10:53:06 Jochen Schulz wrote:
> Boyd Stephen Smith Jr.:
> > In any case, /etc/fstab is for *static* file systems.  It is *not* for
> > file systems that may or may not be there when the system is booting (or
> > otherwise in operation).
> 
> NACK. Or don't you have an entry for your CD/DVD drive?

That's what "noauto" is for.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Can only get Nvidia driver to work with 2.6.26

2010-02-04 Thread Patrick Wiseman
On Thu, Feb 4, 2010 at 12:24 AM, Geoff Reidy  wrote:
> Patrick Wiseman wrote:
>> On Wed, Feb 3, 2010 at 6:49 PM, Patrick Wiseman  wrote:
>>> On Sat, Jan 30, 2010 at 8:40 AM, Patrick Wiseman  wrote:
 Anyway, it's
 working now with the 190.53 driver (installed using the nvidia
 installer) and the 2.6.26 kernel, so I'm happy for now!
>>> Since an xorg update a few days ago, it's not working with anything.
>>> Compiling against the current stock 2.6.32 kernel, with the header
>>> package installed, works, but the X server crashes after showing the
>>> Nvidia splash screen briefly.  This is way too frustrating!  I'm able
>>> to start the X server with no xorg.conf, and the Xorg.0.log indicates
>>> that I'm using the nv driver (with no glx, because the Nvidia glx
>>> driver, which is still installed, doesn't work with the nv driver; is
>>> there one which does?).  I tried the latest nvidia packages from sid,
>>> but no joy there either (same symptoms).  I'm next going to try sgfxi,
>>> as Paul Cartwright suggested (thanks).  I need my GoogleEarth (and it
>>> needs functioning glx)!
>>
>> Tried sgfxi - the script congratulated me on a successful install of
>> the latest driver, and then the X server failed again, showing me the
>> Nvidia splash screen for a moment, a couple of times.  The X server
>> works - I'm using it now, with the nv driver.  Shooot!
>>
>> Patrick
>>
>
> I had a similar issue but with a 2 card, 3 monitor setup.
>
> Applying the patch as per this thread:
> http://forums.fedoraforum.org/showpost.php?p=1306609&postcount=19
> against the 190.53 driver has fixed it for me.

Not for me unfortunately; still the same symptoms.

Patrick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Camaleón
On Thu, 04 Feb 2010 10:31:10 -0600, Boyd Stephen Smith Jr. wrote:

> On Thursday 04 February 2010 09:04:08 Camaleón wrote:

>> Yes, but the mount point of the OP is not critical for his system, that
>> was what I wanted to say. And the kernel must be aware of that device
>> is trivial and can be skipped without any drawbacks.
> 
> Why must the kernel be aware of that?  That's a human decision, not a
> technical one.

Because (correct me if I am wrong) it is defined by the docs what are the 
minimal requirements for a linux system to boot. It's a hierarquical 
system, and so are services: there are some services you can bypass 
without having penalties at startup (boot process can be delayed, but not 
stopped), but there are other critical services that unless started, the 
system will refuse to boot.

I think that makes sense and the same remains for fstab, at least that is 
my point.
 
> I can certainly see reasons that a device attached via USB might be
> considered to the user to be critical.

Yes, so do I. If "/boot" partition is located there, for instance :-). 
But a standard linux system does not search for "/my_mount_point/
my_device" unless it is explicitly specified by the user.

And you know, you cannot trust what users do so much :-P

> In any case, /etc/fstab is for *static* file systems.  It is *not* for
> file systems that may or may not be there when the system is booting (or
> otherwise in operation).

Yes, I know, and I think so. 

But the OP found a problem with his setup and he's looking for a solution.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Jochen Schulz
Boyd Stephen Smith Jr.:
> 
> In any case, /etc/fstab is for *static* file systems.  It is *not* for file 
> systems that may or may not be there when the system is booting (or otherwise 
> in operation).

NACK. Or don't you have an entry for your CD/DVD drive?

J.
-- 
If I had to live on a desert island I would take a mobile phone,
preferably a Nokia 8810.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: gnome CPU Frequency Scaling Monitor nagging for password

2010-02-04 Thread Freeman
On Thu, Feb 04, 2010 at 09:48:22AM +, josé Santos wrote:

> 
> I'm not a big fan of sudo, but if this can easy my life when working on my 
> laptop, than its definitely worth to learn. Freeman, would you be so king to 
> email me a copy of your suduoers file, so I can use it as an example?
> I thought that this had to do with gnome policykit.
> Thank you very much.
> 

Please be sure to read the docs.

-- 
Kind Regards,
Freeman


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: A tool for auto amplifying of wav/flac files.

2010-02-04 Thread Mark
>On Thu, Feb 4, 2010 at 8:40 AM, Jochen Schulz  wrote:

> >Matt Zagrabelny:
> >>
> >> FWIW, the replaygain algorithm uses a more advanced psycho-acoustic
> >> model to determine loudness than just "maximum amplitude".
> >
> >ACK, and it should be preferred to "dumb" normalization if possible.
> >
> >> I know you are talking about .wav and .flac, but I've used:
> >>
> >> mp3gain
> >> vorbisgain
> >
> >For FLAC there is metaflac --add-replay-gain.
>

Jochen and Matt have it right.  Also, since you didn't ask, I'd suggest
getting those wav files transcoded to flac too.  :)

Mark


RE: gnome CPU Frequency Scaling Monitor nagging for password

2010-02-04 Thread James Wu
You may also want to look at gksudo, which is a gtk frontend for sudo.

James

-Original Message-
From: José Santos [mailto:jsm...@gmail.com] On Behalf Of josé Santos
Sent: February 4, 2010 4:48 AM
To: debian-user@lists.debian.org
Subject: Re: gnome CPU Frequency Scaling Monitor nagging for password

On Thu, Feb 04, 2010 at 02:04:11AM +, Freeman wrote:
> On Wed, Feb 03, 2010 at 06:55:34PM -0600, John Hasler wrote:
> > Freeman writes:
> > > There have been occasional mentions of sudo here, as if it were no big 
> > > deal. 
> > > In my original learning, it is a big deal.  That is, su, not sudo, 
> > > is "the Debian way,"...
> > 
> > That's news to me.
> > --
> > John Hasler
> > 
> 
> Well, in numerous exchanges over the course of years, the case was 
> made to me and others that sudo can leave apps open to exploitation if 
> not locked down carefully.
> 
> To the extent that NOPASSWD is set and/or that password durations 
> allow continued commands and/or that users are listed more liberally 
> than they should be, the system is potentially open to attackers.  If 
> someone gains your account they can use any app against your root 
> system that sudo will allow.
> 
> The argument was that su is the Debian replacement to sudo 
> specifically for reason, as far as general use goes.  And that sudo is 
> for Ubuntu users :), or special use in Debian.
> 
> NOPASSWD is set for myself in sudo. But the only apps therein are 
> shutdown, if/iwconfig & iwlist, cpufreq-set and iptraf.
> 
> Anyway, that was part of my upbringing in the Debian universe. And I 
> have followed it.  However, I'm not inclined to pretend at authority.  
> I do this to keep from going insane at my real business which has 
> nothing to do with cyberspace.  :)
> 
> --
> Kind Regards,
> Freeman
> 

I'm not a big fan of sudo, but if this can easy my life when working on my 
laptop, than its definitely worth to learn. Freeman, would you be so king to 
email me a copy of your suduoers file, so I can use it as an example?
I thought that this had to do with gnome policykit.
Thank you very much.

-- 

  José Santos  | Debian Squeeze/Sid mixed system 
jsan...@ubi.pt |2.6.32.7-amd64   


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: A tool for auto amplifying of wav/flac files.

2010-02-04 Thread Jochen Schulz
Matt Zagrabelny:
> 
> FWIW, the replaygain algorithm uses a more advanced psycho-acoustic
> model to determine loudness than just "maximum amplitude".

ACK, and it should be preferred to "dumb" normalization if possible.

> I know you are talking about .wav and .flac, but I've used:
> 
> mp3gain
> vorbisgain

For FLAC there is metaflac --add-replay-gain.

J.
-- 
In public I try to remain calm and to appear perceptive.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Can Anyone Explain the over-all view of Wireless Networking?

2010-02-04 Thread Andrew Sackville-West
On Tue, Feb 02, 2010 at 04:04:54PM -0600, Kent West wrote:

[...]

> 
> After a couple of reboots, and after running wicd-client from the actual
> machine instead of over ssh, the machine did not lock up; it did see the
> various ACUWireless networks, but when I tried clicking on the first
> one, it thought for a minute or two, then reported "Connection failed:
> Unable to get IP Address".

in the properties of the "ACUWireless" network (in wicd's interface)
there is a check box for "treat all networks with this name the same
way" or something to that effect. Select that box and then it will
automatically work it's way through the list of available APs
attempting to connect until it finally works. 

A


signature.asc
Description: Digital signature


Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Boyd Stephen Smith Jr.
On Thursday 04 February 2010 09:04:08 Camaleón wrote:
> On Thu, 04 Feb 2010 08:50:58 -0600, Boyd Stephen Smith Jr. wrote:
> > In , Camaleón wrote:
> >>But I still find the point valid: if a mount point defined in "fstab" is
> >>not present at boot time, it should warn the user and log the error but
> >>the boot process should not be stopped at all because the mount point is
> >>not critical (i.e., is not root "/") for the system to properly start.
> >
> > There are filesystems other than '/' that I need to have a fully
> > functional system:
> 
> Yes, but the mount point of the OP is not critical for his system, that
> was what I wanted to say. And the kernel must be aware of that device is
> trivial and can be skipped without any drawbacks.

Why must the kernel be aware of that?  That's a human decision, not a 
technical one.

I can certainly see reasons that a device attached via USB might be considered 
to the user to be critical.

In any case, /etc/fstab is for *static* file systems.  It is *not* for file 
systems that may or may not be there when the system is booting (or otherwise 
in operation).
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Tablet input GONE after wacom upgrade

2010-02-04 Thread janek
Andrew Perrin  writes:

> Greetings-
>
> After this morning's apt-get dist-upgrade, my tablet laptop's wacom tablet
> is completely non-functional. Nothing else has changed to make this
> happen, so I'm wondering if others have had a problem with the new
> xserver-xorg-input-wacom package or similar.

I can confirm. System is Lenovo X60 Tablet.
xserver-xorg-input-wacom:
  Installed: 0.10.3+20100109-1
xserver-xorg-core:
  Installed: 2:1.7.4-2
debian:
squeeze/sid

Thomas Jaeger patch works for me
http://lists.x.org/archives/xorg-devel/2010-January/004599.html

> diff --git a/config/udev.c b/config/udev.c
> index 3ef0d7f..d73bef5 100644
> --- a/config/udev.c
> +++ b/config/udev.c
> @@ -204,7 +204,6 @@ config_udev_init(void)
>  struct udev *udev;
>  struct udev_enumerate *enumerate;
>  struct udev_list_entry *devices, *device;
> -int rc;
>  
>  udev = udev_new();
>  if (!udev)
> @@ -212,10 +211,6 @@ config_udev_init(void)
>  udev_monitor = udev_monitor_new_from_netlink(udev, "udev");
>  if (!udev_monitor)
>  return 0;
> -rc = udev_monitor_filter_add_match_subsystem_devtype(udev_monitor,
> - "input", NULL);
> -if (rc < 0)
> -return 0;
>  
>  if (udev_monitor_enable_receiving(udev_monitor)) {
>  ErrorF("config/udev: failed to bind the udev monitor\n");
> @@ -225,7 +220,6 @@ config_udev_init(void)
>  enumerate = udev_enumerate_new(udev);
>  if (!enumerate)
>  return 0;
> -udev_enumerate_add_match_subsystem(enumerate, "input");
>  udev_enumerate_scan_devices(enumerate);
>  devices = udev_enumerate_get_list_entry(enumerate);
>  udev_list_entry_foreach(device, devices) {

Patch and rebuild xserver-xorg-core.
(self-compiled xserver-xorg-core)
http://janekrn.rootnode.net/xserver-1.7/xserver-xorg-core_1.7.4-2_i386.deb

> ACTION=="add|change", SUBSYSTEM=="pnp", ATTR{id}=="WACf*",
> ENV{NAME}="Serial Wacom Tablet"
> 
> ACTION=="add|change", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*",
> ENV{x11_driver}="wacom"

Add a new file in /etc/udev/rules.d
(e.g 69-xorg-wacom.rules)
http://janekrn.rootnode.net/xserver-1.7/69-xorg-wacom.rules


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



RE: R: sata hard drive mounting problem

2010-02-04 Thread James Wu
Edit fstab and change the file system to ntfs. 

Regarding the permissions, you need to make the mount point readable and
possibly writable by your users. There's many ways you can do go about
it, I'd do it via groups.

Here's an example:
'groupadd $GROUPNAME'   # create new group
'usermod -G $GROUPNAME $USERNAME' # Adds user to group, run it for
whichever user you want to access the mount
'chown :$GROUPNAME Mountpoint' # modifies mountpoint permission to be of
the group
'chmod g+rw Mountpoint' # gives group read/write permissions

Cheers,
James


-Original Message-
From: David Hammett [mailto:docli...@copper.net] 
Sent: February 3, 2010 5:27 PM
To: m.vasche...@snservice.net
Cc: debian-user@lists.debian.org
Subject: Re: R: sata hard drive mounting problem

Thanks Marco

You stated:>>

You need add a line like this one in /etc/fstab:

/dev/device   /mount/point   file system options dumppass

For use normal user 

/dev/sdb1 /media/HDDext3defaults,user,rw
00


The drive has an nfts windows file system on it with some folder already
on it. I'm trying to get my file's off it on to the new debian install I
got now, then I'm going to take the derive back out of this computer.

So I think I need to put the file system as nfts not ext3 right? 





You stated:>>

If you create the mount point with a root user do you need change the
owner of the folder 

-

If all the folders are crowned with root as owner, How do I change them
to all users? 



Thanks And:
God Bless You!




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Printer install question

2010-02-04 Thread postid

I have a Canon PIXMA MP620 multifunction printer which I'm trying
to set up to use with Debian Lenny. I found instructions posted
by users and have downloaded the Canon Linux driver and ppd files
from one of Canon's overseas sites (they don't support Linux in
the US). I had installed the packages, then discovered that there
was an instruction manual for this at Canon's Australia site.

The instructions by the user said to install the drivers using
dpkg -i and then connect the printer by USB cable. Canon's Aussie
manual says to connect the printer by USB, then turn on the
printer, install the drivers, then restart cups.

Both instructions require that I install the common Canon driver
first, then install the model-specific driver.

I've already installed the drivers. Should I follow the user's
advice and connect the printer now to finish setting up the
printer or should I uninstall the drivers, connect the printer
and reinstall the drivers with the printer connected, then
restart cups? Does it matter whether I do one or the other?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: A tool for auto amplifying of wav/flac files.

2010-02-04 Thread owens
>
>
>
> Original Message 
>From: marc.ol...@grupblau.com
>To: debian-user@lists.debian.org
>Subject: Re: A tool for auto amplifying of wav/flac files.
>Date: Thu, 4 Feb 2010 14:00:27 +0100
>
>>El Thursday 04 February 2010 13:26:55 Sthu Deus va escriure:
>>> Good day.
>>
>>  Hello,
>>
>>> Is there a tool by which, I can amplify gain to 0 db of every
>wav/flac
>>
>>  There's "normalize-audio" that might help.
>>
>>-- 
>>
>>Marc Olivé
>>Grup Blau
>>
>>marc.ol...@grupblau.com
>>
>>
Before you go trying tools it may be useful to ask your self what you
are trying to accomplish.  As others have pointed out in a similar
thread the term db is a ratio.  As a result 0db means "the same as". 
In your instance what is the other variable to which you would like
to match the volume?
Larry
>>-- 
>>To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
>>with a subject of "unsubscribe". Trouble? 
Contact listmas...@lists.debian.org
>>
>>



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Where does One Disable dhclient?

2010-02-04 Thread Andrew Malcolmson
On Mon, Feb 1, 2010 at 8:18 AM, Martin McCormick
 wrote:
>
>      The syslog fills up with "Setting eth0 to 1 addresses."
> "Setting eth0 to 2 addresses" and so on up to 5 addresses until
> it goes back to 1 address and the whole process starts over.

Sounds like udev is renaming your ethernet device.  Take a look at:

/etc/udev/rules.d/70-persistent-net.rules

Delete all the lines except for the one for eth0.   Or you could try
moving that file elsewhere and reboot.

If that doesn't work, uninstall dhclient and install another DHCP
client like pump.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Can only get Nvidia driver to work with 2.6.26

2010-02-04 Thread Andrew Malcolmson
On Thu, Feb 4, 2010 at 12:24 AM, Geoff Reidy  wrote:
> I had a similar issue but with a 2 card, 3 monitor setup.
>
> Applying the patch as per this thread:
> http://forums.fedoraforum.org/showpost.php?p=1306609&postcount=19
> against the 190.53 driver has fixed it for me.

I had this issue under 2.6.32-trunk too.  The nvidia module compiled
with module-assistant would load fine but the Xorg error showed that
the module could not be found.

The above worked for me.  Thanks for posting this.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Camaleón
On Thu, 04 Feb 2010 08:50:58 -0600, Boyd Stephen Smith Jr. wrote:

> In , Camaleón wrote:

>>But I still find the point valid: if a mount point defined in "fstab" is
>>not present at boot time, it should warn the user and log the error but
>>the boot process should not be stopped at all because the mount point is
>>not critical (i.e., is not root "/") for the system to properly start.
> 
> There are filesystems other than '/' that I need to have a fully
> functional system:

Yes, but the mount point of the OP is not critical for his system, that 
was what I wanted to say. And the kernel must be aware of that device is 
trivial and can be skipped without any drawbacks.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Fwd: Scanners

2010-02-04 Thread Andrew Malcolmson
My HP All-in-One scans fine using HPLIP.  If you buy a new one from
the store, you may have to download the latest HPLIP version to
support it.  The HPLIP website has a nice wizard that shows you if the
distro version is new enough or if you need the download.

Don't get the units that have wireless but not Ethernet as you *may*
need a Windows or Mac computer to do the first time wireless setup
(this feature for Linux I believe still getting the bugs worked out).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Boyd Stephen Smith Jr.
In , Camaleón wrote:
>On Fri, 05 Feb 2010 00:01:17 +1030, Arthur Marsh wrote:
>> The response I received to
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568200 suggest that the
>> responder thinks that running fsck on a non-existent device is the
>> proper behaviour /-:.
>
>I've also found some "opposition" from developers while reporting bugs ;-)
>
>But I still find the point valid: if a mount point defined in "fstab" is
>not present at boot time, it should warn the user and log the error but
>the boot process should not be stopped at all because the mount point is
>not critical (i.e., is not root "/") for the system to properly start.

There are filesystems other than '/' that I need to have a fully functional 
system:

$ df -Ph
FilesystemSize  Used Avail Use% Mounted on
/dev/md0  981M  466M  515M  48% /
tmpfs 2.0G  8.0K  2.0G   1% /lib/init/rw
udev   10M  272K  9.8M   3% /dev
tmpfs 2.0G   12K  2.0G   1% /dev/shm
/tmp  2.0G   32M  2.0G   2% /tmp
/dev/mapper/monster-home  1.2T  1.1T  109G  92% /home
/dev/mapper/monster-media  4.3T  4.2T  120G  98% /home/bss/media
/dev/mapper/monster-opt  1.0G   33M  992M   4% /opt
/dev/mapper/monster-srv  1.0G   37M  988M   4% /srv
/dev/mapper/monster-usr  8.0G  5.7G  2.4G  72% /usr
/dev/mapper/monster-usr.local  1.0G   36M  989M   4% /usr/local
/dev/mapper/monster-var  4.0G  1.3G  2.8G  31% /var
/dev/mapper/monster-var.cache  8.0G  4.1G  4.0G  51% /var/cache
/dev/mapper/monster-var.tmp  4.0G  398M  3.7G  10% /var/tmp

-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: LVM snapshots are not backups (was: Re: Virtualization - what do You recommend?)

2010-02-04 Thread Andrew Malcolmson
I believe the point of the LVM Snapshot is to make an unchanging
version of your LV that can be backed up without risk of changes
occurring to the volume during the backup process.  You still have to
do the actual backup as usual.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Problem Dell studio 1557 with debian

2010-02-04 Thread Mahdi.Bahrololoum
*Hi,*
*I have a laptop and when I installed Debian I sound card laptop does not
recognize it.
**Please help*
*Tanks
*
-- 
Best Regards


Re: A tool for auto amplifying of wav/flac files.

2010-02-04 Thread Matt Zagrabelny
On Thu, 2010-02-04 at 16:22 +0100, Klistvud wrote:
> Dne, 04. 02. 2010 14:57:37 je Adam Hardy napisal(a):
> > 
> > How does normalize-audio know that one cd is the sound of pins  
> > dropping but the next cd is elephants charging? I mean, I don't want  
> > those cds to be literally the same volume, I want them to keep their  
> > relative volume difference, but just to adjust the absolute level to  
> > a standard.
> > 
> > Or is that some Holy Grail that you can't do?
> 
> Common sense tells me that any software that wants to normalize audio  
> levels, must probably scan the entire sound clip, find the loudest  
> passage within the clip, and set that passage to the reference 0 db  
> loudness. All the other passages in the clip just get set to an   
> accordingly lower level, and that's that. The same goes for entire CDs:  
> you find the loudest signal in the entire CD, and then proceed  
> accordingly.

FWIW, the replaygain algorithm uses a more advanced psycho-acoustic
model to determine loudness than just "maximum amplitude".

I know you are talking about .wav and .flac, but I've used:

mp3gain
vorbisgain

for normalizing the respective audio files. Both of those packages use
the replaygain algorithm.

-- 
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 4096R/42A00942 2009-12-16
Fingerprint: 5814 2CCE 2383 2991 83FF  C899 07E2 BFA8 42A0 0942

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot


signature.asc
Description: This is a digitally signed message part


Re: LVM snapshots are not backups (was: Re: Virtualization - what do You recommend?)

2010-02-04 Thread Jon Dowland
On Tue, Feb 02, 2010 at 09:32:17AM -0600, Boyd Stephen Smith Jr. wrote:
> In <20100202135559.ga5...@ra.ncl.ac.uk>, Jon Dowland wrote:
 
> You backups should be protection against at least: (a) user error, (b) normal 
> hardware failure, and (c) disaster.

I find the website  a
useful/entertaining checklist to work against when it comes
to architecting a backup solution.

(I *think* the product it is supposed to be advertising is
long dead)


signature.asc
Description: Digital signature


Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Camaleón
On Fri, 05 Feb 2010 00:01:17 +1030, Arthur Marsh wrote:

> Camaleón wrote, on 04/02/10 03:05:
 
>>> I would also like the machine to boot fully if it is started without
>>> the USB flash drive present.
>> 
>> That should not happen at all (if the disk is not present it should log
>> a warn, but the system should keep loading). It can be a bug.
> 
> The response I received to
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568200 suggest that the
> responder thinks that running fsck on a non-existent device is the
> proper behaviour /-:.

I've also found some "opposition" from developers while reporting bugs ;-)

But I still find the point valid: if a mount point defined in "fstab" is 
not present at boot time, it should warn the user and log the error but 
the boot process should not be stopped at all because the mount point is 
not critical (i.e., is not root "/") for the system to properly start.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: A tool for auto amplifying of wav/flac files.

2010-02-04 Thread Klistvud

Dne, 04. 02. 2010 14:57:37 je Adam Hardy napisal(a):


How does normalize-audio know that one cd is the sound of pins  
dropping but the next cd is elephants charging? I mean, I don't want  
those cds to be literally the same volume, I want them to keep their  
relative volume difference, but just to adjust the absolute level to  
a standard.


Or is that some Holy Grail that you can't do?


Common sense tells me that any software that wants to normalize audio  
levels, must probably scan the entire sound clip, find the loudest  
passage within the clip, and set that passage to the reference 0 db  
loudness. All the other passages in the clip just get set to an   
accordingly lower level, and that's that. The same goes for entire CDs:  
you find the loudest signal in the entire CD, and then proceed  
accordingly.


Or something along that line.

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Debian Lenny / Mpg123 / module

2010-02-04 Thread Camaleón
On Thu, 04 Feb 2010 14:11:48 +0100, Frederic ROBERT wrote:

> I can't listen to a streaming. Below the output message.
> 
> frede...@manon:~$ mpg123 http://fg.impek.tv 

JFYI, I can play this URI fine with Totem:

http://fg.impek.tv/listen.pls

O.k, it seems to be a bug in "mpg123" (and fixed in a newer version):

mpg123 fails to open any audio device
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561857

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Boyd Stephen Smith Jr.
In <5quq37-nql@ppp121-45-136-118.lns11.adl6.internode.on.net>, Arthur 
Marsh wrote:
>Camaleón wrote, on 04/02/10 03:05:
>> On Wed, 03 Feb 2010 23:04:26 +1030, Arthur Marsh wrote:
>>> Camaleón wrote, on 03/02/10 21:52:
 You should not list your devices in fstab if you want to make use of
 your DE hotplug capabilities.
>>>
>>> As I just posted in another message in this thread, I'd like the USB
>>> flash drive to be automatically mounted after fsck if the drive is
>>> present at boot-up and automatically mounted without fsck if plugged in
>>> after the machine is booted.
>>
>> As said, if you list the USB device in fstab, the system will try to
>> mount it on every boot, whether is plugged or not.
>>
>>> I would also like the machine to boot fully if it is started without the
>>> USB flash drive present.
>>
>> That should not happen at all (if the disk is not present it should log a
>> warn, but the system should keep loading). It can be a bug.
>
>The response I received to
>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568200 suggest that the
>responder thinks that running fsck on a non-existent device is the
>proper behaviour /-:.

I tend to agree.  /etc/fstab is for static file systems, where "static" means 
"always present in always the same location".  I don't want any of my file 
systems in /etc/fstab to simply be "skipped" because their device isn't 
present -- I want a *LOUD* warning.

Exceptions -- file systems I don't want checked get a passno of 0; file 
systems I don't want mounted get noauto flag.

IMHO, you are using /etc/fstab wrong and you'd better suited to using some 
other method of fscking and mounting.  Udev can run a command as soon as the 
device node is available, but be aware that udev blocks until the command is 
complete.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Kerneloops on clean install

2010-02-04 Thread Stephen Powell
On Thu, 4 Feb 2010 04:25:13 -0500 (EST), Sjors van der Pluijm wrote:
> I'm reinstalling a system that has been running debian for at least 2 years. 
> Installation goes fine, but while doing an upgrade to squeeze it gives me 
> kerneloops (see attached document). I seriously doubt this is a software 
> problem. The system occasionally freezes and kernel panics occur. 
>
> Any idea where to look?
> 
> Thanks

This is going to sound silly; but don't laugh, it sometimes works.
I used to have a computer that worked fine for about six months,
then all of a sudden, for no apparent reason, it just wouldn't boot.
It would get a SCSI error during POST and just wouldn't boot.
I took the cover off, removed all the disk drives and expansion
adapters, cleaned everything thoroughly, put it back together again,
and it worked fine.  It would be good for about another six months.
Then the same thing would happen again.  And again, another good
cleaning solved the problem.

In your case, you might also want to remove, clean, and re-seat the
memory chips too.  Just make sure that there is no moisture present
before you reassemble everything.  Everything must be clean and
dry.  It can't hurt.  And it might help.  Maybe you'll be lucky.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: A tool for auto amplifying of wav/flac files.

2010-02-04 Thread Adam Hardy

Marc Olive on 04/02/10 13:00, wrote:

El Thursday 04 February 2010 13:26:55 Sthu Deus va escriure:

Good day.


Hello,


Is there a tool by which, I can amplify gain to 0 db of every wav/flac


There's "normalize-audio" that might help.


It depends on what he means by "amplify gain to 0 db". Maybe I'm ignorant, but 
what effect does that have?


Actually since I am displaying my ignorance already, I might as well as some 
stupid questions about normalize that I never worked out.


I know if I rip a CD and normalize it in the process, all the songs get set to 
the same volume.


Since I normally let my music player shuffle through my whole collection, I want 
all my music to be the same volume. So when I'm ripping to different CDs, how do 
tell normalize-audio that I want the same volume on each?


How does normalize-audio know that one cd is the sound of pins dropping but the 
next cd is elephants charging? I mean, I don't want those cds to be literally 
the same volume, I want them to keep their relative volume difference, but just 
to adjust the absolute level to a standard.


Or is that some Holy Grail that you can't do?



Adam


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: Unable to download files with epiphany-browser in Squeeze

2010-02-04 Thread Stephen Powell
On Thu, 4 Feb 2010 03:26:00 -0500 (EST), Tixy wrote:
> I just tried it myself and found the same thing happening. My google-fu
> must be working better than yours this today ;-) First hit for search
> term 
>   debian epiphany "save link as" not working
> gives
>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563056

Nice work, Tixy!  I guess I just used the "wrong" search words.
I'll subscribe to the bug report.  Thanks.

Brian, I'll try your work-around the next time I get a chance.
I don't have access to that particular computer right now.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Debian Lenny / Mpg123 / Module

2010-02-04 Thread Frederic ROBERT

Hello,

I can't listen to a streaming. Below the output message.

frede...@manon:~$ mpg123 http://fg.impek.tv
[module.c:110] error: Failed to open module alsa: file not found
[module.c:110] error: Failed to open module oss: file not found
[module.c:110] error: Failed to open module esd: file not found
[module.c:110] error: Failed to open module jack: file not found
[module.c:110] error: Failed to open module pulse: file not found
[module.c:110] error: Failed to open module nas: file not found
[module.c:110] error: Failed to open module arts: file not found
[audio.c:179] error: Unable to find a working output module in this 
list: alsa,oss,esd,jack,pulse,nas,arts

[audio.c:463] error: Failed to open audio output module
[mpg123.c:757] error: Failed to initialize output, goodbye.

--
Frederic R.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Arthur Marsh

Camaleón wrote, on 04/02/10 03:05:

On Wed, 03 Feb 2010 23:04:26 +1030, Arthur Marsh wrote:


Camaleón wrote, on 03/02/10 21:52:



You should not list your devices in fstab if you want to make use of
your DE hotplug capabilities.


As I just posted in another message in this thread, I'd like the USB
flash drive to be automatically mounted after fsck if the drive is
present at boot-up and automatically mounted without fsck if plugged in
after the machine is booted.


As said, if you list the USB device in fstab, the system will try to 
mount it on every boot, whether is plugged or not.
 

I would also like the machine to boot fully if it is started without the
USB flash drive present.


That should not happen at all (if the disk is not present it should log a 
warn, but the system should keep loading). It can be a bug.


The response I received to 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568200 suggest that the 
responder thinks that running fsck on a non-existent device is the 
proper behaviour /-:.


Arthur.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Debian Lenny / Mpg123 / module

2010-02-04 Thread Frederic ROBERT

Hello,

I can't listen to a streaming. Below the output message.

frede...@manon:~$ mpg123 http://fg.impek.tv
[module.c:110] error: Failed to open module alsa: file not found
[module.c:110] error: Failed to open module oss: file not found
[module.c:110] error: Failed to open module esd: file not found
[module.c:110] error: Failed to open module jack: file not found
[module.c:110] error: Failed to open module pulse: file not found
[module.c:110] error: Failed to open module nas: file not found
[module.c:110] error: Failed to open module arts: file not found
[audio.c:179] error: Unable to find a working output module in this 
list: alsa,oss,esd,jack,pulse,nas,arts

[audio.c:463] error: Failed to open audio output module
[mpg123.c:757] error: Failed to initialize output, goodbye.

--
Frederic R.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: auto-mounting disks that might not be present (e.g. usb drives)

2010-02-04 Thread Arthur Marsh

Pier Paolo wrote, on 04/02/10 04:07:

Il giorno mer, 03/02/2010 alle 16.35 +, Camaleón ha scritto:

On Wed, 03 Feb 2010 23:04:26 +1030, Arthur Marsh wrote:


Camaleón wrote, on 03/02/10 21:52:

You should not list your devices in fstab if you want to make use of
your DE hotplug capabilities.


As I just posted in another message in this thread, I'd like the USB
flash drive to be automatically mounted after fsck if the drive is
present at boot-up and automatically mounted without fsck if plugged in
after the machine is booted.
As said, if you list the USB device in fstab, the system will try to 
mount it on every boot, whether is plugged or not.
 

I would also like the machine to boot fully if it is started without the
USB flash drive present.
That should not happen at all (if the disk is not present it should log a 
warn, but the system should keep loading). It can be a bug.



Any takers for suggestions?

Greetings,

--
Camaleón




Maybe OT: what about executing a sh command on specific usb drive
mounts, on gnome and kde? As of as i recall from the debian wiki that's
not explained. Maybe in gentoo docs, i'll see.

Thanks for any hints.


Do you mean rather than using an /etc/fstab entry or a package like 
usbmount, have a udev rule that on detection of the USB device, either 
does an fsck and mount (at machine boot time) or just a mount of the 
device (if the device appears after machine boot time)?


Arthur.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: A tool for auto amplifying of wav/flac files.

2010-02-04 Thread Marc Olive
El Thursday 04 February 2010 13:26:55 Sthu Deus va escriure:
> Good day.

Hello,

> Is there a tool by which, I can amplify gain to 0 db of every wav/flac

There's "normalize-audio" that might help.

-- 

Marc Olivé
Grup Blau

marc.ol...@grupblau.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



A tool for auto amplifying of wav/flac files.

2010-02-04 Thread Sthu Deus
Good day.


Is there a tool by which, I can amplify gain to 0 db of every wav/flac -files 
in a dir. (in one dir. are flac files, in another - wav). - As I undrstand sox 
can not help me here - for I have to set gain value - and I do not know it, 
moreover, it changes from one file to another.

If that is not possible, then, is there a way (automatical) that I can find out 
the least amplifying gain value - to set it in sox - so that others (w/ high 
enough gain will not be above 0 db)?


Thanks for Your time.

PS Please, reply to the list.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Fwd: Scanners

2010-02-04 Thread Johann Spies
On Wed, Feb 03, 2010 at 01:59:31AM +0100, Stuckey wrote:
> I'm looking to purchase a scanner. I've looked at the supported
> hardware list on http://www.sane-project.org though there are many
> listed there and I know nothing about scanners. The list also
> doesn't list the last time it was updated.
> 
> Perhaps someone here can recommend a model or brand with which they

I have an Epson Perfection 3170 which is a very nice scanner.  There
are two drawbacks:

1. The driver is free but not open source and can be downloaded from
www.avasys.jp/.  
2. The driver(iscan) only works on 32-bit systems.  A workaround if you have
a 64-bit system is to install a 32-bit system in a Virtualbox (not the
ose-version) that can use the host's usb-system.

There are a few howto's on how to install it on ubuntu - which may
work for Debian also.  Once it is installed you can use the scanner
from the normal sane-tools and other programs like scan2pdf and gimp.

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

 "That at the name of Jesus every knee should bow, of 
  things in heaven, and things in earth, and things 
  under the earth; And that every tongue should confess 
  that Jesus Christ is Lord, to the glory of God the 
  Father."  Philippians 2:10,11 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



gdm stopped using thinkfinger-pam

2010-02-04 Thread Johann Spies
My thinkfinger library is still working on the console, but both gdm
and kdm stopped using it in the past few weeks.

I was hoping that it was a temporary problem that would be fixed in
the next update (I amusing testing) but that fix did not happened.

Any idea how to fix it?

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

 "That at the name of Jesus every knee should bow, of 
  things in heaven, and things in earth, and things 
  under the earth; And that every tongue should confess 
  that Jesus Christ is Lord, to the glory of God the 
  Father."  Philippians 2:10,11 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: gnome CPU Frequency Scaling Monitor nagging for password

2010-02-04 Thread josé Santos
On Thu, Feb 04, 2010 at 02:04:11AM +, Freeman wrote:
> On Wed, Feb 03, 2010 at 06:55:34PM -0600, John Hasler wrote:
> > Freeman writes:
> > > There have been occasional mentions of sudo here, as if it were no big 
> > > deal. 
> > > In my original learning, it is a big deal.  That is, su, not sudo, is "the
> > > Debian way,"...
> > 
> > That's news to me.
> > -- 
> > John Hasler
> > 
> 
> Well, in numerous exchanges over the course of years, the case was made to
> me and others that sudo can leave apps open to exploitation if not locked
> down carefully.
> 
> To the extent that NOPASSWD is set and/or that password durations allow
> continued commands and/or that users are listed more liberally than they
> should be, the system is potentially open to attackers.  If someone gains
> your account they can use any app against your root system that sudo will
> allow.
> 
> The argument was that su is the Debian replacement to sudo specifically for
> reason, as far as general use goes.  And that sudo is for Ubuntu users :),
> or special use in Debian.
> 
> NOPASSWD is set for myself in sudo. But the only apps therein are shutdown,
> if/iwconfig & iwlist, cpufreq-set and iptraf.
> 
> Anyway, that was part of my upbringing in the Debian universe. And I have
> followed it.  However, I'm not inclined to pretend at authority.  I do this
> to keep from going insane at my real business which has nothing to do with
> cyberspace.  :)
> 
> -- 
> Kind Regards,
> Freeman
> 

I'm not a big fan of sudo, but if this can easy my life when working on my 
laptop, than its definitely worth to learn. Freeman, would you be so king to 
email me a copy of your suduoers file, so I can use it as an example?
I thought that this had to do with gnome policykit.
Thank you very much.

-- 

  José Santos  | Debian Squeeze/Sid mixed system 
jsan...@ubi.pt |2.6.32.7-amd64   


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Kerneloops on clean install

2010-02-04 Thread Sjors van der Pluijm
Hi,

I'm reinstalling a system that has been running debian for at least 2 years. 
Installation goes fine, but while doing an upgrade to squeeze it gives me 
kerneloops (see attached document). I seriously doubt this is a software 
problem. The system occasionally freezes and kernel panics occur. 

Any idea where to look?

Thanks
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060] [ cut here 
]
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060] WARNING: at fs/buffer.c:1218 
__find_get_block+0x16b/0x184()
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060] Modules linked in: ppdev lp ipv6 
powernow_k8 cpufreq_ondemand cpufreq_stats freq_table cpufreq_powersave 
cpufreq_conservative cpufreq_userspace ext2 loop snd_mpu401 ns558 parport_pc 
parport snd_via82xx gameport snd_mpu401_uart snd_seq_midi snd_seq_midi_event 
snd_via82xx_modem snd_ac97_codec ac97_bus snd_pcm pcspkr snd_rawmidi snd_seq 
snd_timer snd_seq_device k8temp snd snd_page_alloc soundcore i2c_viapro 
i2c_core button shpchp pci_hotplug evdev ext3 jbd mbcache dm_mirror dm_log 
dm_snapshot dm_mod raid1 md_mod ide_cd_mod cdrom ata_generic usbhid hid 
ff_memless via82cxxx sd_mod ehci_hcd ide_pci_generic uhci_hcd ide_core sata_via 
libata scsi_mod dock sky2 thermal processor fan thermal_sys [last unloaded: 
scsi_wait_scan]
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060] Pid: 2058, comm: kjournald Not 
tainted 2.6.26-2-amd64 #1
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060] Call Trace:
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
warn_on_slowpath+0x51/0x7a
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
find_get_page+0x21/0x54
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
__find_get_block_slow+0xd8/0xe4
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
__find_get_block+0x16b/0x184
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
__getblk+0x1d/0x206
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
__bread+0x6/0x77
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:ext3:ext3_get_branch+0x67/0xd2
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:ext3:ext3_get_blocks_handle+0x95/0x8bc
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
check_preempt_wakeup+0xc4/0xf0
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
rb_insert_color+0x61/0xda
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
hrtimer_start+0x112/0x134
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
hrtick_start_fair+0xfb/0x144
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:ext3:ext3_get_block+0xba/0xf9
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
generic_block_bmap+0x37/0x41
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
slab_destroy+0x3d/0x5d
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
free_block+0x2e/0x122
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:jbd:journal_bmap+0x22/0x7a
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:jbd:journal_next_log_block+0x15/0x64
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:jbd:journal_get_descriptor_buffer+0x13/0x78
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:jbd:journal_commit_transaction+0x51a/0xbf2
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
lock_timer_base+0x26/0x4b
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
try_to_del_timer_sync+0x51/0x5a
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:jbd:kjournald+0xc1/0x1fb
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
autoremove_wake_function+0x0/0x2e
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
:jbd:kjournald+0x0/0x1fb
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
kthread+0x47/0x74
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
schedule_tail+0x27/0x5c
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
child_rip+0xa/0x12
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
kthread+0x0/0x74
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]  [] 
child_rip+0x0/0x12
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060]
Feb  3 16:29:56 ygws02 kernel: [ 1563.107060] ---[ end trace 693141b782db7d26 
]---


Re: Rsyslog template

2010-02-04 Thread Virgo Pärna
On Tue, 02 Feb 2010 03:53:39 -0600, Stan Hoeppner  
wrote:
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  1109 root  20   0 36220 1524 1068 S0  0.4   1:07.17 rsyslogd
>
> 1524 on mine.  So what's the significance of the large VIRT footprint, if any?
>

Maybe memory mapped files?

-- 
Virgo Pärna 
virgo.pa...@mail.ee


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Unable to download files with epiphany-browser in Squeeze

2010-02-04 Thread Tixy
On Wed, 2010-02-03 at 22:47 -0500, Stephen Powell wrote:
> OK, guys, I know I must be doing something stupid, but I can't seem to
> download files with epiphany-browser in Squeeze. 
[...]
> Anyway, let's say that I am viewing a web
> page that has a download link.  I move the mouse pointer over it and
> the message line on the bottom of the screen shows a URL ending in
> ".pdf".  I single-right-click on the link, move the mouse pointer over
> "save link as" on the pop-up menu, single-left-click on that and ...
> 
> nothing happens


I just tried it myself and found the same thing happening. My google-fu
must be working better than yours this today ;-) First hit for search
term 
debian epiphany "save link as" not working
gives
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563056

-- 
Tixy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org