Re: pulseaudio blaming alsa driver [was: Re: youtube videos choppy in Testing and Iceape]

2009-04-05 Thread Andrei Popescu
On Sat,04.Apr.09, 23:21:27, H.S. wrote:

> Apr  4 23:16:48 red pulseaudio[6096]: module-alsa-sink.c: ALSA woke us
> up to write new data to the device, but there was actually nothing to
> write! Most likely this is an ALSA driver bug. Please report this issue
> to the PulseAudio developers.
...
> Anybody know what is going one?

Did you try taking pulseaudio out of the equation? (BTW, why do you need 
pulseaudio on the local machine?)

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


signature.asc
Description: Digital signature


Re: Flash Player Pkg?

2009-04-05 Thread Andrei Popescu
On Sat,04.Apr.09, 17:19:32, Paul E Condon wrote:
> What is the package to install to get adobe flash player in Lenny? I
> think I read that its name is 'flashplayer-nonfree', but I find
> only flashplayer-nonfree-extrasound, which doesn't strike me as what
> I want (wrong name, etc.) 

You already solved it using debian-multimedia.org, but for the sake of 
the archives, there is a flashplugin-nonfree (non "flashplayer-") 
package on backports.org for lenny (and etch too). It's in the official 
repos for sid (and will probably make it into squeeze?).

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


signature.asc
Description: Digital signature


Re: Drives can't be mounted as a normal user

2009-04-05 Thread Ishwor
Hello Bibek ju,

Bibek Paudel wrote:
> Hi all,
> I use Debian Lenny (GNOME) on my i386 machine.
> While logging in as root, the other disk partitions are shown in the
> desktop as well as "Places" menu. They can then be browsed without
> problem.
> However, when I login as a normal user, they aren't listed. And when I
> try to mount them from Nautilaus window, an error-window pops up,
> "Cannot mount volume: You are not privileged to mount this volume."
> Mounting from the terminal using "mount" (as root) command works
> without a hitch.
> 
> The user is a member of the group "plugdev." From gconf,
> /->desktop->volume-manager->automount_deives is checked. I just
> installed pmount to see if it helps, but it didn't. Surprisingly, the
> policykit in debian looks so bare and feature-deprived: (screenshot:
> http://twitpic.com/2rr3w ) I couldn't adjust any settings from there.
> 
> I know how to use and edit the /etc/fstab file to mount the drives
> after each boot. However, that's not what I'm looking at. I'm looking
> to be able to use my other partitions just like a root user (maybe
> after being asked for authorization).
> 
> Any help will be highly appreciated.

Try this:

/usr/bin/gnome-mount --block --verbose
--hal-udi=/org/freedesktop/Hal/devices/[some_value]

[some_value] is a HAL UDI given to you by:
/usr/bin/gnome-mount -v --display-settings --device=/dev/sda

HTH

-- 
Cheers,
Ishwor Gurung


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



Re: rebuilding raided root partition

2009-04-05 Thread Emanoil Kotsev
Miles Fidelman wrote:

> Hi Folks,
> 
> I've been busily recovering from a bad crash (strangely enough, a single
> disk drive failure that brought down an entire raided environment, with
> spares).
> 
> I've pretty much recovered and rebuilt everything, EXCEPT
> 
> my root partition is raided, and is now running only on its single spare
> drive:
> 
> -
> server1:~# more /proc/mdstat
> md2 : inactive sdd3[0] sdb3[2]
>   195318016 blocks
> 
> server1:~# mdadm --detail /dev/md2  [details omitted]
> /dev/md2:
>  Raid Level : raid1
> Device Size : 97659008 (93.13 GiB 100.00 GB)
>Raid Devices : 2
>   Total Devices : 2
> Preferred Minor : 2
> Persistence : Superblock is persistent
> 
>  State : active, degraded
>  Active Devices : 0
> Working Devices : 2
>  Failed Devices : 0
>   Spare Devices : 2
> 
> Number   Major   Minor   RaidDevice State
>0   8   510  spare rebuilding   /dev/sdd3
>1   00-  removed
> 
>2   8   19-  spare   /dev/sdb3
> --
> 
> note the line "spare rebuilding" - that's the result of: mdadm --add
> /dev/md2 /dev/sdd3
> unfortunately, it doesn't seem to really be doing anything - it's been
> saying "rebuilding" for several hours
> 
> now for another mirror device, doing an mdadm --add, kicked off a resync
> (as indicated by cat /proc/mdstat) that concluded just fine with a
> rebuilt mirror array
> 
> but for this array, it just shows "active, degraged, and rebuilding" in
> mdadm --detail, and "inactive" in /proc/mdstat
> 
> about the only difference I can see, is that the array that rebuilt
> started with one primary drive, to which I added a 2nd drive, and then a
> spare; the one that's hanging is running on a spare, and it thinks I'm
> adding another spare  (note: both serve as physical volumes underlying
> LVM)
> 
> so. on to questions:
> 
> 1. What's going on?
> 
> 2. Any suggestions on how to reassemble the array?  mdadm --assemble
> /dev/md2 tells me I need to deactivate the device, but then, it's my /
> volume - which leaves me a little stumped
> 
> Thanks very much,
> 
> Miles Fidelman
> 
> 
> 
> 
> 

You may try using the --run option.

I do following

1) start the array with the healthy partition
let's say md0 with sda1 sdb1
and sdb1 is faulty

mdadm -A /dev/md0 --add /dev/sda1 --run

2) add the faulty partition to the array for syncing

mdadm /dev/md0 --add /dev/sdb1 

3) check /proc/mdstat

cat /proc/mdstat

you can also stop the array at any time

mdadm -S /dev/md0

hope it helps 

regards



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



Re: Flash Player Pkg?

2009-04-05 Thread Javier Barroso
Hi,
On Sun, Apr 5, 2009 at 9:39 AM, Andrei Popescu  wrote:
> On Sat,04.Apr.09, 17:19:32, Paul E Condon wrote:
>> What is the package to install to get adobe flash player in Lenny? I
>> think I read that its name is 'flashplayer-nonfree', but I find
>> only flashplayer-nonfree-extrasound, which doesn't strike me as what
>> I want (wrong name, etc.)
>
> You already solved it using debian-multimedia.org, but for the sake of
> the archives, there is a flashplugin-nonfree (non "flashplayer-")
> package on backports.org for lenny (and etch too). It's in the official
> repos for sid (and will probably make it into squeeze?).

Just for the record, there is a bug where is explained why
flashplugin-nonfree is not in lenny:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457291

In debian wiki explains how to install it on etch/lenny/testing/sid

Regards,


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



need info on mobile phone support

2009-04-05 Thread Long Wind
I just bought a Nokia 3110c:

http://europe.nokia.com/find-products/devices/nokia-3110-classic/technical-specifications

Nokia's PC Suite support only XP/Vista, not Win2k I use.

Is it possible that I save the pictures I capture to a micro SD card?
Then I use etch thru a USB cable to get the pictures?

I have to buy a USB cable and micro SD card to test the solution.

(Or I have to go thru hell of installing and learning to use XP?)
(Or I return the phone to the dealer?)


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



Re: getmail vs fetchmail, WAS: Re: fetchmail and DNS resolution

2009-04-05 Thread Richard Hector
On Fri, 2009-04-03 at 16:54 +0300, Andrei Popescu wrote:
> On Fri,03.Apr.09, 04:22:11, Ron Johnson wrote:
> > On 2009-04-03 02:06, Andrei Popescu wrote:
> > [snip]
> >>
> >> AFAIK fetchmail defaults to delivering your mail by using a local SMTP. 
> >>  This is a Bad Thing (tm), because it can create a lot of problems, 

> >
> > How so?

> ,
> | NOTE: DO NOT USE "sendmail" (or any other MTA queue-injection command) AS 
> YOUR
> | DELIVERY INSTRUCTION.

If you're using sendmail, in its capacity as an MTA queue injection
command, I think you're not using local SMTP.

My fetchmail config does do smtp; it just connects to localhost on port
25.

I'm not sure what problems he's referring to with queue injection, but I
haven't noticed any with my usage of smtp.

Richard



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



Re: need info on mobile phone support

2009-04-05 Thread Umarzuki Mochlis
2009/4/5 Long Wind 

> I just bought a Nokia 3110c:
>
>
> http://europe.nokia.com/find-products/devices/nokia-3110-classic/technical-specifications
>
> Nokia's PC Suite support only XP/Vista, not Win2k I use.
>
> Is it possible that I save the pictures I capture to a micro SD card?
> Then I use etch thru a USB cable to get the pictures?
>
> I have to buy a USB cable and micro SD card to test the solution.
>
> (Or I have to go thru hell of installing and learning to use XP?)
> (Or I return the phone to the dealer?)
>
Are you going to use it on Debian or Win2k?
Usually, once you plugged the USB cable and choose file Transfer mode, it'll
be detected as a storage. But that was my w200i on Debian Sid, not a Nokia
phone.

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


-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: Big Database Server General Question

2009-04-05 Thread kj

Ron Johnson wrote:
Proper system design obviates the need for the complexity of a 
distributed system.  In an era of Quad Xeons and 32GB RAM. replication 
should only be needed for HA.
True, but for systems like the OP mentioned (google, wikipedia, etc), 
which use the database more for storage than computing, disc I/O is 
almost always the bottleneck.  Replication often makes a lot of sense.



Of course, this requires competent designers
Absolutely.  Sadly, I spend a great deal of my time trying to work 
miracles with the db to compensate for developers who don't know what 
they're doing and doesn't want to learn.


--kj


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




xinerama bug with latest kwin 3.5.10-1/3.5.10.dfsg.1-2

2009-04-05 Thread Justin Piszcz

Package: kwin
Version: 3.5.10-1

Just to confirm, I have the same bug after running apt-get dist-upgrade 
today, windows maximize incorrectly, xterms go to the wrong monitors, etc.


http://lists.debian.org/debian-qt-kde/2009/03/msg00139.html
http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg629706.html

Fix/work-around, download this (for i386):
http://debian.oregonstate.edu/debian/pool/main/k/kdebase/kwin_3.5.9.dfsg.1-6_i386.deb

# dpkg -i kwin_3.5.9.dfsg.1-6_i386.deb
dpkg - warning: downgrading kwin from 4:3.5.10.dfsg.1-2 to 
4:3.5.9.dfsg.1-6.

(Reading database ... 159424 files and directories currently installed.)
Preparing to replace kwin 4:3.5.10.dfsg.1-2 (using 
kwin_3.5.9.dfsg.1-6_i386.deb) ...

Unpacking replacement kwin ...
Setting up kwin (4:3.5.9.dfsg.1-6) ...

Add this to your /etc/apt/preferences:
Package: kwin
Pin: version 3.5.9*
Pin-Priority: 1000

This fixes the problem for now until a new version of kwin is release 
w/xinerama support.


Justin.


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




OT - Video card opinions

2009-04-05 Thread M. Lewis


I've been a long time user of Nvidia for my video cards. I'm doing some 
upgrades to my machine and am considering a pair of Radeon HD 4830s in 
crossfire mode. I'm stuck between that or sticking with Nvidia and going 
for a GeForce 9800GT. My understanding is the combination of the two 
Radeon's in crossfire will blow away the Nvidia performance wise.


I'd like to know any opinions concerning this choice and also are there 
any configuration issues with the pair of Radeon cards in X.


Thanks in advance for your thoughts,
Mike

--

 This message transmitted on 100% recycled electrons.
  07:00:01 up 4 days,  9:08,  2 users,  load average: 0.24, 0.24, 0.19

 Linux Registered User #241685  http://counter.li.org


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




Re: OT - Video card opinions

2009-04-05 Thread Dotan Cohen
>  I've been a long time user of Nvidia for my video cards. I'm doing some
> upgrades to my machine and am considering a pair of Radeon HD 4830s in
> crossfire mode. I'm stuck between that or sticking with Nvidia and going for
> a GeForce 9800GT. My understanding is the combination of the two Radeon's in
> crossfire will blow away the Nvidia performance wise.
>
>  I'd like to know any opinions concerning this choice and also are there any
> configuration issues with the pair of Radeon cards in X.
>
>  Thanks in advance for your thoughts,
>  Mike
>

What are you using the machines for? Gaming? On Linux?

-- 
Dotan Cohen

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


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



Re: OT - Video card opinions

2009-04-05 Thread M. Lewis


Dotan Cohen wrote:

 I've been a long time user of Nvidia for my video cards. I'm doing some
upgrades to my machine and am considering a pair of Radeon HD 4830s in
crossfire mode. I'm stuck between that or sticking with Nvidia and going for
a GeForce 9800GT. My understanding is the combination of the two Radeon's in
crossfire will blow away the Nvidia performance wise.

 I'd like to know any opinions concerning this choice and also are there any
configuration issues with the pair of Radeon cards in X.

 Thanks in advance for your thoughts,
 Mike



What are you using the machines for? Gaming? On Linux?



General workstation, Linux. Perhaps gaming, although that would be a 
very small portion of the consideration.

--

 IBM: Intersmashable Byte manipulators
  07:25:01 up 4 days,  9:33,  2 users,  load average: 0.55, 0.43, 0.37

 Linux Registered User #241685  http://counter.li.org


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




Re: need info on mobile phone support

2009-04-05 Thread Long Wind
I have Win2k and etch
I hope I can get etch to work with help from the list.
After installing microSD card, is my phone a USB storage device?
Can etch access the card?

On Sun, Apr 5, 2009 at 7:12 PM, Umarzuki Mochlis  wrote:
>
>
> 2009/4/5 Long Wind 
>>
>> I just bought a Nokia 3110c:
>>
>>
>> http://europe.nokia.com/find-products/devices/nokia-3110-classic/technical-specifications
>>
>> Nokia's PC Suite support only XP/Vista, not Win2k I use.
>>
>> Is it possible that I save the pictures I capture to a micro SD card?
>> Then I use etch thru a USB cable to get the pictures?
>>
>> I have to buy a USB cable and micro SD card to test the solution.
>>
>> (Or I have to go thru hell of installing and learning to use XP?)
>> (Or I return the phone to the dealer?)
>
> Are you going to use it on Debian or Win2k?
> Usually, once you plugged the USB cable and choose file Transfer mode, it'll
> be detected as a storage. But that was my w200i on Debian Sid, not a Nokia
> phone.
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmas...@lists.debian.org
>>
>
>
>
> --
> Regards,
>
> Umarzuki Mochlis
> http://gameornot.net
>


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



ImageMagick / Imagick / ImageWand

2009-04-05 Thread Ben
Hi,

where is the binary called "MagickWand-config"? Can't find it in any package
or source belonging to this.

Thanks


Regards,

Ben


Re: ImageMagick / Imagick / ImageWand

2009-04-05 Thread Ansgar Burchardt
Hi,

Ben  writes:

> where is the binary called "MagickWand-config"? Can't find it in any
> package or source belonging to this.

apt-file can search for files in packages that are not installed on the
local machine:

  % apt-file search /usr/bin/MagickWand-config
  libmagickwand-dev: /usr/bin/MagickWand-config

Regards,
Ansgar

-- 
PGP: 1024D/595FAD19  739E 2D09 0969 BEA9 9797  B055 DDB0 2FF7 595F AD19


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



Re: ImageMagick / Imagick / ImageWand

2009-04-05 Thread Ben
2009/4/5 Ansgar Burchardt 

> apt-file can search for files in packages that are not installed on the
> local machine:
>
>  % apt-file search /usr/bin/MagickWand-config
>  libmagickwand-dev: /usr/bin/MagickWand-config

Thanks for the fast reply but this isn't working for me.

relay:/usr/bin# apt-file update
Can't get http://security.debian.org/dists/lenny/updates/Contents-i386.gz
(http 404)
relay:/usr/bin#

and

relay:/usr/bin# apt-file search /usr/bin/MagickWand-config
relay:/usr/bin#

and if i search for that binary on packages.debian.org i got only
GraphicsMagicWand-config - see
http://packages.debian.org/search?searchon=contents&keywords=MagickWand-config&mode=filename&suite=stable&arch=any
- and this is not what i need.


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



Re: upgrading the kernel in debian etch from 2.6.18 to 2.6.29

2009-04-05 Thread Joey L
On Fri, Apr 3, 2009 at 2:27 PM, thveillon.debian <
thveillon.deb...@googlemail.com> wrote:

> Joey L wrote :
> > I think i did everything and this is a standard configuration - I did
> > not do anything too crazy !
> > Again - all this is software raid --- the /boot is raid1 and the other
> > volumes are software raid5   The Raid5 has LVM filesystems.
> >
> > here is fdisk -l  :
> >
> > thor:/home/mjh# fdisk -l
> >
> > Disk /dev/sda: 500.1 GB, 500107862016 bytes
> > 255 heads, 63 sectors/track, 60801 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> >Device Boot  Start End  Blocks   Id  System
> > /dev/sda1   *   1  36  289138+  fd  Linux raid
> > autodetect
> > /dev/sda2  37   60801   488094862+  fd  Linux raid
> > autodetect
> >
> [...snip long partitions list]
> >
> >
> > On the mdadm --detail --scan --verbose  :
> >
> >
> > thor:/home/mjh# mdadm --detail --scan --verbose
> > ARRAY /dev/md0 level=raid1 num-devices=2 spares=3
> > UUID=8a435040:c6f27178:02026e74:21deb7ac
> >devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1
> > ARRAY /dev/md1 level=raid5 num-devices=4 spares=1
> > UUID=f60a4f26:891a29c2:8dbe0712:bd7a69ac
> >devices=/dev/sda2,/dev/sdb2,/dev/sdc2,/dev/sdd2,/dev/sde2
> >
> >
>
> Ok, so all partitions are of "fd" type, and you sure have plenty of
> spares on the first array !
>
> I have to say that even not overtired ;-) I am short of ideas about what
> could be going wrong here.
> You could check that md-raid* are compiled as modules (m) in the kernel
>
> egrep -i '(raid|_md_)' /boot/config-2.6.29
>
> Check for the initramfs scripts:
>
> ls /usr/share/initramfs-tools/scripts/local-top/
>
> you should see at least "mdadm" and "lvm2"
>
>
> Outside of this I don't know. If it boots fine with the old kernel then
> superblocks are fine on the arrays members, it must be a difference in
> kernel config or initrd.
>
> Sorry, I can't think of anything else right now, can't you spot anything
> else in dmesg a bit more verbose than "failed to assemble all arrays" ?
> A controller initialization problem ?
>



Sorry - never saw your reply -
I ran the command and got this:

thor:~# egrep -i '(raid|_md_)' /boot/config-2.6.29
CONFIG_RAID_ATTRS=m
CONFIG_BLK_DEV_3W__RAID=m
CONFIG_SCSI_AACRAID=m
CONFIG_MEGARAID_NEWGEN=y
CONFIG_MEGARAID_MM=m
CONFIG_MEGARAID_MAILBOX=m
CONFIG_MEGARAID_LEGACY=m
CONFIG_MEGARAID_SAS=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
CONFIG_MD_RAID5_RESHAPE=y
CONFIG_MD_MULTIPATH=m
CONFIG_MD_FAULTY=m


and this :

thor:~# ls /usr/share/initramfs-tools/scripts/local-top/
lvm  mdadm  mdrun  udev_helper


Should make lvm part of the kernel ?

thanks
mjh


Re: Big Database Server General Question

2009-04-05 Thread Ron Johnson

On 2009-04-05 06:12, kj wrote:

Ron Johnson wrote:
Proper system design obviates the need for the complexity of a 
distributed system.  In an era of Quad Xeons and 32GB RAM. replication 
should only be needed for HA.
True, but for systems like the OP mentioned (google, wikipedia, etc), 
which use the database more for storage than computing, disc I/O is 
almost always the bottleneck.  Replication often makes a lot of sense.



Of course, this requires competent designers
Absolutely.  Sadly, I spend a great deal of my time trying to work 
miracles with the db to compensate for developers who don't know what 
they're doing and doesn't want to learn.


Argh.  Don't *even* get me started on that topic!!!

--
Scooty Puff, Sr
The Doom-Bringer


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




xsession customization

2009-04-05 Thread Khosrow Hassani
Hi,
just got annoyed and decided to issue this warning about the X server
structure and documentation getting more and more messy and
mysterious. there are tons of man pages about the labyrinthic way
various X configuration files in /etc/X11 work and communicate with
each other. however, they don't tell you how to do simple
customization tasks! how do I change my default x window manager? how
can one have x start a program, such as xscreensaver, globally (for
all users). man pages say, you can start them  in your ~/.xsession. I
thought X would just append my xsession to the system-wide one in
/etc/X11. worng! it only reads the ~/.xsession file and the desktop
environment (xfce4) doesn's load at all!

Khosrow


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



Re: rebuilding raided root partition

2009-04-05 Thread Miles Fidelman

Emanoil Kotsev wrote:

Miles Fidelman wrote:

my root partition is raided, and is now running only on its single spare
drive:

-
server1:~# more /proc/mdstat
md2 : inactive sdd3[0] sdb3[2]
  195318016 blocks
  
You may try using the --run option.


I do following

1) start the array with the healthy partition
let's say md0 with sda1 sdb1
and sdb1 is faulty

mdadm -A /dev/md0 --add /dev/sda1 --run
  

I get: device /dev/md2 already active - cannot assemble it

2) add the faulty partition to the array for syncing

mdadm /dev/md0 --add /dev/sdb1 


3) check /proc/mdstat

cat /proc/mdstat

you can also stop the array at any time

mdadm -S /dev/md0

  

well, I really can't  - since it's my root volume


--
Miles R. Fidelman, Director of Government Programs
Traverse Technologies 
145 Tremont Street, 3rd Floor

Boston, MA  02111
mfidel...@traversetechnologies.com
857-362-8314
www.traversetechnologies.com


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




Re: need info on mobile phone support

2009-04-05 Thread Peter van der Wal
Op zondag 05-04-2009 om 20:43 uur [tijdzone +0800], schreef Long Wind:
> I have Win2k and etch
> I hope I can get etch to work with help from the list.
> After installing microSD card, is my phone a USB storage device?
> Can etch access the card?
> 
> On Sun, Apr 5, 2009 at 7:12 PM, Umarzuki Mochlis  wrote:
> >
> >
> > 2009/4/5 Long Wind 
> >>
> >> I just bought a Nokia 3110c:
> >>
> >>
> >> http://europe.nokia.com/find-products/devices/nokia-3110-classic/technical-specifications
> >>
> >> Nokia's PC Suite support only XP/Vista, not Win2k I use.
> >>
> >> Is it possible that I save the pictures I capture to a micro SD card?
> >> Then I use etch thru a USB cable to get the pictures?
> >>
> >> I have to buy a USB cable and micro SD card to test the solution.
> >>
> >> (Or I have to go thru hell of installing and learning to use XP?)
> >> (Or I return the phone to the dealer?)
> >
> > Are you going to use it on Debian or Win2k?
> > Usually, once you plugged the USB cable and choose file Transfer mode, it'll
> > be detected as a storage. But that was my w200i on Debian Sid, not a Nokia
> > phone.
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> >> with a subject of "unsubscribe". Trouble? Contact
> >> listmas...@lists.debian.org
> >>
> >
> >
> >
> > --
> > Regards,
> >
> > Umarzuki Mochlis
> > http://gameornot.net
> >
> 
> 
My phone, a Nokia N73, works as a mass storage device on Lenny and Etch
before that. So yes, I can take pictures on my Nokia and then send them
to my computer using the usb data-cable.

Regards,
Peter



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



Re: need info on mobile phone support

2009-04-05 Thread Umarzuki Mochlis
2009/4/5 Long Wind 

> I have Win2k and etch
> I hope I can get etch to work with help from the list.
> After installing microSD card, is my phone a USB storage device?


I suppose it is

>
> Can etch access the card?


If it is detected as a storage device, then you can.

>
>
> On Sun, Apr 5, 2009 at 7:12 PM, Umarzuki Mochlis 
> wrote:
> >
> >
> > 2009/4/5 Long Wind 
> >>
> >> I just bought a Nokia 3110c:
> >>
> >>
> >>
> http://europe.nokia.com/find-products/devices/nokia-3110-classic/technical-specifications
> >>
> >> Nokia's PC Suite support only XP/Vista, not Win2k I use.
> >>
> >> Is it possible that I save the pictures I capture to a micro SD card?
> >> Then I use etch thru a USB cable to get the pictures?
> >>
> >> I have to buy a USB cable and micro SD card to test the solution.
> >>
> >> (Or I have to go thru hell of installing and learning to use XP?)
> >> (Or I return the phone to the dealer?)
> >
> > Are you going to use it on Debian or Win2k?
> > Usually, once you plugged the USB cable and choose file Transfer mode,
> it'll
> > be detected as a storage. But that was my w200i on Debian Sid, not a
> Nokia
> > phone.
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> >> with a subject of "unsubscribe". Trouble? Contact
> >> listmas...@lists.debian.org
> >>
> >
> >
> >
> > --
> > Regards,
> >
> > Umarzuki Mochlis
> > http://gameornot.net
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: ImageMagick / Imagick / ImageWand

2009-04-05 Thread Florian Kulzer
On Sun, Apr 05, 2009 at 15:04:28 +0200, Ben wrote:
> 2009/4/5 Ansgar Burchardt:
> 
> > apt-file can search for files in packages that are not installed on the
> > local machine:
> >
> >  % apt-file search /usr/bin/MagickWand-config
> >  libmagickwand-dev: /usr/bin/MagickWand-config
> 
> Thanks for the fast reply but this isn't working for me.
> 
> relay:/usr/bin# apt-file update
> Can't get http://security.debian.org/dists/lenny/updates/Contents-i386.gz
> (http 404)
> relay:/usr/bin#
> 
> and
> 
> relay:/usr/bin# apt-file search /usr/bin/MagickWand-config
> relay:/usr/bin#

The libmagickwand-dev package does not exist for Lenny:

$ rmadison libmagickwand-dev
libmagickwand-dev | 7:6.4.3.4.dfsg1-1 |  experimental | mipsel
libmagickwand-dev | 7:6.4.8.0-1 |  experimental | sparc
libmagickwand-dev | 7:6.5.0.0-2 |  experimental | alpha, amd64, armel, hppa, 
i386, ia64, mips, powerpc, s390

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


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



Re: OT - Video card opinions

2009-04-05 Thread Jeff Soules
>>> upgrades to my machine and am considering a pair of Radeon HD 4830s in
>>> crossfire mode. I'm stuck between that or sticking with Nvidia and going
>>> for
>>> a GeForce 9800GT. My understanding is the combination of the two Radeon's
>>> in
>>> crossfire will blow away the Nvidia performance wise.

> General workstation, Linux. Perhaps gaming, although that would be a very
> small portion of the consideration.

None of the options you mention will be at all challenged by general
workstation use.

Personally I'm running a GeForce 9800GT and find it more than adequate
for my gaming needs.  In my experience, upgrading wine versions has
given more performance payoff than upgrading video cards.

Basically, for the use you describe, don't worry about performance;
save your money.


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



Re: Big Database Server General Question

2009-04-05 Thread kj

Ron Johnson wrote:
Absolutely.  Sadly, I spend a great deal of my time trying to work 
miracles with the db to compensate for developers who don't know what 
they're doing and doesn't want to learn.


Argh.  Don't *even* get me started on that topic!!!



On the other hand, if it wasn't for clueless developers, I'd be out of a 
job.  So I'm not complaining too loudly. ;)


--kj


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




Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Gmail POP3 Access
I am using Lenny.
I have created partitions using "Guided partition" and I choose the
option for "seperate folders for everything".

[1] Today I was going through "HowTo : Securing Debian" and came across
the suggestion of "Pawword for Grub".
But when I did open the /boot/grub/menu.lst there are a lot of entries
starting with # symbol.

I have used the follwoing commands to create a password for grub.
root terminal - Grub - grub-md5-crypt

and after creation of md5 password, i have run the followig command :
root terminal - grub update.

I have edited the file with the follwoing entries :

timeout  3
password --md5 encryptedpassword data.

Should I delete the below lines of the file [ menu.lst ].


[2] I am unable to create a folder in /home folder.
I did check everyother folders and to my shock I found that Owner and
Group is "root".
I request members to guide me for changing permissions for /home folder.
Meanwhile I will do some googling.

Thank You,
@ Bhagya.


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



Re: To synchronize system time witn NTP-server with no winter time shift whole year - how to?

2009-04-05 Thread Johan Kullstam
Chris Jones  writes:

> On Mon, Mar 30, 2009 at 01:09:10PM EDT, Paul E Condon wrote:
>
>> But "exact spot"? That would imply different clock settings in
>> different rooms of one's home. Not for me.
>
> Fancy that.. under our latitudes, when your house is a few hundred yards
> wide.. never mind.. I've overstayed my welcome on this here list.

What does Santa Claus do?  His house has all the lattitudes.  What do
the people at the Amundsen-Scott do?  For extra credit, consider that
daylight and night are each six months long.

-- 
Johan KULLSTAM


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



Re: xsession customization

2009-04-05 Thread Kelly Clowers
On Sun, Apr 5, 2009 at 06:34, Khosrow Hassani  wrote:
> Hi,
> just got annoyed and decided to issue this warning about the X server
> structure and documentation getting more and more messy and
> mysterious. there are tons of man pages about the labyrinthic way
> various X configuration files in /etc/X11 work and communicate with
> each other. however, they don't tell you how to do simple
> customization tasks! how do I change my default x window manager?

It depends on if you are using xdm/gdm/kdm or startx. If you have
a graphical login, you are using a *dm, and they have a menu that
lets you choose among your installed WMs/DEs. If you use startx
from the command line, you usually just change the .xinitrc line
containing your WM/DE.

> how can one have x start a program, such as xscreensaver, globally (for
> all users). man pages say, you can start them  in your ~/.xsession. I
> thought X would just append my xsession to the system-wide one in
> /etc/X11. wrong! it only reads the ~/.xsession file and the desktop
> environment (xfce4) doesn't load at all!

I think it should look at both ~.Xsession and /etc/X11/Xsession, but
I am not too familiar with it, as I use startx, not a Display Manager .


Cheers,
Kelly Clowers


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



Decrypt, Edit and Encrypt a File

2009-04-05 Thread Samuel Bächler

Dear Everyone

I store logins and passwords of some dozen of Web-Services in
an encrypted file. I used to use kgpg to read and update this file.

Some weeks ago I found on debian-security [1] the following script:

#!/bin/sh
gpg keys.gpg > /dev/null
emacs keys
rm keys.gpg
gpg -r "user-ID" -e keys
rm keys

What do you guys think is this approach reasonably secure? I like
the script above because it is rather simple.

Inputs will be appreciated.

Cheers

Sämi

[1] http://lists.debian.org/debian-security/2000/09/msg00023.html


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




Re: new problem - networking is strange

2009-04-05 Thread Miles Fidelman

Steven Demetrius wrote:

UDEV is behaving correctly.

Each NIC is unique and UDEV assigns a unique name to each one. Since 
UDEV has already assigned the name eth0 to the original NIC it will 
not assign it to another NIC even if the original NIC has been 
removed. This way UDEV will never assign the same name to more that 
one (1) NIC.
You can change this manually by modifying the UDEV config files. 
Please see the UDEV manual pages for details.


As far as UDEV is concerned the original NIC, eth0, is offline and 
therefore does not make it available.


Since the HD had been moved from one machine to another, UDEV reacts 
in a way that the original hardware is offline and that new hardware 
has been added to the same machine. Hence the new NIC is given a 
different name.


Although it can be done it is not a good idea to just move the OS HD 
from one machine to another. Especially when dealing with servers.
Doing this will cause issues like this one and may give other 
unpredictable results.
Foo... and here I thought I had a nice, almost hot-spare disaster 
recovery solution.


2 identical chassis, raided disks, if the live machine crashes just move 
the disks, let the raids resync, and off we go.  Almost worked, too.


Who'd have thunk that two identical chassis aren't quite identical.  
Sigh


Thanks,

Miles



--
Miles R. Fidelman, Director of Government Programs
Traverse Technologies 
145 Tremont Street, 3rd Floor

Boston, MA  02111
mfidel...@traversetechnologies.com
857-362-8314
www.traversetechnologies.com


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




Re: new problem - networking is strange

2009-04-05 Thread Miles Fidelman

Raquel wrote:

H.S. wrote:
  

Check the file:
/etc/udev/rules.d/70-persistent-net.rules


You may need to remove some lines from there or change the interface
names to the ones you want.



Delete the entire file.  It will be recreated, correctly, when you
start up again.

  
Thanks to both of you!  You learn something no every day :-)  - 
unfortunately, usually under fire :-(


--
Miles R. Fidelman, Director of Government Programs
Traverse Technologies 
145 Tremont Street, 3rd Floor

Boston, MA  02111
mfidel...@traversetechnologies.com
857-362-8314
www.traversetechnologies.com


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




Re: OT - Video card opinions

2009-04-05 Thread Kelly Clowers
On Sun, Apr 5, 2009 at 05:11, M. Lewis  wrote:
>
> I've been a long time user of Nvidia for my video cards. I'm doing some
> upgrades to my machine and am considering a pair of Radeon HD 4830s in
> crossfire mode. I'm stuck between that or sticking with Nvidia and going for
> a GeForce 9800GT. My understanding is the combination of the two Radeon's in
> crossfire will blow away the Nvidia performance wise.

Well, yes in 3d mode, when used for games (or GPGPU). For 2d stuff, I don't
think there is much difference, and for basic 3d (such as compiz fusion), *any*
Radeon 4xxx or GeForce 9xxx series will be more than enough.

> I'd like to know any opinions concerning this choice and also are there any
> configuration issues with the pair of Radeon cards in X.

I actually have no idea what the crossfire situation on Linux is.

For the Nvidia, you have the 2d FOSS driver or the 3d binary driver,  and
that will not change for some time.

For ATI, you have working 2d from the FOSS RadeonHD driver, and 3d
from the binary driver. However, 3d support is coming along quite well
in RadeonHD, it might be ready in 6 months or so.

These days, the binary ati driver is better than the binary nvidia driver.

If I was going to get a fairly powerful video card right now, I would get
an r500 series Radeon (Radeon 1xxx), and use the Radeon driver for
2d and 3d.

If I was going to wait, I would wait till q3/q4 of this year and assess the
driver situation for the Radeon 4xxx series.


Cheers,
Kelly Clowers


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



Re: Big Database Server General Question

2009-04-05 Thread Glyn Astill

--- On Sun, 5/4/09, kj  wrote:

> > Of course, this requires competent designers
> Absolutely.  Sadly, I spend a great deal of my time trying
> to work miracles with the db to compensate for developers
> who don't know what they're doing and doesn't
> want to learn.

I feel ya there. Same here





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



Re: Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Harry Rickards

Quoting Gmail POP3 Access :


On Sun, 2009-04-05 at 14:38 +, Harry Rickards wrote:

Quoting Gmail POP3 Access :


...

I have edited the file with the follwoing entries :

timeout  3
password --md5 encryptedpassword data.

Should I delete the below lines of the file [ menu.lst ].


What lines are below?


The following lines are present :


...

timeout 5

...
You need to insert a hash before the timeout line (the one above),  
otherwise you'll have two lines contradicting each other. Are you sure  
there's no other lines, as there seems to be no operating system int  
eh GRUB file. Also, I apologize to everyone else on this list, as I  
accidently sent my previous reply to Bhagya himself, not the list.



Thanks
Harry



--
Contact information at l33tmyst.mp
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


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




Re: Decrypt, Edit and Encrypt a File

2009-04-05 Thread Axel Freyn

Hi Sämi,

> Some weeks ago I found on debian-security [1] the following script:
>
> #!/bin/sh
> gpg keys.gpg > /dev/null
> emacs keys
> rm keys.gpg
> gpg -r "user-ID" -e keys
> rm keys
>
> What do you guys think is this approach reasonably secure? I like
> the script above because it is rather simple.
Well - the question is of course: What do you understand by "reasonably
secure" ;-) In fact, I see one really weak point in this approach:
Whenever you read / write the file, you create a un-encrypted copy which
is stored on the disk. later, you only delete it by "rm" - you don't
"zero-out" the bytes: The file is no longer accessible by the
filesystem, but there is a high probability that it is possible to
re-create the deleted file by analyzing the free sectors of your file
system (especially, as you create an new unencrypted copy whenever you
start this script).

And of course: while you are reading the file, it is stored unencrypted
on your disk - you shouldn't use this script on a multi-user machine (or
on a machine where automatic backups can happen while you are editting
this file - thus the un-encrypted copy is included into the backup).

A much safer approach (using vim instead of emacs) is e.g described  in 
http://www.debian.org/doc/manuals/reference/ch-gnupg.en.html, 14.4.2:
In this way, the clear-text version is never stored on the hard-disk,
but only kept in memory while you are editing the file.

In addition - it is more comfortable: you just have to open the file in
vim, and it will be automatically decrypted...

I'm sure for emacs exists an analogous approach (if you prefer emacs to
vim)


HTH,

Axel


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



Re: Big Database Server General Question

2009-04-05 Thread owens
>
>
>
> Original Message 
>From: glynast...@yahoo.co.uk
>To: debian-user@lists.debian.org,
>koffiejunkielistlur...@koffiejunkie.za.net
>Subject: Re: Big Database Server General Question
>Date: Sun, 5 Apr 2009 16:13:19 + (GMT)
>
>>
>>--- On Sun, 5/4/09, kj 
>wrote:
>>
>>> > Of course, this requires competent designers
>>> Absolutely.  Sadly, I spend a great deal of my time trying
>>> to work miracles with the db to compensate for developers
>>> who don't know what they're doing and doesn't
>>> want to learn.
>>
>>I feel ya there. Same here
>>
Here's a link to several of the "camp" architectures (applied only to
web sites however)
http://highscalability.com/
Also I believe Google was done under a National Science Foundation
grant at Stanford.  As such the complete results were published.
http://infolab.stanford.edu/~backrub/google.html
Larry
>>  
>>
>>
>>-- 
>>To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
>>with a subject of "unsubscribe". Trouble? Contact listmas...@lists.d
>ebian.org
>>
>>




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



ssh-agent: multikey

2009-04-05 Thread Jerome BENOIT

Hello List,

curenlty, during Gomme sessions on my Lenny box,
the ssh-agent stores by default only the two default keys:
is there a (Debian) way to get the ssh-agent to store
a larger number of keys by default ?

Thanks in advance,
Jerome
--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


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




Re: need info on mobile phone support

2009-04-05 Thread Ivan T. Ivanov
Hi, 

On Sun, 2009-04-05 at 18:57 +0800, Long Wind wrote:
> I just bought a Nokia 3110c:
> 
> http://europe.nokia.com/find-products/devices/nokia-3110-classic/technical-specifications
> 
> Nokia's PC Suite support only XP/Vista, not Win2k I use.
> 
> Is it possible that I save the pictures I capture to a micro SD card?
> Then I use etch thru a USB cable to get the pictures?
> 
> I have to buy a USB cable and micro SD card to test the solution.
> 
> (Or I have to go thru hell of installing and learning to use XP?)
> (Or I return the phone to the dealer?)
> 
> 

 You can also try "Wammu" pakage, it will allow
 you to access "phone" futures on 3110c.

 IIvanov


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



progress, but... - re. fixing LVM/md snafu

2009-04-05 Thread Miles Fidelman

Hello again Folks,

So.. I'm getting closer to fixing this messed up machine.

Where things stand:

I have root defined as an LVM2 LV, that should use /dev/md2 as it's PV.
/dev/md2 in turn is a RAID1 array built from /dev/sda3 /dev/sdb3 and 
/dev/sdc3


Instead, LVM is reporting: "Found duplicate PV 
2ppSS2q0kO3t0tuf8t6S19qY3ypWBOxF: using /dev/sdb3 not /dev/sda3"
and the /dev/md2 is reporting itself as inactive (cat /proc/mdstat) and 
active,degraded (mdadm --detail)


---
I'm guessing that, during boot:

- the raid array failed to start
- LVM found both copies of the PV, and picked one (/dev/sdb3)
- everything then came up and my server is humming away

but: the md array can't rebuild because the most current device in it is 
already in use


so...  I'm looking for the right sequence of events, with the minimum 
downtime to:


1. stop changes to /dev/sdb3 (actually, to / - which complicates things)
2. rebuild the RAID1 array, making sure to use /dev/sdb3 as the starting 
point for current data
3. restart in such a way that LVM finds /dev/md2 as the right PVM 
instead of one of its components


Each of these is just tricky enough that I'm sure there are lots of 
gotchas to watch out for.


So.. any suggestions?

Thanks very much,

Miles Fidelman





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




Specific question about debbugs

2009-04-05 Thread Memnon Anon
Hi!

I have trouble using xkbset to get "sticky" behaviour, so I had a look
at http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=xkbset.

Mhh, no bug that seems to resemble my problem.

Thus I asked google, which gave me this bugreport in Ubuntu:
   https://bugs.launchpad.net/debian/+bug/215496

Okay, so this bug is known. But, just a moment, there is a debbug
assigned. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480021

So, it seems this bug was filed agains xserver-xorg-core.
This bug is really critical for xkbset: xkbset totally stops working.

I just wonder: Shouldn't there be a link on the xkbset debbug page
to this (xserver-xorg-core filed) bug?



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



Re: Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Harry Rickards


Quoting Gmail POP3 Access :
...

# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved'
or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the
default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line)  and entries protected by
the
# command 'lock'
# e.g. password topsecret
#  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root  (hd0,0)
# makeactive
# chainloader   +1
#
# title Linux
# root  (hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##  kopt_2_6_8=root=/dev/hdc1 ro
##  kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##  alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##  lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with
the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet

## should update-grub lock old automagic boot options
## e.g. lockold=false
##  lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##  altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##  howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##  memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title   Debian GNU/Linux, kernel 2.6.26-1-686
root(hd0,0)
kernel  /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd  /boot/initrd.img-2.6.26-1-686

title   Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root(hd0,0)
kernel  /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro single
initrd  /boot/initrd.img-2.6.26-1-686

### END DEBIAN AUTOMAGIC KERNELS LIST


..

Ok, you'll need to add your first line, 'timeout 3' below where it  
says 'timeout 5', putting a has before 'timeout 5'. Then you'll need  
to put 'password --md5 encryptedpassword data' after the '##Password'  
line. This would make the entire file as following:



# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved'
or your
# array will desync and will not let you boot your system.
default

Re: Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Gmail POP3 Access
On Sun, 2009-04-05 at 21:28 +0530, Gmail POP3 Access wrote:
> On Sun, 2009-04-05 at 14:38 +, Harry Rickards wrote:
> > Quoting Gmail POP3 Access :
> > 
> > > But when I did open the /boot/grub/menu.lst there are a lot of entries
> > > starting with # symbol.
> > 
> > The hash means that the line is commented out, and won't be read by  
> > GRUB. It usually tells you what the following line does.
> > 
> > 
> > > I have used the follwoing commands to create a password for grub.
> > > root terminal - Grub - grub-md5-crypt
> > >
> > > and after creation of md5 password, i have run the followig command :
> > > root terminal - grub update.
> > 
> > The book probably meant to run 'grub update' in a root terminal. If  
> > you go into a terminal and type in 'su', and enter the root password  
> > if necessary. Then run 'grub update'.
> > 
> > > I have edited the file with the follwoing entries :
> > >
> > > timeout  3
> > > password --md5 encryptedpassword data.
> > >
> > > Should I delete the below lines of the file [ menu.lst ].
> > 
> > What lines are below?
> 
> The following lines are present :
> 
> # menu.lst - See: grub(8), info grub, update-grub(8)
> #grub-install(8), grub-floppy(8),
> #grub-md5-crypt, /usr/share/doc/grub
> #and /usr/share/doc/grub-legacy-doc/.
> 
> ## default num
> # Set the default entry to the entry number NUM. Numbering starts from
> 0, and
> # the entry number 0 is the default if the command is not used.
> #
> # You can specify 'saved' instead of a number. In this case, the default
> entry
> # is the entry saved with the command 'savedefault'.
> # WARNING: If you are using dmraid do not change this entry to 'saved'
> or your
> # array will desync and will not let you boot your system.
> default   0
> 
> ## timeout sec
> # Set a timeout, in SEC seconds, before automatically booting the
> default entry
> # (normally the first entry defined).
> timeout   5
> 
> # Pretty colours
> color cyan/blue white/blue
> 
> ## password ['--md5'] passwd
> # If used in the first section of a menu file, disable all interactive
> editing
> # control (menu entry editor and command-line)  and entries protected by
> the
> # command 'lock'
> # e.g. password topsecret
> #  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
> # password topsecret
> 
> #
> # examples
> #
> # title   Windows 95/98/NT/2000
> # root(hd0,0)
> # makeactive
> # chainloader +1
> #
> # title   Linux
> # root(hd0,1)
> 
> 
> > >
> > > [2]   I am unable to create a folder in /home folder.
> > > I did check everyother folders and to my shock I found that Owner and
> > > Group is "root".
> > > I request members to guide me for changing permissions for /home folder.
> > > Meanwhile I will do some googling.
> > 
> > Is this the /home folder, or the /home/yourname folder? If it's the  
> > /home folder, you should create directory's in /home/yourname. If it's  
> > /home/yourname that has the owner or group set to root, open up a  
> > terminal and type in 'su' again, entering the root password if  
> > neccesary. Then enter the command 'chown yourusername:yourgroupname  
> > /home/yourusername'. Your group name is probably the same as your user  
> > name, but you can find all groups you belong to by entering the  
> > command 'cat /etc/passwd|grep yourusername'.
> 
> I have successfully changed the permissions.
> 
> > Thanks
> > 
> > Harry Rickards
> 
> 
> Thank You,
> @ Bhagya.


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



Re: Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Gmail POP3 Access
On Sun, 2009-04-05 at 16:18 +, Harry Rickards wrote:
> Quoting Gmail POP3 Access :
> 
> > On Sun, 2009-04-05 at 14:38 +, Harry Rickards wrote:
> >> Quoting Gmail POP3 Access :
> >>
> ...
> >> > I have edited the file with the follwoing entries :
> >> >
> >> > timeout  3
> >> > password --md5 encryptedpassword data.
> >> >
> >> > Should I delete the below lines of the file [ menu.lst ].
> >>
> >> What lines are below?
> >
> > The following lines are present :
> >
> ...
> > timeout 5
> ...
> You need to insert a hash before the timeout line (the one above),  
> otherwise you'll have two lines contradicting each other. Are you sure  
> there's no other lines, as there seems to be no operating system int  
> eh GRUB file. Also, I apologize to everyone else on this list, as I  
> accidently sent my previous reply to Bhagya himself, not the list.

Excuse indeed some lines are missing in my previous email, please
excuse.
Herewith I am providing the contents of the file :

# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved'
or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the
default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line)  and entries protected by
the
# command 'lock'
# e.g. password topsecret
#  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root  (hd0,0)
# makeactive
# chainloader   +1
#
# title Linux
# root  (hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##  kopt_2_6_8=root=/dev/hdc1 ro
##  kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##  alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##  lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with
the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet

## should update-grub lock old automagic boot options
## e.g. lockold=false
##  lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##  altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##  howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##  memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title   Debian GNU/Linux, kernel 2.6.26-1-686
root(hd0,0)
kernel  /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd  /boot/initrd.img-2.6.26-1-686

title   Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root(hd0,0)
kernel  /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro single
initrd  /boot/initrd.img-2.6

"X includes" missing

2009-04-05 Thread Itay


I am trying to install the latest stable digikam (0.9.5) from source.
(Because stock digikam on lenny, 0.9.4,  has some issues in handling 
tiffs.)


./configure bailed with:

checking for X... configure: error: Can't find X includes. \
Please check your installation and add the correct paths!

Could you please get me started: where should I find
"X includes", and what would be the debian-way to add them?

Thanks,
Itay






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




Re: Re: Problems bridging wpa-supplicant

2009-04-05 Thread Bob van der Moezel
Works like a charm:

> auto  br0
> iface br0 inet static
>address   192.168.0.113
>network   192.168.0.0
>netmask   255.255.255.0
>broadcast 192.168.0.255
>bridge_ports eth0

> auto wlan0
> iface wlan0 inet dhcp
>wpa-ssid   MySSID
>wpa-pskMyPlaintextPassword
>post-upparprouted wlan0 br0

Thanks!

For those who want to copy: I think parprouted does not bridge dhcp. That
wasn't a requirement for me though.

Bob.



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



Re: "X includes" missing

2009-04-05 Thread Bob Cox
On Sun, Apr 05, 2009 at 21:09:50 +0300, Itay (deb...@itayf.fastmail.fm) wrote: 

> I am trying to install the latest stable digikam (0.9.5) from source.
> (Because stock digikam on lenny, 0.9.4,  has some issues in handling  
> tiffs.)
>
> ./configure bailed with:
>
>   checking for X... configure: error: Can't find X includes. \
>   Please check your installation and add the correct paths!
>
> Could you please get me started: where should I find
> "X includes", and what would be the debian-way to add them?
>
> Thanks,
> Itay

You may find it easier to just install the squeeze or sid versions of
digikam.  Just to show you the current versions available:

$ apt-cache policy digikam
digikam:
  Installed: 2:0.9.5~beta3-1
  Candidate: 2:0.9.5~beta3-1
  Version table:
 2:0.9.5-1 0
500 http://ftp.uk.debian.org unstable/main Packages
 *** 2:0.9.5~beta3-1 0
990 http://ftp.uk.debian.org testing/main Packages
100 /var/lib/dpkg/status
 2:0.9.4-1 0
500 http://ftp.uk.debian.org stable/main Packages

As you can see I have the squeeze/testing version installed, although
there does appear to be a non-beta version in sid/unstable. 

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Please reply to the list only.  Do NOT send copies directly to me.
Debian on the NSLU2: http://bobcox.com/slug/


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



Problem configuring sound card with alsa on debian

2009-04-05 Thread Divick Kishore
Hi,
I am trying to unable to configure my sound card on debian. The sound
system that I have is Terratec SiXPack 5.1+. There is no sound on my system
and on running alsamixer I see the following ouput:

alsamixer: function snd_ctl_open failed for default: No such device

Doing lspci | grep audio says:

01:0a.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30
[CrystalClear SoundFusion Audio Accelerator] (rev 01)

If I run alsaconf, the driver for the card is not listed (as per the
http://www.alsa-project.org/main/index.php/Matrix:Module-cs46xx, it should
be cs46xx). Choosing any of the listed driver doesn´t help either and gives
the following output:

-
Unloading ALSA sound driver modules: snd-bt87x snd-pcm snd-seq snd-timer
snd-seq-device snd-page-alloc.
Building card database...

Loading driver...
Setting default volumes...
amixer: Mixer attach default error: No such device
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1497: No soundcards found...
===
 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!


I tried installing module-assistant and then using the command

sudo module-assistant -t a-i alsa-source

I built the alsa. I am not sure if I need to do anything else apart from
this for building alsa with module-assistant.  I tried running alsaconf but
I don´t see the driver for cs46xx listed. I have tried building the module
myself as per the instructions on
http://www.alsa-project.org/main/index.php/Matrix:Module-cs46xx but only for
alsa-driver with the following command:

./configure --with-cards=cs46xx --with-sequencer=yes ; make ; make install

And then if I try to do modprobe snd-cs46xx, it complains that this module
doesn´t exist.

Doing lsmod | grep snd gives the following output (when with alsaconf, I
chose the cs4232 as the driver).

snd_cs4232 11508  0
snd_opl3_lib9696  1 snd_cs4232
snd_hwdep   6308  1 snd_opl3_lib
snd_cs4231_lib 22144  1 snd_cs4232
snd_mpu401_uart 6496  1 snd_cs4232
snd_seq_midi5728  0
snd_rawmidi18656  2 snd_mpu401_uart,snd_seq_midi
snd_seq_dummy   2756  0
snd_seq_oss26368  0
snd_seq_midi_event  6432  2 snd_seq_midi,snd_seq_oss
snd_pcm_oss33280  0
snd_pcm62820  2 snd_cs4231_lib,snd_pcm_oss
snd_page_alloc  7496  2 snd_cs4231_lib,snd_pcm
snd_mixer_oss  12832  1 snd_pcm_oss
snd_seq42032  6
snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer  17896  4 snd_opl3_lib,snd_cs4231_lib,snd_pcm,snd_seq
snd_seq_device  6572  6
snd_opl3_lib,snd_seq_midi,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd46724  14
snd_cs4232,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq,snd_timer,snd_seq_device
soundcore   6368  1 snd


I am not sure what is it that I am doing wrong.

Any help is appreciated.
Thanks in advance,
Divick


synchronizing bookmarks

2009-04-05 Thread Marcelo Chiapparini
Hello!

I have lenny installed in three machines, two at home, one at work.
How can I synchronize the bookmarks in firefox between systems? In
etch I used to simply copy the bookmark file in
~/.mozilla/firefox/xx.default/, but in lenny it doesn't work
anymore...

Thanks in advance!  Marcelo


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



Re: synchronizing bookmarks

2009-04-05 Thread Francisco Antônio da Silva Souza
On Sun, Apr 5, 2009 at 3:39 PM, Marcelo Chiapparini <
marcelo.chia...@gmail.com> wrote:

> Hello!
>
> I have lenny installed in three machines, two at home, one at work.
> How can I synchronize the bookmarks in firefox between systems? In
> etch I used to simply copy the bookmark file in
> ~/.mozilla/firefox/xx.default/, but in lenny it doesn't work
> anymore...
>
> Thanks in advance!  Marcelo
>
>
Hi Marcelo,
I'm using XMarks Addon [1] to synchronize my bookmarks and passwords between
windows (firefox) and linux (iceweasel).

It's simple tu use.

[1] http://www.xmarks.com/

Best regards,
Francisco Antônio da Silva Souza
Linux User #488128
http://franciscossouza.blogspot.com


Re: rebuilding raided root partition

2009-04-05 Thread Emanoil Kotsev
Miles Fidelman wrote:

> Emanoil Kotsev wrote:
>> Miles Fidelman wrote:
>>
>> my root partition is raided, and is now running only on its single spare
>> drive:
>>
>> -
>> server1:~# more /proc/mdstat
>> md2 : inactive sdd3[0] sdb3[2]
>>   195318016 blocks
>>   
>> You may try using the --run option.
>>
>> I do following
>>
>> 1) start the array with the healthy partition
>> let's say md0 with sda1 sdb1
>> and sdb1 is faulty
>>
>> mdadm -A /dev/md0 --add /dev/sda1 --run
>>   
> I get: device /dev/md2 already active - cannot assemble it
>> 2) add the faulty partition to the array for syncing
>>
>> mdadm /dev/md0 --add /dev/sdb1
>>
>> 3) check /proc/mdstat
>>
>> cat /proc/mdstat
>>
>> you can also stop the array at any time
>>
>> mdadm -S /dev/md0
>>
>>   
> well, I really can't  - since it's my root volume
> 
> 
I would boot with init=/bin/sh and do it from the initrd if you have mdadm
in it. At this point of time root is not mounted, so -S should work.

perhaps you can do it from a usb boot or live-cd

didn't understand it's your root, sorry

actually one could move root on the run as far as I know but I've never
tried it

regards


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



Re: pulseaudio blaming alsa driver [was: Re: youtube videos choppy in Testing and Iceape]

2009-04-05 Thread H.S.
Andrei Popescu wrote:
> On Sat,04.Apr.09, 23:21:27, H.S. wrote:
> 
>> Apr  4 23:16:48 red pulseaudio[6096]: module-alsa-sink.c: ALSA woke us
>> up to write new data to the device, but there was actually nothing to
>> write! Most likely this is an ALSA driver bug. Please report this issue
>> to the PulseAudio developers.
> ...
>> Anybody know what is going one?
> 
> Did you try taking pulseaudio out of the equation? (BTW, why do you need 
> pulseaudio on the local machine?)
> 
> Regards,
> Andrei

hmm .. I am trying to kill pulseaudio and work without it, but it
appears that as soon as I start and audio/video application PA also starts.

PA is actually a great piece of software. I can hotplut a USB headset
and start using it seamlessly. I can use my PCI audio for one
application and USB headset for another. I can route audio from one sink
to another without having to restart an application! It is quite neat.
Not to mention the fact that I can set volume for each individual
application.

Other than that, of course, there is that network sound thing.

But by far the most useful thing for my on my desktop is the ease with
which to attach an audio device (USB, e.g.) and start using it.



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: synchronizing bookmarks

2009-04-05 Thread Bryce
Marcelo Chiapparini wrote:

> Hello!
> 
> I have lenny installed in three machines, two at home, one at work.
> How can I synchronize the bookmarks in firefox between systems? In
> etch I used to simply copy the bookmark file in
> ~/.mozilla/firefox/xx.default/, but in lenny it doesn't work
> anymore...
> 
> Thanks in advance!  Marcelo

I have been using the SyncPlaces FireFox Extension
http://www.andyhalford.com/syncplaces/
... which does not mind handling IceWeasel either.


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



Re: need info on mobile phone support

2009-04-05 Thread Long Wind
Thanks to all!

I will buy a USB cable and install Wammu and kmobiletools on etch to
see if it works. Then I will buy a microSD card.

It's too bad that nokia, the biggest mobile phone maker, does not support Linux.

On Sun, Apr 5, 2009 at 8:53 AM, Peter van der Wal
 wrote:
> Op zondag 05-04-2009 om 20:43 uur [tijdzone +0800], schreef Long Wind:
>> I have Win2k and etch
>> I hope I can get etch to work with help from the list.
>> After installing microSD card, is my phone a USB storage device?
>> Can etch access the card?
>>
>> On Sun, Apr 5, 2009 at 7:12 PM, Umarzuki Mochlis  wrote:
>> >
>> >
>> > 2009/4/5 Long Wind 
>> >>
>> >> I just bought a Nokia 3110c:
>> >>
>> >>
>> >> http://europe.nokia.com/find-products/devices/nokia-3110-classic/technical-specifications
>> >>
>> >> Nokia's PC Suite support only XP/Vista, not Win2k I use.
>> >>
>> >> Is it possible that I save the pictures I capture to a micro SD card?
>> >> Then I use etch thru a USB cable to get the pictures?
>> >>
>> >> I have to buy a USB cable and micro SD card to test the solution.
>> >>
>> >> (Or I have to go thru hell of installing and learning to use XP?)
>> >> (Or I return the phone to the dealer?)
>> >
>> > Are you going to use it on Debian or Win2k?
>> > Usually, once you plugged the USB cable and choose file Transfer mode, 
>> > it'll
>> > be detected as a storage. But that was my w200i on Debian Sid, not a Nokia
>> > phone.
>> >>
>> >>
>> >> --
>> >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>> >> with a subject of "unsubscribe". Trouble? Contact
>> >> listmas...@lists.debian.org
>> >>
>> >
>> >
>> >
>> > --
>> > Regards,
>> >
>> > Umarzuki Mochlis
>> > http://gameornot.net
>> >
>>
>>
> My phone, a Nokia N73, works as a mass storage device on Lenny and Etch
> before that. So yes, I can take pictures on my Nokia and then send them
> to my computer using the usb data-cable.
>
> Regards,
> Peter
>
>
>
> --
> 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: "X includes" missing

2009-04-05 Thread Andrew Reid
On Sunday 05 April 2009 14:09:50 Itay wrote:
> I am trying to install the latest stable digikam (0.9.5) from source.
> (Because stock digikam on lenny, 0.9.4,  has some issues in handling
> tiffs.)
>
> ./configure bailed with:
>
>   checking for X... configure: error: Can't find X includes. \
>   Please check your installation and add the correct paths!
>
> Could you please get me started: where should I find
> "X includes", and what would be the debian-way to add them?

  The debian way is to have include files in a package
whose prefix is the same as the libraries, but with the suffix
"-dev".

  In this case, installing the package "xorg-dev" and its dependencies
will almost certainly solve this problem.

-- A
-- 
Andrew Reid / rei...@bellatlantic.net


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



Kernel Build Problem: dpkg-gencontrol

2009-04-05 Thread David Baron
Building rt patched kernel using:
make-kpkg --append-to-version -davidb-rt kernel_image

dpkg-gencontrol -DArchitecture=i386 -isp \
-plinux-image-2.6.29-davidb-rt -
P/usr/src/linux/debian/linux-image-2.6.29-davidb-rt/
dpkg-gencontrol: error: package linux-image-2.6.29-davidb-rt not in control 
info

Note: The build was started without the final "-rt" in the --append-to-version 
and was aborted when I saw that there was no "-rt" inserted by the patch 
itself (as in previous patches). I restarted the it with "-rt".



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



Re: getmail vs fetchmail, WAS: Re: fetchmail and DNS resolution

2009-04-05 Thread JoeHill
Ron Johnson wrote: 

> On 2009-04-03 08:54, Andrei Popescu wrote:
> > On Fri,03.Apr.09, 04:22:11, Ron Johnson wrote:  
> >> On 2009-04-03 02:06, Andrei Popescu wrote:
> >> [snip]  
> >>> AFAIK fetchmail defaults to delivering your mail by using a local SMTP. 
> >>>  This is a Bad Thing (tm), because it can create a lot of problems, 
> >>> YMMV  
> >> How so?  It (fetchmail->Postfix/SpamAssassin->maildrop->~/Maildir) has 
> >> been working perfectly on my system for 4 years.  
> > 
> > Let me quote Charles Cazabon (ok, he's the author of getmail, but sure 
> > knows a lot about mail handling):  
> 
> Smells of Appeal To Authority.
> 
> A morally superior person like me would *never* do that

It sounds to me like something I just read recently, about the whole
'considered harmful' slag.

http://en.wikipedia.org/wiki/Considered_harmful

> > 
> > ,
> > | NOTE: DO NOT USE "sendmail" (or any other MTA queue-injection command) AS
> > YOUR | DELIVERY INSTRUCTION.  Unless you're a mail expert (and you're not),
> > | re-injection of retrieved mail (with getmail or other agents) is virtually
> > | guaranteed to cause one or more of lost mail, misdirected mail, bad late
> > | bounces, leakage of delivery information, and other problems.
> > `  
> 
> Maybe getmail has a design flaw, or CC thinks that everyone still 
> uses Sendmail.
> 
> > This was just a few days ago on the official getmail mailing list, in 
> > reply to someone asking how to use the MTA for delivery. If you are 
> > interested in more details search the archives of the getmail list.  
> 
> What the heck is an MTA for???  Right: transporting mail, usually on 
> port 25.  Postfix does a wonderfully boring job of receiving from 
> fetchmail and cron, linking to SpamAssassin, then sending to my MDA.

-- 
J


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



Re: progress, but... - re. fixing LVM/md snafu

2009-04-05 Thread Goswin von Brederlow
Miles Fidelman  writes:

> Hello again Folks,
>
> So.. I'm getting closer to fixing this messed up machine.
>
> Where things stand:
>
> I have root defined as an LVM2 LV, that should use /dev/md2 as it's PV.
> /dev/md2 in turn is a RAID1 array built from /dev/sda3 /dev/sdb3 and
> /dev/sdc3
>
> Instead, LVM is reporting: "Found duplicate PV
> 2ppSS2q0kO3t0tuf8t6S19qY3ypWBOxF: using /dev/sdb3 not /dev/sda3"
> and the /dev/md2 is reporting itself as inactive (cat /proc/mdstat)
> and active,degraded (mdadm --detail)

So you didn't tell lvm.conf to ignore raid component devices or the
detection fails. Worst case exclude sd?3 manualy.

After that a reboot should fix it.

MfG
Goswin


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



Upgrade to Sid from Squeeze not happy...

2009-04-05 Thread Rick Thomas

Hi!

I'm trying to take one of my G4 Macs from Squeeze to Sid, so I can  
investigate the reported problems with the 2.6.29 kernel in Sid on  
PowerPC.


I get the following diagnostic from "aptitude update; aptitude safe- 
upgrade":



The following packages have been kept back:
  gnumeric-common thunar-data xfce4 xfdesktop4-data xfwm4-themes{a}



If I do "aptitude update ; aptitude full-upgrade" instead, I get:


The following packages are BROKEN:
  xfce4 xfwm4-themes
... ... ...
246 packages upgraded, 75 newly installed, 51 to remove and 3 not  
upgraded.

Need to get 374MB of archives. After unpacking 36.4MB will be freed.
The following packages have unmet dependencies:
  xfce4: Depends: xfwm4 (>= 4.6.0) but 4.4.2-5 is installed.
 Depends: xfconf (>= 4.6.0) which is a virtual package.
 Depends: xfce4-settings (>= 4.6.0) which is a virtual  
package.

 Depends: xfce4-panel (>= 4.6.0) but 4.4.2-6 is installed.
 Depends: xfdesktop4 (>= 4.6.0) but 4.4.2-7 is installed.
 Depends: thunar (>= 1.0.0) but 0.9.0-10 is installed.
 Depends: thunar-volman (>= 0.3.80) but it is not installable
 Depends: xfce4-utils (>= 4.6.0) but 4.4.2-8 is installed.
 Depends: xfce4-session (>= 4.6.0) but 4.4.2-6 is installed.
  xfwm4-themes: Depends: xfwm4 (>= 4.6.0) but 4.4.2-5 is installed.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
xfce4 [4.4.2.1 (now)]
xfwm4-themes [4.4.2-1 (now)]

Score is 130

Accept this solution? [Y/n/q/?]


First of all, why does "full-upgrade" say "and 3 not upgraded" when  
there seem to be only two un-upgradable packages?


Second, the "4.6.0" versions of all those packages are available on my  
i386 Sid box.  Why haven't they made it to PowerPC yet?


Thanks!

Rick

PS:  Can somebody suggest an appropriate "package" to which I can  
submit a bug report on this?




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




Re: OT - Video card opinions

2009-04-05 Thread M. Lewis


Kelly Clowers wrote:

On Sun, Apr 5, 2009 at 05:11, M. Lewis  wrote:

I've been a long time user of Nvidia for my video cards. I'm doing some
upgrades to my machine and am considering a pair of Radeon HD 4830s in
crossfire mode. I'm stuck between that or sticking with Nvidia and going for
a GeForce 9800GT. My understanding is the combination of the two Radeon's in
crossfire will blow away the Nvidia performance wise.


Well, yes in 3d mode, when used for games (or GPGPU). For 2d stuff, I don't
think there is much difference, and for basic 3d (such as compiz fusion), *any*
Radeon 4xxx or GeForce 9xxx series will be more than enough.


I'd like to know any opinions concerning this choice and also are there any
configuration issues with the pair of Radeon cards in X.


I actually have no idea what the crossfire situation on Linux is.

For the Nvidia, you have the 2d FOSS driver or the 3d binary driver,  and
that will not change for some time.

For ATI, you have working 2d from the FOSS RadeonHD driver, and 3d
from the binary driver. However, 3d support is coming along quite well
in RadeonHD, it might be ready in 6 months or so.

These days, the binary ati driver is better than the binary nvidia driver.

If I was going to get a fairly powerful video card right now, I would get
an r500 series Radeon (Radeon 1xxx), and use the Radeon driver for
2d and 3d.

If I was going to wait, I would wait till q3/q4 of this year and assess the
driver situation for the Radeon 4xxx series.


Cheers,
Kelly Clowers



Thanks Kelly & Jeff. That is exactly the type of information I was 
looking for.


Thanks,
Mike

--

 Life isn't fair. Having the root password helps.
  17:00:01 up 4 days, 19:08,  2 users,  load average: 0.16, 0.08, 0.07

 Linux Registered User #241685  http://counter.li.org


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




Re: Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Boyd Stephen Smith Jr.
In <1238940839.4114.1.ca...@vishnuvardhan>, Gmail POP3 Access wrote:
>[W]hen I did open the /boot/grub/menu.lst there are a lot of entries
>starting with # symbol.

Yeah, there's also documentation for them and an explanation of why they start 
with '#' in that file.


If you'd read the documentation that is displayed on your monitor when you try 
to accomplish a task, you might have to ask fewer questions.


>I have edited the file with the follwoing entries :
>
>timeout  3
>password --md5 encryptedpassword data.
>
>Should I delete the below lines of the file [ menu.lst ].

Absolutely not.

>[2]I am unable to create a folder in /home folder.
>I did check everyother folders and to my shock I found that Owner and
>Group is "root".
>I request members to guide me for changing permissions for /home folder.
>Meanwhile I will do some googling.

for d in /home/*; do
[ -d "$d" ] && u=$(basename "$d") && chown "$u":"$u" "$d"
done
-- 
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: new problem - networking is strange

2009-04-05 Thread Boyd Stephen Smith Jr.
In <200904042356.01172.rei...@bellatlantic.net>, Andrew Reid wrote:
>  Not only did I get confused and send a redundant message, I can
>now confirm that it's not fixed in lenny.

That because it is not a bug, it is a feature and it is working as designed.

It is/was broken on my system since both of my network cards get random MAC 
addresses on each boot (hardware issue best I can tell), but it is easily 
fixed by writing a couple of udev rules to assign eth0 and eth1 by PCI address 
instead of MAC address.

>  The file is /etc/udev/rules.d/70-persistent-net.rules.

It is generated by 75-persistent-net-generator.rules.
-- 
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: OT - Video card opinions

2009-04-05 Thread Mark Allums

M. Lewis wrote:


Kelly Clowers wrote:

On Sun, Apr 5, 2009 at 05:11, M. Lewis  wrote:

I've been a long time user of Nvidia for my video cards. I'm doing some
upgrades to my machine and am considering a pair of Radeon HD 4830s in
crossfire mode. I'm stuck between that or sticking with Nvidia and 
going for
a GeForce 9800GT. My understanding is the combination of the two 
Radeon's in

crossfire will blow away the Nvidia performance wise.


Well, yes in 3d mode, when used for games (or GPGPU). For 2d stuff, I 
don't
think there is much difference, and for basic 3d (such as compiz 
fusion), *any*

Radeon 4xxx or GeForce 9xxx series will be more than enough.


My understanding is that two NVidia 280s in SLI will still beat two 
ATI/AMD in Crossfire, but it doesn't really matter much which you use, 
they are both adequate.


I hear that ATI is producing an open source driver, although as yet it 
is not ready for prime time.  In the future, when a good driver for 
Linux is available, ATI may well be the way to go.




I'd like to know any opinions concerning this choice and also are 
there any

configuration issues with the pair of Radeon cards in X.


I actually have no idea what the crossfire situation on Linux is.

For the Nvidia, you have the 2d FOSS driver or the 3d binary driver,  and
that will not change for some time.

For ATI, you have working 2d from the FOSS RadeonHD driver, and 3d
from the binary driver. However, 3d support is coming along quite well
in RadeonHD, it might be ready in 6 months or so.

These days, the binary ati driver is better than the binary nvidia 
driver.


If I was going to get a fairly powerful video card right now, I would get
an r500 series Radeon (Radeon 1xxx), and use the Radeon driver for
2d and 3d.

If I was going to wait, I would wait till q3/q4 of this year and 
assess the

driver situation for the Radeon 4xxx series.


Cheers,
Kelly Clowers



Thanks Kelly & Jeff. That is exactly the type of information I was 
looking for.


Thanks,
Mike




I concur will everything Kelly Clowers said, except that I would add 
that Intel is not standing still, the project codenamed Larrabee seems 
interesting.  But OP wants to know how to go right now, not in the vague 
future.  So, I would say, if you are comfortable with NVidia, that is 
fine, if you want to try the red team, ATI is okay too.


Not really that helpful, but I think getting a more recent card is 
better than going cheap and getting the last generation.


MArk Allums







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




Pulseaudio problems--certain parts not playing

2009-04-05 Thread Dr. Jennifer Nussbaum

Hi, I have Pulseaudio set up on my sid machine, and after following the 
configuratoin examples, things have been working fine.

But recently some parts (i dont know the right word--channel, track, source?) 
stop working and i cant tell why.

When I first boot the machine everything works. But right now, for instance, i 
can play YouTube videos and get sound, but thats it. I get no sound with Totem, 
or Audacious, or even with another web browser.

I dont even know what details to report--i look at the Pulseaudio Manager and 
things look OK, but i dont know what to look for. There are no message in 
/var/log/messages. And i dont know why this starts to happen, its not connected 
to anything like suspend/resume. All i know is that right now i can watch 
YouTube but cant play an mp3.

Where do i go to try to figure this out?

Thanks!

Jen


  


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



Re: Pulseaudio problems--certain parts not playing

2009-04-05 Thread Daryl Styrk

Dr. Jennifer Nussbaum wrote:

Hi, I have Pulseaudio set up on my sid machine, and after following the 
configuratoin examples, things have been working fine.

But recently some parts (i dont know the right word--channel, track, source?) 
stop working and i cant tell why.

When I first boot the machine everything works. But right now, for instance, i 
can play YouTube videos and get sound, but thats it. I get no sound with Totem, 
or Audacious, or even with another web browser.

I dont even know what details to report--i look at the Pulseaudio Manager and 
things look OK, but i dont know what to look for. There are no message in 
/var/log/messages. And i dont know why this starts to happen, its not connected 
to anything like suspend/resume. All i know is that right now i can watch 
YouTube but cant play an mp3.

Where do i go to try to figure this out?

Thanks!

Jen


  





I've heard nothing but bad things about pulse, and it's been suggested 
to disable it.


Few friends who run ubuntu have all disabled it right away..


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




unable to boot, how to install the package that cause problem?

2009-04-05 Thread zhang zhengquan
Dear debian users,
I have installed some boot splash related packages on my girlfriends
laptop running sid,
and it turned out that it is unable to boot after that,
I have a system rescue cd that boots well in to another linux on the cdrom.

I wonder if it is possible to uninstall the package installed on
debian using the system rescue cd?

Thank you very much,


-- 
Zhengquan


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



Re: Pulseaudio problems--certain parts not playing

2009-04-05 Thread Mark McCorkell
On Sun, 2009-04-05 at 18:10 -0700, Dr. Jennifer Nussbaum wrote:
> Hi, I have Pulseaudio set up on my sid machine, and after following the 
> configuratoin examples, things have been working fine.
> 
> But recently some parts (i dont know the right word--channel, track, source?) 
> stop working and i cant tell why.
> 
> When I first boot the machine everything works. But right now, for instance, 
> i can play YouTube videos and get sound, but thats it. I get no sound with 
> Totem, or Audacious, or even with another web browser.
> 
> I dont even know what details to report--i look at the Pulseaudio Manager and 
> things look OK, but i dont know what to look for. There are no message in 
> /var/log/messages. And i dont know why this starts to happen, its not 
> connected to anything like suspend/resume. All i know is that right now i can 
> watch YouTube but cant play an mp3.
> 
> Where do i go to try to figure this out?
> 
> Thanks!
> 
> Jen
> 
> 

The problems are probably stemming from your browser's Flash plugin. I
had similar problems - everything worked until the first time a Flash
object in a page (like Youtube) tried to play audio. After that no other
applications could access the audio resources they needed and even
closing the browser didn't help.

I've no handy solution, since after way too much messing around with
configuration files, I took the easy option and killed off PulseAudio.
IMHO, there are still too many applications that don't work nicely
enough with Pulse to make it worth the hassle*.

--
Mark.

* "Pulse is the software that currently breaks your audio." 
  -- Lennart Poettering, lead developer on PulseAudio


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



Re: install daemon without starting it

2009-04-05 Thread Laurent Guignard
On Wed, 01 Apr 2009 17:23:09 +0200, Jukka Salmi wrote:
> Hello,
> 
> is it possible to install a daemon from a Debian package without having
> it automatically started afterwards?
> 
> What I want to do is to install samba, but neither smbd nor nbmd
> should be started until I had a chance to edit smb.conf(5) manually...
> 
> 
> TIA, Jukka

Just after the package install, the daemon is launched. You will have to make
a :
/etc/init.d/ stop

Some daemon come with a /etc/default/ file in which you can set a
parameter to no,false,... to not launch the daemon at boot time.

May be samba comes with this sort of file and i can't test now.

Regards,
Laurent.

-- 
Laurent Guignard, Registered as user #301590 with the Linux Counter
Site : http://www.famille-guignard.org
Blog : http://blog.famille-guignard.org
Projet : http://sicontact.sourceforge.net
GULL de Villefranche sur Saône : http://www.cagull.org


signature.asc
Description: Digital signature


Re: unable to boot, how to install the package that cause problem?

2009-04-05 Thread Daniel Dalton
On Sun, Apr 05, 2009 at 09:53:36PM -0500, zhang zhengquan wrote:
> Dear debian users,

Good afternoon

> I have installed some boot splash related packages on my girlfriends
> laptop running sid,
> and it turned out that it is unable to boot after that,

Ah damn! :)

> I have a system rescue cd that boots well in to another linux on the cdrom.

Great.

> 
> I wonder if it is possible to uninstall the package installed on
> debian using the system rescue cd?

I'm sure it is... Perhaps not the best way: but you could mount the
partition eg.
mount /dev/sda1 /mountpoint

Now just run 
a find command on /usr or whatever directory it is installed in and
delete the binaries. Otherwise just find out which start up script is
starting it and remove the call to start it on boot. This should allow
you to boot the machine then use aptitude to remove it.
Perhaps consult /etc/rcS.d/ or rcconf, or /etc/rc.local, but most likeley not...

But I would first look in the boot scripts.

Daniel.


signature.asc
Description: Digital signature


mutt mailing list

2009-04-05 Thread Daniel Dalton
Has anyone had any luck subscribing to mutt-users? I can't seem to
subscribe, I get my email returned with an error about 
Mailing to remote domains not supported.

Tried with my iinet.net.au address, and gmail as well as hotmail.

Anyone know how I can join this group?

Thx

Daniel.


signature.asc
Description: Digital signature


Re: mutt mailing list

2009-04-05 Thread Michelle Konzack
Hi Daniel,

Am 2009-04-06 15:03:44, schrieb Daniel Dalton:
> Has anyone had any luck subscribing to mutt-users? I can't seem to
> subscribe, I get my email returned with an error about 
> Mailing to remote domains not supported.
> 
> Tried with my iinet.net.au address, and gmail as well as hotmail.
> 
> Anyone know how I can join this group?

Ehm YES! -- Do you have send a message to:

From: Daniel Dalton 
To: mutt-users-requ...@mutt.org
Subject: subscribe
or
From: Daniel Dalton 
To: majord...@mutt.org
Body: subscribe mutt-users

It is working fine

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
 Michelle Konzack
   Apt. 917
   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


Reg. PAM

2009-04-05 Thread @ Bhagya
Hi everybody,

Good Morning.

I am using Lenny.
I have installed libpam-cracklib.
I was going through "Securing Debian" and tryig to understand more about
PAM.
I have a couple of issues.
I have installed OpenOffice.org 3 from backport.org.

Does our new versions support PAM for packages.
How can I view the list of packages that support PAM ?

[1] The following two lines should be added to all files in /etc/pam.d/
that grant access to the machine, like login and ssh.

 # Be sure to install libpam-cracklib first or you will not be able
to log in
 password   required pam_cracklib.so retry=3 minlen=12 difok=3
 password   required pam_unix.so use_authtok nullok md5

Should I randomly insert the lines anywhere in the said file ?
Or I can insert the above 2 lines in every file located /etc/pam.d/ ?

[2] Please guide me where I should insert lines in various other 
files.
Please look into the follwoing link :
http://www.linuxsecurity.com/resource_files/host_security/securing-debian-howto/ch4.en.html#s-check-integ.

Herewith I am providing /etc/pam.d/login content :

#
# The PAM configuration file for the Shadow `login' service
#

# Enforce a minimal delay in case of failure (in microseconds).
# (Replaces the `FAIL_DELAY' setting from login.defs)
# Note that other modules may require another minimal delay. (for
example,
# to disable any delay, you should add the nodelay option to pam_unix)
auth   optional   pam_faildelay.so  delay=300

# Outputs an issue file prior to each login prompt (Replaces the
# ISSUE_FILE option from login.defs). Uncomment for use
# auth   required   pam_issue.so issue=/etc/issue

# Disallows root logins except on tty's listed in /etc/securetty
# (Replaces the `CONSOLE' setting from login.defs)
auth   [success=ok ignore=ignore user_unknown=ignore default=die]
pam_securetty.so

# Disallows other than root logins when /etc/nologin exists
# (Replaces the `NOLOGINS_FILE' option from login.defs)
auth   requisite  pam_nologin.so

# This module parses environment configuration file(s)
# and also allows you to use an extended config
# file /etc/security/pam_env.conf.
# 
# parsing /etc/environment needs "readenv=1"
session   required   pam_env.so readenv=1
# locale variables are also kept into /etc/default/locale in etch
# reading this file *in addition to /etc/environment* does not hurt
session   required   pam_env.so readenv=1
envfile=/etc/default/locale

# Standard Un*x authentication.
@include common-auth

# This allows certain extra groups to be granted to a user
# based on things like time of day, tty, service, and user.
# Please edit /etc/security/group.conf to fit your needs
# (Replaces the `CONSOLE_GROUPS' option in login.defs)
auth   optional   pam_group.so

# Uncomment and edit /etc/security/time.conf if you need to set
# time restrainst on logins.
# (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
# as well as /etc/porttime)
# accountrequisite  pam_time.so

# Uncomment and edit /etc/security/access.conf if you need to
# set access limits.
# (Replaces /etc/login.access file)
# account  required   pam_access.so

# Sets up user limits according to /etc/security/limits.conf
# (Replaces the use of /etc/limits in old login)
sessionrequired   pam_limits.so

# Prints the last login info upon succesful login
# (Replaces the `LASTLOG_ENAB' option from login.defs)
sessionoptional   pam_lastlog.so

# Prints the motd upon succesful login
# (Replaces the `MOTD_FILE' option in login.defs)
sessionoptional   pam_motd.so

# Prints the status of the user's mailbox upon succesful login
# (Replaces the `MAIL_CHECK_ENAB' option from login.defs). 
#
# This also defines the MAIL environment variable
# However, userdel also needs MAIL_DIR and MAIL_FILE variables
# in /etc/login.defs to make sure that removing a user 
# also removes the user's mail spool file.
# See comments in /etc/login.defs
sessionoptional   pam_mail.so standard

# SELinux needs to intervene at login time to ensure that the process
# starts in the proper default security context.
# Uncomment the following line to enable SELinux
# session required pam_selinux.so select_context

# Standard Un*x account and session
@include common-account
@include common-session
@include common-password



Thank You,
@ Bhagya.


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


Re: unable to boot, how to install the package that cause problem?

2009-04-05 Thread zhang zhengquan
2009/4/5 Daniel Dalton :
> On Sun, Apr 05, 2009 at 09:53:36PM -0500, zhang zhengquan wrote:
>> Dear debian users,
>
> Good afternoon
>
>> I have installed some boot splash related packages on my girlfriends
>> laptop running sid,
>> and it turned out that it is unable to boot after that,
>
> Ah damn! :)
>
>> I have a system rescue cd that boots well in to another linux on the cdrom.
>
> Great.
>
>>
>> I wonder if it is possible to uninstall the package installed on
>> debian using the system rescue cd?
>
> I'm sure it is... Perhaps not the best way: but you could mount the
> partition eg.
> mount /dev/sda1 /mountpoint
>
> Now just run
> a find command on /usr or whatever directory it is installed in and
> delete the binaries. Otherwise just find out which start up script is
> starting it and remove the call to start it on boot. This should allow
> you to boot the machine then use aptitude to remove it.
> Perhaps consult /etc/rcS.d/ or rcconf, or /etc/rc.local, but most likeley 
> not...
>
> But I would first look in the boot scripts.
>
> Daniel.
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAknZic0ACgkQQCYsNYjKJVAJJQCfQyNAwvLAWabeXZEG20Q08Ecm
> 9LkAniUgLncUlUWdpl6hVn7dLLohpwjM
> =qRU/
> -END PGP SIGNATURE-
>
>


Thanks, Daniel,
that is a good idea, I will take a look at the boot script
I wonder if I can use aptitude to remove it though,


-- 
Zhengquan


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



Re: Upgrade to Sid from Squeeze not happy...

2009-04-05 Thread Michel Dänzer
On Sun, 2009-04-05 at 17:48 -0400, Rick Thomas wrote:
> 
> > The following packages are BROKEN:
> >   xfce4 xfwm4-themes
> > ... ... ...
> > 246 packages upgraded, 75 newly installed, 51 to remove and 3 not  
> > upgraded.
> > Need to get 374MB of archives. After unpacking 36.4MB will be freed.
> > The following packages have unmet dependencies:
> >   xfce4: Depends: xfwm4 (>= 4.6.0) but 4.4.2-5 is installed.
> >  Depends: xfconf (>= 4.6.0) which is a virtual package.
> >  Depends: xfce4-settings (>= 4.6.0) which is a virtual  
> > package.
> >  Depends: xfce4-panel (>= 4.6.0) but 4.4.2-6 is installed.
> >  Depends: xfdesktop4 (>= 4.6.0) but 4.4.2-7 is installed.
> >  Depends: thunar (>= 1.0.0) but 0.9.0-10 is installed.
> >  Depends: thunar-volman (>= 0.3.80) but it is not installable
> >  Depends: xfce4-utils (>= 4.6.0) but 4.4.2-8 is installed.
> >  Depends: xfce4-session (>= 4.6.0) but 4.4.2-6 is installed.
> >   xfwm4-themes: Depends: xfwm4 (>= 4.6.0) but 4.4.2-5 is installed.
> > The following actions will resolve these dependencies:
> >
> > Keep the following packages at their current version:
> > xfce4 [4.4.2.1 (now)]
> > xfwm4-themes [4.4.2-1 (now)]
> >
> > Score is 130
> >
> > Accept this solution? [Y/n/q/?]
> 
> First of all, why does "full-upgrade" say "and 3 not upgraded" when  
> there seem to be only two un-upgradable packages?

Probably it already decided to hold other packages for reasons not
displayed before this prompt. You should see which ones after this
prompt.

> Second, the "4.6.0" versions of all those packages are available on my  
> i386 Sid box.  Why haven't they made it to PowerPC yet?

Maybe some of them have bugs which cause them to fail to build from
source (FTBFS) on powerpc. Or maybe the powerpc autobuilders just
haven't caught up yet.

> PS:  Can somebody suggest an appropriate "package" to which I can  
> submit a bug report on this?

FTBFS bugs should be reported against the corresponding packages, but
otherwise this is just normal sid churn.


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer


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



Re: mutt mailing list

2009-04-05 Thread Daniel Dalton
On Mon, Apr 06, 2009 at 07:16:20AM +0200, Michelle Konzack wrote:
> Hi Daniel,

Hi Michelle,

> To: majord...@mutt.org
> Body: subscribe mutt-users

Ah yes! Thanks very much that worked!

Cheers,

Daniel.


signature.asc
Description: Digital signature