Re: Nvidia drivers from sid on squeeze

2011-06-26 Thread Greg Madden


On Saturday 25 June 2011 09:52:08 pm lee wrote:

> > "The compiler used to compile the kernel (gcc 4.3) does not exactly
> >  match the current compiler (gcc 4.4).  The Linux 2.6 kernel module
> >  loader rejects kernel modules built with a version of gcc that does not
> >  exactly match that of the compiler used to build the running kernel."
> >
> > Why on Earth is the squeeze kernel image not built with the version
> > squeeze version of gcc? http://packages.debian.org/squeeze/gcc
>
> That happens frequently. Use the Debian packages ...

The fix though is to re-link gcc-4.4 to gcc.
  'ln -sf /usr/bin/gcc-4.4   /usr/bin/gcc'

-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201106252309.09070.gomadtr...@gci.net



X on a virtual server

2011-06-26 Thread Eric d'Halibut
I'm thinking that in order to set up a remote X login to a given
machine, that X must be running and configured on that machine. But X
doesn't want to configure itself on a "virtual private server" that
has NO PHYSICAL VIDEO CARD, or so it seems to me at present.

But surely all the computing horsepower I have available to me in my
virtual private server (to which I have of course root access) can be
put in the service of providing X access to that server. Am I crazy,
or how do I set up X for remote login on a machine with no video card,
or even no physical existence?

-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktimwky+smcp0ddh+voexjt_pyyt...@mail.gmail.com



Re: Advice sought on obtaining latest Amarok package

2011-06-26 Thread AG

On 25/06/11 17:15, Brian wrote:


Submit 'amarok' to the search engine. It will tell you whether there are
any backported packages for Squeeze for your architecture (i386 etc).
Decide whether you want to install a package and read the instructions
for changing sources.list (go back a page).

   


Aha!! So that's how that works 


Only you can decide if this is the best way for you and whether the
package is recent enough for your needs. FWIW, I think it will give you
fewer problems than the alternatives.

   


Thanks Brian.  I'll give that approach a spin and see how I make out 
with that.

Pls elaborate.
 

I hope I have.


   


Many thanks.

AG



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

Archive: http://lists.debian.org/4e06dc20.6060...@gmail.com



Re: Advice sought on obtaining latest Amarok package

2011-06-26 Thread AG

On 25/06/11 14:46, Brian wrote:

On Sat 25 Jun 2011 at 13:16:44 +0100, AG wrote:

   

Any thoughts?
 

http://backports-master.debian.org/Packages/


   


Brian

I've now followed this suggestion, and although doing so pulled in a 
load of other KDE packages, I am pleased to note that - at least so far 
- there doesn't appear to be any wider system problems and I am now 
running the 2.4.1 version of Amarok, which is much better than the 
native squeeze version (includes MusicBrainz tagging, better cover art 
look up and configuration, etc.).


Just to confirm, if I read the backports instructions correctly, even 
though the backports line is uncommented in the sources.list, usual 
package updating will not draw down from backports unless I set the 
automatic flag on it.  Have I understood that correctly?


Once again, many thanks.

AG


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

Archive: http://lists.debian.org/4e06dffb@gmail.com



Re: Debian wheezy:machine auto booted after poweroff

2011-06-26 Thread xuyuanwei
在 2011-06-24五的 00:02 +0800,yuanwei xu写道:
> 2011/6/23 yuanwei xu :
> > 2011/6/23 Camaleón :
> >> On Thu, 23 Jun 2011 22:07:29 +0800, yuanwei xu wrote:
> >>
> >>> 2011/6/22 Camaleón :
> >>
> > Yes, it works, thanks for your reply. Hope there will be a final
> > solution soon.
> 
>  It worked?? Hum... I didn't expect it did.
> >>>
> >>> At least, it had not auto booted in one night after "#init 1" and
> >>> "#poweroff".
> >>
> >> Good.
> >>
>  This could be something to investigate further. At a first glance I can
>  think in acpi being the culprit... is the "acpid" service loaded in
>  single-user mode?
> >>>
> >>> In /etc/rc2.d, $ls | grep acpi, there are files:
> >>>
> >>> S18acpi-fakekey
> >>> S19acpid
> >>> S19acpi-support
> >>> In /etc/rc1.d,$ls | grep acpi, there is file:
> >>> K01acpi-support
> > Oh, the "acpid" service also started in runlevel 1, it existed in the
> > process list,I thought it shouldn't started because there is no
> > Sxxacpid file.
> 

> >
> >>
> >> Hum... so at init 1 there is no "acpid" service running on background.
> >> This can be relevant for your issue when powering off the machine... How
> >> about stopping "acpid" service on a normal session and then try to
> >> shutdown the machine? Just to test with other variant...


In /etc/rc2.d, i disabled "acpi-fakekey","acpid" and "acpi-support",the
auto start problem still happened,both 2.6.38-2-686 and 2.6.39-2-686-pae
kernel.

It seems the problem has something to do with the uptime, but more
observation is needed.
> 
> >>
> >> Greetings,
> >>
> >> --
> >> Camaleón
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> >> with a subject of "unsubscribe". Trouble? Contact 
> >> listmas...@lists.debian.org
> >> Archive: http://lists.debian.org/pan.2011.06.23.15.07...@gmail.com
> >>
> >>
> >



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309077439.2636.16.camel@localhost



Re: No more GRUB legacy at install time since wheezy?

2011-06-26 Thread Camaleón
On Sat, 25 Jun 2011 23:46:00 +0100, Brian wrote:

> On Sat 25 Jun 2011 at 19:14:06 +, Camaleón wrote:

>> > With Linux you have complete control - so you can alter any file you
>> > wish. However, it is not usual (and maybe ill-advised) to change
>> > 00_header, 10_linux, 20_linux_xen or 30_os-prober. 40_custom is
>> > completely under your control (there is an example in this thread)
>> > and 05_debian_theme could be customised.
>> 
>> Sure, but that's no what I understand for "with GRUB2 there is only one
>> file to tweak", there are many and we (as admins) have to learn about
>> them ;-)
> 
> Tom H is fundamentally correct with his 'one file' view. There is quite
> a lot which can be done with /etc/default/grub if desired. Kernel
> options, a GRUB background and font, whether the menu is displayed or
> not and for how long it is displayed - etc.

For basic stuff, it could be. But we have to know there are additional 
files that can be also used to configure GRUB 2 and that's a slightly 
difference with GRUB legacy where basically we had only 2 main files:

- menu.lst for the common things, basically GRUB's menu options and OS 
entries

- device.map to tweak device detection order

And device.map had to be rarely modified, unless USB devices or non-fixed 
hard disks came into play.

And don't get me wrong, I'm not saying that GRUB 2 is a bad thing per se, 
is just that people used to GRUB legacy will have to adapt to the new 
layout and learn again how to recover -in minutues- from a boot disaster.

I'm afraid that in the learning process I'm going to damn GRUB 2 one or 
two times while I remember to run "update-grub" after editing "/etc/
default/grub" :-)

> Anything more special and you move on to 40_custom. For example, booting
> from an iso file (those that are especially to provide the facility) can
> be done there. It also is useful if sub-menus are wanted. Neither is in
> GRUB Legacy, Of course, if these and other possibilities are of no use
> to a user they can work with /etc/default/grub or not, as they want.

I knew about that possibility (directly booting from an ISO image) in the 
time of GRUB legacy, but never tried.
 
> Files in /boot/grub are mainly binary. Nothing to do there. grub.cfg is
> an easy target though!
> 
> I do have a 05_debian_theme which differs a little from the one provided
> by Debian but I'd not go out of my way to change it drastically in other
> ways.

At least I can say one good thing of GRUB 2: it was the first time the 
installer could install GRUB on my system! ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.08.39...@gmail.com



Re: Nvidia drivers from sid on squeeze

2011-06-26 Thread Camaleón
On Sun, 26 Jun 2011 15:58:42 +1200, Aidan Gauland wrote:

> Camaleón  writes:
> 
>> You better try with nvidia own drivers to avoid messing with
>> dependencies.
> 
> Yes, I think I'll go that route.  Bit of a problem, though: the Nvidia
> installer warns me that
> 
> "The compiler used to compile the kernel (gcc 4.3) does not exactly
>  match the current compiler (gcc 4.4).  The Linux 2.6 kernel module
>  loader rejects kernel modules built with a version of gcc that does not
>  exactly match that of the compiler used to build the running kernel."

That's a known problem, as others have pointed out. It is also documented 
at nvidia's README, section "Compiling the NVIDIA kernel module gives 
this error:"

http://us.download.nvidia.com/XFree86/Linux-x86/275.09.07/README/commonproblems.html
 
> Why on Earth is the squeeze kernel image not built with the version
> squeeze version of gcc? http://packages.debian.org/squeeze/gcc

Dunno, but maybe that's one of the reasons there are many versions 
available for gcc in the repos.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.09.06...@gmail.com



Re: How to configure static route?

2011-06-26 Thread Camaleón
On Sun, 26 Jun 2011 10:53:21 +0800, Magicloud Magiclouds wrote:

>   I used to use configuration like "up ip route add 0.0.0.0/0 via
> a.b.c.d dev eth0" in /etc/network/interfaces to do this.

Is that option not available anymore?

>   But today, in debian doc
> (http://www.debian.org/doc/manuals/reference/ch05.en.html 5.5.14), I
> found that there is a /etc/network/routes to do this. Well, I cannot
> find more information about it.
>   Anyone could help giving me a clue? Thanks.

Indeed, the on file documentation is very brief. The important part says:

# This file includes a list of routes for differenet networks 
# following the format # Network Netmask Gateway Interface
#
# Example:
#
# 172.1.1.0 255.255.255.0 192.168.0.1 eth0

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.09.14...@gmail.com



Re: Accented chars in filenames issue

2011-06-26 Thread Tom Furie
On Sat, Jun 25, 2011 at 03:20:13PM +1000, Scott Ferguson wrote:
> On 25/06/11 10:16, lee wrote:

> > To give a silly example, a file named "-rf *" or "rm -rf *" 
> 
> I defy you to create a file with those name ;-p
> NOTE: I've tried. No point in it just being an untested opinion.

You can't have tried very hard then: 'touch -- "-rf *"'.

> > It's only common sense not to create file names that are likely to yield
> > unexpected results.
> 
> Agreed - but *as it's not possible* my agreement is worthless. It also
> belies the point of UTF.

See above.

Cheers,
Tom

-- 
Man is the best computer we can put aboard a spacecraft ... and the
only one that can be mass produced with unskilled labor.
-- Wernher von Braun


signature.asc
Description: Digital signature


Re: Keyboard - Xorg - Testing

2011-06-26 Thread Camaleón
On Sat, 25 Jun 2011 21:55:40 -0400, Lennart Andersen wrote:

> I just installed Debian Testing on a Lenovo T420, for some strange
> reason the keyboard does not work in Gnome.

Does it work in a console terminal (tty1)?
 
> Has anyone seen this behavior before?

No indeed. 

I just have installed testing into a Toshiba Tecra A7 and also use GNOME 
but both, keyboard and touchpad work as expected.

I would check "lsmod | grep evdev" and also "grep -i keyboard /var/log/
Xorg.0.log".

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.09.57...@gmail.com



Re: Debian wheezy:machine auto booted after poweroff

2011-06-26 Thread Camaleón
On Sun, 26 Jun 2011 16:37:19 +0800, xuyuanwei wrote:

> 在 2011-06-24五的 00:02 +0800,yuanwei xu写道:
>> 2011/6/23 yuanwei xu :
>> > 2011/6/23 Camaleón :

(...)

>> >> Hum... so at init 1 there is no "acpid" service running on
>> >> background. This can be relevant for your issue when powering off
>> >> the machine... How about stopping "acpid" service on a normal
>> >> session and then try to shutdown the machine? Just to test with
>> >> other variant...
> 
> 
> In /etc/rc2.d, i disabled "acpi-fakekey","acpid" and "acpi-support",the
> auto start problem still happened,both 2.6.38-2-686 and 2.6.39-2-686-pae
> kernel.

Take a look into dmesg, just in case there is something suspicious in 
there:

dmesg | grep -i -e acpi -e bios

And also think in opening a bug report, now is the time to handle testing 
problems.

> It seems the problem has something to do with the uptime, but more
> observation is needed.

With uptime? How is that? :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.10.17...@gmail.com



mdadm and UUIDs for its component drives

2011-06-26 Thread Luke Kenneth Casson Leighton
at martin's request i'm forwarding this to debian-user so that it can
be found for archival purposes and general discussion.  this is the
context: a follow-up question will be sent, without all the crap
below.

l.

[original]

allo martin,

haven't spoken to you for a while.  got an interesting feature request
/ bug in mdadm to report.  here's a bit of background, a lovely ubuntu
user trying to tell the world he's got it right, when it's all quite
likely to be spectacularly... inept and ineffective :)

http://ubuntuforums.org/archive/index.php/t-582775.html

i have set up a system which has WD external USB drives: they're
RAID-1 mirrored.  the idea is to keep the temperature of the machine
down, by having the data drives external: that way, the main fan
doesn't fire up and it's all nice and quiet.

the issue is this: if put in, say, a USB memory stick in first, and it
pops up as /dev/sdc, and _then_ put in the two USB external drives,
what happens to mdadm?  it sees /dev/sdc as being, instead of one of
the RAID drives, as a USB memory stick!

from the above thread (and i can confirm it - i've tried):
 mdadm --manage /dev/md1 --add
/dev/disk/by-id/usb-WD_Ext_HDD_1021_574341565933303838393734-0:0

mdadm i can confirm goes and hunts down the symlinks and adds
/dev/sdd!  i don't _want_ it to add /dev/sdd, i want it to add
/dev/disk/by-id/usb-WD_blah_blah :)

question is: how?  or, does it not matter: does mdadm use UUIDs internally?

tia,

[martin's reply]


On Sat, Jun 25, 2011 at 8:26 PM, martin f krafft  wrote:
> also sprach Luke Kenneth Casson Leighton  
> [2011.06.25.1938 +0200]:
>> mdadm i can confirm goes and hunts down the symlinks and adds
>> /dev/sdd!  i don't _want_ it to add /dev/sdd, i want it to add
>> /dev/disk/by-id/usb-WD_blah_blah :)
>>
>> question is: how?  or, does it not matter: does mdadm use UUIDs internally?
>
> Yes, it uses UUIDs. The problem you describe should not happen.
>
> Please direct your questions to debian-user@lists.debian.org so that
> others can profit from this discussion.
>
> --
>  .''`.   martin f. krafft       Related projects:
> : :'  :  proud Debian developer               http://debiansystem.info
> `. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
>  `-  Debian - when you have better things to do than fixing systems
>
> "without a god, life is only a matter of opinion."
>                                                    -- douglas adams
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=r-cA1TSwkGk=qq1t0anxmzdq...@mail.gmail.com



Re: Accented chars in filenames issue

2011-06-26 Thread Scott Ferguson
On 26/06/11 09:17, William Hopkins wrote:
> On 06/25/11 at 04:33pm, Scott Ferguson wrote:



> OK, so the files are being created, and your FS can handle the characters, but
> somehow the characters aren't being translated. So it's not an issue with your
> filesystem, it's an issue with the filesystem the original files are on. I
> assume that's NTFS? Can you try mounting it and moving a file with mv ?

Unfortunately that happened several years ago with some elses portable
drive - I only noticed the problem when moving the music collection from
ext3 to ext4 - the system kept coming up with "not found" messages when
attempting to move filenames which had ISOcharacter set accented
characters.

Fortunately I've managed to rename them using Picard and MusicBrainz -
there's far too many to do by hand.

This thread was created by someone else with a similar problem - so the
solution might be more use to them. I'm curious as to how it happened so
I can avoid it in the future though. Especially as I increasingly come
across people using the old non-UTF character sets for files.

What I should do is create some rules so that when I mount ntfs and fat
volumes in the future the problem is avoided... any suggestions'd be
appreciated.


Cheers
-- 
You know we armed Iraq. I wondered about that too, you know.
During the Persian Gulf war, those intelligence reports would come out:
"Iraq: incredible weapons – incredible weapons."
"How do you know that?" "Uh, well … we looked at the receipts.
But as soon as that check clears, we're goin' in.
What time's the bank open? Eight? We're going in at nine.
~ Bill Hicks on the Gulf War


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e070d61.8010...@gmail.com



Re: X on a virtual server

2011-06-26 Thread Camaleón
On Sun, 26 Jun 2011 03:11:51 -0400, Eric d'Halibut wrote:

> I'm thinking that in order to set up a remote X login to a given
> machine, that X must be running and configured on that machine. 

I think you can make use of x forwarding, that is, running the X server 
from machine where you are connecting, not from the one you connect to. 
And there is also xvfb with VNC, NX...

> But X doesn't want to configure itself on a "virtual private server"
> that has NO PHYSICAL VIDEO CARD, or so it seems to me at present.

For this I can't tell. I dunno if Xorg needs any kind of device (being 
real or virtual) in order to be properly launched. But for xvfb that 
should be fine.

> But surely all the computing horsepower I have available to me in my
> virtual private server (to which I have of course root access) can be
> put in the service of providing X access to that server. Am I crazy, or
> how do I set up X for remote login on a machine with no video card, or
> even no physical existence?

Do you want to run a full DE session or just run a bunch of X 
applications?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.10.56...@gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Luke Kenneth Casson Leighton
moorning martin: thanks for responding. apologies for not thinking to
ask on debian-user earlier, and apologies for the long-winded style:
just got ddragged out of bed to go chase a lamb out of the garden that
was eating our flowers and vegetables.  if i wasn't stumbling about
half-asleep or concerned for our future food supply i'd find a lamb
head-butting fence posts incredibly funny.

On Sat, Jun 25, 2011 at 8:26 PM, martin f krafft  wrote:

> also sprach Luke Kenneth Casson Leighton  
> [2011.06.25.1938 +0200]:
>> mdadm i can confirm goes and hunts down the symlinks and adds
>> /dev/sdd!  i don't _want_ it to add /dev/sdd, i want it to add
>> /dev/disk/by-id/usb-WD_blah_blah :)
>>
>> question is: how?  or, does it not matter: does mdadm use UUIDs internally?
>
> Yes, it uses UUIDs. The problem you describe should not happen.

 ok, so the question therefore morphs into a long-winded
self-answering one: what is it about mdadm that causes people not to
be aware that UUIDs are used internally, such that they invest quite a
bit of time to e.g. modify their udev rules in /etc/ (rather than add
alternatives to /usr/local) and thus make their lives more awkward for
future upgrades, and search for "solutions" such as endeavouring to
use --add /dev/disk/by-id/XXX?

 the answer is that mdadm tracks down the hardlink and displays, as
best i can tell, only that, with no immediately obvious options to get
it to display the disk UUIDs.

 sooo here's some further questions:

 * is there an option to mdadm to make it display UUIDs instead of or
as well as the disk name?

 * if not, would adding one be a good idea?

 * also, how about making mention of how mdadm works, in the man page
somewhere reaaasonably prominently?

the basic gist is that mdadm is a fantastic tool, does a far better
job than people believe or understand it to be doing, protects them
from themselves and any lack of knowledge of its inner workings, but
that means that unfortunately it's under-promoted and in danger of
being ignored (or worse, NIH-rewritten!)

 i would hate to see a "better" tool being written which has, at the
very top of its home page, and in all freshmeat and sourceforget
prominent short descriptions, "yeah!  we're l33t!  our software RAID
tool uses UUIDs, which makes it better than mdadm.  we r0ck!"

 :)

 l.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTikbVC9ZsXT4SF-Lb3=gk2nqlmx...@mail.gmail.com



Re: Hibernate fails

2011-06-26 Thread Scott Ferguson
On 26/06/11 07:26, Carl Fink wrote:
> Sorry about the delay in answering. This is my personal netbook, and my job
> has kept me too busy to spend any time fiddling with it for several days.

No worries (busy time of year here too).

> 
> On Tue, Jun 21, 2011 at 02:41:48PM +1000, Scott Ferguson wrote:
> 

>>
>> Does the wifi work for you (under Debian)??
> 

> 
> It works flawlessly under Debian.

I'm "assuming" you haven't been using WPA - everything I've read seems
to indicate you'd need a file at:-
/etc/wpa_supplicant/wpa_supplicant.conf

NOTE: I don't have a machine running Wheezy, and I don't run
NetworkManager - though I'm aware it doesn't seem to use ifconfig.



> There is no such file. On the off chance that you want it, here are the
> contents of /etc/dbus-1/system.d/wpa_supplicant.conf:
> 

Thanks - (can't say I understand it)


> 
>> What do you use to handle wpa_supplicant's networks?? (eg. wicd,
>> NetworkManager)
> 
> I use nm-applet.
> 

I've attached a dummy wpa_supplicant.conf - try copying it to
/etc/wpa_supplicant/wpa_supplicant.conf
Then try to hibernate:-
# echo disk > /sys/power/state

Note: it's not necessary to hibernate from the cli, it just reduces the
chances of other factors causing problems, and allows you to see any
output from the command that the gui hibernate function calls

If successful, try connecting to a wireless network that uses WPA, or
WPA2. Or RSN/WPA2/WPA-PSK/WPA2-PSK/WPA w.EAP/RSN-PMKSA etc etc :-/

If that fails then NetworkManager probably does use the .conf file we've
created and it might be necessary to put real information in it (maybe
also to create an entry in /etc/network/interfaces as well).
Please check /var/log for wpa_supplicant output and post here, also the
section of lspci showing your wireless device.
If it fails please post the /var/log/pm-suspend.log (just the output
from that attempt), and /var/log/wpa_supplicant

References:-
http://manpages.debian.net/cgi-bin/man.cgi?query=wpa_supplicant.conf&apropos=0&sektion=5&manpath=Debian+testing+%28wheezy%29&format=html&locale=en
http://wiki.debian.org/WiFi

Summary:- I suspect hibernate is looking for
/etc/wpa_supplicant/wpa_supplicant.conf and not finding it - so
hibernate fails.
It could be that the content of that file needs to be correct also - for
hibernate to work, and for WPA to work. (if I fix the hibernate I may
break WPA).
Regardless, it does appear that you have found a bug.

Cheers

-- 
You know we armed Iraq. I wondered about that too, you know.
During the Persian Gulf war, those intelligence reports would come out:
"Iraq: incredible weapons – incredible weapons."
"How do you know that?" "Uh, well … we looked at the receipts.
But as soon as that check clears, we're goin' in.
What time's the bank open? Eight? We're going in at nine.
~ Bill Hicks on the Gulf War
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
 ## uncomment this entry to automatically connect to any open network
 #network={
 #   ssid="testicles"
 #   key_mgmt=NONE
 #}

Re: Accented chars in filenames issue

2011-06-26 Thread Scott Ferguson
On 26/06/11 19:25, Tom Furie wrote:
> On Sat, Jun 25, 2011 at 03:20:13PM +1000, Scott Ferguson wrote:
>> On 25/06/11 10:16, lee wrote:



> You can't have tried very hard then: 'touch -- "-rf *"'.
> 

> 
> Cheers,
> Tom
> 

You are (also) correct.
Turns out there's a number of ways to do that.

What does the "--" do??
Both:-
$ touch "-rf *"
and:-
$ touch -- "-rf *"
work - so "--" doesn't "appear" to do anything, yet it produces no
error. Strange - I'd expect an error at least.

Cheers

-- 
You know we armed Iraq. I wondered about that too, you know.
During the Persian Gulf war, those intelligence reports would come out:
"Iraq: incredible weapons – incredible weapons."
"How do you know that?" "Uh, well … we looked at the receipts.
But as soon as that check clears, we're goin' in.
What time's the bank open? Eight? We're going in at nine.
~ Bill Hicks on the Gulf War


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e071bed.3050...@gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Andrew McGlashan

Hi Luke,

Luke Kenneth Casson Leighton wrote:

 the answer is that mdadm tracks down the hardlink and displays, as
best i can tell, only that, with no immediately obvious options to get
it to display the disk UUIDs.


I hear what you are saying, but I had a related problem which was similar.

When starting up a machine with two external 2TB drives which had been 
set up as a mirror, it would sometimes only find one drive and then it 
would happily mount the RAID1 array in a degraded state.  Then, when the 
other drive was added in, it had to do a rebuild of the array.  It's not 
much good having to rebuild the array after each boot when the mirror 
should be perfectly fine.



So I solved it by adding the following to my /etc/rc.local

nohup /usr/local/bin/u1-mirror-drive.sh 2>&1 >/dev/null &



Note that external mirror drive, which mounts at /u1, has this 
/etc/fstab entry:


/dev/mapper/vg--external--1-vg--external--1--u1   /u1 ext4 
  noauto,rw 0   0




I've masked the UUID below, but I don't see how it could cause any 
trouble if I did not do that.



The RAID1 is identified ONLY with UUID in /etc/mdadm/mdadm.conf

#  grep ARRAY /etc/mdadm/mdadm.conf
ARRAY /dev/md0 UUID=06fd3d46----



Here's my script that handles getting everything working after a boot:

#  cat /usr/local/bin/u1-mirror-drive.sh
#!/bin/bash

RAID_DRIVE_ID=06fd3d46----
RAID_DRIVES=2
TIME_LIMIT=60

echo RAID Drive ID: $RAID_DRIVE_ID
echo Number of Devices required: $RAID_DRIVES
echo Time Limit: $TIME_LIMIT

function error_drive_missing ()
{
echo
echo -en "\aMissing drive(s) ... cannot assemble /dev/md0\n\n"
/sbin/blkid|/bin/grep $RAID_DRIVE_ID
exit
}

(

echo "=="
echo -en "Waiting for $RAID_DRIVES drives to be visible for 
\"linux_raid_member(s)\" with blkid of: \"$RAID_DRIVE_ID\" ... \n\t"

CNT=1
echo -en "00"
while [ $(/sbin/blkid|/bin/grep $RAID_DRIVE_ID|/usr/bin/wc -l) -lt 
$RAID_DRIVES ]

do
if [ $CNT -lt 10 ]; then echo -en "\b$CNT"; else echo -en 
"\b\b$CNT";fi
if [ $CNT -eq $TIME_LIMIT ]; then echo -en "\b\b$TIME_LIMIT 
seconds \n";error_drive_missing;fi

CNT=$(($CNT + 1))
/bin/sleep 1
done
echo -en "\n\nAll required drives found in $CNT seconds\n"
echo "=="
echo -en "\n\n"

cmds='/sbin/mdadm --assemble /dev/md0~
/sbin/vgscan~
/sbin/vgchange -ay vg-external-1~
/bin/mount /u1~
/bin/mount~
/bin/df -Th~
/bin/date~
/sbin/mdadm -D /dev/md0~
/bin/cat /proc/mdstat'

echo ".."

IFS='~'
echo $cmds|
while read cmd
do
IFS=$' \t\n'
echo "=="
echo "${cmd}"
echo "--"
$cmd
echo -en "==\n\n"
done

echo ".."

) 2>&1 | /usr/bin/tee /var/log/md0-vg-external-1-u1-wrk.$(date 
+%Y%m%d%H%M).out




Right now, I am using 2x 2TB drives as mirrors, I plan to add a 3rd 
drive as a 3-way mirror and to let it sync up, then remove the drive for 
off-site storage.  A 4th drive will come into play as well to rotate 
off-site storage.  Consequently, I catered for that scenario in the 
"mount" script above -- ie I can easily change the number of RAID 
devices to find before continuing if I choose to have more online or not 
during boot.  The script gives up if it cannot find the required number 
of devices within 60 seconds, then I will have to manually intervene.


As you can see from the script, there is some logging taking place so 
that I can check things over if necessary.


I may end up using multiple external mirrors at some stage; if I do that 
then I'll likely have duplicated scripts for each metadevice and the 
scripts will be [slightly] modified as required.  I may end up with a 
parameter file with a single script, but it's probably not worth the 
further effort.  Although using command line variables would be an easy 
and viable option.


Anyway the long and short of it is, I can use mdadm without regard 
to what devices are found, such as /dev/sda /dev/sdb /dev/sdc and the 
like as I rely purely on the UUID functionality, which as you know, 
mdadm handles perfectly well.  ;-)



--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


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

Archive: http://lists.debian.org/4e07335a.4010...@affinityvision.com.au



Re: Advice sought on obtaining latest Amarok package

2011-06-26 Thread Brian
On Sun 26 Jun 2011 at 08:30:03 +0100, AG wrote:

> Just to confirm, if I read the backports instructions correctly, even  
> though the backports line is uncommented in the sources.list, usual  
> package updating will not draw down from backports unless I set the  
> automatic flag on it.  Have I understood that correctly?

Sounds about right. The package lists will update but it needs a
specific request to get a backported package. More reading:

http://wiki.debian.org/Backports

Glad it went smoothly for you.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110626134145.GQ19572@desktop



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Luke Kenneth Casson Leighton
On Sun, Jun 26, 2011 at 2:25 PM, Andrew McGlashan
 wrote:

> I hear what you are saying, but I had a related problem which was similar.

 well... it's funny, because this is exactly what i need.

> Anyway the long and short of it is, I can use mdadm without regard to
> what devices are found, such as /dev/sda /dev/sdb /dev/sdc and the like as I
> rely purely on the UUID functionality, which as you know, mdadm handles
> perfectly well.  ;-)

 :)

 well.  that was nice.  the scenario you describe is precisely what i
sort-of had planned, but didn't have the expertise to do so was going
to recommend just two drives and then rsync to the other two.

 _however_, given that you've solved exactly what is needed / best /
recommended for when you have 4 external drives (which i do) that's
bloody fantastic :)

 ok, i bring in phil now, who i was talking to yesterday about this.
what he said was (and i may get this wrong: it only went in partly) -
something along the lines of "remember to build the drives with
individual mdadm bitmaps enabled".  this will save a great deal of
arseing about when re-adding drives which didn't get properly added:
only 1/2 a 1Tb drive will need syncing, not an entire drive :)  the
bitmap system he says has hierarchical granularity apparently.

also, he recommended taking at least one of the external drives *out*
of its external box and making it *internal*.  the reason for that is
that a) if the drives ever get powered down accidentally (e.g. by
cleaning ladies) you're fd b) if you move a drive or two
internally, it's possible to prioritise those drives as "reading"
ones, and to make the external ones "write" priority.  so, the data
gets read from the internal one, and changes get propagated to all
drives.

... thoughts?

l.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=9WA9ayQ8sioeBsaocqJBigN+=7...@mail.gmail.com



mixer and audio recording in Debian

2011-06-26 Thread H.S.
Hello.

Does anyone have any experience with using the Alesis MultiMix 8 USB 2.0
(http://www.alesis.com/multimix8usb20) with Debian machines?

I have Debian Testing on am Amd64 and am looking to buy a mixer. I was
initially considering a Mackie mixer (which provides stereo outputs) but
realized that by using a USB I can record all channels indiviually
(instead of only two channels).

Thanks.

-- 

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
Archive: http://lists.debian.org/iu7e8b$rur$1...@dough.gmane.org



Re: virtualbox cannot see USB anymore

2011-06-26 Thread H.S.
On 25/06/11 04:58 AM, Camaleón wrote:
> On Fri, 24 Jun 2011 21:19:03 -0400, H.S. wrote:
> 
> (...)
> 
>> First, I tried the virtualbox-ose from Debian repos until I realized it
>> does not support USB. Next, I discovered I can install Virtualbox from
>> Oracle to get USB support (after installing the extensions as well).
>> That worked quite well. Till I updated my machine several days ago.
>>
>> Since that update, I keep getting a message about some USB Node creation
>> script not being found during boot. The message is something like: $>
>> /usr/share/virtualbox/VBoxCreateUSBNode.sh not found.
> 
> (...)
> 
> Updates can to bork VM settings. You can try Steve's suggestion or even 
> be a bit more radical and test with a complete "~/.VirtualBox" empty/new 
> profile (do not delete the old one, just move it to another place).
> 
> Greetings,
> 

So here is what I did. Purged Oracle's virtual box, removed my
~/.VirtualBox. Purged the package's installation directory (had some
modules that aptitude didn't remove) and followed that by installing
Debian's Virtualbox package. I then installed the extension I am using
from Oracle's website.

Now I have USB support and I can read USB sticks from within the guest
OS. However, I am unable to work my Tomtom GPS unit via USB. Not sure
where the problem lies anymore, since the Tomtom unit actually connects
as a network or something, instead of a storage device. So it could be
Tomtom (but I was able to work with it till about a couple of weeks ago)
or the new updates in Debian.

-- 

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
Archive: http://lists.debian.org/iu7eld$urm$1...@dough.gmane.org



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread martin f krafft
also sprach Luke Kenneth Casson Leighton  
[2011.06.26.1241 +0200]:
>  * is there an option to mdadm to make it display UUIDs instead of or
> as well as the disk name?

mdadm -Es

>  * also, how about making mention of how mdadm works, in the man page
> somewhere reaaasonably prominently?

Search manpage for "partitions". Please suggest patches if you find
the information insufficient.

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
this product is under strict quality contril with perfect packing and
quality when leving the factory.please keep away from damp.high
temperature or sun expose.If found any detectives when purchasing.
please return the productby airmail to our administration section and
inform the time, place.and store of this purchase for our
improvement.We shall give you a satisfactory reply.Thanks for your
patronage and welcome your comments.
 -- http://www.engrish.com


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Luke Kenneth Casson Leighton
On Sun, Jun 26, 2011 at 2:25 PM, Andrew McGlashan
 wrote:

> Anyway the long and short of it is, I can use mdadm without regard to
> what devices are found, such as /dev/sda /dev/sdb /dev/sdc and the like as I
> rely purely on the UUID functionality, which as you know, mdadm handles
> perfectly well.  ;-)

 :)

 ... you see, this is the bit that has me concerned.  /dev/mdN can
be referred to by its unique UUID, but that's *not* what i'm referring
to.  and, from what you're saying, you appear to be implying that yes,
the external drives can pop up as /dev/sda through /dev/sdc and be
"confused" - and thus it is pure luck (or actually design) that the
drives *happen* to all be part of the same identical RAID-1 mirroring
array.

 so i realise martin that you've already answered, but it would be
really good if you could explicitly confirm:

 yes, mdadm names its RAID drives by UUID (as can clearly be seen in
/dev/mdadm/mdadm.conf) but does it *also* refer to its *COMPONENT*
drives (internally, and non-obviously, and undocumentedly) by UUID and
then report to the outside world that it's using whatever name
(/dev/sdX) which can, under these external-drives scenario, change.

 l.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=tzm+p-tgq1hjo6khljg_ufm9...@mail.gmail.com



Re: Hibernate fails

2011-06-26 Thread Brian
On Sun 26 Jun 2011 at 21:34:00 +1000, Scott Ferguson wrote:

> I'm "assuming" you haven't been using WPA - everything I've read seems
> to indicate you'd need a file at:-
> /etc/wpa_supplicant/wpa_supplicant.conf

It's only necessary with roaming configurations. If it is used it has to
be referenced in /e/n/i, but for single AP use an /e/n/i entry is
sufficient.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110626140244.GR19572@desktop



Re: virtualbox cannot see USB anymore

2011-06-26 Thread Camaleón
On Sun, 26 Jun 2011 10:10:52 -0400, H.S. wrote:

> On 25/06/11 04:58 AM, Camaleón wrote:

>> Updates can to bork VM settings. You can try Steve's suggestion or even
>> be a bit more radical and test with a complete "~/.VirtualBox"
>> empty/new profile (do not delete the old one, just move it to another
>> place).
>> 
>> 
>> 
> So here is what I did. Purged Oracle's virtual box, removed my
> ~/.VirtualBox. Purged the package's installation directory (had some
> modules that aptitude didn't remove) and followed that by installing
> Debian's Virtualbox package. I then installed the extension I am using
> from Oracle's website.

He, that's even a more radical step than I suggested :-)

> Now I have USB support and I can read USB sticks from within the guest
> OS. However, I am unable to work my Tomtom GPS unit via USB. Not sure
> where the problem lies anymore, since the Tomtom unit actually connects
> as a network or something, instead of a storage device. So it could be
> Tomtom (but I was able to work with it till about a couple of weeks ago)
> or the new updates in Debian.

Are you getting any error in VM machine that let you Google for that? 
Also, visit VirtualBox forums and search for "tomtom", just in case.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.14.34...@gmail.com



Re: Tagging the music using cddb

2011-06-26 Thread Brad Rogers
On Sun, 26 Jun 2011 12:26:17 +1000
Scott Ferguson  wrote:

Hello Scott,

> A different approach is MusicBrainz - an online database of music
{snip}
> The Debian package is called picard (not to be confused with
> picard-tools). I can highly recommend it.

I suspect that it'll suffer in the same way that cddb does;  That is, if
the uploaded tags are trash (GIGO), then I'll still be editing it all
myself.

However, I'll give it a try, thanks.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
I'll tell you something, I think that you should know
Rich Kids - Rich Kids


signature.asc
Description: PGP signature


Re: Hibernate fails

2011-06-26 Thread Scott Ferguson
On 27/06/11 00:02, Brian wrote:
> On Sun 26 Jun 2011 at 21:34:00 +1000, Scott Ferguson wrote:
> 
>> I'm "assuming" you haven't been using WPA - everything I've read seems
>> to indicate you'd need a file at:-
>> /etc/wpa_supplicant/wpa_supplicant.conf
> 
> It's only necessary with roaming configurations. If it is used it has to
> be referenced in /e/n/i, but for single AP use an /e/n/i entry is
> sufficient.
> 
> 
Thank you. I wasn't sure if the /e/n/i was required, so (as noted in the
post) that was the next (1x1) step. I've read that NetworkManager, which
Carl uses, ignores /e/n/i.
I don't have access to a machine with wireless this weekend - so I'm
working from references. I also don't yet know whether Carl has been
using WPA, roaming or otherwise.
Just trying to solve his hibernation problem, and concerned I'll break
his WPA ability in the process.

To save you digging through the threads, please see:-
http://lists.debian.org/debian-user/2011/06/msg01535.html

I have only found two causes for that fail line in the log file - lack
of a wpa_supplicant.conf being one.

I'm sure Carl would appreciate additional insights. I do.

NOTE: I don't know why any one wants to hibernate. But it's an offered
function, which in this case doesn't appear to work.

Cheers

-- 
You know we armed Iraq. I wondered about that too, you know.
During the Persian Gulf war, those intelligence reports would come out:
"Iraq: incredible weapons – incredible weapons."
"How do you know that?" "Uh, well … we looked at the receipts.
But as soon as that check clears, we're goin' in.
What time's the bank open? Eight? We're going in at nine.
~ Bill Hicks on the Gulf War


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e074681.3030...@gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Luke Kenneth Casson Leighton
On Sun, Jun 26, 2011 at 3:11 PM, martin f krafft  wrote:
> also sprach Luke Kenneth Casson Leighton  
> [2011.06.26.1241 +0200]:
>>  * is there an option to mdadm to make it display UUIDs instead of or
>> as well as the disk name?
>
> mdadm -Es

 oo!  yaay!  there is, however, no mention of the fact that these
options display UUIDs, and, confusingly, -s is listed as "only working
with the -R option"... oh wait, that's for Incremental Assembly mode
(eek!)  ok, so -s (or --scan), scan /proc/mdstat, and -E for "show
components".



>>  * also, how about making mention of how mdadm works, in the man page
>> somewhere reaaasonably prominently?
>
> Search manpage for "partitions".

 that's odd.  i read around each part (man mdadm^M /partitions^M),
paragraph back and forwards: no mention of the UUIDs of drive
components of an array was clearly evident.

> Please suggest patches if you find the information insufficient.

 ok.  feeling slightly overwhelmed by the task, my lack of knowledge
on the detailed workings of mdadm somewhat getting in the way, but
i'll do my best.

 l.


> --
>  .''`.   martin f. krafft       Related projects:
> : :'  :  proud Debian developer               http://debiansystem.info
> `. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
>  `-  Debian - when you have better things to do than fixing systems
>
> this product is under strict quality contril with perfect packing and
> quality when leving the factory.please keep away from damp.high
> temperature or sun expose.If found any detectives when purchasing.
> please return the productby airmail to our administration section and
> inform the time, place.and store of this purchase for our
> improvement.We shall give you a satisfactory reply.Thanks for your
> patronage and welcome your comments.
>                                             -- http://www.engrish.com
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTinX=y6pxcpb2+csk8un6llv31r...@mail.gmail.com



Re: Accented chars in filenames issue

2011-06-26 Thread William Hopkins
On 06/26/11 at 09:45pm, Scott Ferguson wrote:
> On 26/06/11 19:25, Tom Furie wrote:
> > On Sat, Jun 25, 2011 at 03:20:13PM +1000, Scott Ferguson wrote:
> >> On 25/06/11 10:16, lee wrote:
> 
> 
> 
> > You can't have tried very hard then: 'touch -- "-rf *"'.
> > 
> 
> > 
> > Cheers,
> > Tom
> > 
> 
> You are (also) correct.
> Turns out there's a number of ways to do that.
> 
> What does the "--" do??

POSIX standard is for -- to signify end of options, so anything beyond that
cannot be processed as a switch/option.

,---
| Guideline 10:
|   The first -- argument that is not an option-argument should be accepted as
| a delimiter indicating the end of options. Any following arguments should be
| treated as operands, even if they begin with the '-' character.
,---

-- 
Liam


signature.asc
Description: Digital signature


Re: X on a virtual server

2011-06-26 Thread William Hopkins
On 06/26/11 at 03:11am, Eric d'Halibut wrote:
> I'm thinking that in order to set up a remote X login to a given
> machine, that X must be running and configured on that machine. But X
> doesn't want to configure itself on a "virtual private server" that
> has NO PHYSICAL VIDEO CARD, or so it seems to me at present.

yes, if you want to log in remotely to X, X must be present
VNC is designed for this purpose. VNC will run a virtual X server and allow you
to connect to it remotely.

-- 
Liam


signature.asc
Description: Digital signature


Re: How to configure static route?

2011-06-26 Thread William Hopkins
On 06/26/11 at 10:53am, Magicloud Magiclouds wrote:
> Hi,
>   I used to use configuration like "up ip route add 0.0.0.0/0 via
> a.b.c.d dev eth0" in /etc/network/interfaces to do this.

I assume this was just an example, but if you really wanted a route to 0.0.0.0
you would use the 'gateway' parameter ;P

-- 
Liam


signature.asc
Description: Digital signature


Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Andrew McGlashan

Luke Kenneth Casson Leighton wrote:

 yes, mdadm names its RAID drives by UUID (as can clearly be seen in
/dev/mdadm/mdadm.conf) but does it *also* refer to its *COMPONENT*
drives (internally, and non-obviously, and undocumentedly) by UUID and
then report to the outside world that it's using whatever name
(/dev/sdX) which can, under these external-drives scenario, change.

 l.


The other thing is that both drives in the array have the same UUID, so 
you need to be able to tell them apart some way or another and the 
/dev/sd* view is just fine.



And this works fine too fwiw :

  mdadm -D /dev/disk/by-id/md-uuid-*

So long as mdadm can determine the drives in use, I don't care how it 
uses them internally.  However, if a drive goes bad, then I need to know 
which one.


Let's say that /dev/sda has gone bad of a two drive RAID1 array; I can 
visually detect the drive by doing the following:


dd if=/dev/sda of=/dev/null

Go look to see which drive is busy [hopefully it will show with a 
flashing activity LED] and I can see which one has failed -- if that 
doesn't work, then I can reverse the test and try all drives that are 
meant to be okay to eliminate them.


--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


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

Archive: http://lists.debian.org/4e074a21.6000...@affinityvision.com.au



Re: Accented chars in filenames issue

2011-06-26 Thread Scott Ferguson
On 27/06/11 00:55, William Hopkins wrote:
> On 06/26/11 at 09:45pm, Scott Ferguson wrote:
>> On 26/06/11 19:25, Tom Furie wrote:
>>> On Sat, Jun 25, 2011 at 03:20:13PM +1000, Scott Ferguson wrote:
 On 25/06/11 10:16, lee wrote:
>>
>> 
>> What does the "--" do??
> 
> POSIX standard is for -- to signify end of options, so anything beyond that
> cannot be processed as a switch/option.
> 
> ,---
> | Guideline 10:
> |   The first -- argument that is not an option-argument should be accepted as
> | a delimiter indicating the end of options. Any following arguments should be
> | treated as operands, even if they begin with the '-' character.
> ,---
> 

Thanks -- should prove very useful (much simpler safety than other
proposals). Also explains why it didn't throw an error.
I remember seeing it before (IRIX and AIX) but, um, don't think I'd ever
bothered to asking why :-(.

Cheers

-- 
You know we armed Iraq. I wondered about that too, you know.
During the Persian Gulf war, those intelligence reports would come out:
"Iraq: incredible weapons – incredible weapons."
"How do you know that?" "Uh, well … we looked at the receipts.
But as soon as that check clears, we're goin' in.
What time's the bank open? Eight? We're going in at nine.
~ Bill Hicks on the Gulf War


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e074c8e.5000...@gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread martin f krafft
also sprach Luke Kenneth Casson Leighton  
[2011.06.26.1634 +0200]:
> > Search manpage for "partitions".
> 
>  that's odd.  i read around each part (man mdadm^M /partitions^M),
>  paragraph back and forwards: no mention of the UUIDs of drive
>  components of an array was clearly evident.

I was not trying to suggest that there was a mention of the UUIDs.
mdadm's manpage only mentions /proc/partitions; it scans that "file"
and then looks for UUIDs on each of the listed partitions, building
a list indexed by UUID [0]. This is called "scanning".

And now it has the list of devices (partitions) that constitute
individual arrays identified by UUID…

0. not sure this is the actual implementation…

> > Please suggest patches if you find the information insufficient.
> 
>  ok.  feeling slightly overwhelmed by the task, my lack of
>  knowledge on the detailed workings of mdadm somewhat getting in
>  the way, but i'll do my best.

I'll try my best to provide feedback.

Thanks,

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"no, 'eureka' is greek for 'this bath is too hot.'"
-- dr. who


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: mdadm and UUIDs for its component drives

2011-06-26 Thread William Hopkins
On 06/27/11 at 01:02am, Andrew McGlashan wrote:
> Luke Kenneth Casson Leighton wrote:
> > yes, mdadm names its RAID drives by UUID (as can clearly be seen in
> >/dev/mdadm/mdadm.conf) but does it *also* refer to its *COMPONENT*
> >drives (internally, and non-obviously, and undocumentedly) by UUID and
> >then report to the outside world that it's using whatever name
> >(/dev/sdX) which can, under these external-drives scenario, change.
> >
> > l.
> 
> 
> Let's say that /dev/sda has gone bad of a two drive RAID1 array; I
> can visually detect the drive by doing the following:
> 
> dd if=/dev/sda of=/dev/null
> 
> Go look to see which drive is busy [hopefully it will show with a
> flashing activity LED] and I can see which one has failed -- if that
> doesn't work, then I can reverse the test and try all drives that
> are meant to be okay to eliminate them.

It seems to me that you'd be well served by simply using the UUID (by-uuid, not
by-id) in all things, including mounting and managing. Then you would never
need to figure out which disk sda was, you could just figure out which disk the
UUID was (and you'd only have to learn it once).

-- 
Liam


signature.asc
Description: Digital signature


avidemux in testing ?

2011-06-26 Thread Maros Zilka
Hi,

I don't know what I am doing wrong but I can not find avidemux in
current testing repos. I've tried

"$ aptitude search avidemux"
"$ apt-cache search avidemux"
http://www.debian.org/distrib/packages
and even Google but there wasn't any mention that this package is no
longer in repos.

Maybe I am missing something obvious...
If it is not there could you recommend me some other video convertors ?

Thank you,

Maros.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309102319.26402.11.ca...@lorien.mrx



Re: avidemux in testing ?

2011-06-26 Thread Camaleón
On Sun, 26 Jun 2011 17:31:59 +0200, Maros Zilka wrote:

> I don't know what I am doing wrong but I can not find avidemux in
> current testing repos. I've tried
> 
> "$ aptitude search avidemux"
> "$ apt-cache search avidemux"
> http://www.debian.org/distrib/packages and even Google but there wasn't
> any mention that this package is no longer in repos.
> 
> Maybe I am missing something obvious... If it is not there could you
> recommend me some other video convertors ?

Avidemux is under debian-multimedia repo.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.26.15.38...@gmail.com



Re: avidemux in testing ?

2011-06-26 Thread Scott Ferguson
On 27/06/11 01:31, Maros Zilka wrote:
> Hi,
> 
> I don't know what I am doing wrong but I can not find avidemux in
> current testing repos. I've tried
> 
> "$ aptitude search avidemux"
> "$ apt-cache search avidemux"
> http://www.debian.org/distrib/packages
> and even Google but there wasn't any mention that this package is no
> longer in repos.
> 
> Maybe I am missing something obvious...
> If it is not there could you recommend me some other video convertors ?
> 
> Thank you,
> 
> Maros.
> 
> 
> 

Avidemus is in debian-multimedia (don't know that it was ever in the
main Debian repositories)
deb http://mirror.optus.net/debian-multimedia/ testing main non-free
deb-src http://mirror.optus.net/debian-multimedia/ testing main

You might like winff

Cheers

-- 
You know we armed Iraq. I wondered about that too, you know.
During the Persian Gulf war, those intelligence reports would come out:
"Iraq: incredible weapons – incredible weapons."
"How do you know that?" "Uh, well … we looked at the receipts.
But as soon as that check clears, we're goin' in.
What time's the bank open? Eight? We're going in at nine.
~ Bill Hicks on the Gulf War


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e0752d7.4060...@gmail.com



Re: avidemux in testing ?

2011-06-26 Thread Maros Zilka
On Sun, 2011-06-26 at 15:38 +, Camaleón wrote:
> On Sun, 26 Jun 2011 17:31:59 +0200, Maros Zilka wrote:
> 
> > I don't know what I am doing wrong but I can not find avidemux in
> > current testing repos. I've tried
> > 
> > "$ aptitude search avidemux"
> > "$ apt-cache search avidemux"
> > http://www.debian.org/distrib/packages and even Google but there wasn't
> > any mention that this package is no longer in repos.
> > 
> > Maybe I am missing something obvious... If it is not there could you
> > recommend me some other video convertors ?
> 
> Avidemux is under debian-multimedia repo.
> 
> Greetings,
> 
> -- 
> Camaleón
> 
> 

I knew it was something obvious...
Thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309103329.26402.13.ca...@lorien.mrx



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Luke Kenneth Casson Leighton
On Sun, Jun 26, 2011 at 4:26 PM, martin f krafft  wrote:
> also sprach Luke Kenneth Casson Leighton  
> [2011.06.26.1634 +0200]:
>> > Search manpage for "partitions".
>>
>>  that's odd.  i read around each part (man mdadm^M /partitions^M),
>>  paragraph back and forwards: no mention of the UUIDs of drive
>>  components of an array was clearly evident.
>
> I was not trying to suggest that there was a mention of the UUIDs.
> mdadm's manpage only mentions /proc/partitions; it scans that "file"
> and then looks for UUIDs on each of the listed partitions, building
> a list indexed by UUID [0].

 ahh, ok.  that's very cool.

> And now it has the list of devices (partitions) that constitute
> individual arrays identified by UUID…
>
> 0. not sure this is the actual implementation…

 :)

>> > Please suggest patches if you find the information insufficient.
>>
>>  ok.  feeling slightly overwhelmed by the task, my lack of
>>  knowledge on the detailed workings of mdadm somewhat getting in
>>  the way, but i'll do my best.
>
> I'll try my best to provide feedback.

 thx.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinnaoudu409w1+evy+adrv7-sz...@mail.gmail.com



Re: debian 6.0 boot failure after update to grub2

2011-06-26 Thread Philipp Überbacher
Excerpts from Philipp Überbacher's message of 2011-06-26 04:38:27 +0200:
> Excerpts from lee's message of 2011-06-25 22:40:59 +0200:
> > Philipp Überbacher  writes:
> > 
> > > Excerpts from lee's message of 2011-06-25 20:06:48 +0200:
> > >> Philipp Überbacher  writes:
> > >> 
> > >> > The system waits for the root file system for a while and then
> > >> > drops into a shell with the (initramfs) prompt.
> > >> >
> > >> > There's no /dev/sd* or /dev/disk for some reason.
> > >> 
> > >> A few weeks ago I found that I was suddenly unable to boot a
> > >> self-compiled kernel after making a change to only one option which
> > >> wouldn't affect booting at all. The kernel couldn't find the root fs
> > >> and after some waiting put me into an emergency shell. Apparently the
> > >> lvm volumes the root fs resides on were unavailable for unknown
> > >> reasons.
> > >> 
> > >> Fortunately, kernels from Debian packages still boot. I haven't found
> > >> a solution other than to run stock kernels yet. The only thing I
> > >> could find out is that it eventually has something to do with the
> > >> initramfs not being built correctly by the update-initramfs tool.
> > >
> > > Thanks lee, I think I saw a bug report regarding your
> > > problem. However, in my case no LVM is involved. Could it be that the
> > > initramfs is messed up for some reason?
> > 
> > The initramfs image for a particular kernel comes in a Debian package
> > with the kernel, doesn't it? If generating the images were to produce
> > broken images, wouldn't there be quite a few people having similar
> > problems? I really don't know ...
> > 
> > What if you install a more recent kernel from a rescue system?
> 
> I managed to install the normal most recent kernel (.32-5) by chroot
> and it doesn't boot either. In addition I uninstalled mdadm to make sure
> it's not the cause of those issues, yet no luck, it fails at
> init-bottom because it doesn't manage to mount root.
> Could it be that grub2 can't handle a jfs root? I'm pretty much out of
> ideas. I'll try downgrading to grub1 tomorrow..

Well, after downgrading to grub1 the system still doesn't boot, so it
seems like grub2 was the trigger but isn't the problem.
The normal kernel and removal of mdadm should pretty much rule xen and
mdadm out as well, so what's left? Udev? Something else?

I tried manual mounting from busybox:
mount /dev/sda1 /root
fails with Invalid Argument

mount -t jfs /dev/sda1 /root
fails with No such device

So this is what happens during boot as well. I found a post suggesting
that it might be a missing driver because the device is there. I tried
modprobing a couple of modules in busybox, but nothing I tried helped.

initramfs.conf is set to most and I rebuilt it a couple of times.

Ideas please?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309103480-sup-8335@eris



Re: X on a virtual server

2011-06-26 Thread Gregory Seidman
On Sun, Jun 26, 2011 at 10:59:52AM -0400, William Hopkins wrote:
> On 06/26/11 at 03:11am, Eric d'Halibut wrote:
> > I'm thinking that in order to set up a remote X login to a given
> > machine, that X must be running and configured on that machine. But X
> > doesn't want to configure itself on a "virtual private server" that
> > has NO PHYSICAL VIDEO CARD, or so it seems to me at present.
> 
> yes, if you want to log in remotely to X, X must be present VNC is
> designed for this purpose. VNC will run a virtual X server and allow you
> to connect to it remotely.

The other alternative is XDMCP, which is designed for this sort of thing.
This may be of some use:

http://tldp.org/HOWTO/XDMCP-HOWTO/

> Liam
--Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110626170259.ga6...@anthropohedron.net



Re: X on a virtual server

2011-06-26 Thread Eric d'Halibut
On 6/26/11, Gregory Seidman  wrote:

> The other alternative is XDMCP, which is designed for this sort of thing.

I don't think so. It -- XDMCP -- afaik requires a running X, and X
requires a video device. I learn that even X.org's "dummy" driver is
itself a dummy!

I am going to try x11vnc. Thank you all!

-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktikkstr5w7arq_jmkgfpn9h+zz1...@mail.gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Andrew McGlashan

Hi,

Luke Kenneth Casson Leighton wrote:

 well.  that was nice.  the scenario you describe is precisely what i
sort-of had planned, but didn't have the expertise to do so was going
to recommend just two drives and then rsync to the other two.

 _however_, given that you've solved exactly what is needed / best /
recommended for when you have 4 external drives (which i do) that's
bloody fantastic :)


Great, hope it helps!


 ok, i bring in phil now, who i was talking to yesterday about this.
what he said was (and i may get this wrong: it only went in partly) -
something along the lines of "remember to build the drives with
individual mdadm bitmaps enabled".  this will save a great deal of
arseing about when re-adding drives which didn't get properly added:
only 1/2 a 1Tb drive will need syncing, not an entire drive :)  the
bitmap system he says has hierarchical granularity apparently.


I just added a bitmap, more info. here [1] & [2] -- worth a read.  You 
can add and remove them, sometimes you must remove them ... for 
instance, if growing the array.


Quote from [2] reference:

"In some configurations you may not be able to grow the array until you 
have removed the internal bitmap. You can add the bitmap back again 
after the array has been grown."


It also seems best to use internal for the bitmap from my reading, so 
this is what I did for that.tip:


# mdadm --grow --bitmap=internal /dev/md0


also, he recommended taking at least one of the external drives *out*
of its external box and making it *internal*.  the reason for that is
that a) if the drives ever get powered down accidentally (e.g. by
cleaning ladies) you're fd b) if you move a drive or two
internally, it's possible to prioritise those drives as "reading"
ones, and to make the external ones "write" priority.  so, the data
gets read from the internal one, and changes get propagated to all
drives.


Yes, that sounds like a good idea(tm) ... worth considering, but right 
now I prefer all the RAID drive members external on this particular 
machine.  The drives and machine are all on a suitable UPS and there is 
no cleaning lady to worry about -- my wife won't touch the drives either.


Down the track, I'm sure to move to USB 3.0 and maybe even further down 
the track to external PCI Express ... [3], which looks interesting.  And 
more so in the future, IBM Racetrack memory [4] which looks to replace 
the "drive" as we know it today.



[1] https://raid.wiki.kernel.org/index.php/Write-intent_bitmap

[2] http://en.wikipedia.org/wiki/Mdadm

[3]
http://www.zdnet.com/blog/computers/look-out-thunderbolt-external-pci-express-spec-being-developed/6220?tag=nl.e539

[4] http://www.youtube.com/watch?v=q5jRHZWQ0sc

--
Kind Regards
AndrewM


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

Archive: http://lists.debian.org/4e0774de.8070...@affinityvision.com.au



using blueman-sendto with CLI

2011-06-26 Thread Pierre Frenkiel

hi everybody,
I would like to tranfer files from my PC to my Android phone (Samsung Galaxy S2)
That works perfectly from the gnome-panel:
 Syatem --> Preferences --> Bluetooth Manager
 This launches blueman-manager and the file is tranferred immediatly.

Now, if type from the command line
   blueman-sendto -d   file

   the command fails, with the output:

   Creating session
   ERROR:dbus.proxies:Introspect error on :1.61:/org/openobex:
   dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did
   not receive a reply. Possible causes include: the remote application
   did not send a reply, the message bus security policy blocked the reply,
   the reply timeout expired, or the network connection was broken.

And more strange, the tranfer also fails with the GUI launched with the
command
   blueman-manage
,
Can somebody explain this difference?
I imagine that some environment variable is not set with the CLI...

--
Pierre Frenkiel


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

Archive: 
http://lists.debian.org/alpine.deb.2.00.1106262004120@pfr2.frenkiel-hure.net



Re: Experience of Debian in a Macbook pro

2011-06-26 Thread Jerome BENOIT


Hello List:

My boxes are Apple boxes running Debian (stable):
a MacMiniServer and a MacBookPro 15" (MacBookPro6,2).

Let say that the installation may not be so straightforward for Debian newbies,
second, for recent Apple, you may install a recent kernel and recent graphics 
support.


hth,
Jerome


On 25/06/11 19:56, lee wrote:

Dan  writes:


I would like to buy a laptop. And I love the Macbooks pro. But I will
mainly run Debian. Is it worthy to buy a mac to run Debian?


A while ago, I looked briefly into installing Debian on a Mac because
being confronted with their MacOS feels like having traveled back in
time about 20 years. I found out that it's "difficult", to say the
least, and decided not to pursue it any further.

You might be better off asking which laptops are best suited to run your
favourite OS and get one that's suited well.





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

Archive: http://lists.debian.org/4e077893.4030...@rezozer.net



Re: Iceape's inability to render sites

2011-06-26 Thread Robert Holtzman
On Thu, Jun 09, 2011 at 02:44:15PM -0700, Robert Holtzman wrote:
> On Thu, Jun 09, 2011 at 04:43:42PM -0400, Michael Checca wrote:
> > 
> > If I recall correctly, the entire GCJ has been undeveloped for some
> > time now. Try installing either Sun/Oracle's Java JRE and plugin or
> > OpenJDK's JRE and plugin:
> > 
> > Sun/Oracle: sudo apt-get install sun-java6-jre sun-java6-plugin
> > or
> > OpenJDK: sudo apt-get install openjdk-6-jre icedtea6-plugin
> 
> Sudo in Debian? Not unless it's specifically enabled.
> 
> Unfortunately openjdk-6-jre and icedtea6-plugin didn't solve the
> problem. Thanks for trying. Anyone else?

This a expanded repost of the one where I mistakenly referred to the
browser as iceape.

I'm having trouble with Iceweasel's inability to correctly render sites 
that use java. This includes my bank and broker which prevents me
from making Squeeze my primary distro. Running "locate jre" turns up
a bunch of files including gcj-4.4-jre related ones, so I assume I have
java runtime installed (I'm also *assuming* it's a java problem). I've
also tried, at various times and in various combinations, sun-java6-jre,
sun-java6-plugin, openjdk-6-jre, and icedtea6-plugin, all to no avail.
I'm beginning to wonder if this really is a java problem.

-- 
Bob Holtzman
If you think you're getting free lunch, 
check the price of the beer.
Key ID: 8D549279


signature.asc
Description: Digital signature


Votre annonce.

2011-06-26 Thread annoncezvous . biz65

Salut,

Votre annonce sur:

http://www.annoncez-vous.biz

Merci.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110626172057.968f913...@60gp.ovh.net



Re: X on a virtual server

2011-06-26 Thread William Hopkins
On 06/26/11 at 01:03pm, Gregory Seidman wrote:
> On Sun, Jun 26, 2011 at 10:59:52AM -0400, William Hopkins wrote:
> > On 06/26/11 at 03:11am, Eric d'Halibut wrote:
> > > I'm thinking that in order to set up a remote X login to a given
> > > machine, that X must be running and configured on that machine. But X
> > > doesn't want to configure itself on a "virtual private server" that
> > > has NO PHYSICAL VIDEO CARD, or so it seems to me at present.
> > 
> > yes, if you want to log in remotely to X, X must be present VNC is
> > designed for this purpose. VNC will run a virtual X server and allow you
> > to connect to it remotely.
> 
> The other alternative is XDMCP, which is designed for this sort of thing.
> This may be of some use:

XDMCP is remote X login. That's the option we just eliminated. 

-- 
Liam


signature.asc
Description: Digital signature


Re: Hibernate fails

2011-06-26 Thread Carl Fink
On Mon, Jun 27, 2011 at 12:47:29AM +1000, Scott Ferguson wrote:

> Thank you. I wasn't sure if the /e/n/i was required, so (as noted in the
> post) that was the next (1x1) step. I've read that NetworkManager, which
> Carl uses, ignores /e/n/i.

/etc/network/interfaces is:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp

> I don't have access to a machine with wireless this weekend - so I'm
> working from references. I also don't yet know whether Carl has been
> using WPA, roaming or otherwise.

I use WPA. Works great.

I added your wpa_supplicant.conf. Still can't hibernate. I don't have WiFi
here to try to connect to. (I'm at work, where I have to connect this
netbook using T-Mobile via bluetooth tethering.)

While testing this, I discovered not one but two new bugs.

One, if I use this box's "increase brightness" key-combo (FN-rightarrow) in
a virtual terminal, it works but also draws control sequences in the VT. And
two, if I run "/etc/init.d/gdm3 stop" from a VT, then press Alt-F7, I can't
ever enter any more text, ever. The visual for VT1 continues to display, but
nothing I do on the keyboard except Ctrl-Alt-Del has any effect.
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110626193653.ga12...@panix.com



Re: debian 6.0 boot failure after update to grub2

2011-06-26 Thread Joe
On Sun, 26 Jun 2011 18:44:49 +0200
Philipp Überbacher  wrote:

> 
> I tried manual mounting from busybox:
> mount /dev/sda1 /root
> fails with Invalid Argument
> 
> mount -t jfs /dev/sda1 /root
> fails with No such device
> 
> So this is what happens during boot as well. I found a post suggesting
> that it might be a missing driver because the device is there. I tried
> modprobing a couple of modules in busybox, but nothing I tried helped.
> 
> initramfs.conf is set to most and I rebuilt it a couple of times.
> 
> Ideas please?
> 
> 

A wild guess, but you sound just about ready for that:

A few months ago, I copied (offline) a Lenny installation to a new
drive, and then tried to install grub (-legacy) to the MBR from the
running system. No luck, though it might be that I did not find the
right method. Anyway, I removed the working drive, moved the cables,
then booted from a CD and tried to restore the MBR to the new drive.
There are instructions for doing that everywhere on the Net, the only
problem being that they didn't work for me. Once I could see what I was
doing I tried a few syntax variations, still with no luck.

Trying different boot media, I got several different failure messages,
mostly to do with files and folders not being found, when they were
clearly visible to the rescue OS, and I was able to mount the hard
drive partitions and even write to them.

I know grub has its own disc drivers, and I guessed that the version
installed on the hard drive was not the same as the rescue version. So
I tried every grub-legacy boot medium I had and eventually found one
that worked. I can't remember now what it was, but it was either the
last CD Knoppix I have, 3.9, or an old Ubuntu. Most recent live distros
use grub2, which was no use at all.

So it looks to me that grub is changing quickly (as was grub-legacy),
and to make a successful rescue you need to be using a grub version
which is the same as or very close to the one on the hard drive.

As it happens, a couple of years ago I had your problem on Sid. The
two-grubs-in-series booting was working OK, so I ran the command to
upgrade fully to grub2 and the drive never booted again. I reinstalled
Sid, which was fine with a new grub2. Had I had the time then, I might
have investigated further and found the grub version issue, which was
almost certainly what stopped me repairing things. I assumed then that
if the SuperGrub2 disc didn't work, nothing would.

Never used to have this trouble with lilo

   ...though of course in the last few years before grub appeared, lilo
was very mature and stable. I still have a tomsrtbt floppy...

-- 
Joe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110626204647.19369...@jresid.jretrading.com



Re: Hibernate fails

2011-06-26 Thread William Hopkins
On 06/26/11 at 03:36pm, Carl Fink wrote:
> I added your wpa_supplicant.conf. Still can't hibernate. I don't have WiFi
> here to try to connect to. (I'm at work, where I have to connect this
> netbook using T-Mobile via bluetooth tethering.)

I don't use hibernate (I use suspend, though) and I can't think of any reason
why running wpasupplicant would prevent it. If you suspect wifi is in any way
involved, simply disable wifi totally (ifdown, kill the wpasupplicant service,
and rmmod your wifi driver even). Then you'll know whether it's a factor or no. 

-- 
Liam


signature.asc
Description: Digital signature


Re: Nvidia drivers from sid on squeeze [SOLVED]

2011-06-26 Thread Aidan Gauland
Aidan Gauland  writes:
> I just upgraded my video card (from a 9400 GT to a GT 430), and when I
> booted my system, X failed to start.  When seeing that the Nvidia
> drivers in sid are the same version as those direct from Nvidia's
> website, I tried upgrading the nvidia driver packages on my system to
> the sid versions.  I then restarted X via sudo invoke-rc.d xdm restart,
> but it still failed to start.
>
> [snip]
>
> So I then tried purging (and downgrading back to squeeze any packages
> that were upgraded as dependencies of) the nvidia packages and
> installing nvidia-kernel-dkms (as directed by
> ).  Still no joy;
> the same error.

OK, the problem was that pulling the nvidia-kernel-dkms version from sid
was also pulling in the sid kernel-header packages, so the kernel module
was being built for the wrong kernel version.  Manually "downgrading"
back to the squeeze kernel-header packages caused the module to be
rebuilt for the current kernel.

One point for the Debian way; minus one point for the Nvidia installer. ;)

--Aidan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87oc1kbc76@dimension8.tehua.net



Re: No more GRUB legacy at install time since wheezy?

2011-06-26 Thread Tom H
On Sat, Jun 25, 2011 at 1:34 PM, Camaleón  wrote:
> El 25/06/11 19:01, Tom H escribió:
>> On Fri, Jun 24, 2011 at 11:30 AM, Camaleón  wrote:


>>> I also find GRUB legacy more suitable to my needs. I don't remember any
>>> problem with it, I mean, nothing that could not be solved by manually
>>> editing the "menu.lst" or by launching GRUB's legacy console from the
>>> menu. It had a small set of options and files to tweak (compared to GRUB
>>> 2) but I see that as a plus rather than a weakness because that makes it
>>> less vulnerable to flaws. Of course, I understand there are people with
>>> new needs that find GRUB 2 perfect for them, so having both options
>>> available in the installer is, IMO, a perfect deal :-)
>>
>> For grub2, there's also just one file to tweak, "/etc/default/grub",
>> and the CLI tools are more powerful.
>
> Are your sure?

Yes, for the great majority of users.

> test@debian:~$ ls -l /etc/grub*
> test@debian:~$ ls -l /boot/grub/

You can edit the files in "/etc/grub.d/" - or rename them or add to
them - but the canonical way of changing grub settings is through
"/etc/default/grub".

I used to edit 10_linux, 30_os-prober, and "/usr/sbin/grub-mkconfig"
in order to customize grub2 to my liking but I've given up.

And forget about the files in "/boot/grub/". "grub.cfg" is the only
one that you might want to edit (if you do, I'd keep edit a copy
stored elsewhere and copy it to "/boot/grub/" after editing it) but
it's not worth the trouble. You're better off using
"/etc/boot/40_custom" or "/etc/boot/09_cameleon" if you need/want
custom entries.


> So let's say I want to disallow GRUB2 from including my Windows partition at
> the menu... should I tweak /etc/default/grub or should I dive into
> /etc/grub.d/os-prober, or...?

That's one disappointment that I have with grub2. You can disable
os-prober in "/etc/grub/default" but you can't have it run on some
partitions and not others (for example if you want to add another
Linux install but not add a Windows install). I think that this is an
edge case because most people who have Windows installed will want it
in the grub menu. There's however one case that I'm surprised doesn't
come up more often: WinVista and Win7 have "recovery partitions" that
are recognized and added to the grub menu and the only way to remove
them (AFAIK) is to edit "/etc/grub.d/30_os-prober"...


>> If I were a betting man, I'd bet that grub1 won't be available in
>> Wheezy once it's published...
>
> And that was what I asked for, but I'm still waiting to see an official
> statement for whatever decision they take. I can deal with either, but I
> would like to be prepared for the worst ;-)

It'll come if it isn't already out. The grub1/grub2 developers are
probably keeping grub1 around to ease the Lenny-Squeeze transition but
they're going to say at some point that they no longer want to
maintain grub1. It's dead upstream and the recent patches have been to
keep it up-to-date with Debian changes like the kernel's "zz*"
scripts; *understandably!*.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=2yo8nvGPbxm6QmqiHocs=mhv...@mail.gmail.com



Re: No more GRUB legacy at install time since wheezy?

2011-06-26 Thread Tom H
On Sat, Jun 25, 2011 at 3:14 PM, Camaleón  wrote:
>
> The less files for a bootloader, the better. Not a scientific statement,
> of course, just a wild-guess.

One of the grub developers' sales-pitches for grub2 is that it's
modular and you can use insmod (a grub insmod not the standard one) to
load the modules that you need to boot...


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTikEyCeL2CuWrmm0LR=ak8krxn5...@mail.gmail.com



Re: No more GRUB legacy at install time since wheezy?

2011-06-26 Thread Tom H
On Sat, Jun 25, 2011 at 3:49 PM, Camaleón  wrote:
>
> But there are not many variables that can be set at "/etc/default/grub"
> so why not listing all of them and briefly comment them in the same file?

+1


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=-f9oucmrtas_o5os6pgnnz8b...@mail.gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Tom H
On Sun, Jun 26, 2011 at 6:41 AM, Luke Kenneth Casson Leighton
 wrote:
>
> is there an option to mdadm to make it display UUIDs instead of or
> as well as the disk name?

"mdadm --examine /dev/sdXY" gives you the device and the array UUIDs.

"mdadm --examine --scan" gives you the array UUID(s).

"mdadm --detail /dev/mdZ" gives you the array UUID.

"mdadm --detail --scan" gives you the array UUID(s).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=pt6m41iwnquyvoc5yuv1agmk...@mail.gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Tom H
On Sun, Jun 26, 2011 at 9:55 AM, Luke Kenneth Casson Leighton
 wrote:
> On Sun, Jun 26, 2011 at 2:25 PM, Andrew McGlashan
>  wrote:
>
>> Anyway the long and short of it is, I can use mdadm without regard to
>> what devices are found, such as /dev/sda /dev/sdb /dev/sdc and the like as I
>> rely purely on the UUID functionality, which as you know, mdadm handles
>> perfectly well.  ;-)
>
>  :)
>
>  ... you see, this is the bit that has me concerned.  /dev/mdN can
> be referred to by its unique UUID, but that's *not* what i'm referring
> to.  and, from what you're saying, you appear to be implying that yes,
> the external drives can pop up as /dev/sda through /dev/sdc and be
> "confused" - and thus it is pure luck (or actually design) that the
> drives *happen* to all be part of the same identical RAID-1 mirroring
> array.
>
>  so i realise martin that you've already answered, but it would be
> really good if you could explicitly confirm:
>
>  yes, mdadm names its RAID drives by UUID (as can clearly be seen in
> /dev/mdadm/mdadm.conf) but does it *also* refer to its *COMPONENT*
> drives (internally, and non-obviously, and undocumentedly) by UUID and
> then report to the outside world that it's using whatever name
> (/dev/sdX) which can, under these external-drives scenario, change.

I've never plugged a USB drive into a mdadm'd box so I'm trying to get
my head around this - and check whether I'm understanding you
correctly.

You have "/" set up as a RAID 1 array md0 with sda1 and sdb1 as its components.

You plug in a USB drive and its first/only partition become sda1.

mdadm tries to assemble the USB drive's sda1 with sdb1 (whether it's
the old sda1 or the old sdb1) even though sda1 doesn't have md0's
(array) UUID in its metadata, let alone any mdadm metadata!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTikSkfmyc1vLkD+cd=jjkyvxq8r...@mail.gmail.com



Re: Iceape's inability to render sites

2011-06-26 Thread Liam O'Toole
On 2011-06-26, Robert Holtzman  wrote:
(...)
> I'm having trouble with Iceweasel's inability to correctly render sites=20
> that use java. This includes my bank and broker which prevents me
>=66rom making Squeeze my primary distro. Running "locate jre" turns up
> a bunch of files including gcj-4.4-jre related ones, so I assume I have
> java runtime installed (I'm also *assuming* it's a java problem). I've
> also tried, at various times and in various combinations, sun-java6-jre,
> sun-java6-plugin, openjdk-6-jre, and icedtea6-plugin, all to no avail.
> I'm beginning to wonder if this really is a java problem.

Could you provide examples of sites which do not work for you?

-- 
Liam O'Toole
Cork, Ireland


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnj0f8g2.1n6.liam.p.otoole@dipsy.tubbynet



On upgrading to wheezy neither printer nor scanner work anymore.

2011-06-26 Thread Francesco Pietra
I have dist upgraded from squeeze to testing (wheezy) 32 bit, getting
the linux image and headers 2.6.39-2-686-pae, gnome 2.30.2.

Attached HP Scanjet 6200C (scsi), Nikon Coolscan V (usb), and HP
deskjet D4260 do not work any more. The latter is said  "ready" but
does not print. The queue had to be canceled (cancel#). Both hplip and
hpijs are installed.

The two scanners were not seen. From /var/log/syslog:
ip 08400157 sp bfb1f270 error 4 in vuescan[8048000+648000]
Jun 26 14:41:28 deb32 kernel: [ 368.742962] vuescan[2569]: segfault at
b2008118 ip 08400157 sp bfdf5a00 error 4 in vuescan[8048000+648000]
Jun 26 14:47:20 deb32 kernel: [ 720.536025] usb 6-4: new high speed
USB device number 4 using ehci_hcd
Jun 26 14:47:20 deb32 kernel: [ 720.670944] usb 6-4: New USB device
found, idVendor=04b0, idProduct=4001
Jun 26 14:47:20 deb32 kernel: [ 720.670951] usb 6-4: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Jun 26 14:47:20 deb32 kernel: [ 720.670955] usb 6-4: Product: LS-50 ED
Jun 26 14:47:20 deb32 kernel: [ 720.670959] usb 6-4: Manufacturer: Nikon
Jun 26 14:47:20 deb32 mtp-probe: checking bus 6, device 4:
"/sys/devices/pci:00/:00:1e.0/:02:01.2/usb6/6-4"
Jun 26 14:47:20 deb32 mtp-probe: bus: 6, device: 4 was not an MTP device
Jun 26 14:48:38 deb32 kernel: [ 799.292553] vuescan[2640]: segfault at
b2132118 ip 08400157 sp bfab92c0 error 4 in vuescan[8048000+648000]
deb32:/var/log#

Apart from vuescan, also sane did not find the HP scanner.

ls -l /dev/sg*
did not identify the HP scanner.

Inserting a flashcard into usb expects root permission: " Unable to
mount Kingston, not authorized". /etc/fstab was automatically touched
by the installation:

/etc/fstab:
francesco@deb32:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
#  
proc /proc proc defaults 0 0
/dev/mapper/deb32-root / ext3 errors=remount-ro 0 1
# /dev/hda1 /boot ext2 defaults 0 2
UUID=7e0be6ef-6aeb-472b-8f65-4344f46948eb /boot ext2 defaults 0 2
/dev/mapper/deb32-home /home ext3 defaults 0 2
/dev/mapper/deb32-tmp /tmp ext3 defaults 0 2
/dev/mapper/deb32-usr /usr ext3 defaults 0 2
/dev/mapper/deb32-var /var ext3 defaults 0 2
/dev/mapper/deb32-swap_1 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
# /dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/cdrom3 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# /dev/hdb1 /mnt/hd_slave auto user,rw 0 0
UUID=1db050f6-8895-41d9-9164-77d1aeb170db /mnt/hd_slave auto user,rw

but it seems to me to be in order.

lsmod:
francesco@deb32:~$ lsmod
Module Size Used by
usb_storage 34951 0
uas 12975 0
mperf 12387 0
speedstep_lib 12463 0
cpufreq_powersave 12422 0
cpufreq_stats 12670 0
cpufreq_conservative 12987 0
cpufreq_userspace 12520 0
ppdev 12621 0
lp 12858 0
fuse 55666 1
nfsd 196206 2
nfs 219235 0
lockd 60891 2 nfsd,nfs
fscache 31438 1 nfs
auth_rpcgss 31819 2 nfsd,nfs
nfs_acl 12463 2 nfsd,nfs
sunrpc 137017 6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
ext2 53488 1
loop 1 0
snd_wavefront 30608 0
snd_cs4236 26314 0
snd_intel8x0 22287 0
snd_wss_lib 22401 2 snd_wavefront,snd_cs4236
snd_ac97_codec 83732 1 snd_intel8x0
snd_opl3_lib 13141 2 snd_wavefront,snd_cs4236
ac97_bus 12462 1 snd_ac97_codec
snd_hwdep 12906 2 snd_wavefront,snd_opl3_lib
snd_pcm_oss 35864 0
snd_mixer_oss 17649 1 snd_pcm_oss
snd_pcm 52731 5 snd_cs4236,snd_intel8x0,snd_wss_lib,snd_ac97_codec,snd_pcm_oss
snd_mpu401 12592 0
snd_mpu401_uart 13299 3 snd_wavefront,snd_cs4236,snd_mpu401
snd_seq_midi 12744 0
snd_rawmidi 22407 3 snd_wavefront,snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 13124 1 snd_seq_midi
snd_seq 39172 2 snd_seq_midi,snd_seq_midi_event
snd_timer 22171 4 snd_wss_lib,snd_opl3_lib,snd_pcm,snd_seq
usblp 17083 0
snd_seq_device 12995 4 snd_opl3_lib,snd_seq_midi,snd_rawmidi,snd_seq
snd 38189 16 
snd_wavefront,snd_cs4236,snd_intel8x0,snd_wss_lib,snd_ac97_codec,snd_opl3_lib,snd_hwdep,snd_pcm_oss,
snd_mixer_oss,snd_pcm,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_i801 12670 0
i2c_core 19022 1 i2c_i801
parport_pc 21895 1
evdev 13084 7
psmouse 45863 0
snd_page_alloc 12841 3 snd_intel8x0,snd_wss_lib,snd_pcm
rng_core 12550 0
soundcore 12878 1 snd
ns558 12417 0
serio_raw 12758 0
shpchp 26653 0
gameport 13332 2 ns558
pcspkr 12515 0
parport 27018 3 ppdev,lp,parport_pc
processor 26983 0
button 12783 0
pci_hotplug 26303 1 shpchp
ext3 102125 6
jbd 40818 1 ext3
mbcache 12810 2 ext2,ext3
dm_mod 56401 18
sg 21385 0
sr_mod 17418 0
sd_mod 35060 5
crc_t10dif 12332 1 sd_mod
cdrom 34631 1 sr_mod
ata_generic 12439 0
ata_piix 21079 3
libata 132100 2 ata_generic,ata_piix
aic7xxx 97720 0
scsi_transport_spi 19032 1 aic7xxx
ohci_hcd 21898 0
uhci_hcd 21850 0
ehci_hcd 34885 0
scsi_mod 134453 8
usb_storage,uas,sg,sr_mod,sd_mod,aic7xxx,libata,scsi_transport_spi
usbcore 99225 7 usb_storage,uas,usblp,ohci_hcd,uhci_hcd,ehci_hcd
thermal 13058 0
8139too 21937 0
floppy 47893 0
e100 31318 0
thermal_sys 17667 2 processor,thermal
8139cp 22004 0
mii 12595 3 813

Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Tom H
On Sun, Jun 26, 2011 at 11:29 AM, William Hopkins  wrote:
>
> It seems to me that you'd be well served by simply using the UUID (by-uuid, 
> not
> by-id) in all things, including mounting and managing. Then you would never
> need to figure out which disk sda was, you could just figure out which disk 
> the
> UUID was (and you'd only have to learn it once).

There are UUIDs and UUIDs.

For an array md0 with sda1 and sdb1 as its components.

"blkid /dev/md0" returns the filesystem UUID.

"mdadm --detail /dev/md0" returns the mdadm UUID of the array.

"blkid /dev/sda1" returns the mdadm UUID of the array.

"mdadm --examine /dev/sda1" returns mdadm UUIDs of the array and the
partition. (I've never seen the mdadm UUID of a partition be used for
anything. Can an array be assembled by referring to an mdadm UUID of a
partition to add a partition? Would it make any sense?!)

The "/dev/disk/by-id/" symlinks are the most stable ones (for a
specific disk) should anyone want to use them because they're hardware
IDs. I don't have an mdadm'd box at hand to check but I think that
md0's entry in this directory includes the mdadm array UUID of md0
because md0 doesn't have a "real" hardware ID. So, for md0,
"/dev/disk/by-id" and "/dev/disk/by-uuid" are equivalent.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=_s+tls+x84q-n_4ewn2mwafv...@mail.gmail.com



Fwd: On upgrading to wheezy neither printer nor scanner work anymore.

2011-06-26 Thread Francesco Pietra
Perhaps relevant to the problems in this thread:

deb32:/home/francesco# hp-plugin

HP Linux Imaging and Printing System (ver. 3.11.5)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: PolicyKit support requires DBUS or PolicyKit support files missing
**
GLib-GIO:ERROR:/build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gio/gdbusconnection.c:2279:initable_init:
assertion failed: (connection->initialization_error == NULL)
Aborted
deb32:/home/francesco#



-- Forwarded message --
From: Francesco Pietra 
Date: Sun, Jun 26, 2011 at 11:10 PM
Subject: On upgrading to wheezy neither printer nor scanner work anymore.
To: debian-users 


I have dist upgraded from squeeze to testing (wheezy) 32 bit, getting
the linux image and headers 2.6.39-2-686-pae, gnome 2.30.2.

Attached HP Scanjet 6200C (scsi), Nikon Coolscan V (usb), and HP
deskjet D4260 do not work any more. The latter is said  "ready" but
does not print. The queue had to be canceled (cancel#). Both hplip and
hpijs are installed.

The two scanners were not seen. From /var/log/syslog:
ip 08400157 sp bfb1f270 error 4 in vuescan[8048000+648000]
Jun 26 14:41:28 deb32 kernel: [ 368.742962] vuescan[2569]: segfault at
b2008118 ip 08400157 sp bfdf5a00 error 4 in vuescan[8048000+648000]
Jun 26 14:47:20 deb32 kernel: [ 720.536025] usb 6-4: new high speed
USB device number 4 using ehci_hcd
Jun 26 14:47:20 deb32 kernel: [ 720.670944] usb 6-4: New USB device
found, idVendor=04b0, idProduct=4001
Jun 26 14:47:20 deb32 kernel: [ 720.670951] usb 6-4: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Jun 26 14:47:20 deb32 kernel: [ 720.670955] usb 6-4: Product: LS-50 ED
Jun 26 14:47:20 deb32 kernel: [ 720.670959] usb 6-4: Manufacturer: Nikon
Jun 26 14:47:20 deb32 mtp-probe: checking bus 6, device 4:
"/sys/devices/pci:00/:00:1e.0/:02:01.2/usb6/6-4"
Jun 26 14:47:20 deb32 mtp-probe: bus: 6, device: 4 was not an MTP device
Jun 26 14:48:38 deb32 kernel: [ 799.292553] vuescan[2640]: segfault at
b2132118 ip 08400157 sp bfab92c0 error 4 in vuescan[8048000+648000]
deb32:/var/log#

Apart from vuescan, also sane did not find the HP scanner.

ls -l /dev/sg*
did not identify the HP scanner.

Inserting a flashcard into usb expects root permission: " Unable to
mount Kingston, not authorized". /etc/fstab was automatically touched
by the installation:

/etc/fstab:
francesco@deb32:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
#  
proc /proc proc defaults 0 0
/dev/mapper/deb32-root / ext3 errors=remount-ro 0 1
# /dev/hda1 /boot ext2 defaults 0 2
UUID=7e0be6ef-6aeb-472b-8f65-4344f46948eb /boot ext2 defaults 0 2
/dev/mapper/deb32-home /home ext3 defaults 0 2
/dev/mapper/deb32-tmp /tmp ext3 defaults 0 2
/dev/mapper/deb32-usr /usr ext3 defaults 0 2
/dev/mapper/deb32-var /var ext3 defaults 0 2
/dev/mapper/deb32-swap_1 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
# /dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/cdrom3 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# /dev/hdb1 /mnt/hd_slave auto user,rw 0 0
UUID=1db050f6-8895-41d9-9164-77d1aeb170db /mnt/hd_slave auto user,rw

but it seems to me to be in order.

lsmod:
francesco@deb32:~$ lsmod
Module Size Used by
usb_storage 34951 0
uas 12975 0
mperf 12387 0
speedstep_lib 12463 0
cpufreq_powersave 12422 0
cpufreq_stats 12670 0
cpufreq_conservative 12987 0
cpufreq_userspace 12520 0
ppdev 12621 0
lp 12858 0
fuse 55666 1
nfsd 196206 2
nfs 219235 0
lockd 60891 2 nfsd,nfs
fscache 31438 1 nfs
auth_rpcgss 31819 2 nfsd,nfs
nfs_acl 12463 2 nfsd,nfs
sunrpc 137017 6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
ext2 53488 1
loop 1 0
snd_wavefront 30608 0
snd_cs4236 26314 0
snd_intel8x0 22287 0
snd_wss_lib 22401 2 snd_wavefront,snd_cs4236
snd_ac97_codec 83732 1 snd_intel8x0
snd_opl3_lib 13141 2 snd_wavefront,snd_cs4236
ac97_bus 12462 1 snd_ac97_codec
snd_hwdep 12906 2 snd_wavefront,snd_opl3_lib
snd_pcm_oss 35864 0
snd_mixer_oss 17649 1 snd_pcm_oss
snd_pcm 52731 5 snd_cs4236,snd_intel8x0,snd_wss_lib,snd_ac97_codec,snd_pcm_oss
snd_mpu401 12592 0
snd_mpu401_uart 13299 3 snd_wavefront,snd_cs4236,snd_mpu401
snd_seq_midi 12744 0
snd_rawmidi 22407 3 snd_wavefront,snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 13124 1 snd_seq_midi
snd_seq 39172 2 snd_seq_midi,snd_seq_midi_event
snd_timer 22171 4 snd_wss_lib,snd_opl3_lib,snd_pcm,snd_seq
usblp 17083 0
snd_seq_device 12995 4 snd_opl3_lib,snd_seq_midi,snd_rawmidi,snd_seq
snd 38189 16 
snd_wavefront,snd_cs4236,snd_intel8x0,snd_wss_lib,snd_ac97_codec,snd_opl3_lib,snd_hwdep,snd_pcm_oss,
snd_mixer_oss,snd_pcm,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_i801 12670 0
i2c_core 19022 1 i2c_i801
parport_pc 21895 1
evdev 13084 7
psmouse 458

Fwd: On upgrading to wheezy neither printer nor scanner work anymore.

2011-06-26 Thread Francesco Pietra
Also relevant what appears on Spanish debian forum:

# gedit

(gedit:6056): EggSMClient-WARNING **: Failed to connect to the session
manager: Authentication Rejected, reason : None of the authentication
protocols specified are supported and host-based authentication failed

**
GLib-GIO:ERROR:/build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gio/gdbusconnection.c:2279:initable_init:
assertion failed: (connection->initialization_error == NULL)
Abortado

El problema parece ser el que fué solucionado en
http://www.esdebian.org/foro/46879/problemas-driver-intel-gedit

De la siguiente forma:
# mkdir /usr/lib/i386-linux-gnu/
# ln -s /usr/lib/dri/ /usr/lib/i386-linux-gnu

Ahora bien, mi consulta es: si se trata de un bug, conviene aplicar
esa solución o es mejor esperar a que se resuelva?
Y por otra parte el directorio que se sugiere crear yo ya lo tengo.


-- Forwarded message --
From: Francesco Pietra 
Date: Sun, Jun 26, 2011 at 11:26 PM
Subject: Fwd: On upgrading to wheezy neither printer nor scanner work anymore.
To: debian-users 


Perhaps relevant to the problems in this thread:

deb32:/home/francesco# hp-plugin

HP Linux Imaging and Printing System (ver. 3.11.5)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: PolicyKit support requires DBUS or PolicyKit support files missing
**
GLib-GIO:ERROR:/build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gio/gdbusconnection.c:2279:initable_init:
assertion failed: (connection->initialization_error == NULL)
Aborted
deb32:/home/francesco#



-- Forwarded message --
From: Francesco Pietra 
Date: Sun, Jun 26, 2011 at 11:10 PM
Subject: On upgrading to wheezy neither printer nor scanner work anymore.
To: debian-users 


I have dist upgraded from squeeze to testing (wheezy) 32 bit, getting
the linux image and headers 2.6.39-2-686-pae, gnome 2.30.2.

Attached HP Scanjet 6200C (scsi), Nikon Coolscan V (usb), and HP
deskjet D4260 do not work any more. The latter is said  "ready" but
does not print. The queue had to be canceled (cancel#). Both hplip and
hpijs are installed.

The two scanners were not seen. From /var/log/syslog:
ip 08400157 sp bfb1f270 error 4 in vuescan[8048000+648000]
Jun 26 14:41:28 deb32 kernel: [ 368.742962] vuescan[2569]: segfault at
b2008118 ip 08400157 sp bfdf5a00 error 4 in vuescan[8048000+648000]
Jun 26 14:47:20 deb32 kernel: [ 720.536025] usb 6-4: new high speed
USB device number 4 using ehci_hcd
Jun 26 14:47:20 deb32 kernel: [ 720.670944] usb 6-4: New USB device
found, idVendor=04b0, idProduct=4001
Jun 26 14:47:20 deb32 kernel: [ 720.670951] usb 6-4: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Jun 26 14:47:20 deb32 kernel: [ 720.670955] usb 6-4: Product: LS-50 ED
Jun 26 14:47:20 deb32 kernel: [ 720.670959] usb 6-4: Manufacturer: Nikon
Jun 26 14:47:20 deb32 mtp-probe: checking bus 6, device 4:
"/sys/devices/pci:00/:00:1e.0/:02:01.2/usb6/6-4"
Jun 26 14:47:20 deb32 mtp-probe: bus: 6, device: 4 was not an MTP device
Jun 26 14:48:38 deb32 kernel: [ 799.292553] vuescan[2640]: segfault at
b2132118 ip 08400157 sp bfab92c0 error 4 in vuescan[8048000+648000]
deb32:/var/log#

Apart from vuescan, also sane did not find the HP scanner.

ls -l /dev/sg*
did not identify the HP scanner.

Inserting a flashcard into usb expects root permission: " Unable to
mount Kingston, not authorized". /etc/fstab was automatically touched
by the installation:

/etc/fstab:
francesco@deb32:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
#  
proc /proc proc defaults 0 0
/dev/mapper/deb32-root / ext3 errors=remount-ro 0 1
# /dev/hda1 /boot ext2 defaults 0 2
UUID=7e0be6ef-6aeb-472b-8f65-4344f46948eb /boot ext2 defaults 0 2
/dev/mapper/deb32-home /home ext3 defaults 0 2
/dev/mapper/deb32-tmp /tmp ext3 defaults 0 2
/dev/mapper/deb32-usr /usr ext3 defaults 0 2
/dev/mapper/deb32-var /var ext3 defaults 0 2
/dev/mapper/deb32-swap_1 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
# /dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/cdrom3 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# /dev/hdb1 /mnt/hd_slave auto user,rw 0 0
UUID=1db050f6-8895-41d9-9164-77d1aeb170db /mnt/hd_slave auto user,rw

but it seems to me to be in order.

lsmod:
francesco@deb32:~$ lsmod
Module Size Used by
usb_storage 34951 0
uas 12975 0
mperf 12387 0
speedstep_lib 12463 0
cpufreq_powersave 12422 0
cpufreq_stats 12670 0
cpufreq_conservative 12987 0
cpufreq_userspace 12520 0
ppdev 12621 0
lp 12858 0
fuse 55666 1
nfsd 196206 2
nfs 219235 0
lockd 60891 2 nfsd,nfs
fscache 31438 1 nfs
auth_rpcgss 31819 2 nfsd,nfs
nfs_acl 12463 2 nfsd,nfs
sunrpc 137017 6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
ext2 53488 1
loop 1 0
snd_wavefront 306

Re: Iceape's inability to render sites

2011-06-26 Thread Lotek

On 06/26/2011 11:48 AM, Robert Holtzman wrote:
I'm having trouble with Iceweasel's inability to correctly render sites 
that use java. This includes my bank and broker which prevents me

from making Squeeze my primary distro. Running "locate jre" turns up
a bunch of files including gcj-4.4-jre related ones, so I assume I have
java runtime installed (I'm also *assuming* it's a java problem). I've
also tried, at various times and in various combinations, sun-java6-jre,
sun-java6-plugin, openjdk-6-jre, and icedtea6-plugin, all to no avail.
I'm beginning to wonder if this really is a java problem.


A few months ago I had a similar problem with the Iceweasel
in Lenny, and I think it probably was due to it not being able
to render Javascript correctly.  I have a number of browsers
installed, so I tried Chrome and it worked.  After that I
installed Firefox 4 from the Mozilla site and it worked.
I haven't upgraded to Squeeze yet, but I don't think it uses
Iceweasel 4, however it might be included in the latest
upgrade.  I doubt if you need the Java plugin, because the
only thing it seems to do is stream some webcams.  I could be
wrong about that, but it wasn't the problem in my case.
If you don't already know, Javascript and Java are different
applications, Javascript is included in Iceweasel and be
turned on or off in Preferences.

I didn't have any problem installing Firefox 4 and it has
already updated itself to version 5.  I can post some brief
instructions if you want to try it.

To try Chrome add the following to your apt sources.list:

  deb http://dl.google.com/linux/deb/ stable non-free

I saw this thread earlier but don't remember what was said,
so I hope these options haven't already been discussed.

  Lotek


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

Archive: http://lists.debian.org/4e07b553.7030...@verizon.net



Re: X on a virtual server

2011-06-26 Thread Gregory Seidman
On Sun, Jun 26, 2011 at 01:44:12PM -0400, Eric d'Halibut wrote:
> On 6/26/11, Gregory Seidman  wrote:
> 
> > The other alternative is XDMCP, which is designed for this sort of thing.
> 
> I don't think so. It -- XDMCP -- afaik requires a running X, and X
> requires a video device. I learn that even X.org's "dummy" driver is
> itself a dummy!

No, XDMCP does not require running X (on the server). I don't know if gdm
or kdm can do it, though I'd expect so, but xdm is perfectly happy to run
headless. See this thread from 1999:

http://lists.debian.org/debian-user/1999/07/msg01406.html

> I am going to try x11vnc. Thank you all!

Not a bad choice, but not necessarily the best either. It depends on your
purpose.

--Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110627001442.ga11...@anthropohedron.net



How to log inbound IPs on telnet connection?

2011-06-26 Thread Alexander Lardner
Hello,
I run a vintage BBS on my Debian box that uses telnet for connections.
By default, the software is written to accept connections on port
1234, as opposed to 23 as is default for telnet. I use a little
utility called redir that takes inbound connections on port 23 and
reroutes them locally to port 1234. The problem is, it shows that
users connected from localhost as opposed to their actual IP. I need a
way to be able to log IPs to ban troublemakers. Is there a program or
script to log inbound IPs?
Thanks!
-Alex


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTimrR96zP8EeKdRxMOv96=G=+ac...@mail.gmail.com



Default paper size in LibreOffice

2011-06-26 Thread Rick Thomas


I've tried everything I can think of, but every time I create a new  
document in LibreOffice Writer it wants to print on A4 paper.  I'm in  
the US and everything else uses US-Letter paper.  As I understand it,  
the accepted way to set this is with "dpkg-reconfigure libpaper1". But  
this has no effect on LibreOffice.


To reproduce the problem:

In Gnome go to the "Applications->Office->LibreOffice Writer" menu.
In the new document window, go to "File->Print" menu, click on the  
"General" tab, click on the "Properties" button.  Notice that it says  
"A4" for paper size.


If I change that, I can print on Letter paper OK.  But the next time I  
open a document, I get the same thing.


What's the magic I'm missing?

I've googled; I've searched the help documentation, I've found lots of  
suggestions. but none that work...


Thanks in advance!

Rick




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

Archive: http://lists.debian.org/7ace5918-b544-4b20-852a-6570798bb...@pobox.com



Re: Default paper size in LibreOffice

2011-06-26 Thread Greg Madden


On Sunday 26 June 2011 04:04:40 pm Rick Thomas wrote:
> I've tried everything I can think of, but every time I create a new
> document in LibreOffice Writer it wants to print on A4 paper.  I'm in
> the US and everything else uses US-Letter paper.  As I understand it,
> the accepted way to set this is with "dpkg-reconfigure libpaper1". But
> this has no effect on LibreOffice.
>
> To reproduce the problem:
>
> In Gnome go to the "Applications->Office->LibreOffice Writer" menu.
> In the new document window, go to "File->Print" menu, click on the
> "General" tab, click on the "Properties" button.  Notice that it says
> "A4" for paper size.
>
> If I change that, I can print on Letter paper OK.  But the next time I
> open a document, I get the same thing.
>
> What's the magic I'm missing?
>
> I've googled; I've searched the help documentation, I've found lots of
> suggestions. but none that work...

Not sure if its relevant, I have one additional step involved here. Before 
clicking on 'properties' I select from a list of printers available, i have 
more 
than one  installed on my system. Highlighting a printer I can set paper size, 
different sizes for different printers here. Its sticky.

I am using LO from Debian backports on Squeeze.


-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201106261638.14065.gomadtr...@gci.net



Re: Default paper size in LibreOffice

2011-06-26 Thread Greg Madden


On Sunday 26 June 2011 04:38:14 pm Greg Madden wrote:
> On Sunday 26 June 2011 04:04:40 pm Rick Thomas wrote:
> > I've tried everything I can think of, but every time I create a new
> > document in LibreOffice Writer it wants to print on A4 paper.  I'm in
> > the US and everything else uses US-Letter paper.  As I understand it,
> > the accepted way to set this is with "dpkg-reconfigure libpaper1". But
> > this has no effect on LibreOffice.
> >
> > To reproduce the problem:
> >
> > In Gnome go to the "Applications->Office->LibreOffice Writer" menu.
> > In the new document window, go to "File->Print" menu, click on the
> > "General" tab, click on the "Properties" button.  Notice that it says
> > "A4" for paper size.
> >
> > If I change that, I can print on Letter paper OK.  But the next time I
> > open a document, I get the same thing.
> >
> > What's the magic I'm missing?
> >
> > I've googled; I've searched the help documentation, I've found lots of
> > suggestions. but none that work...
>
> Not sure if its relevant, I have one additional step involved here. Before
> clicking on 'properties' I select from a list of printers available, i have
> more than one  installed on my system. Highlighting a printer I can set
> paper size, different sizes for different printers here. Its sticky.
>
> I am using LO from Debian backports on Squeeze.

I should add, my printers are managed through the cups, 'localhost:631' web 
interface. I set default options for my printers there, ie. papersize. 

i haven't tried changing paper sizes in LO from the defaults I setup in cups.

-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201106261645.39507.gomadtr...@gci.net



Re: Default paper size in LibreOffice

2011-06-26 Thread Philipp Überbacher
Excerpts from Rick Thomas's message of 2011-06-27 02:04:40 +0200:
> 
> I've tried everything I can think of, but every time I create a new  
> document in LibreOffice Writer it wants to print on A4 paper.  I'm in  
> the US and everything else uses US-Letter paper.  As I understand it,  
> the accepted way to set this is with "dpkg-reconfigure libpaper1". But  
> this has no effect on LibreOffice.
> 
> To reproduce the problem:
> 
> In Gnome go to the "Applications->Office->LibreOffice Writer" menu.
> In the new document window, go to "File->Print" menu, click on the  
> "General" tab, click on the "Properties" button.  Notice that it says  
> "A4" for paper size.
> 
> If I change that, I can print on Letter paper OK.  But the next time I  
> open a document, I get the same thing.
> 
> What's the magic I'm missing?
> 
> I've googled; I've searched the help documentation, I've found lots of  
> suggestions. but none that work...
> 
> Thanks in advance!
> 
> Rick

My experience with cups is inverse, eg. I always get US-letter instead
of A4. Solution: no idea


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309135837-sup-5137@eris



Re: Default paper size in LibreOffice

2011-06-26 Thread Nico Kadel-Garcia
On Sun, Jun 26, 2011 at 8:45 PM, Greg Madden  wrote:
>
>
> On Sunday 26 June 2011 04:38:14 pm Greg Madden wrote:
>> On Sunday 26 June 2011 04:04:40 pm Rick Thomas wrote:
>> > I've tried everything I can think of, but every time I create a new
>> > document in LibreOffice Writer it wants to print on A4 paper.  I'm in
>> > the US and everything else uses US-Letter paper.  As I understand it,
>> > the accepted way to set this is with "dpkg-reconfigure libpaper1". But
>> > this has no effect on LibreOffice.
>> >
>> > To reproduce the problem:
>> >
>> > In Gnome go to the "Applications->Office->LibreOffice Writer" menu.
>> > In the new document window, go to "File->Print" menu, click on the
>> > "General" tab, click on the "Properties" button.  Notice that it says
>> > "A4" for paper size.
>> >
>> > If I change that, I can print on Letter paper OK.  But the next time I
>> > open a document, I get the same thing.
>> >
>> > What's the magic I'm missing?
>> >
>> > I've googled; I've searched the help documentation, I've found lots of
>> > suggestions. but none that work...
>>
>> Not sure if its relevant, I have one additional step involved here. Before
>> clicking on 'properties' I select from a list of printers available, i have
>> more than one  installed on my system. Highlighting a printer I can set
>> paper size, different sizes for different printers here. Its sticky.
>>
>> I am using LO from Debian backports on Squeeze.
>
> I should add, my printers are managed through the cups, 'localhost:631' web
> interface. I set default options for my printers there, ie. papersize.

That interface does rude things to goats. For the second time today,
I'll mention Eric Raymond's essay on "The Luxury of Ignorance" for a
description of just how horrible that interface, and it hasn't
improved noticeably since that essary in 2004:

http://www.catb.org/~esr/writings/cups-horror.html

Instead, install and use system-config-printer, which is being well
maintained by our favorite upstream vendor.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktintfohoquvuc1dtru32dkdyypc...@mail.gmail.com



Re: Default paper size in LibreOffice

2011-06-26 Thread Nico Kadel-Garcia
On Sun, Jun 26, 2011 at 9:30 PM, Nico Kadel-Garcia  wrote:
> On Sun, Jun 26, 2011 at 8:45 PM, Greg Madden  wrote:
>>
>>
>> On Sunday 26 June 2011 04:38:14 pm Greg Madden wrote:
>>> On Sunday 26 June 2011 04:04:40 pm Rick Thomas wrote:
>>> > I've tried everything I can think of, but every time I create a new
>>> > document in LibreOffice Writer it wants to print on A4 paper.  I'm in
>>> > the US and everything else uses US-Letter paper.  As I understand it,
>>> > the accepted way to set this is with "dpkg-reconfigure libpaper1". But
>>> > this has no effect on LibreOffice.
>>> >
>>> > To reproduce the problem:
>>> >
>>> > In Gnome go to the "Applications->Office->LibreOffice Writer" menu.
>>> > In the new document window, go to "File->Print" menu, click on the
>>> > "General" tab, click on the "Properties" button.  Notice that it says
>>> > "A4" for paper size.
>>> >
>>> > If I change that, I can print on Letter paper OK.  But the next time I
>>> > open a document, I get the same thing.
>>> >
>>> > What's the magic I'm missing?
>>> >
>>> > I've googled; I've searched the help documentation, I've found lots of
>>> > suggestions. but none that work...
>>>
>>> Not sure if its relevant, I have one additional step involved here. Before
>>> clicking on 'properties' I select from a list of printers available, i have
>>> more than one  installed on my system. Highlighting a printer I can set
>>> paper size, different sizes for different printers here. Its sticky.
>>>
>>> I am using LO from Debian backports on Squeeze.
>>
>> I should add, my printers are managed through the cups, 'localhost:631' web
>> interface. I set default options for my printers there, ie. papersize.
>
> That interface does rude things to goats. For the second time today,
> I'll mention Eric Raymond's essay on "The Luxury of Ignorance" for a
> description of just how horrible that interface, and it hasn't
> improved noticeably since that essary in 2004:
>
>                        http://www.catb.org/~esr/writings/cups-horror.html
>
> Instead, install and use system-config-printer, which is being well
> maintained by our favorite upstream vendor.

Whoops! Sorry, wrong mailing list. I was just suggesting that a few
hours ago to a Scientific Linux user, my apologies.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTik9UCN9BXibFTy=imveqtbcijz...@mail.gmail.com



Re: X on a virtual server

2011-06-26 Thread Eric d'Halibut
On 6/26/11, Gregory Seidman  wrote:

>> I am going to try x11vnc. Thank you all!

> Not a bad choice, but not necessarily the best either. It depends on your
> purpose.

My purpose, at this early stage, is simplicity itself: I have a
"virtual private server" up and running -- root access and all that --
and I want to have some sort of X desktop available on it that I can
remotely log in to. What do you suggest? At present I feel I am close
to getting the login to work, but of course there is nothing
resembling an X session there (i.le window manager, Gnome or KDE).

At this point I can get an x11vnc server instance running on the
server end, but when my login attempt comes in the server quits with:
26/06/2011 20:43:46 Got connection from client 68.222.333.197
26/06/2011 20:43:46   other clients:
26/06/2011 20:43:46 wait_for_client: got client
26/06/2011 20:43:46 wait_for_client: running: env
X11VNC_SKIP_DISPLAY='' /bin/sh /tmp/x11vnc-find_display.KvIaiO
xauth:  creating new authority file /home/bob/.Xauthority
26/06/2011 20:43:46 wait_for_client: find display cmd failed
26/06/2011 20:43:46 wait_for_client: FINDCREATEDISPLAY cmd: /bin/sh
/tmp/x11vnc-find_display.KvIaiO Xvnc
trying N=20 ...
26/06/2011 20:43:46 wait_for_client: read failed: /bin/sh
/tmp/x11vnc-find_display.KvIaiO Xvnc
26/06/2011 20:43:46 fgets: Bad file descriptor
bob@somehost$ x11vnc -rfbauth ~/.vnc -xvfb
26/06/2011 20:53:22 passing arg to libvncserver: -rfbauth
26/06/2011 20:53:22 passing arg to libvncserver: /home/bob/.vnc
26/06/2011 20:53:22 passing arg to libvncserver: -xvfb
26/06/2011 20:53:22 x11vnc version: 0.9.3 lastmod: 2007-09-30
26/06/2011 20:53:22
26/06/2011 20:53:22 *** XOpenDisplay failed. No -display or DISPLAY.
26/06/2011 20:53:22 *** Trying ":0" in 4 seconds.  Press Ctrl-C to abort.
26/06/2011 20:53:22 *** 1 2 3 4
26/06/2011 20:53:26

26/06/2011 20:53:26 ***
26/06/2011 20:53:26 *** XOpenDisplay failed (:0)

*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure.

Any light you can shed on my confusion will be welcome!

-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktikarpwd22+dpxc6gzcojjyg_rh...@mail.gmail.com



Re: Hibernate fails

2011-06-26 Thread Carl Fink
On Sun, Jun 26, 2011 at 03:48:44PM -0400, William Hopkins wrote:

> I don't use hibernate (I use suspend, though) and I can't think of any reason
> why running wpasupplicant would prevent it. If you suspect wifi is in any way
> involved, simply disable wifi totally (ifdown, kill the wpasupplicant service,
> and rmmod your wifi driver even). Then you'll know whether it's a factor or 
> no. 

As you'll see if you look upthread, this has been tried repeatedly. WiFi
pretty clearly is not a factor.
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110627015813.ga15...@panix.com



Re: debian 6.0 boot failure after update to grub2

2011-06-26 Thread Philipp Überbacher
Excerpts from Joe's message of 2011-06-26 21:46:47 +0200:
> On Sun, 26 Jun 2011 18:44:49 +0200
> Philipp Überbacher  wrote:
> 
> > 
> > I tried manual mounting from busybox:
> > mount /dev/sda1 /root
> > fails with Invalid Argument
> > 
> > mount -t jfs /dev/sda1 /root
> > fails with No such device
> > 
> > So this is what happens during boot as well. I found a post suggesting
> > that it might be a missing driver because the device is there. I tried
> > modprobing a couple of modules in busybox, but nothing I tried helped.
> > 
> > initramfs.conf is set to most and I rebuilt it a couple of times.
> > 
> > Ideas please?
> > 
> > 
> 
> A wild guess, but you sound just about ready for that:
> 
> A few months ago, I copied (offline) a Lenny installation to a new
> drive, and then tried to install grub (-legacy) to the MBR from the
> running system. No luck, though it might be that I did not find the
> right method. Anyway, I removed the working drive, moved the cables,
> then booted from a CD and tried to restore the MBR to the new drive.
> There are instructions for doing that everywhere on the Net, the only
> problem being that they didn't work for me. Once I could see what I was
> doing I tried a few syntax variations, still with no luck.
> 
> Trying different boot media, I got several different failure messages,
> mostly to do with files and folders not being found, when they were
> clearly visible to the rescue OS, and I was able to mount the hard
> drive partitions and even write to them.
> 
> I know grub has its own disc drivers, and I guessed that the version
> installed on the hard drive was not the same as the rescue version. So
> I tried every grub-legacy boot medium I had and eventually found one
> that worked. I can't remember now what it was, but it was either the
> last CD Knoppix I have, 3.9, or an old Ubuntu. Most recent live distros
> use grub2, which was no use at all.
> 
> So it looks to me that grub is changing quickly (as was grub-legacy),
> and to make a successful rescue you need to be using a grub version
> which is the same as or very close to the one on the hard drive.
> 
> As it happens, a couple of years ago I had your problem on Sid. The
> two-grubs-in-series booting was working OK, so I ran the command to
> upgrade fully to grub2 and the drive never booted again. I reinstalled
> Sid, which was fine with a new grub2. Had I had the time then, I might
> have investigated further and found the grub version issue, which was
> almost certainly what stopped me repairing things. I assumed then that
> if the SuperGrub2 disc didn't work, nothing would.
> 
> Never used to have this trouble with lilo
> 
>...though of course in the last few years before grub appeared, lilo
> was very mature and stable. I still have a tomsrtbt floppy...
> 
> -- 
> Joe

Thanks Joe,
this didn't help me unfortunately.

However, after spending many hours on this (thanks phcoder from #grub)
it turned out that necessary modules were missing from initramfs.
Adding jfs was enough for the system to boot in qemu but not for the
real hardware. I've not yet found out what's necessary for that. So,
almost solved.. and not sure what to put into the bug report yet.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309141075-sup-9689@eris



LC_ALL & LANG settings

2011-06-26 Thread Eric d'Halibut
I"m getting these pesky messages when I run certain commands (e.g.
apt-get) as root:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I am always mystified by this stuff. How can I fix those errors?



Thanks,

-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=vv9-k0w8oehbo15mnkpwzwuo...@mail.gmail.com



Re: LC_ALL & LANG settings

2011-06-26 Thread William Hopkins
On 06/26/11 at 11:17pm, Eric d'Halibut wrote:
> I"m getting these pesky messages when I run certain commands (e.g.
> apt-get) as root:
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>   LANGUAGE = (unset),
>   LC_ALL = (unset),
>   LANG = "en_US.utf8"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 
> I am always mystified by this stuff. How can I fix those errors?

try dpkg-reconfigure locales

-- 
Liam


signature.asc
Description: Digital signature


Re: X on a virtual server

2011-06-26 Thread William Hopkins
On 06/26/11 at 09:54pm, Eric d'Halibut wrote:
> On 6/26/11, Gregory Seidman  wrote:
> 
> >> I am going to try x11vnc. Thank you all!
> 
> > Not a bad choice, but not necessarily the best either. It depends on your
> > purpose.
> 
> My purpose, at this early stage, is simplicity itself: I have a
> "virtual private server" up and running -- root access and all that --
> and I want to have some sort of X desktop available on it that I can
> remotely log in to. What do you suggest? At present I feel I am close
> to getting the login to work, but of course there is nothing
> resembling an X session there (i.le window manager, Gnome or KDE).

x11vnc is for creating a VNC instance to an existing X server. You just want a
VNC server: look into tightvncserver.

-- 
Liam


signature.asc
Description: Digital signature


Re: How to log inbound IPs on telnet connection?

2011-06-26 Thread William Hopkins
On 06/26/11 at 05:18pm, Alexander Lardner wrote:
> Hello,
> I run a vintage BBS on my Debian box that uses telnet for connections.
> By default, the software is written to accept connections on port
> 1234, as opposed to 23 as is default for telnet. I use a little
> utility called redir that takes inbound connections on port 23 and
> reroutes them locally to port 1234. The problem is, it shows that
> users connected from localhost as opposed to their actual IP. I need a
> way to be able to log IPs to ban troublemakers. Is there a program or
> script to log inbound IPs?

Probably you would be well served by IPtables instead of your 'redir' utility.
Look into the REDIRECT target in the nat table.
See if this modifies what the inbound IP appears to be.

-- 
Liam


signature.asc
Description: Digital signature


Re: X on a virtual server

2011-06-26 Thread Nico Kadel-Garcia
On Sun, Jun 26, 2011 at 11:25 PM, William Hopkins  wrote:
> On 06/26/11 at 09:54pm, Eric d'Halibut wrote:
>> On 6/26/11, Gregory Seidman  wrote:
>>
>> >> I am going to try x11vnc. Thank you all!
>>
>> > Not a bad choice, but not necessarily the best either. It depends on your
>> > purpose.
>>
>> My purpose, at this early stage, is simplicity itself: I have a
>> "virtual private server" up and running -- root access and all that --
>> and I want to have some sort of X desktop available on it that I can
>> remotely log in to. What do you suggest? At present I feel I am close
>> to getting the login to work, but of course there is nothing
>> resembling an X session there (i.le window manager, Gnome or KDE).
>
> x11vnc is for creating a VNC instance to an existing X server. You just want a
> VNC server: look into tightvncserver.

Or NX from www.nomachine.com, which is free for personal use and is
commercial grade software with excellent printing, USB, and shared
session capability with quite efficient CPU and network use on both
ends. It's a big step up from VNC.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktimdgcyxnakj++33khqkvkgjyuu...@mail.gmail.com



Re: How to log inbound IPs on telnet connection?

2011-06-26 Thread Alexander Lardner


On Jun 26, 2011, at 8:29 PM, William Hopkins  wrote:

> On 06/26/11 at 05:18pm, Alexander Lardner wrote:
>> Hello,
>> I run a vintage BBS on my Debian box that uses telnet for connections.
>> By default, the software is written to accept connections on port
>> 1234, as opposed to 23 as is default for telnet. I use a little
>> utility called redir that takes inbound connections on port 23 and
>> reroutes them locally to port 1234. The problem is, it shows that
>> users connected from localhost as opposed to their actual IP. I need a
>> way to be able to log IPs to ban troublemakers. Is there a program or
>> script to log inbound IPs?
> 
> Probably you would be well served by IPtables instead of your 'redir' utility.
> Look into the REDIRECT target in the nat table.
> See if this modifies what the inbound IP appears to be.
> 
> -- 
> Liam
Actually, I beat you to it. Got thinking and bit the bullet. :)

-Alex

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/72b5d469-d61a-4864-bf2f-06b994fa5...@gmail.com



Re: X on a virtual server

2011-06-26 Thread William Hopkins
On 06/26/11 at 11:29pm, Nico Kadel-Garcia wrote:
> On Sun, Jun 26, 2011 at 11:25 PM, William Hopkins  
> wrote:
> > On 06/26/11 at 09:54pm, Eric d'Halibut wrote:
> >> On 6/26/11, Gregory Seidman  wrote:
> >>
> >> >> I am going to try x11vnc. Thank you all!
> >>
> >> > Not a bad choice, but not necessarily the best either. It depends on your
> >> > purpose.
> >>
> >> My purpose, at this early stage, is simplicity itself: I have a
> >> "virtual private server" up and running -- root access and all that --
> >> and I want to have some sort of X desktop available on it that I can
> >> remotely log in to. What do you suggest? At present I feel I am close
> >> to getting the login to work, but of course there is nothing
> >> resembling an X session there (i.le window manager, Gnome or KDE).
> >
> > x11vnc is for creating a VNC instance to an existing X server. You just 
> > want a
> > VNC server: look into tightvncserver.
> 
> Or NX from www.nomachine.com, which is free for personal use and is
> commercial grade software with excellent printing, USB, and shared
> session capability with quite efficient CPU and network use on both
> ends. It's a big step up from VNC.

Your post is not helpful in reply to what I have said. You basically say 'don't
listen to this guy -- come try this instead!'. I don't appreciate it.
Furthermore NX has gone closed-source and is not easier to configure or
understand. VNC is simple and is what Eric previously told us he was using.
It's right there in the quoted text.

-- 
Liam


signature.asc
Description: Digital signature


Re: Hibernate fails

2011-06-26 Thread Scott Ferguson
On 27/06/11 05:36, Carl Fink wrote:
> On Mon, Jun 27, 2011 at 12:47:29AM +1000, Scott Ferguson wrote:

> /etc/network/interfaces is:
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> allow-hotplug eth0
> #NetworkManager#iface eth0 inet dhcp

Thanks - that seems to confirm what I've read


> 
> I use WPA. Works great.
> 
> I added your wpa_supplicant.conf. Still can't hibernate. I don't have WiFi
> here to try to connect to. (I'm at work, where I have to connect this
> netbook using T-Mobile via bluetooth tethering.)

No worries. I "suspect" what is happening is that part of the process
for hibernation is to test network states in order to resume them after
hibernation - and that when attempting to test the state of wireless
there is a problem.
My, limited, understanding is that turning off/disabling wifi and/or
rmmod-ing the related modules will have no effect on the hibernate hook
that is failing (I and suspect that's the fail point in hibernation)

"Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant hibernate
hibernate:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or
directory"

The error message seems to indicate that:-
pm-utils is looking for /etc/wpa_supplicant/wpa_supplicant.conf (which
you now have) but is not finding a path to wpa_crtl in that file
(see my question further down about /var/run)

> 
> While testing this, I discovered not one but two new bugs.
> 
> One, if I use this box's "increase brightness" key-combo (FN-rightarrow) in
> a virtual terminal, it works but also draws control sequences in the VT. And
> two, if I run "/etc/init.d/gdm3 stop" from a VT, then press Alt-F7, I can't
> ever enter any more text, ever. The visual for VT1 continues to display, but
> nothing I do on the keyboard except Ctrl-Alt-Del has any effect.

Hmm - could be that hibernate is not working because of a broken bios.
If it's an ACPI issue (hibernation failure) it should be possible to
work around it by either using the hibernate package or tweaking the
pm-utils settings (but I digress). The simplest, partial, solution would
be to remove the wpa_supplicant hook from the hibernate process - which
would mean wireless wouldn't work after hibernation, and wouldn't be
useful for fixing the "bug" in hibernation (for the package, not you).
Having got this far in trying to isolate the problem with pm-utils it
could be worth moving to pm-test (your call).

If you want to start trying pm-test start by confirming that your kernel
is compiled with pm_debug support:-
$ cat /boot/config-`uname -r` | grep -i config_pm_debug

What does lspci identify as your wireless?

*do you have a /var/run/wpa_supplicant??*

Refs:-
kernel/Documentation/power/basic-pm-debugging.txt
/usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf
man wpa_cli
man pm-hibernate
man wpa_supplicant
http://wiki.debian.org/DebianEeePC/HowTo/Wifi

Cheers

-- 
"I can't watch TV longer than five minutes without praying for nuclear
holocaust."
~ Bill Hicks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e08054a.90...@gmail.com



Re: X on a virtual server

2011-06-26 Thread Nico Kadel-Garcia
On Sun, Jun 26, 2011 at 11:41 PM, William Hopkins  wrote:
> On 06/26/11 at 11:29pm, Nico Kadel-Garcia wrote:
>> On Sun, Jun 26, 2011 at 11:25 PM, William Hopkins  
>> wrote:
>> > On 06/26/11 at 09:54pm, Eric d'Halibut wrote:
>> >> On 6/26/11, Gregory Seidman  wrote:
>> >>
>> >> >> I am going to try x11vnc. Thank you all!
>> >>
>> >> > Not a bad choice, but not necessarily the best either. It depends on 
>> >> > your
>> >> > purpose.
>> >>
>> >> My purpose, at this early stage, is simplicity itself: I have a
>> >> "virtual private server" up and running -- root access and all that --
>> >> and I want to have some sort of X desktop available on it that I can
>> >> remotely log in to. What do you suggest? At present I feel I am close
>> >> to getting the login to work, but of course there is nothing
>> >> resembling an X session there (i.le window manager, Gnome or KDE).
>> >
>> > x11vnc is for creating a VNC instance to an existing X server. You just 
>> > want a
>> > VNC server: look into tightvncserver.
>>
>> Or NX from www.nomachine.com, which is free for personal use and is
>> commercial grade software with excellent printing, USB, and shared
>> session capability with quite efficient CPU and network use on both
>> ends. It's a big step up from VNC.
>
> Your post is not helpful in reply to what I have said. You basically say 
> 'don't
> listen to this guy -- come try this instead!'. I don't appreciate it.
> Furthermore NX has gone closed-source and is not easier to configure or
> understand. VNC is simple and is what Eric previously told us he was using.
> It's right there in the quoted text.

This is confusing. I was trying to help the original poster, Gregory,
by pointing out what is, compared side-by-side, an excellent solution.
I wasn't trying to insult you, and I certainly did not ignore your
suggestions, but rather I tried to help him, as the original poster. I
am sorry if that bothers you, although in a support list, I'm not sure
how to offer a relevant suggestion without possibly insulting someone
so sensitive about alternative approaches.

As near as I could tell at the time, I personally *wrote* the first
SunOS port of VNC myself, so I've some experience with it.  Would it
help to actually compare them side by side and see why I think it's
better? The change from open source is a reasonable concern, and I've
spoken with NoMachine about this as a customer. I'm actually hoping
they'll change their minds about that before the next release gets out
of alpha testing. But it's really a very good tool for remote X
servers. I'd be happy to compare it to VNC based tools, side by side.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=Y1OqfmCUGnSBxOkPUmQyTVHqW=q...@mail.gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread martin f krafft
also sprach Tom H  [2011.06.26.2328 +0200]:
> "mdadm --examine /dev/sda1" returns mdadm UUIDs of the array and
> the partition. (I've never seen the mdadm UUID of a partition be
> used for anything. Can an array be assembled by referring to an
> mdadm UUID of a partition to add a partition? Would it make any
> sense?!)

Partitions do not have UUIDs. What you are seeing are the MD UUIDs
stored in the superblock of the sda1 device.

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"a woman is like your shadow;
 follow her, she flies;
 fly from her, she follows."
-- sébastien-roch-nicolas chamfort


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: Default paper size in LibreOffice - SOLVED?

2011-06-26 Thread Rick Thomas



On 06/26/11 20:38, Greg Madden wrote:



On Sunday 26 June 2011 04:04:40 pm Rick Thomas wrote:

I've tried everything I can think of, but every time I create a new
document in LibreOffice Writer it wants to print on A4 paper.  I'm in
the US and everything else uses US-Letter paper.  As I understand it,
the accepted way to set this is with "dpkg-reconfigure libpaper1". But
this has no effect on LibreOffice.

To reproduce the problem:

In Gnome go to the "Applications->Office->LibreOffice Writer" menu.
In the new document window, go to "File->Print" menu, click on the
"General" tab, click on the "Properties" button.  Notice that it says
"A4" for paper size.

If I change that, I can print on Letter paper OK.  But the next time I
open a document, I get the same thing.

What's the magic I'm missing?

I've googled; I've searched the help documentation, I've found lots of
suggestions. but none that work...


Not sure if its relevant, I have one additional step involved here. Before
clicking on 'properties' I select from a list of printers available, i have more
than one  installed on my system. Highlighting a printer I can set paper size,
different sizes for different printers here. Its sticky.

I am using LO from Debian backports on Squeeze.


I don't know why this works, but I noticed that one of my machines had a 
package called "cups-pdf" installed (which hauls in "libpaper-utils" -- 
more on this later...) and on that machine I got a choice of two 
printers (as Greg notes above) one is "lp" (my networked postscript 
printer) and one is "pdf" a virtual pdf printer.  On that machine, the 
default paper size is "Letter".


So I installed "cups-pdf" on another machine and lo-and-behold!  Now the 
default paper size is "Letter" on that one too!


I'm guessing that "libpaper-utils" is needed to make the configuration 
of "libpaper1" visible to LibreOffice?



Description: library for handling paper characteristics (utilities)
 The libpaper paper-handling library automates recognition of many different
 paper types and sizes for programs that need to deal with printed output.

 This package contains utilities for setting the system's default paper type and
 for accessing paper type information from shell scripts.


Anyway, it seems to work.

I wonder if "libpaper-utils" should be depended upon (or at least 
recommended by) by libreoffice?


Rick


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

Archive: http://lists.debian.org/4e08123e.7020...@pobox.com



Re: X on a virtual server

2011-06-26 Thread Eric d'Halibut
On 6/26/11, William Hopkins  wrote:

> x11vnc is for creating a VNC instance to an existing X server. You just want
> a VNC server: look into tightvncserver.

Yes, that is what I have running now, I think 

>From 'ps ax':

27765 pts/1S  0:00 Xtightvnc :01 -desktop X -auth /home/bob/.Xauthority
27772 pts/1Sl 0:00 gnome-session
27775 pts/1S  0:00 /usr/lib/libgconf2-4/gconfd-2 5
2 pts/1S  0:00 /usr/bin/gnome-keyring-daemon

I cannot, however, connect from my remote machine. Even if I turn off
the firewalls at both ends of the link, I get a "connection refused"
when I run vncviewer. I can't even nping to port 5901, which is what
is configured. I have run xhost + to add both client and server to
access list.

Some unix weirdness somewhere


-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktikld3pg9s9tcfoep3yrq2m83gt...@mail.gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Andrew McGlashan

Tom H wrote:

You have "/" set up as a RAID 1 array md0 with sda1 and sdb1 as its components.


No / would be on an internal drive,  right now that is not the concern 
as it has nothing to do with the external drive array(s) in question for 
this issue.


--
Kind Regards
AndrewM


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

Archive: http://lists.debian.org/4e081a5e.5060...@affinityvision.com.au



Re: Default paper size in LibreOffice - SOLVED?

2011-06-26 Thread Gerfried Fuchs
* Rick Thomas  [2011-06-27 07:16:46 CEST]:
> I don't know why this works, but I noticed that one of my machines had a  
> package called "cups-pdf" installed (which hauls in "libpaper-utils" --  
> more on this later...) and on that machine I got a choice of two  
> printers (as Greg notes above) one is "lp" (my networked postscript  
> printer) and one is "pdf" a virtual pdf printer.  On that machine, the  
> default paper size is "Letter".

 Out of curiosity, what's the content of your /etc/papersize file in all
your environments, especially the ones that give you the wrong result?

 Enjoy,
Rhonda
-- 
Fühlst du dich mutlos, fass endlich Mut, los  |
Fühlst du dich hilflos, geh raus und hilf, los| Wir sind Helden
Fühlst du dich machtlos, geh raus und mach, los   | 23.55: Alles auf Anfang
Fühlst du dich haltlos, such Halt und lass los|


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110627055322.ga10...@anguilla.debian.or.at



squeeze hard freeze with fglrx & invisible cursor switching user

2011-06-26 Thread Juan R. de Silva
I have the following configuration:

Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
ASUSTeK P8P67 Motherboard
ATI Technologies Inc Redwood PRO [Radeon HD 5500 Series] video card.
8GB of RAM
Debian 6.0.2 (squeeze) AMD64

I have two problems with fglrx. (The first listed is definitely worse.)

1. After fresh install of Debian 6.0.1 back in April I installed fglrx 
driver found in Synaptic. I accepted a minimal xorg.conf created upon 
installation, and the system was running without any freezes until 
recently. 

All at a sudden a couple of weeks ago, I started experiencing hard 
freezes after switching a user: a black screen without a cursor, no 
response to keyboard, no way to get out but hard reset (power off button).

It does not freeze every time but after several user switches. And it 
seems to get worse ever day. It feels like the system is steadily 
degrading. Last days I had system frozen at least a couple of times a day.

No traces in logs.

I get back to open source Radeon driver and freezes have gone. But the 
difference in performance is drastic: 9027.995 FPS with fglrx and only 
around 900-1200 FPS with open source Radeon. (Plus I could not make 
compiz 
to work with open source driver.)

I spend a couple of days on google but only found outdated information. 
The most recent was dated year 2008.

2. Another problem using fglrx was, mouse cursor become invisible after 
ever single time user switched. Right clicking on a desktop, selecting 
any menu option to open any window restored the mouse cursor visible. 

This problem does not exist with open source Radeon driver. Mouse cursor 
never disappears while switching a user.

I found a lot of links on google but neither of them is similar to my 
case, when the problem is resolved by going back to Radeon driver. People 
usually loose the mouse cursor upon login and for ever. I've not found 
any one relating this problem to fgrx driver.

Can anybody help me with either suggestion or a link to something 
helpful, please?

Thank you.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/iu96gv$nh4$1...@dough.gmane.org



Re: LC_ALL & LANG settings

2011-06-26 Thread Eric d'Halibut
On 6/26/11, William Hopkins  wrote:

> try dpkg-reconfigure locales

Thank you again. That command (above) clued me to the fact that the
packages 'locales' was not even installed. Who knew? 

-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktikcd-7_b0omph9ua-0bs0bw0pd...@mail.gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Tom H
On Mon, Jun 27, 2011 at 12:52 AM, martin f krafft  wrote:
> also sprach Tom H  [2011.06.26.2328 +0200]:
>>
>> "mdadm --examine /dev/sda1" returns mdadm UUIDs of the array and
>> the partition. (I've never seen the mdadm UUID of a partition be
>> used for anything. Can an array be assembled by referring to an
>> mdadm UUID of a partition to add a partition? Would it make any
>> sense?!)
>
> Partitions do not have UUIDs. What you are seeing are the MD UUIDs
> stored in the superblock of the sda1 device.

I called them "mdadm UUIDs" rather than "MD UUIDs" but they definitely
exist, are different from the "MD Array UUID", and, AFAIK, unused by
the user tools.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTim1b7Lr2=onrtnj9npcgb3orve...@mail.gmail.com



Re: mdadm and UUIDs for its component drives

2011-06-26 Thread Tom H
On Mon, Jun 27, 2011 at 1:51 AM, Andrew McGlashan
 wrote:
> Tom H wrote:
>>
>> You have "/" set up as a RAID 1 array md0 with sda1 and sdb1 as its
>> components.
>
> No / would be on an internal drive,  right now that is not the concern as it
> has nothing to do with the external drive array(s) in question for this
> issue.

Thanks for explaining...

Forget about "/". Your external array is mounted on "/path/to/array"
and its members are sdXA and sdYA. When you plug in another USB drive,
it becomes sdXA or sdYA and mdadm tries to assemble it into the array
even though it doesn't have any mdadm metadata whatsoever.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTinObgAe22s=1g8lc0vvthoawjq...@mail.gmail.com