Re: mini pic express WLAN card which support AP mode

2011-05-31 Thread Mark
On Mon, May 30, 2011 at 10:30 PM, Volkan YAZICI  wrote:

> On Mon, 30 May 2011 22:18:16 -0700, writes:
> > Any recommendations for cards that are known to work with the current
> > stable distribution in master mode, i.e. as an access point ?
>
> I *highly* recommend Atheros WiFi cards. (Particularly, 5000 and 9000
> series.) Master mode, ad-hoc mode, etc. all is supported perfectly.
>

+1.  I have one Ath5k card and it's rock solid with Debian.


Re: Scratchy sound when encoding mkv to DVD with mencoder

2011-05-31 Thread François TOURDE
Le 15124ième jour après Epoch,
Ron Johnson écrivait:

> The same commands applied to the same input created good sound some
> weeks ago but now produces bad sound?  (That would have been good to
> know in your OP.)

Yes... and yes. Sorry for omitting this info.

It's probably after an upgrade, but I can't really point the date of
that.


--
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/87ei3ftizv@fermat.tourde.home



Number of systems running user Debian? ; gre

2011-05-31 Thread giovanni_re
What numeric info is available about the # of systems running Debian for
users (desktop, laptop, notebook, not server)?

Any breakdown by country?

What #'s are there for # of daily apt-get update requests?

Thanks :)


http://royal.pingdom.com/2011/05/12/the-top-20-strongholds-for-desktop-linux

==  Smartphone Debian:  http://wiki.debian.org/Smartphone
Join in the Global monthly meetings, via voice, about all Free SW HW & Culture
http://sites.google.com/site/berkeleytip/



-- 
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/1306828865.4468.1457814...@webmail.messagingengine.com



Inline PGP with Evolution

2011-05-31 Thread Mathieu Malaterre
Hi,

  Does anyone knows whether or not evolution (in squeeze) support
inline PGP signing ? I do need inline signing for a robot that only
support inline PGP.

Thanks
-- 
Mathieu


-- 
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/banlktik-0bfk-30uypsjabdxmz1t3rb...@mail.gmail.com



Re: SSD partition alignment considerations

2011-05-31 Thread Stan Hoeppner
On 5/30/2011 10:39 PM, Cam Hutchison wrote:
> I'm about to do a fresh install of Debian onto a new box with a Crucial
> M4 128GB SSD. I want to ensure that I get the best performance I can out
> of the SSD so I want to make sure I take care of any partition alignment
> issues.
> 
> I have read tytso's blog post
> (http://ldn.linuxfoundation.org/blog-entry/aligning-filesystems-ssd%E2%80%99s-erase-block-size)
> but that post is a couple of years old now and may not be relevant.
> Also, I cannot find any specific information on the M4's erase block
> size but some hints suggest it may be 512kiB, not the 128kiB used in
> that blog post (and the c/h/s settings no longer work for 512kiB
> alignment).
> 
> It is necessary to worry about alignment anymore with modern SSDs? The
> Debian installer did not seem to have any special handling that I could
> see, so I suspect I would have to pre-partition the drive and tell the
> installer to use the existing partitions.

General consensus is to start your first partition at 1,048,576 bytes,
as it is evenly divisible by 512, 4096, 131,072, and 524,288 bytes,
covering all sector, filesystem block, and erase block size possibilities.

-- 
Stan


-- 
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/4de4a4c6.2030...@hardwarefreak.com



oceniasz pracownikow? :: Gdańsk, Szczecin

2011-05-31 Thread ocena pracownika
Dzień Dobry
Metody ocen pracowników.
(Zbliżają się wakacje i warto ocenić pracowników).
Zwracam się z pytaniem, czy wyrażają Państwo zgodę
na przesłanie informacji o szkoleniu w Gdańsku i Szczecinie
Jeżeli wyrażacie Państwo zgodę na przesłanie
informacji wystarczy kliknąć TUTAJ lub wysłać zwrotnego e-maila ze słowem 
"ZGODA"
1. Jak oceniać?
2. Kogo oceniać?
3. Za co oceniać?
4. Kto jest kompetentnym pracownikiem?
5. Jakie formy oceny wybrać?
6. Jak przeprowadzać rozmowę oceniającą?
czy wreszcie...
7. Jak zmotywować do lepszej pracy?
Z poważaniem
Izabela Krawczyk - Kujawsko Pomorskie Szkolenia Biznesowe
P.S.
Brak takiej odpowiedzi traktujemy jako odmowę
i informacja nie zostanie wysłana.


Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread Mike Mestnik
On 05/30/11 21:24, Mike Mestnik wrote:
> On 05/26/11 18:13, William Hopkins wrote:
>> On 05/26/11 at 05:16pm, Mike Mestnik wrote:
>>> In-Reply-To: <20080412023656.gr14...@yi.org>
>>>
>>> Hello,
>>>   This is an old thread, but I find myself in a similar situation.  I'd
>>> like to edit a 4in6 tunnel endpoint and reconfigure the interface. 
>>> While I can handle the Apache/sudo parts of this I'm stuck with... OK
>>> now how and I going to change this one value out of this whole file?
>>>
>>> My current plan is to convert the file to XML storing away comments and
>>> partial white space as well as the settings.  Then I should be able to
>>> edit the setting a write the file back out.
>>>
>>> Any better ideas?  For this project Perl seams to be the ideal language.
>>>
>>> I may contact the ifupdown maintainer to include this in his package, so
>>> I'm looking to get it done right.
>> Generally, there's no desire for added abstractions to configuration files. 
>> If you need to have network things done automatically which can't be handled 
>> by the file itself, add post-ups and write some scripts. Or write scripts 
>> which parse current network info from ifconfig/ip. /etc/network/interfaces 
>> is a file used by the debian networking scripts to set up your default 
>> interfaces, not the be-all end-all of networking configuration. 
>>
> 
> I believe you have slightly misunderstood me.  I need(would like to) to
> alter network settings based on CGI scripts from Apache.  Can these
> variables be abstracted?  I don't see how a pre-up script can
> effect/alter configuration settings.  As an example the address or
> gateway settings for a static method.  In my experience I'm specifically
> trying to alter the "endpoint" setting for a "v4tunnel" method.
>
> I'm just as confused trying to accomplish this as I was when I started. 
> It's something a user can do simple with an editor, but trying to do it
> programing and correctly is my stumbling block.  "IF" I could store the
> value of this setting in a file that would solve my issue, I can replace
> the contents of the file and then proceed as usual.
>
Here is what I've come up with thus far.

sudoers:
www-data ALL=(root) SETENV: NOPASSWD: /usr/local/sbin/6in4cfg.pl

Current perl run as root:
#!/usr/bin/perl -wT

use strict;
use warnings;
use CGI qw/:standard/;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
use Data::Dumper;

print header;
warningsToBrowser(1);
print start_html('Me.'), pre(escapeHTML(Dumper(\%ENV))),end_html();


Calling CGI:
/* me.c */

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#define ERRORSTR "%sContent-Type: text/html;
charset=ISO-8859-1\n\nhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\";>\nhttp://www.w3.org/1999/xhtml\"; lang=\"en-US\"
xml:lang=\"en-US\">\n\n%s\n\n\n\n%s\n\n"

int main(int argc, char *argv[]) /* , char *envp[]) */
{
char * env;
struct in_addr *n;
env=getenv ("AUTH_TYPE");
if (!env) {
printf(ERRORSTR, "Status: 403 No Authoriz\n", "Me.", "No
Authoriz.");
 return 0; }
if (strncmp(env,"Negotiate",8)) {
printf(ERRORSTR, "Status: 403 Not Authorized\n", env,
  "Not Authorized.");
 return 0; }
env=getenv ("REMOTE_USER");
if (!env) {
printf(ERRORSTR, "Status: 403 No User\n", "Me.", "No User.");
 return 0; }
if (strncmp(env,"host/purgatory.mikemestnik.net",30)) {
printf(ERRORSTR, "Status: 403 Wrong User\n", env, "Wrong User.");
 return 0; }
env=getenv ("REMOTE_ADDR");
if (!env) {
printf(ERRORSTR, "Status: 400 Bad request", "Me.", "Bad request.");
 return 0; }
if (inet_aton(env,n)) {
/*printf(ERRORSTR, "", env, "Good."); */
execlp("sudo","sudo","-En","/usr/local/sbin/6in4cfg.pl");
 return 0; }
printf(ERRORSTR, "Status: 400 Request Failed\n", "Me.", "Request
Failed.");

return 0;
}


-- 
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/4de4aac4.1080...@mikemestnik.net



converting apple quicktime to mpeg

2011-05-31 Thread Pierre Frenkiel

hi,
I tried several methods to convert a .mov file to .mpg, but none really works,
and google didn't help me in that case.
ffmpeg seemed to me the best choice, but I get:

 Invalid data found when processing input

As it seems to work for other people, I suppose that some ffmeg codec
is missing, but which one?
(I can read the .mov file with vlc, mplayer, ...)

best regards,
--
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.1105311045560.6...@pfr2.frenkiel-hure.net



Re: SSD partition alignment considerations

2011-05-31 Thread Tony van der Hoff

On 31/05/11 10:20, Stan Hoeppner wrote:


General consensus is to start your first partition at 1,048,576 bytes,
as it is evenly divisible by 512, 4096, 131,072, and 524,288 bytes,
covering all sector, filesystem block, and erase block size possibilities.


General consensus by whom, Stan? Have you any references?

--
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


--
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/4de4a73b.3020...@vanderhoff.org



Re: converting apple quicktime to mpeg

2011-05-31 Thread Ron Johnson

On 05/31/2011 04:03 AM, Pierre Frenkiel wrote:

hi,
I tried several methods to convert a .mov file to .mpg, but none really
works,
and google didn't help me in that case.
ffmpeg seemed to me the best choice, but I get:

Invalid data found when processing input



We need the exact command and all the output.  (OK to attach as a text 
file.)



As it seems to work for other people, I suppose that some ffmeg codec
is missing, but which one?
(I can read the .mov file with vlc, mplayer, ...)

best regards,



--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
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/4de4b31d.9030...@cox.net



Re: debian on NVIDIA(R) CUDA

2011-05-31 Thread Ron Johnson

On 05/31/2011 12:12 AM, William Hopkins wrote:

On 05/31/11 at 10:18am, surreal wrote:

hi there..

has anyone tried using debian on  NVIDIA® CUDA  platform?


Forgive my ignorance, but I thought CUDA was a distributed computing toolset? 
That is, 'using debian on' is sort've meaningless. You write programs for CUDA, 
but you load your OS normally.



You are correct.

--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
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/4de4b343.50...@cox.net



Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread Mike Mestnik
On 05/30/11 21:24, Mike Mestnik wrote:
> On 05/26/11 18:13, William Hopkins wrote:
>> On 05/26/11 at 05:16pm, Mike Mestnik wrote:
>>> In-Reply-To: <20080412023656.gr14...@yi.org>
>>>
>>> Hello,
>>>   This is an old thread, but I find myself in a similar situation.  I'd
>>> like to edit a 4in6 tunnel endpoint and reconfigure the interface. 
>>> While I can handle the Apache/sudo parts of this I'm stuck with... OK
>>> now how and I going to change this one value out of this whole file?
>>>
>>> My current plan is to convert the file to XML storing away comments and
>>> partial white space as well as the settings.  Then I should be able to
>>> edit the setting a write the file back out.
>>>
>>> Any better ideas?  For this project Perl seams to be the ideal language.
>>>
>>> I may contact the ifupdown maintainer to include this in his package, so
>>> I'm looking to get it done right.
>> Generally, there's no desire for added abstractions to configuration files. 
>> If you need to have network things done automatically which can't be handled 
>> by the file itself, add post-ups and write some scripts. Or write scripts 
>> which parse current network info from ifconfig/ip. /etc/network/interfaces 
>> is a file used by the debian networking scripts to set up your default 
>> interfaces, not the be-all end-all of networking configuration. 
>>
> I hadn't though of that.  I was merely trying to automate/script a task
> that was being performed manually.  The task included changing this
> configuration file.  The solution may be to abstract parts of this
> configuration file that would then be updated by scripts/users doing
> things manually.
>
> I believe you have slightly misunderstood me.  I need(would like to) to
> alter network settings based on CGI scripts from Apache.  Can these
> variables be abstracted?  I don't see how a pre-up script can
> effect/alter configuration settings.  As an example the address or
> gateway settings for a static method.  In my experience I'm specifically
> trying to alter the "endpoint" setting for a "v4tunnel" method.
>
> I'm just as confused trying to accomplish this as I was when I started. 
> It's something a user can do simple with an editor, but trying to do it
> programing and correctly is my stumbling block.  "IF" I could store the
> value of this setting in a file that would solve my issue, I can replace
> the contents of the file and then proceed as usual.
>
To: William Hopkins 

I didn't get your reply, but I see it in the archives.  Your advice that
perhaps there is another method for effecting the contents of
network/interfaces, for example calling a post-up script, was taken to
hart.  This indeed would perhaps be better then continually altering a
system config file.

I'm fumbling a bit with how to actually implement this.  I don't see a
clear way to abstract settings, take this example:

auto eth0
iface eth0 inet static
address $(cat /etc/network/eth0-address)
netmask 255.255.255.0
gateway 186.106.158.1
dns-nameservers 8.8.8.8 8.8.4.4

AFAIK there is no simple way to have the above address setting be read
from the /etc/network/eth0-address file.  I could go mucking around in
the static scripts to implement this and FAIK this is already supported
and I'm just un-aware.

I'm sure you want to change the permanent setting of something which is
currently set, both the running and boot configurations.  I'm a bit
unsure of what command would be needed to change the setting I wish to
alter in the running config...  I was going to resort to an ifdown/ifup
combo, but now you have me rethinking that approach as well.

I'll need to adjust the configuration on several servers every time my
DSL modem reboots.  The internet is not only packet switch, it's also
address switched.

The concept of using scripts to alter configuration files is where I'd
like to end up, however after carefully reading the man page for the
network/interfaces file it's clear that determining where one block ends
and another begins is a non-trivial task.  I have a script that breaks
the config into blocks, though it might not always do it under any
circumstance.

This is why having a script that can convert the configuration to and
from like xml or some other format that's more generically interrogated
and modified is so important.  Here might be the beginning of such a script:

#!/usr/bin/perl -w

use warnings;
use strict;
use feature 'switch';
use Data::Dumper;

sub trim($)
{
my $string = shift;
$string =~ s/^\s+//;
$string =~ s/\s+$//;
return $string;
}

open (INTER, q{) {
  chomp;
  my $ln=$_;
  # A line may be extended across multiple lines by making the last charac-
  # ter a backslash.
  while ($ln =~ /\\$/) {
chop $ln; $ln.=; chomp $ln; last if (eof INTER);
  }
  foreach my $rx (qr(auto),qr(allow-auto),qr(allow-[^ ]*),
  qr(mapping),qr(iface)) {
if ($ln =~ /^\s*($rx)\s+(\S*)\s*(.*)$/) {
  $ptr = undef;
  given ($1){
when('mapping') { pus

Re: converting apple quicktime to mpeg

2011-05-31 Thread Pierre Frenkiel

On Tue, 31 May 2011, Ron Johnson wrote:


We need the exact command and all the output.  (OK to attach as a text file.)


  Here it is. Actually, I called ffmpeg with some options, but the
  ouput is exactly the same.

--
Pierre Frenkielffmpeg -i file.mov file.mpg

FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jan 21 2011 09:10:31 with gcc 4.4.5
  configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' 
--cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl 
--enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid 
--enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 
--enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter 
--enable-libdirac --disable-decoder=libdirac --enable-libschroedinger 
--disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg 
--enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec 
--disable-armv5te --disable-armv6 --disable-vis
  libavutil 50.33. 0 / 50.33. 0
  libavcore  0.14. 0 /  0.14. 0
  libavcodec52.97. 2 / 52.97. 2
  libavformat   52.87. 1 / 52.87. 1
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.65. 0 /  1.65. 0
  libswscale 0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
file.mov: Invalid data found when processing input


Nå 200 000 inköpare via oss!

2011-05-31 Thread Epostarna



Alla företagare söker nya vägar att utveckla sitt företag. Vi hjälper dig!
Visa detta e-postmeddelande somwebbsida.
http://www2.carmamail.com/mail/OBS?muid=1QTDOB901253244



Nyhetsbrev | maj 2011







Bra möjligheter för ditt företag!

Epostarna.se vill
ge dig som företagare en unik möjlighet att ta del av erbjudanden från företag 
som riktar sina produkter och tjänster mot dig och ditt företag. Hos oss finner 
du nya kontaktvägar inom flera olika branscher och vi eftersträvar alltid att 
presentera 
ett bredd i utbudet.
Epostarna.se är en tjänst för dig som vill förnya och utveckla din verksamhet.



epostarna.se
Post: Box 3535 | 114 09 Stockholm
Besök: Baltzar von Platens gata 12 | 112 42 Stockholm
Tel: 08-55 11 63 30 | Fax: 08-15 99 25
E-mail:i...@epostarna.se
mailto:i...@epostarna.se



Om du inte vill få nyhetsbrevet skickat till dig i fortsättningenavanmäler du 
dig här.
http://www2.carmamail.com/OptOut/Default.aspx?guid=1QTDOB&mid=901253244


XORG.CONF or a solution without xorg.conf needed

2011-05-31 Thread Ralf Mardorf

 Was 
From: Andrei Popescu 
To: debian-user@lists.debian.org
Subject: Re: Until now Debian seems to be the right decision :),
better performance than Ubuntu
Date: Tue, 31 May 2011 09:00:43 +0300

On Lu, 30 mai 11, 19:14:58, Ralf Mardorf wrote:
> 
> For Debian I still need to set up a xorg.conf, 

Why do you think so?

Regards,
Andrei

Hi Andrei :)

I  don't think so, it's a declarative statement.
I guess nobody wish to have a vertically frequency of 60Hz ;), it's not
very pleasant to look into a stroboscope. In addition I wish to be able
to select the screen resolution I like, 1152x864 @ 90Hz.

Then I have several needs and need several drivers. I'm used to switch
the drivers automatically at startup, by adding

rm /etc/X11/xorg.conf
case $(uname -r) in
*rt*)
cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
;;
*)
cp /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf
;;
esac

to /etc/rcS.d.

At the moment I urgently need help regarding to xorg.conf or any other
solution that enables me to select the driver, and to get 1152x864 @
90Hz.

The graphics is a NVIDIA GeForce 7200 GS aka 7300 SE. The CRT monitor is
an Lifetec/Medion MD1998JB J91B.

I never had issues with old Debian/Ubuntu and Suse installs. I ordered
some new gear, a RME HDSPe AIO sound card + a 8 analog IO ADAT device
and some other stuff. It was delivered yesterday, but it's still
packaged, because I'm unable to set up a new Linux DAW. Old Linux DAWs
are still available by backup archives ;).

At the moment for my Debian install, the mouse wheel isn't working, as
soon as I add a xorg.conf. Without an xorg.conf the mouse wheel seems to
work all the times. I stopped trying to use old xorg.confs.

I run Xorg -configure in recovery mode.

The mouse is a wired Trekker Wheel Mouse 2.0A PS/2.

This is what Xorg -configure generated

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/input/mice"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

While for Ubuntu at least the frequency and resolution can be set by an
old xorg.conf, for Debian frequency and resolution are still not set :(.

Any help is very much appreciated.

Best,

Ralf


-- 
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/1306840695.2319.35.camel@natty



Re: SSD partition alignment considerations

2011-05-31 Thread Jörg-Volker Peetz
OCZ has an informative and still active user forum regarding SSD:
http://www.ocztechnologyforum.com/forum/showthread.php?54379-Linux-Tips-tweaks-and-alignment
-- 
Best regards,
Jörg-Volker.


-- 
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/is2iui$6k9$1...@dough.gmane.org



Re: Samba usershares & permissions problem

2011-05-31 Thread Alan Chandler

On 27/05/11 05:18, William Hopkins wrote:

On 05/26/11 at 05:34pm, Alan Chandler wrote:

I have a fairly simple requirement

I am running Debian Unstable on my Desktop and I want to provide a
folder for my Windows 7 laptop to deposit some files.

I thought that the simplest approach would be using samba on its
own, but I then discovered the existance of nautilus-share which
should make it so much easier when I want to swap around things.

You were initially correct. Running samba alone would be simpler from a 
troubleshooting perspective.
I suggest you try that, get it working (there are numerous tutorials on the 
web, forum posts, the archive for debian-user and probably a samba ML) and then 
compare the config to what nautilus-share is creating.

Also, more people are likely to be familiar with samba itself than 
nautilus-share.


We I gave up on Nautilus share and just made a bog standard share, 
specified within smb.conf.  That seems to work well and easily meets my 
needs, so will not pursue this further.


Thanks for the other comments in this thread


--
Alan Chandler
http://www.chandlerfamily.org.uk


--
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/4de4d357.9050...@chandlerfamily.org.uk



Re: Compiz and Workspaces

2011-05-31 Thread Darac Marjal
On Sun, May 29, 2011 at 05:19:49PM -0400, Dan wrote:
> On Sun, May 29, 2011 at 9:38 AM, Dan  wrote:
> > Hi.
> >
[cut]
> >
> > I works great, but I can not use anymore the workspaces. I can add
> > workspaces and see how many workspaces I have in the gnome switcher. I
> > can also send windows to other workspaces by clicking in the title bar
> > "Move to another workspace". But I can not access the workspaces by
> > doing ctrl+alt+arrow or by clicking in the gnome-switcher. I can
> > access only one workspace.
> >
> 
> Hi,
> I will answer to myself. I used the compiz settings manager and
> checked the option "Desktop wall". That has to be checked to use the
> virtual desktops.
> 
> I read in the README.Debian that I should add to xorg.conf:
> 
> Section "Extensions"
> Option "Composite" "enable"
> EndSection
> 
> and in the Device section
>Option "XAANoOffscreenPixmaps" "true"
> 
> but there is no xorg.conf, and compiz is working properly, should I
> create one by doing  X -configure and then modify it?

If Compiz is working for you (and its performance is acceptable, I see
no need to add those stanzas to the xorg.conf. However, your problem may
be down to the fact that Compiz defines different keyboard shortcuts to
what your old window manager did. Dig through the config manager for
compiz and find the "Move to Next/Previous Workspace" entries and assign
Ctrl+Alt+Arrow.

-- 
Paul Saunders


signature.asc
Description: Digital signature


[OT] Yet Another Flash Discussion (was: ia64 and i386)

2011-05-31 Thread Camaleón
On Mon, 30 May 2011 16:09:20 -0400, George Standish wrote:

> Shouldn't the subject be "AMD64 and i386"?

Well, yes, but now should be retitle to "YAFD" (Yet Another Flash 
Discussion"... done! :-) 

> On 30/05/11 03:57 PM, Camaleón wrote:
>> On Mon, 30 May 2011 15:21:37 -0400, Celejar wrote:

(...)

>> 3) Flash is evil ;)
>>
>> Let me be a bit more picky here. Flash is evil because Adobe made it
>> so. Adobe's Flash Player, completely open, properly done, developed and
>> programmed could have its use.
> 
> So, Flash is evil because it's not open source, and has been allowed to
> become a "standard" of sorts.

Flash format is not closed source, as someone told me in this very 
mailing list. But the only full featured flash player comes from Adobe 
(Adobe Flash Player) and Adobe Flash Player is proprietary software... so 
if Adobe had developed an open player it could even become a W3C standard 
for html animation (like SVG and SMIL). But now, with HTML5 knocking at 
the door of our browsers, who cares? :-)

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.05.31.12.06...@gmail.com



Re: reset high speed USB device using ehci_hcd and address x in squeeze

2011-05-31 Thread Camaleón
On Mon, 30 May 2011 16:42:39 -0400, William Hopkins wrote:

> On 05/30/11 at 08:18pm, Juan R. de Silva wrote:
>> On Mon, 30 May 2011 02:11:34 -0400, William Hopkins wrote:
>> 
>> > If you can find the
>> > bugfix in Ubuntu it will help either fix it in Debian or discover why
>> > it hasn't yet applied to stable.
>> 
>> BTW, I wanted to report a bug in Squeeze but which package do I report
>> it against?  I have not idea. I've tried ehci_hcd in reportbug and get
>> "invalid package name" in response.
>> 
>> Could you suggest, please?
> 
> ehci_hcd is the kernel module responsible for USB2.0 virtual drivers. It
> is provided by the kernel, not a package.

Kernel is a package (linux-image-*), it can be reported against it ;-)

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.05.31.12.10...@gmail.com



xorg with nvidia drivers

2011-05-31 Thread Brad Alexander
Hi,

I had a problem a couple of months ago on my laptop (a Dell Latitude E6500)
in which after an upgrade of the nvidia drivers (as far as I was able to
determine) from 195.36.31-6 to 270.41.06-1 resulted in a problem in which
starting any KDE application would cause a traceback and crashing X. I dug
on this and didn't find anything online that helped me figure out the
problem...So I rebuilt. Everything worked in squeeze with the older drivers.
Then, recently, I upgraded to wheezy, and started experiencing the same
issue.

I determined that the problem was the xorg.conf that was generated by
nvidia-settings to accomodate my dual-monitor setup in the office. If I use
a generic xorg.conf only to use the nvidia driver:

Section "Device"
Identifier"Card"
Driver"nvidia"
EndSection

...everything works fine, albeit without the external monitor. However, if I
use the one generated by nvidia-config:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (pbuilder@c203)  Tue May 18 07:56:38 UTC
2010

Section "ServerLayout"
Identifier "Layout0"
Screen  0  "Screen0" 0 0
Screen  1  "Screen1" RightOf "Screen0"
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
FontPath"unix/:7100"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Seiko/Epson"
HorizSync   49.4 - 74.1
VertRefresh 40.0 - 60.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName  "ViewSonic VA2223wm"
HorizSync   24.0 - 82.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "Quadro NVS 160M"
BusID  "PCI:1:0:0"
Screen  0
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "Quadro NVS 160M"
BusID  "PCI:1:0:0"
Screen  1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor"Monitor0"
DefaultDepth24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth   24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor"Monitor1"
DefaultDepth24
Option "TwinView" "0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth   24
EndSubSection
EndSection

I didn't see anything obtuse that would cause the type of behavior such as I
was seeing. However, I stripped it down as far as I could (e.g. removing the
options from the screen sections), I still see the same behavior. Can anyone
see what could be causing this strange crashiness?

Thanks,
--b


Re: nvidia-glx-alternatives

2011-05-31 Thread Christopher Judd
On Monday 30 May 2011 10:55:31 David Baron wrote:
> From Sid, version 270., is always coming up unconfigured. Otherwise,
> the Sid nvidia driver installation (using dkms) works 100%
> 
> Alternatives are set up for the libGl.so.1 but NOT for libglx.so (referring
> to /usr/share/doc/libgl1-nvidia-glx/README.alternatives). I manually set
> that up, though apparently not needed, using a previously dpkg-divert'ed
> libglx.so from xserver-xorg-core. Still get the error.
> 
> Is this a bug? Fix? Forget about it?

Did you install the appropriate nvidia-glx package after the dkms nvidia 
installation (or verify that dkms did so)?

-Chris


|   Christopher Judd, Ph. D.   |
|   Research Scientist III |
|   NYS Dept. of Health   j...@wadsworth.org   | 
|   Wadsworth Center - ESP |
|   P. O. Box 509518 486-7829  |
|   Albany, NY 12201-0509  |



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.



-- 
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/201105310840.25420.j...@wadsworth.org



Re: Inline PGP with Evolution

2011-05-31 Thread Camaleón
On Tue, 31 May 2011 10:10:39 +0200, Mathieu Malaterre wrote:

>   Does anyone knows whether or not evolution (in squeeze) support
> inline PGP signing ? I do need inline signing for a robot that only
> support inline PGP.

By reading this FAQ:

http://live.gnome.org/Evolution/FAQ#I_receive_emails_beginning_with_PGP_signatures.2C_what_can_I_do.3F

It looks like only outline PGP signing is fully supported, but sounds a 
bit strange that nowadays this cannot be changed in the MUA.

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.05.31.13.03...@gmail.com



XORG.CONF or a solution without xorg.conf needed

2011-05-31 Thread Ralf Mardorf
This one didn't came through the list?

 Forwarded Message 
From: webmas...@debianhelp.org
To: ralf.mard...@alice-dsl.net
Subject: There was a problem with your email to debianHELP (XORG.CONF or
a solution without xorg.conf needed)
Date: Tue, 31 May 2011 08:56:16 -0400 (EDT)

The email you sent to debian-user@lists.debian.org was rejected because
there  
was a validation error.

In order for emails to be accepted by debianHELP:
- They must be sent in reply to a valid notification email.
- The reply must be done from the same email address the notification
was  
sent to.


 Forwarded Message 
From: Ralf Mardorf 
To: debian-user@lists.debian.org
Cc: Andrei Popescu 
Subject: XORG.CONF or a solution without xorg.conf needed
Date: Tue, 31 May 2011 13:18:15 +0200

 Was 
From: Andrei Popescu 
To: debian-user@lists.debian.org
Subject: Re: Until now Debian seems to be the right decision :),
better performance than Ubuntu
Date: Tue, 31 May 2011 09:00:43 +0300

On Lu, 30 mai 11, 19:14:58, Ralf Mardorf wrote:
> 
> For Debian I still need to set up a xorg.conf, 

Why do you think so?

Regards,
Andrei

Hi Andrei :)

I  don't think so, it's a declarative statement.
I guess nobody wish to have a vertically frequency of 60Hz ;), it's not
very pleasant to look into a stroboscope. In addition I wish to be able
to select the screen resolution I like, 1152x864 @ 90Hz.

Then I have several needs and need several drivers. I'm used to switch
the drivers automatically at startup, by adding

rm /etc/X11/xorg.conf
case $(uname -r) in
*rt*)
cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
;;
*)
cp /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf
;;
esac

to /etc/rcS.d.

At the moment I urgently need help regarding to xorg.conf or any other
solution that enables me to select the driver, and to get 1152x864 @
90Hz.

The graphics is a NVIDIA GeForce 7200 GS aka 7300 SE. The CRT monitor is
an Lifetec/Medion MD1998JB J91B.

I never had issues with old Debian/Ubuntu and Suse installs. I ordered
some new gear, a RME HDSPe AIO sound card + a 8 analog IO ADAT device
and some other stuff. It was delivered yesterday, but it's still
packaged, because I'm unable to set up a new Linux DAW. Old Linux DAWs
are still available by backup archives ;).

At the moment for my Debian install, the mouse wheel isn't working, as
soon as I add a xorg.conf. Without an xorg.conf the mouse wheel seems to
work all the times. I stopped trying to use old xorg.confs.

I run Xorg -configure in recovery mode.

The mouse is a wired Trekker Wheel Mouse 2.0A PS/2.

This is what Xorg -configure generated

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/input/mice"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

While for Ubuntu at least the frequency and resolution can be set by an
old xorg.conf, for Debian frequency and resolution are still not set :(.

Any help is very much appreciated.

Best,

Ralf



-- 
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/1306847780.2319.107.camel@natty



Re: How do I register a service?

2011-05-31 Thread Camaleón
On Mon, 30 May 2011 15:10:55 -0500, lrhorer wrote:

> Camaleón wrote:
> 
 You mean what's the difference between "$network" and "networking" in
 LSB parlance?
>>> 
>>> Nevermind.  I found it.  I should be using insserv instead of
>>> update-rc.d
>> 
>> Ah, that. Yep, "man update-rc.d" should also point to "insserv".
>> 
>> Greetings,
>> 
> OK, wait a minute.  It should work, but it isn't.
> 
> Here is pyHME:
> 
> #! /bin/sh
> ### BEGIN INIT INFO
> # Provides:  pyHME
> # Required-Start:$remote_fs $syslog $network $pyTivo 
> # Required-Stop: $remote_fs $syslog $network $pyTivo 
> # Default-Start: 2 3 4 5
> # Default-Stop:  0 1 6
> # Short-Description: HME Services
> # Description:   Provides HME services for TiVo 
>  END INIT INFO
> 
> but when I run `insserv pyHME` I get:
> 
> RAID-Server:/etc/rc2.d# ls -1 *py*
> S04pyHME
> S04pyTivo
> 
> That will run pyHME before pyTivo.  What am I doing wrong?

Test it and see how it goes. 

Besides, there is more information on "insserv" here:

http://wiki.debian.org/LSBInitScripts

And more specifically the FAQ section:

***
Is it possible to specify that a given script should start before another 
script?

There is no such standard-defined header, but there is a proposed 
extention implemented in the insserv package (since version 1.09.0-8). 
Use the X-Start-Before and X-Stop-After headers proposed by SuSe. 
***

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.05.31.13.20...@gmail.com



Re: XORG.CONF or a solution without xorg.conf needed

2011-05-31 Thread Camaleón
On Tue, 31 May 2011 15:16:20 +0200, Ralf Mardorf wrote:

> This one didn't came through the list?
> 
>  Forwarded Message 
> From: webmas...@debianhelp.org
> To: ralf.mard...@alice-dsl.net
> Subject: There was a problem with your email to debianHELP (XORG.CONF or
> a solution without xorg.conf needed)
> Date: Tue, 31 May 2011 08:56:16 -0400 (EDT)
> 
> The email you sent to debian-user@lists.debian.org was rejected because
> there
> was a validation error.

(...)

I think this is a known issue I commented a few days ago:

http://lists.debian.org/debian-user/2011/05/msg02130.html

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.05.31.13.23...@gmail.com



Re: converting apple quicktime to mpeg

2011-05-31 Thread Ron Johnson

On 05/31/2011 04:57 AM, Pierre Frenkiel wrote:

On Tue, 31 May 2011, Ron Johnson wrote:


We need the exact command and all the output. (OK to attach as a text
file.)


Here it is. Actually, I called ffmpeg with some options, but the
ouput is exactly the same.



Try this:
ffmpeg -loglevel verbose -i file.mov
mplayer -identify file.mov

--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
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/4de4f0e4.2050...@cox.net



Terrible Compiz performance with radeon or fglrx + Radeon HD 4500

2011-05-31 Thread David Sanders
Hi All,

I've just replaced my old Dell Studio 1735 with a newer Dell Studio
1745. This comes with a Radeon HD 4500, and I'm having problems with
both "radeon" and "fglrx" drivers. Now using Debian Testing, which is
up-to-date.

Using "radeon" I get perfectly adequate Compiz performance (benchmarks
at over 100fps), and fairly acceptable OpenGL generally, but movie
playback is terrible - skipped frames etc on just a normal DivX file,
and HD video is impossibly bad. This is without an xorg.conf, for
obvious reasons.

Using "fglrx" I get terrible Compiz performance (benchmarking around
20fps), terrible movie performance, but excellent general OpenGL
performance - around 200fps in ArmagetronAD - which is what I would
hope to expect! This was using an xorg.conf created by `aticonfig
--initial`.

Any pointers? I've really had no joy at all from forum searching.


Thanks

David


-- 
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/banlktinfjberbdcan0ck-xamnzcemqr...@mail.gmail.com



Re: xorg with nvidia drivers

2011-05-31 Thread Camaleón
On Tue, 31 May 2011 07:58:09 -0400, Brad Alexander wrote:

(...)

> I didn't see anything obtuse that would cause the type of behavior such
> as I was seeing. However, I stripped it down as far as I could (e.g.
> removing the options from the screen sections), I still see the same
> behavior. Can anyone see what could be causing this strange crashiness?

How about using a minimalistic (even more than the one you tested) 
xorg.conf file?

I would start from here:

ftp://download1.nvidia.com/XFree86/Linux-x86/270.41.19/README/configmultxscreens.html

(remember to make a backup of your current "xorg.conf" file)

In addition to manually set X server, there is also "xrandr" that may 
help you with your dual screen layout but true is that I'm not sure about 
the status of "xrandr" when using the nvidia closed driver, I mean, I 
dunno if all of the options are available :-?

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.05.31.14.03...@gmail.com



Qual a versão que devo instalar do Debian

2011-05-31 Thread Nivaldo - Informática - Rádio Globo / CBN Campinas
Bom Dia , Pessoal.

Tenho um servidor da hp dl 380 com processador xeon e 4Gbytes de Ram, e
desejo instalar a distribuição do debian, porem devo optar por i64 esta
correto esta decisão.

outra pergunta instalei o debian e quando executo o uname -a apresenta a
versão do kernel / amd é isso mesmo ?

Obrigado
* *
*Nivaldo Monteiro
Informática -** Rádio Globo* * / **CBN
Campinas* 
19 7819-7793 ID 44369*20
19 3731-5100


Terrible Compiz performance with radeon or fglrx + Radeon HD 4500

2011-05-31 Thread David Sanders
Hi All,

I've just replaced my old Dell Studio 1735 with a newer Dell Studio
1745. This comes with a Radeon HD 4500, and I'm having problems with
both "radeon" and "fglrx" drivers. Now using Debian Testing, which is
up-to-date.

Using "radeon" I get perfectly adequate Compiz performance (benchmarks
at over 100fps), and fairly acceptable OpenGL generally, but movie
playback is terrible - skipped frames etc on just a normal DivX file,
and HD video is impossibly bad. This is without an xorg.conf, for
obvious reasons.

Using "fglrx" I get terrible Compiz performance (benchmarking around
20fps), terrible movie performance, but excellent general OpenGL
performance - around 200fps in ArmagetronAD - which is what I would
hope to expect! This was using an xorg.conf created by `aticonfig
--initial`.

Any pointers? I've really had no joy at all from forum searching.


Thanks

David


-- 
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/banlktimiocjoql9bev9pv6g+wuhyx7g...@mail.gmail.com



Re: Qual a versão que devo instalar do Debian

2011-05-31 Thread Camaleón
On Tue, 31 May 2011 10:54:34 -0300, Nivaldo - Informática - Rádio Globo /
CBN Campinas wrote:

> Bom Dia , Pessoal.

Hi, you sent your message to an English mailing list :-)

> Tenho um servidor da hp dl 380 com processador xeon e 4Gbytes de Ram, e
> desejo instalar a distribuição do debian, porem devo optar por i64 esta
> correto esta decisão.

Server, Xeon and 4 GiB all in the same phrase? I'd go for amd64 (ia64 is 
not an option for your processor).

> outra pergunta instalei o debian e quando executo o uname -a apresenta a
> versão do kernel / amd é isso mesmo ?

Yes, that's correct:

sm01@stt008:~$ uname -a
Linux stt008 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

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.05.31.14.24...@gmail.com



aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Jeffrey B. Green
Hi,

I'm seeing if there is an alternate answer here before filing a bug. (I
believe) All of the servers here that have IPv6 configured hang while
attempting an update on security.debian.org. If I turn off IPv6 by
deconfiguring the IPv6 address, then the update goes through fine.

When I check with tcpdump to be sure the firewall isn't the culprit, I
find that all of the packets that reach the firewall also make it to the
server and a conversation of 20-22 packets occurs (20 on one server, 22
on a different one). [If anyone wants to provide me with a state
transition diagram, or even a description, for the protocol aptitude
follows in doing the update, then I'd be happy to track down where
exactly in the process it hangs.] I can go back and forth with enabling
and disabling IPv6, and IPv4 always seems to work (just tried it with
one server).

So, if anyone knows what going on here or whether this looks like
an official bug, then let me know.

thanks,
-jeff


-- 
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/20110531095048.27e52...@naro.kikisoso.org



Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Erwan David
On Tue, May 31, 2011 at 03:50:48PM CEST, "Jeffrey B. Green"  
said:
> Hi,
> 
> I'm seeing if there is an alternate answer here before filing a bug. (I
> believe) All of the servers here that have IPv6 configured hang while
> attempting an update on security.debian.org. If I turn off IPv6 by
> deconfiguring the IPv6 address, then the update goes through fine.
> 
> When I check with tcpdump to be sure the firewall isn't the culprit, I
> find that all of the packets that reach the firewall also make it to the
> server and a conversation of 20-22 packets occurs (20 on one server, 22
> on a different one). [If anyone wants to provide me with a state
> transition diagram, or even a description, for the protocol aptitude
> follows in doing the update, then I'd be happy to track down where
> exactly in the process it hangs.] I can go back and forth with enabling
> and disabling IPv6, and IPv4 always seems to work (just tried it with
> one server).
> 
> So, if anyone knows what going on here or whether this looks like
> an official bug, then let me know.
> 
> thanks,
> -jeff

It might be a routing/firewall problem on IPv6 the way between you and
security.debian.org, since it works for me.

Do you succeed in browsing http://security.debian.org with IPv6 activated ?


-- 
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/20110531151306.gb20...@rail.eu.org



Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Jeffrey B. Green
On Tue, 31 May 2011 09:50:48 -0400
"Jeffrey B. Green"  wrote:
> 
> When I check with tcpdump to be sure the firewall isn't the culprit, I
> find that all of the packets that reach the firewall also make it to
> the server and a conversation of 20-22 packets occurs (20 on one
> server, 22 on a different one). 

Doing a capture to file and examining with wireshark shows several 404
"Not Found" HTTP messages, in particular:


The requested
URL /dists/squeeze/updates/contrib/i18n/Translation-en_US.bz2 was not
found on this server.

-AND-

The requested
URL /dists/squeeze/updates/contrib/i18n/Translation-en.bz2 was not
found on this server.

I'm guessing the IPv4 and IPv6 security servers are not the same
machine.

-jeff


-- 
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/2011053513.62473...@naro.kikisoso.org



Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Camaleón
On Tue, 31 May 2011 09:50:48 -0400, Jeffrey B. Green wrote:

> I'm seeing if there is an alternate answer here before filing a bug. (I
> believe) All of the servers here that have IPv6 configured hang while
> attempting an update on security.debian.org. If I turn off IPv6 by
> deconfiguring the IPv6 address, then the update goes through fine.
> 
> When I check with tcpdump to be sure the firewall isn't the culprit, I
> find that all of the packets that reach the firewall also make it to the
> server and a conversation of 20-22 packets occurs (20 on one server, 22
> on a different one). [If anyone wants to provide me with a state
> transition diagram, or even a description, for the protocol aptitude
> follows in doing the update, then I'd be happy to track down where
> exactly in the process it hangs.] I can go back and forth with enabling
> and disabling IPv6, and IPv4 always seems to work (just tried it with
> one server).

I think this also happened to me just a few days ago. I couldn't reach 
any of the security servers and suspected it was because apt tried to 
reach the ipv6 server which, thanks to my ISP (grrr!), is something I 
still can't do :-/

How I solved it? Retrying the update command until I finally got the ipv4 
server address as response }:-)
 
> So, if anyone knows what going on here or whether this looks like an
> official bug, then let me know.

There is a wishlist bug report to enable/disable ipv6 just for apt, which 
I think it should be something nice to have at least for this ipv4/ipv6 
transtitional period that is coming...

please give apt.conf.d option to disable ipv6
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611891

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.05.31.15.33...@gmail.com



Re: Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Jeffrey B. Green

David Erwin writes:

On Tue, May 31, 2011 at 03:50:48PM CEST, "Jeffrey B. Green"  
said:

Hi,

I'm seeing if there is an alternate answer here before filing a bug. (I
believe) All of the servers here that have IPv6 configured hang while
attempting an update on security.debian.org. If I turn off IPv6 by
deconfiguring the IPv6 address, then the update goes through fine.



It might be a routing/firewall problem on IPv6 the way between you and
security.debian.org, since it works for me.

Do you succeed in browsing http://security.debian.org with IPv6 activated ?


Yes. I do a "wget" since it's a server without any windowing. Also, the 
updates/upgrades had been working just fine until this one.


I tracked the conversation at the firewall to be sure the wget was going 
through IPv6 and it was.


The Debian server it goes to is: 2001:4f8:8:36::6.

-jeff


--
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/4de509ca.3040...@kikisoso.org



Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Jeffrey B. Green
On Tue, 31 May 2011 11:15:13 -0400
"Jeffrey B. Green"  wrote:

> On Tue, 31 May 2011 09:50:48 -0400
> "Jeffrey B. Green"  wrote:
> > 
> > When I check with tcpdump to be sure the firewall isn't the
> > culprit, I find that all of the packets that reach the firewall
> > also make it to the server and a conversation of 20-22 packets
> > occurs (20 on one server, 22 on a different one). 
> 
> Doing a capture to file and examining with wireshark shows several 404
> "Not Found" HTTP messages, in particular:
> 
> 

Another tidbit: I did an update (IPv4) and then a safe-upgrade (IPv6)
which hung. I got a tcpdump of that. There was a 404 in common with the
previous IPv6 update plus a:

14  11:00:09.380965 2001:4f8:8:36::6
:::xx   HTTP[TCP Previous segment lost]
Continuation or non-HTTP traffic (text/html)

That was in common across both. 

-jeff


-- 
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/20110531115856.2a32a...@naro.kikisoso.org



Re: Number of systems running user Debian? ; gre

2011-05-31 Thread Camaleón
On Tue, 31 May 2011 01:01:05 -0700, giovanni_re wrote:

> What numeric info is available about the # of systems running Debian for
> users (desktop, laptop, notebook, not server)?
> 
> Any breakdown by country?
> 
> What #'s are there for # of daily apt-get update requests?
> 
> Thanks :)

Good question.

Does Debian make online surveys to their users and computer usage? It 
should be nice for having a better understanding about Debian's community 
and their needs, goals, expectations, user involvement in projects, etc...

> http://royal.pingdom.com/2011/05/12/the-top-20-strongholds-for-desktop-linux

I don't know where are those numbers coming from but it sounds realistic 
to me. We all know that poll results can be misleading or biased but 
sometimes they're better than nothing.

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.05.31.16.16...@gmail.com



Re: Number of systems running user Debian? ; gre

2011-05-31 Thread Andrei Popescu
On Ma, 31 mai 11, 01:01:05, giovanni_re wrote:
> What numeric info is available about the # of systems running Debian for
> users (desktop, laptop, notebook, not server)?
> 
> Any breakdown by country?
> 
> What #'s are there for # of daily apt-get update requests?
> 
> Thanks :)
> 
> 
> http://royal.pingdom.com/2011/05/12/the-top-20-strongholds-for-desktop-linux

The only "official" Debian survey I know of is 'popularity-contest' 
(popcon). While it's mostly intended to monitor package use[1] it does 
have total numbers of submissions.

However, since Debian values user privacy there is a special question 
during the installation (defaulting to "No") to ask for user's consent 
about gathering the data and submitting it (anonymously, of course).

Also popcon needs a working MTA setup to submit the data, which is not 
really common these days and was known to rely on 'atime'[2], while it 
is not uncommon to mount file systems with 'noatime'.

Because of all these reasons popcon data is far from being accurate to 
try to guess absolute numbers (ex. total numbers of users), but it is 
good for comparisons (package A is x times more popular than package B).

[1] one less known feature of popcon is 'popcon-largest-unused'
[2] not sure if this is still the case

Not really helpful, but I thought you might want to know :)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Inline PGP with Evolution

2011-05-31 Thread Andrei Popescu
On Ma, 31 mai 11, 13:03:42, Camaleón wrote:
> 
> It looks like only outline PGP signing is fully supported, but sounds a 
> bit strange that nowadays this cannot be changed in the MUA.

Probably because inline is deprecated for years ;)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: How do I register a service?

2011-05-31 Thread lrhorer
Camaleón wrote:

> On Mon, 30 May 2011 15:10:55 -0500, lrhorer wrote:
> 
>> Camaleón wrote:
>> 
> You mean what's the difference between "$network" and "networking"
> in LSB parlance?
 
 Nevermind.  I found it.  I should be using insserv instead of
 update-rc.d
>>> 
>>> Ah, that. Yep, "man update-rc.d" should also point to "insserv".
>>> 
>>> Greetings,
>>> 
>> OK, wait a minute.  It should work, but it isn't.
>> 
>> Here is pyHME:
>> 
>> #! /bin/sh
>> ### BEGIN INIT INFO
>> # Provides:  pyHME
>> # Required-Start:$remote_fs $syslog $network $pyTivo
>> # Required-Stop: $remote_fs $syslog $network $pyTivo
>> # Default-Start: 2 3 4 5
>> # Default-Stop:  0 1 6
>> # Short-Description: HME Services
>> # Description:   Provides HME services for TiVo
>>  END INIT INFO
>> 
>> but when I run `insserv pyHME` I get:
>> 
>> RAID-Server:/etc/rc2.d# ls -1 *py*
>> S04pyHME
>> S04pyTivo
>> 
>> That will run pyHME before pyTivo.  What am I doing wrong?
> 
> Test it and see how it goes.

I had tested it, and it wasn't working.  That's why I 
posted again.

> Besides, there is more information on "insserv" here:
> 
> http://wiki.debian.org/LSBInitScripts
> 
> And more specifically the FAQ section:
> 
> ***
> Is it possible to specify that a given script should start before
> another script?
> 
> There is no such standard-defined header, but there is a proposed
> extention implemented in the insserv package (since version 1.09.0-8).
> Use the X-Start-Before and X-Stop-After headers proposed by SuSe.
> ***

What I wound up doing - that seemed to work - is define 
pyTivo as a service in insserv.conf.  After I did that,and ran insserv 
again, it moved pyHME to S05pyHME.  This should be better documented.


-- 
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/xiwdnxmmyyc3h3jqnz2dnuvz5jwdn...@giganews.com



Re: XORG.CONF or a solution without xorg.conf needed

2011-05-31 Thread Andrei Popescu
On Ma, 31 mai 11, 13:18:15, Ralf Mardorf wrote:
> > 
> > For Debian I still need to set up a xorg.conf, 
> 
> Why do you think so?
> 
> I  don't think so, it's a declarative statement.

Since you didn't provide more info I guessed you assumed you need one, 
while with reasonably recent hardware it's not needed in 99% of the 
cases ;)

> I guess nobody wish to have a vertically frequency of 60Hz ;), it's not
> very pleasant to look into a stroboscope. In addition I wish to be able
> to select the screen resolution I like, 1152x864 @ 90Hz.

That's a good reason for an xorg.conf ;)

> Then I have several needs and need several drivers. I'm used to switch
> the drivers automatically at startup, by adding
> 
> rm /etc/X11/xorg.conf
> case $(uname -r) in
> *rt*)
> cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
> ;;
> *)
>   cp /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf
> ;;
> esac
> 
> to /etc/rcS.d.

Could you provide more details why you have to change drivers?

> At the moment I urgently need help regarding to xorg.conf or any other
> solution that enables me to select the driver, and to get 1152x864 @
> 90Hz.
> 
> The graphics is a NVIDIA GeForce 7200 GS aka 7300 SE. The CRT monitor is
> an Lifetec/Medion MD1998JB J91B.

The big question about the monitor is if it (correctly) sends EDID data 
to the video card. Please post the full /var/log/Xorg.0.log after 
starting without any xorg.conf.

> At the moment for my Debian install, the mouse wheel isn't working, as
> soon as I add a xorg.conf. Without an xorg.conf the mouse wheel seems to
> work all the times. I stopped trying to use old xorg.confs.
> 
> I run Xorg -configure in recovery mode.
> 
> The mouse is a wired Trekker Wheel Mouse 2.0A PS/2.
> 
> This is what Xorg -configure generated
> 
> Section "InputDevice"
>   Identifier  "Mouse0"
>   Driver  "mouse"
>   Option  "Protocol" "auto"
>   Option  "Device" "/dev/input/mice"
>   Option  "ZAxisMapping" "4 5 6 7"
> EndSection

You don't have to specify everything in xorg.conf, just the minimal 
stuff to get your monitor working as you want it. Assuming your monitor 
doesn't send (correct) EDID data you'll need at least something like 
this:

Section "Monitor"
Identifier  "My Monitor"
HorizSync   XX XX
VertRefresh YY YY
EndSection

The values for XX and YY should be taken from the monitors 
manual/specifications, otherwise you can fry it.

With this info Xorg might be able to setup a usable resolution/refresh 
rate. The next step (if needed) would be to specify one ore more 
resolutions from which Xorg can choose (default will be the highest). If 
this is still not enough you'll need to generate a Modeline specific to 
your monitor.

Hope this is enough info to get you going. If you get stuck feel free to 
ask for more infos on list[1], but always attach full xorg.conf (or 
xorg.conf.d files) and the respective /var/log/Xorg.0.log.

[1] BTW, I do read the list, CC-ing me is not necessary ;)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: xorg with nvidia drivers

2011-05-31 Thread Andrei Popescu
On Ma, 31 mai 11, 07:58:09, Brad Alexander wrote:
> Hi,
> 
> I had a problem a couple of months ago on my laptop (a Dell Latitude E6500)
> in which after an upgrade of the nvidia drivers (as far as I was able to
> determine) from 195.36.31-6 to 270.41.06-1 resulted in a problem in which
> starting any KDE application would cause a traceback and crashing X. I dug
> on this and didn't find anything online that helped me figure out the
> problem...So I rebuilt. Everything worked in squeeze with the older drivers.
> Then, recently, I upgraded to wheezy, and started experiencing the same
> issue.

How about attaching a full /var/log/Xorg.0.log after a crash and a 
"good" Xorg.0.log :)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Until now Debian seems to be the right decision :), better performance than Ubuntu

2011-05-31 Thread Steven Rosenberg
On Mon, May 30, 2011 at 10:14 AM, Ralf Mardorf
wrote:

> Hi all :)
>
> until now switching to Debian is worth the effort. The
> GNOME2 performance of Debian stable is much better than of Ubuntu.
>
> Pulse Audio is not installed by default :).
>
> What repositories should I use to set up a stable DAW? Btw. my list is
> attached.
> Is there a repository including JACK2 from svn?
>
> Until now it's an upgraded, minimal system, just a stable install,
> excepted of Evolution and dependencies, those are from testing.
>
> At 16:40 my RME HDSPe AIO, KORG NANOKONTROL, an ADAT device and some
> other stuff was delivered :), now, more than two hours later, neither
> the new gear is unpacked, nor Debian stable is set up as an audio/MIDI
> workstation.
>
> But the only really annoying thing is, that I had to reboot Ubuntu
> Natty, because I wasn't able to adopt the Evolution files for Debian's
> Evolution.
>
>
Going through all of this just to move a user's Evolution files from one
installation to another? There must be an easier way. (My way is to use IMAP
and not to depend solely on Evolution).


Re: Inline PGP with Evolution

2011-05-31 Thread Camaleón
On Tue, 31 May 2011 19:53:56 +0300, Andrei Popescu wrote:

> On Ma, 31 mai 11, 13:03:42, Camaleón wrote:
>> 
>> It looks like only outline PGP signing is fully supported, but sounds a
>> bit strange that nowadays this cannot be changed in the MUA.
> 
> Probably because inline is deprecated for years ;)

Deprecated? Well, tell that to people that still use it, hum... maybe can 
be still relevant for mailing lists that remove attachments? >>>;-)

P.S. IIRC Mutt allows to use both styles, and IMO that's what a good MUA 
does, giving options to users.

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.05.31.17.18...@gmail.com



Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Andrei Popescu
On Ma, 31 mai 11, 09:50:48, Jeffrey B. Green wrote:
> 
> So, if anyone knows what going on here or whether this looks like
> an official bug, then let me know.

This sounds like you might want to contact debian-admin ;)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Mouse wheel issue on current Ubuntu and Debian releases

2011-05-31 Thread Ralf Mardorf
On Ubuntu Maverick 32-bit, Ubuntu Natty 64-bit and Debian Squeeze 64-bit
the mouse wheel doesn't work. It's ok for older Ubuntu and Debian
installs, but those aren't installed any more, just old openSUSE 11.2
64-bit still is on my computer and there the mouse wheel still and
always is ok.
Sometimes the mouse wheel randomly works for those Ubuntus and the
Debian install, but this happens very seldom.

It's not related to the usage of a xorg.conf, this happens with or
without a xorg.conf, at least I tested this for Debian.

For Ubuntu Natty and Debian stable I tried this (see
http://www.larsen-b.com/Article/341.html ).

# apt-get update
# apt-get install xserver-xorg-input-kbd xserver-xorg-input-mouse

And to /etc/X11/xorg.conf I added

Section "ServerFlags"
Option "AutoAddDevices" "False"
Option "AllowEmptyInput" "False"
EndSection

but this didn't change anything.

Then I removed the xorg.conf from Debian stable, to ensure that it's not
xorg.conf related, but the issue didn't disappear.

On Ubuntu Natty I edited ..

$ cat /etc/hal/fdi/policy/*.fdi
 







.. to ...

$ cat /etc/hal/fdi/policy/*.fdi
 









  5
  on
  on
  2
  6
7
  4
5
  4
5



.. and command out the server flags and any
mouse entry too from xorg.conf.

# apt-get remove xserver-xorg-input-kbd xserver-xorg-input-mouse
[snip]
Removing xserver-xorg-input-all ...
Removing xserver-xorg-input-kbd ...
Removing xserver-xorg-input-vmmouse ...
Removing xserver-xorg-input-mouse ...
Processing triggers for man-db ...

Rebooting Natty for the first time the mouse wheel did work.
Rebooting Natty for the second and any additional time the mouse wheel
didn't work anymore.

For the moment I let this issue rest and try to fix other debianoid
issues on my machine. Again, for older installs of Ubuntu and Debian
there never was such an issue for the mouse wheel. I don't know how it
is for the current Suse release. The Suse release on my machine is ok
for the mouse wheel, but as mentioned before, 11.2 is an outdated
release.

hwinfo (at Natty)
mouse
41: ADB 00.0: 10502 Bus Mouse   
  [Created at input.183]
  UDI: /org/freedesktop/Hal/devices/computer_logicaldev_input_1
  Unique ID: kZYT.VdKNesd9pT6
  Hardware Class: mouse
  Model: "Macintosh mouse button emulation"
  Vendor: 0x0001 
  Device: 0x0001 "Macintosh mouse button emulation"
  Compatible to: int 0x0210 0x0003
  Device File: /dev/input/mice (/dev/input/mouse0)
  Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event2
  Device Number: char 13:63 (char 13:32)
  Driver Info #0:
Buttons: 3
Wheels: 0
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown

43: PS/2 00.0: 10500 PS/2 Mouse
  [Created at input.183]

UDI: /org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input
  Unique ID: AH6Q.U5GX9Ignjc0
  Hardware Class: mouse
  Model: "PS/2 Generic Mouse"
  Vendor: 0x0002 
  Device: 0x0001 "PS/2 Generic Mouse"
  Compatible to: int 0x0210 0x0003
  Device File: /dev/input/mice (/dev/input/mouse1)
  Device
Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event4, 
/dev/input/by-path/platform-i8042-serio-1-event-mouse, 
/dev/input/by-path/platform-i8042-serio-1-mouse
  Device Number: char 13:63 (char 13:33)
  Driver Info #0:
Buttons: 3
Wheels: 0
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown

BUS MOUSE??

mobo
ASUS M2A-VM HDMI
cpu
Model: 15.107.2 "AMD Athlon(tm) X2 Dual Core Processor BE-2350"
Clock: 2100 MHz
memory
Memory Size: 3 GB + 768 MB ? should be 4 GB
sound
Model: "Xilinx RME Hammerfall DSP MADI" new, untested, it's a HDSPe AIO
Model: "TERRATEC EWX 24/96" old cards
Model: "TERRATEC EWX 24/96"
gfxcard
Model: "nVidia GeForce 7300 SE" Resp. it's a 7200 GS
disc
Model: "SAMSUNG HD321KJ"
Model: "SAMSUNG HD502HJ"






-- 
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/1306862622.2402.36.camel@natty



Re: Inline PGP with Evolution

2011-05-31 Thread Andrei Popescu
On Ma, 31 mai 11, 17:18:43, Camaleón wrote:
> 
> P.S. IIRC Mutt allows to use both styles, and IMO that's what a good MUA 
> does, giving options to users.

I agree, but I would still avoid if if at all possible, since I doubt it 
gets too much testing lately.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: XORG.CONF or a solution without xorg.conf needed

2011-05-31 Thread Ralf Mardorf
On Tue, 2011-05-31 at 20:14 +0300, Andrei Popescu wrote:
> On Ma, 31 mai 11, 13:18:15, Ralf Mardorf wrote:
> > > 
> > > For Debian I still need to set up a xorg.conf, 
> > 
> > Why do you think so?
> > 
> > I  don't think so, it's a declarative statement.
> 
> Since you didn't provide more info I guessed you assumed you need one, 
> while with reasonably recent hardware it's not needed in 99% of the 
> cases ;)
> 
> > I guess nobody wish to have a vertically frequency of 60Hz ;), it's not
> > very pleasant to look into a stroboscope. In addition I wish to be able
> > to select the screen resolution I like, 1152x864 @ 90Hz.
> 
> That's a good reason for an xorg.conf ;)
> 
> > Then I have several needs and need several drivers. I'm used to switch
> > the drivers automatically at startup, by adding
> > 
> > rm /etc/X11/xorg.conf
> > case $(uname -r) in
> > *rt*)
> > cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
> > ;;
> > *)
> > cp /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf
> > ;;
> > esac
> > 
> > to /etc/rcS.d.
> 
> Could you provide more details why you have to change drivers?

Yes, but lets skip this. One xorg.conf or an alternative without the
proprietary driver would satisfy me at the moment.
Sometimes the rt-patched kernel can't be used with NVIDIA proprietary
drivers, because it isn't able to build the driver or because the driver
isn't good regarding to real-time performance.

At the moment it's only important to get the wanted resolution + the
wanted vertically frequency, without the proprietary driver. I'll do
some trial and error later.

> 
> > At the moment I urgently need help regarding to xorg.conf or any other
> > solution that enables me to select the driver, and to get 1152x864 @
> > 90Hz.
> > 
> > The graphics is a NVIDIA GeForce 7200 GS aka 7300 SE. The CRT monitor is
> > an Lifetec/Medion MD1998JB J91B.
> 
> The big question about the monitor is if it (correctly) sends EDID data 
> to the video card. Please post the full /var/log/Xorg.0.log after 
> starting without any xorg.conf.

Ok, I'll flag this email, to keep this in mind.

> 
> > At the moment for my Debian install, the mouse wheel isn't working, as
> > soon as I add a xorg.conf. Without an xorg.conf the mouse wheel seems to
> > work all the times. I stopped trying to use old xorg.confs.
> > 
> > I run Xorg -configure in recovery mode.
> > 
> > The mouse is a wired Trekker Wheel Mouse 2.0A PS/2.
> > 
> > This is what Xorg -configure generated
> > 
> > Section "InputDevice"
> > Identifier  "Mouse0"
> > Driver  "mouse"
> > Option  "Protocol" "auto"
> > Option  "Device" "/dev/input/mice"
> > Option  "ZAxisMapping" "4 5 6 7"
> > EndSection
> 
> You don't have to specify everything in xorg.conf, just the minimal 
> stuff to get your monitor working as you want it. Assuming your monitor 
> doesn't send (correct) EDID data you'll need at least something like 
> this:
> 
> Section "Monitor"
> Identifier  "My Monitor"
> HorizSync   XX XX
> VertRefresh YY YY
> EndSection

I've got a set up that works with Ubuntu Maverick and Ubuntu Natty, but
it don't works for Debian stable, I need to check if I might have chaged
something randomly ... later today.

> 
> The values for XX and YY should be taken from the monitors 
> manual/specifications, otherwise you can fry it.
> 
> With this info Xorg might be able to setup a usable resolution/refresh 
> rate. The next step (if needed) would be to specify one ore more 
> resolutions from which Xorg can choose (default will be the highest). If 
> this is still not enough you'll need to generate a Modeline specific to 
> your monitor.
> 
> Hope this is enough info to get you going. If you get stuck feel free to 
> ask for more infos on list[1], but always attach full xorg.conf (or 
> xorg.conf.d files) and the respective /var/log/Xorg.0.log.
> 
> [1] BTW, I do read the list, CC-ing me is not necessary ;)
> 
> Regards,
> Andrei

Oops, perhaps an issue regarding to Evolution and mailing list
filtering, but maybe my fault.

Thank you,

Ralf



-- 
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/1306864667.2376.14.camel@natty



Re: Until now Debian seems to be the right decision :), better performance than Ubuntu

2011-05-31 Thread Ralf Mardorf
On Tue, 2011-05-31 at 10:17 -0700, Steven Rosenberg wrote:
> On Mon, May 30, 2011 at 10:14 AM, Ralf Mardorf
>  wrote:
> Hi all :)
> 
> until now switching to Debian is worth the effort. The
> GNOME2 performance of Debian stable is much better than of
> Ubuntu.
> 
> Pulse Audio is not installed by default :).
> 
> What repositories should I use to set up a stable DAW? Btw. my
> list is
> attached.
> Is there a repository including JACK2 from svn?
> 
> Until now it's an upgraded, minimal system, just a stable
> install,
> excepted of Evolution and dependencies, those are from
> testing.
> 
> At 16:40 my RME HDSPe AIO, KORG NANOKONTROL, an ADAT device
> and some
> other stuff was delivered :), now, more than two hours later,
> neither
> the new gear is unpacked, nor Debian stable is set up as an
> audio/MIDI
> workstation.
> 
> But the only really annoying thing is, that I had to reboot
> Ubuntu
> Natty, because I wasn't able to adopt the Evolution files for
> Debian's
> Evolution.
> 
> 
> 
> Going through all of this just to move a user's Evolution files from
> one installation to another? There must be an easier way. (My way is
> to use IMAP and not to depend solely on Evolution).

IMAP would be fine, hence I like to use Emacs + Wanderlust from time to
time too, but I don't like to learn how to set it up at the moment,
because setting up a new DAW has absolute priority.



-- 
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/1306864808.2376.16.camel@natty



Re: ia64 and i386

2011-05-31 Thread Celejar
On Mon, 30 May 2011 16:38:19 -0400
Doug  wrote:

> On 05/30/2011 03:21 PM, Celejar wrote:
> > On Tue, 24 May 2011 21:14:38 +0530
> > Mihira Fernando  wrote:
> >
> > ...
> >
> >> Adobe flashplayer comes to mind as well. While there is a 64 bit player,
> >> I've found that the 32bit one plays without any hiccups that the 64bit
> >> one seems to have (No need to have flash is evil debates here. Some of
> >> us wants to watch youtube and other flash sites).
> > Just FTR (although you probably know this), Flash isn't required for
> > YouTube; you can grab the videos with youtube-dl / clive, and play them
> > with your favorite video player. There are many advantages to this
> > method, including:
> >
> > 1) Better playback controls (as per a recent thread here)
> > 2) You have a copy of the video, in case it's removed from YouTube
> > 3) Flash is evil ;)
> >
> > Celejar
> Using pclos; installed youtube-dl (which you refer to) and youtube-download.
> Both are scripts.  I searched the youtube-dl for "clive" and found nothing,
> nor did I find usage, altho it might be there--this is a very large script.
> The youtube-download (perhaps not available on Debian?) does have usage
> directions, and is quite small.  I haven't tried either one.  Comment?

To use youtube-dl, you (can) just call it with the YouTube link as its
argument, like this:

$ youtube-dl http://www.youtube.com/watch?v=abcdefghij

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


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



Re: converting apple quicktime to mpeg

2011-05-31 Thread Pierre Frenkiel

On Tue, 31 May 2011, Ron Johnson wrote:


Try this:
ffmpeg -loglevel verbose -i file.mov
mplayer -identify file.mov


  the ffmpeg output is the same as before, even with "-loglevel debug -v 10"
  I attach, in addition to mplayer.log, the outputs of
  "ffmpeg --formats" and "ffmpeg -codecs",

best regards,
--
Pierre Frenkiel

mplayer.log
Description: Binary data
FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jan 21 2011 09:10:31 with gcc 4.4.5
  configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' 
--cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl 
--enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid 
--enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 
--enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter 
--enable-libdirac --disable-decoder=libdirac --enable-libschroedinger 
--disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg 
--enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec 
--disable-armv5te --disable-armv6 --disable-vis
  libavutil 50.33. 0 / 50.33. 0
  libavcore  0.14. 0 /  0.14. 0
  libavcodec52.97. 2 / 52.97. 2
  libavformat   52.87. 1 / 52.87. 1
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.65. 0 /  1.65. 0
  libswscale 0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
File formats:
 D. = Demuxing supported
 .E = Muxing supported
 --
  E 3g2 3GP2 format
  E 3gp 3GP format
 D  4xm 4X Technologies format
 D  IFF IFF format
 D  ISS Funcom ISS format
 D  MTV MTV format
 DE RoQ raw id RoQ format
  E a64 a64 - video for Commodore 64
 D  aac raw ADTS AAC
 DE ac3 raw AC-3
  E adtsADTS AAC
 D  aea MD STUDIO audio
 DE aiffAudio IFF
 DE alawPCM A-law format
 DE alsaALSA audio output
 DE amr 3GPP AMR file format
 D  anm Deluxe Paint Animation
 D  apc CRYO APC format
 D  ape Monkey's Audio
 D  applehttp   Apple HTTP Live Streaming format
 DE asf ASF format
  E asf_stream  ASF format
 DE ass Advanced SubStation Alpha subtitle format
 DE au  SUN AU format
 DE avi AVI format
  E avm2Flash 9 (AVM2) format
 D  avs AVS format
 D  bethsoftvid Bethesda Softworks VID format
 D  bfi Brute Force & Ignorance
 D  binkBink
 D  c93 Interplay C93
 D  caf Apple Core Audio Format
 DE cavsvideo   raw Chinese AVS video
 D  cdg CD Graphics Format
  E crc CRC testing format
 DE daudD-Cinema audio format
 DE dirac   raw Dirac
 DE dnxhd   raw DNxHD (SMPTE VC-3)
 D  dsicin  Delphine Software International CIN format
 DE dts raw DTS
 DE dv  DV video format
 D  dv1394  DV1394 A/V grab
  E dvd MPEG-2 PS format (DVD VOB)
 D  dxa DXA
 D  ea  Electronic Arts Multimedia Format
 D  ea_cdataElectronic Arts cdata
 DE eac3raw E-AC-3
 DE f32be   PCM 32 bit floating-point big-endian format
 DE f32le   PCM 32 bit floating-point little-endian format
 DE f64be   PCM 64 bit floating-point big-endian format
 DE f64le   PCM 64 bit floating-point little-endian format
 DE ffm FFM (FFserver live feed) format
 D  film_cpkSega FILM/CPK format
 DE filmstrip   Adobe Filmstrip
 DE flacraw FLAC
 D  flicFLI/FLC/FLX animation format
 DE flv FLV format
  E framecrcframecrc testing format
  E framemd5Per-frame MD5 testing format
 DE g722raw G.722
  E gif GIF Animation
 D  gsm raw GSM
 DE gxf GXF format
 DE h261raw H.261
 DE h263raw H.263
 DE h264raw H.264 video format
 D  idcin   id Cinematic format
 DE image2  image2 sequence
 DE image2pipe  piped image2 sequence
 D  ingenient   raw Ingenient MJPEG
 D  ipmovie Interplay MVE format
  E ipodiPod H.264 MP4 format
 D  iv8 A format generated by IndigoVision 8000 video server
 D  ivf On2 IVF
 D  jackJACK Audio Connection Kit
 D  libdc1394   dc1394 v.2 A/V grab
 D  lmlm4   lmlm4 raw format
 D  lxf VR native stream format (LXF)
 DE m4v raw MPEG-4 video format
  E matroskaMatroska file format
 D  matroska,webm   Matroska/WebM file format
  E md5 MD5 testing format
 DE mjpeg   raw MJPEG video
 DE mlp raw MLP
 D  mm  American Laser Games MM format
 DE mmf Yamaha SMAF
  E mov

Configuring WIFI

2011-05-31 Thread David Baron
My android can use WIFI. Works fine with who knows whose WIFI it happens to 
find and connect-to. The one on my wireless router, however, connects but 
cannot access and web pages or other data through it.

Is there something I need to enable in a firewall?
Or in other options/conf files somewhere?

Sort of unfair to "steal" someone's bandwidth just because it's there :-)


Re: converting apple quicktime to mpeg

2011-05-31 Thread Ron Johnson

On 05/31/2011 01:37 PM, Pierre Frenkiel wrote:

On Tue, 31 May 2011, Ron Johnson wrote:


Try this:
ffmpeg -loglevel verbose -i file.mov
mplayer -identify file.mov


the ffmpeg output is the same as before, even with "-loglevel debug -v 10"
I attach, in addition to mplayer.log, the outputs of
"ffmpeg --formats" and "ffmpeg -codecs",



The mplayer.log file displayed as a couple of dozen garbled bytes.

--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
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/4de549ba.7070...@cox.net



Temperature Fun and Games

2011-05-31 Thread David Baron
Been getting these more than sporadically:

[56765.480042] CPU1: Core temperature above threshold, cpu clock throttled 
(total events = 426314)
[56765.480069] CPU0: Core temperature above threshold, cpu clock throttled 
(total events = 426314)
[56765.481106] CPU1: Core temperature/speed normal
[56765.48] CPU0: Core temperature/speed normal


Sensors shows nothing like this, is not seeing any real temperatures:
:~$ sensors
it8712-isa-0290
Adapter: ISA adapter
VCore 1:  +1.38 V  (min =  +0.00 V, max =  +4.08 V)
VCore 2:  +2.43 V  (min =  +0.00 V, max =  +4.08 V)
+3.3V:+3.26 V  (min =  +0.00 V, max =  +4.08 V)
+5V:  +4.89 V  (min =  +0.00 V, max =  +6.85 V)
+12V:+11.97 V  (min =  +0.00 V, max = +16.32 V)
-12V:-17.30 V  (min = -27.36 V, max =  +3.93 V)
-5V:  -5.53 V  (min = -13.64 V, max =  +4.03 V)
Stdby:+4.92 V  (min =  +0.00 V, max =  +6.85 V)
VBat: +4.08 V  
fan1:2177 RPM  (min =0 RPM)
fan2:   0 RPM  (min =0 RPM)
fan3:   0 RPM  (min =0 RPM)
M/B Temp:-128.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = disabled
CPU Temp:-128.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = disabled
Temp3:   -128.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = disabled

Good to know there is some over-temperature protections here, but is this for 
real? Should not be happening, I think.


Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Chris Brennan
On Tue, May 31, 2011 at 1:20 PM, Andrei Popescu
 wrote:

On Ma, 31 mai 11, 09:50:48, Jeffrey B. Green wrote:
> >
> > So, if anyone knows what going on here or whether this looks like
> > an official bug, then let me know.
>
> This sounds like you might want to contact debian-admin ;)
>

The 404's you were getting, I got them as well on my Debian 6 VPS. No
firewall in place on he VPS (yet, as I am still setting it up) but every
time I run an update, I see the 404's against s.d.o ... the VPS is IPv4 only
but the hosting provider may be doing IPv6 w/o my knowledge.


-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?


Re: Configuring WIFI

2011-05-31 Thread Dotan Cohen
On Tue, May 31, 2011 at 22:38, David Baron  wrote:
> My android can use WIFI. Works fine with who knows whose WIFI it happens to
> find and connect-to. The one on my wireless router, however, connects but
> cannot access and web pages or other data through it.
>
> Is there something I need to enable in a firewall?
>
> Or in other options/conf files somewhere?
>
> Sort of unfair to "steal" someone's bandwidth just because it's there :-)

Can you please reword you question in the form:
This is what I need to accomplish: _.
This is what I tried but didn't work: _.

Thanks.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.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/BANLkTik9s7D7qE02nZaC_UDha=_wm6h...@mail.gmail.com



[solved but annoying] XORG.CONF or a solution without xorg.conf needed

2011-05-31 Thread Ralf Mardorf
Hi all, hi Andrei,

the first trial, when ignoring the mouse wheel issue, was successful.
Oh, wait, I've forgotten to check the resolution, but the session
started and the frequency was at 90 Hz and I bet the wanted resolution
is available too. Anyway, there is something annoying. At startup and
shutdown, several times, perhaps more than 5 times, there's the
monitor's relay switching. Not really good for the relay :(. Usually,
e.g. for Ubuntu Maverick, Natty and Suse 11.2, the relay only one time
does switch.

Anyway, there's no issue regarding to monitor settings.

Perhaps it's useful for someone to use my xorg.conf as a template.

The rough (first trial :), working xorg.conf is attached.

Thank you,

Ralf

PS: Still bad that the mouse wheel does not work.



Section "Module"
Load  "extmod"
Load  "dri"
Load  "dbe"
Load  "dri2"
Load  "glx"
Load  "record"
#Load   "GLcore"
#Load   "v4l"
EndSection
Section "Monitor"
Identifier   "Monitor0"
VendorName   "Plug 'n' Play"
ModelName"Plug 'n' Play"
DisplaySize  305 230
HorizSync29-98
VertRefresh  50-120
modeline"1152x864" 128.42 1152 1232 1360 1568 864 865 868 910
Gamma   1.0
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor"  # []
#Option "HWcursor"  # []
#Option "NoAccel"   # []
#Option "ShadowFB"  # []
#Option "VideoKey"  # 
#Option "MergedFB"  "off"   #old debian/ubuntu
Identifier  "Card0"
#Driver "nvidia"
#Driver "nv"
Driver  "nouveau"
VendorName  "nVidia Corporation"
BoardName   "G72 [GeForce 7300 SE/7200 GS]"
BusID   "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"

Defaultdepth24
SubSection "Display"
Depth   24
Modes  "1152x864"
#Virtual3840 1200
EndSubSection

#   SubSection "Display"
#   Viewport   0 0
#   Depth 1
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 4
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 8
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 15
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 16
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 24
#   EndSubSection
EndSection


u3-tool for usb flash drive fails with errors

2011-05-31 Thread Nick Lidakis
I have a San Disk micro-cruzer 2GB flash USB drive. I'm trying to use the
u3-tool to remove the u3 software but I'm having no luck.

Output:

phobos:/home/nick# u3-tool -i -D /dev/sdg
u3_partition_info() failed: Device reported command failed: status 1
u3_data_partition_info() failed: Device reported command failed: status 1
Chip info:
 - Manufacturer: SanDisk 
 - Revision: 4.05

Property page 0x03:
 - Device size: 2055019008 byte(0x003d3e8d)
 - Device serial: 18604575513E
 - Full record length: 0x0077
 - Unknown1: 0x03
 - Unknown2: 0x54060781
 - Unknown3: 0x54060781

Property page 0x0C:
 - Max. pass. try: 100

Trying this, too:

phobos:/home/nick# u3-tool -p 0 /dev/sdg

WARNING: Loading a new cd image causes the whole device to be whiped. This
INCLUDES
 the data partition.
I repeat: ANY EXCISTING DATA WILL BE LOST!

Are you sure you want to continue? [yn] y
u3_partition() failed: Failed rounding partition sectors: Device reported
command failed: status 1

Or this:

phobos:/home/nick# u3-tool -p 0 /dev/sdg1

WARNING: Loading a new cd image causes the whole device to be whiped. This
INCLUDES
 the data partition.
I repeat: ANY EXCISTING DATA WILL BE LOST!

Are you sure you want to continue? [yn] y
u3_partition() failed: Failed rounding partition sectors: Device reported
command failed: status 1


Relevant mount info mount:

/dev/sr2 on /media/U3 System type iso9660 (ro,nosuid,nodev,uhelper=hal)
/dev/sdg1 on /media/SWEETNESS type vfat (rw,nosuid,nodev,uhelper=hal)

df lists: 

/dev/sr2  5590  5590 0 100% /media/U3 System
/dev/sdg1  1993912   1557264436648  79% /media/SWEETNESS


Any way to get U3 off my disc without finding a Windows box?



-- 
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/20110531215250.GC3170@phobos



Re: Temperature Fun and Games

2011-05-31 Thread Frank Lanitz
On Tue, 31 May 2011 22:56:12 +0300
David Baron  wrote:

> Been getting these more than sporadically:
> 
> [56765.480042] CPU1: Core temperature above threshold, cpu clock
> throttled (total events = 426314)
> [56765.480069] CPU0: Core temperature above threshold, cpu clock
> throttled (total events = 426314)
> [56765.481106] CPU1: Core temperature/speed normal
> [56765.48] CPU0: Core temperature/speed normal
> 
> 
> Sensors shows nothing like this, is not seeing any real temperatures:
> :~$ sensors
> it8712-isa-0290
> Adapter: ISA adapter
> VCore 1:  +1.38 V  (min =  +0.00 V, max =  +4.08 V)
> VCore 2:  +2.43 V  (min =  +0.00 V, max =  +4.08 V)
> +3.3V:+3.26 V  (min =  +0.00 V, max =  +4.08 V)
> +5V:  +4.89 V  (min =  +0.00 V, max =  +6.85 V)
> +12V:+11.97 V  (min =  +0.00 V, max = +16.32 V)
> -12V:-17.30 V  (min = -27.36 V, max =  +3.93 V)
> -5V:  -5.53 V  (min = -13.64 V, max =  +4.03 V)
> Stdby:+4.92 V  (min =  +0.00 V, max =  +6.85 V)
> VBat: +4.08 V  
> fan1:2177 RPM  (min =0 RPM)
> fan2:   0 RPM  (min =0 RPM)
> fan3:   0 RPM  (min =0 RPM)
> M/B Temp:-128.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor =
> disabled CPU Temp:-128.0°C  (low  =  -1.0°C, high = +127.0°C)
> sensor = disabled Temp3:   -128.0°C  (low  =  -1.0°C, high =
> +127.0°C)  sensor = disabled
> 
> Good to know there is some over-temperature protections here, but is
> this for real? Should not be happening, I think.

Looks pretty much as sensors is not correct configured or some modules
are missing. 

Cheers, 
Frank

-- 
http://frank.uvena.de/en/


pgp5wRzmiHqeW.pgp
Description: PGP signature


Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread William Hopkins
On 05/31/11 at 04:12am, Mike Mestnik wrote:
> On 05/30/11 21:24, Mike Mestnik wrote:
> > On 05/26/11 18:13, William Hopkins wrote:
> >> On 05/26/11 at 05:16pm, Mike Mestnik wrote:
> >>> In-Reply-To: <20080412023656.gr14...@yi.org>
> >>>
> >>> Hello,
> >>>   This is an old thread, but I find myself in a similar situation.  I'd
> >>> like to edit a 4in6 tunnel endpoint and reconfigure the interface. 
> >>> While I can handle the Apache/sudo parts of this I'm stuck with... OK
> >>> now how and I going to change this one value out of this whole file?
> >>>
> >>> My current plan is to convert the file to XML storing away comments and
> >>> partial white space as well as the settings.  Then I should be able to
> >>> edit the setting a write the file back out.
> >>>
> >>> Any better ideas?  For this project Perl seams to be the ideal language.
> >>>
> >>> I may contact the ifupdown maintainer to include this in his package, so
> >>> I'm looking to get it done right.
> >> Generally, there's no desire for added abstractions to configuration 
> >> files. 
> >> If you need to have network things done automatically which can't be 
> >> handled by the file itself, add post-ups and write some scripts. Or write 
> >> scripts which parse current network info from ifconfig/ip. 
> >> /etc/network/interfaces is a file used by the debian networking scripts to 
> >> set up your default interfaces, not the be-all end-all of networking 
> >> configuration. 
> >>
> > I hadn't though of that.  I was merely trying to automate/script a task
> > that was being performed manually.  The task included changing this
> > configuration file.  The solution may be to abstract parts of this
> > configuration file that would then be updated by scripts/users doing
> > things manually.
> >
> > I believe you have slightly misunderstood me.  I need(would like to) to
> > alter network settings based on CGI scripts from Apache.  Can these
> > variables be abstracted?  I don't see how a pre-up script can
> > effect/alter configuration settings.  As an example the address or
> > gateway settings for a static method.  In my experience I'm specifically
> > trying to alter the "endpoint" setting for a "v4tunnel" method.
> >
> > I'm just as confused trying to accomplish this as I was when I started. 
> > It's something a user can do simple with an editor, but trying to do it
> > programing and correctly is my stumbling block.  "IF" I could store the
> > value of this setting in a file that would solve my issue, I can replace
> > the contents of the file and then proceed as usual.
> >
> To: William Hopkins 
> 
> I didn't get your reply, but I see it in the archives.  Your advice that
> perhaps there is another method for effecting the contents of
> network/interfaces, for example calling a post-up script, was taken to
> hart.  This indeed would perhaps be better then continually altering a
> system config file.
> 
> I'm fumbling a bit with how to actually implement this.  I don't see a
> clear way to abstract settings, take this example:
> 
> auto eth0
> iface eth0 inet static
> address $(cat /etc/network/eth0-address)
> netmask 255.255.255.0
> gateway 186.106.158.1
> dns-nameservers 8.8.8.8 8.8.4.4
> 
> AFAIK there is no simple way to have the above address setting be read
> from the /etc/network/eth0-address file.  I could go mucking around in
> the static scripts to implement this and FAIK this is already supported
> and I'm just un-aware.

There's no reason for this level of complication. The interfaces file is where 
your IP belongs for the boot config. 
The interfaces file is not a shell script, it is a custom configuration file 
for the Debian networking scripts. 
 
> I'm sure you want to change the permanent setting of something which is
> currently set, both the running and boot configurations.  I'm a bit
> unsure of what command would be needed to change the setting I wish to
> alter in the running config...  I was going to resort to an ifdown/ifup
> combo, but now you have me rethinking that approach as well.

Each setting in the interfaces file has a correlation with a system command. 
the 'address' setting, for example, would be used as an argument to ifconfig. 
You might have to do some study to figure out the correlations for your tunnel 
settings.
 
> I'll need to adjust the configuration on several servers every time my
> DSL modem reboots.  The internet is not only packet switch, it's also
> address switched.
> 
> The concept of using scripts to alter configuration files is where I'd
> like to end up, however after carefully reading the man page for the
> network/interfaces file it's clear that determining where one block ends
> and another begins is a non-trivial task.  I have a script that breaks
> the config into blocks, though it might not always do it under any
> circumstance.

There are lots of examples of modifying complicated files via script. But it 
shouldn't be that complicated.. if you could post your interface

Re: Until now Debian seems to be the right decision :), better performance than Ubuntu

2011-05-31 Thread Ralf Mardorf
On Mon, 2011-05-30 at 19:30 +, Juan R. de Silva wrote: 
> On Mon, 30 May 2011 19:14:58 +0200, Ralf Mardorf wrote:
> 
> > But the only really annoying thing is, that I had to reboot Ubuntu
> > Natty, because I wasn't able to adopt the Evolution files for Debian's
> > Evolution.
> > 
> > Perhaps somebody knows what to do:
> > 
> > After copying
> > # cp
> > -pr /media/natty/home/spinymouse/.local/share/evolution
> > /home/spinymouse/.local/share # cp
> > -pr /media/natty/home/spinymouse/.gnome2/accels/evolution
> > /home/spinymouse/.gnome2/accels Evolution started with a manager to set
> > up Evolution AND TO IMPORT FILES, so I deleted what I copied before.
> > Unfortunately there was no option to import files, Evolution tried to
> > force me to set up a new account. This is completely idiotic, because it
> > should be possible to simply copy the files for equal versions of
> > Evolution, from one to another install.
> 
> Agree with every word.
> 
> > Does anybody know how to import account settings and emails, resp. what
> > files I need to copy?
> 
> Well, I hit the same wall and, after spending couple of days researching 
> and getting some advice from this newsgroup, succeeded to import 
> everything. I documented the procedure for myself for the future. You 
> might find it not the best, but this is the only way I found. Here is the 
> copy from my file.
> 
> 1. Restore e-mail account settings.
> ---
> 
> - Run Evolution for the first time and create a default e-mail account. 
> Evolution would create a tree of file and folders in home/
> /.gconf/apps/evolution directory. These would contain initial 
> Evolution settings.
> 
> - Close Evolution.
> 
> - From terminal execute `ps ux | grep evolution` to see what Evolution 
> related processes are runing. Kill all of them.
> 
> - Overwrite the content of /home//.evolution/mail/ folder with 
> the content from the corresponding backup folder. This would bring all 
> your e-mails contained in their corresponding subfolders.
> 
> - From backup /home//.gconf/apps/evolution/mail/%gconf.xml file 
> copy content of all  ***  entries between  name="accounts" mtime="1305671823" type="list" ltype="string"> and its 
> final  tag to the newly generated /home//.gconf/apps/
> evolution/mail/%gconf.xml file. For best result restart computer before 
> starting Evolution.
> 
> This would restore all your e-mail account settings. It's helpful if you 
> have multiple accounts.
> 
> 2. Import Calendars.
> 
> 
> - Start Evolution
> 
> - If you had multiple calendars in Evolution recreate empty calendars 
> with the names you want (probably the same names you get used to).
> 
> - Use File->Import menu option in Evolution to import corresponding 
> calendar.ics files one at a time.
> 
> To ensure good results restart a computer.
> 
> 3. Import Tasks.
> 
> 
> To import tasks into Evolution follow steps in pp.2 and import wanted 
> tasks.ics files one at a time.
> 
> 4. Import Address Book(s).
> --
> 
> - Start Evolution
> 
> - Create empty Personal (exists by default), and any other address books 
> you might have in Evolution.
> 
> - Use File->Import menu option in Evolution to import corresponding 
> address book files from backup (see below).
> 
> NOTE: The address books can be exported for the backup purposes by 
> executing the following commands:
> 
> /usr/lib/evolution/2.30/evolution-addressbook-export --output=/
> full_path_to_file/file_name.vcad (or csv format supported as well)
> 
> Unfortunatelly it seems that the format:
> 
> evolution-addressbook-export --output=OUTPUTFILE ADDRESSBOOK_NAME is not 
> supported. At least it always failed on me with an error 
> "addressbook_name" not found. To export multiple addressbooks you'll need 
> to open evolution and to set one of them you want to export as a default 
> addressbook, then execute the command above. Then set as the default the 
> next addressbook and run the command again.
> 
> This worked for me, I hope it will work for you too.

Yes, thank you very much, your howto needed a little upgrade.

Restore e-mail account settings.


- Run Evolution for the first time and create a default e-mail account. 

- Close Evolution.

- From terminal execute `ps ux | grep evolution` to see what Evolution 
related processes are runing. Kill all of them.

- Overwrite the content of /home//.evolution/mail/ folder
with the content from the corresponding original folder.

For Ubuntu Natty and Debian stable it's not ~/.evolution anymore!

# cp
-pr //home//.local/share/evolution/mail 
/home//.local/share/evolution

- From original /home//.gconf/apps/evolution/mail/%
gconf.xml file 
copy content of all  ***  entries between  and its 
final  tag to the newly
generated /home//.gconf/apps/
evolution/mail/%gconf.xml file. For best result restart computer before 
starting Evolution.

If the accountname would differ o

Re: Until now Debian seems to be the right decision :), better performance than Ubuntu

2011-05-31 Thread Ralf Mardorf
On Wed, 2011-06-01 at 01:15 +0200, Ralf Mardorf wrote:
> On Mon, 2011-05-30 at 19:30 +, Juan R. de Silva wrote: 
> > On Mon, 30 May 2011 19:14:58 +0200, Ralf Mardorf wrote:
> > 
> > > But the only really annoying thing is, that I had to reboot Ubuntu
> > > Natty, because I wasn't able to adopt the Evolution files for Debian's
> > > Evolution.
> > > 
> > > Perhaps somebody knows what to do:
> > > 
> > > After copying
> > > # cp
> > > -pr /media/natty/home/spinymouse/.local/share/evolution
> > > /home/spinymouse/.local/share # cp
> > > -pr /media/natty/home/spinymouse/.gnome2/accels/evolution
> > > /home/spinymouse/.gnome2/accels Evolution started with a manager to set
> > > up Evolution AND TO IMPORT FILES, so I deleted what I copied before.
> > > Unfortunately there was no option to import files, Evolution tried to
> > > force me to set up a new account. This is completely idiotic, because it
> > > should be possible to simply copy the files for equal versions of
> > > Evolution, from one to another install.
> > 
> > Agree with every word.
> > 
> > > Does anybody know how to import account settings and emails, resp. what
> > > files I need to copy?
> > 
> > Well, I hit the same wall and, after spending couple of days researching 
> > and getting some advice from this newsgroup, succeeded to import 
> > everything. I documented the procedure for myself for the future. You 
> > might find it not the best, but this is the only way I found. Here is the 
> > copy from my file.
> > 
> > 1. Restore e-mail account settings.
> > ---
> > 
> > - Run Evolution for the first time and create a default e-mail account. 
> > Evolution would create a tree of file and folders in home/
> > /.gconf/apps/evolution directory. These would contain initial 
> > Evolution settings.
> > 
> > - Close Evolution.
> > 
> > - From terminal execute `ps ux | grep evolution` to see what Evolution 
> > related processes are runing. Kill all of them.
> > 
> > - Overwrite the content of /home//.evolution/mail/ folder with 
> > the content from the corresponding backup folder. This would bring all 
> > your e-mails contained in their corresponding subfolders.
> > 
> > - From backup /home//.gconf/apps/evolution/mail/%gconf.xml file 
> > copy content of all  ***  entries between  > name="accounts" mtime="1305671823" type="list" ltype="string"> and its 
> > final  tag to the newly generated /home//.gconf/apps/
> > evolution/mail/%gconf.xml file. For best result restart computer before 
> > starting Evolution.
> > 
> > This would restore all your e-mail account settings. It's helpful if you 
> > have multiple accounts.
> > 
> > 2. Import Calendars.
> > 
> > 
> > - Start Evolution
> > 
> > - If you had multiple calendars in Evolution recreate empty calendars 
> > with the names you want (probably the same names you get used to).
> > 
> > - Use File->Import menu option in Evolution to import corresponding 
> > calendar.ics files one at a time.
> > 
> > To ensure good results restart a computer.
> > 
> > 3. Import Tasks.
> > 
> > 
> > To import tasks into Evolution follow steps in pp.2 and import wanted 
> > tasks.ics files one at a time.
> > 
> > 4. Import Address Book(s).
> > --
> > 
> > - Start Evolution
> > 
> > - Create empty Personal (exists by default), and any other address books 
> > you might have in Evolution.
> > 
> > - Use File->Import menu option in Evolution to import corresponding 
> > address book files from backup (see below).
> > 
> > NOTE: The address books can be exported for the backup purposes by 
> > executing the following commands:
> > 
> > /usr/lib/evolution/2.30/evolution-addressbook-export --output=/
> > full_path_to_file/file_name.vcad (or csv format supported as well)
> > 
> > Unfortunatelly it seems that the format:
> > 
> > evolution-addressbook-export --output=OUTPUTFILE ADDRESSBOOK_NAME is not 
> > supported. At least it always failed on me with an error 
> > "addressbook_name" not found. To export multiple addressbooks you'll need 
> > to open evolution and to set one of them you want to export as a default 
> > addressbook, then execute the command above. Then set as the default the 
> > next addressbook and run the command again.
> > 
> > This worked for me, I hope it will work for you too.
> 
> Yes, thank you very much, your howto needed a little upgrade.
> 
> Restore e-mail account settings.
> 
> 
> - Run Evolution for the first time and create a default e-mail account. 
> 
> - Close Evolution.
> 
> - From terminal execute `ps ux | grep evolution` to see what Evolution 
> related processes are runing. Kill all of them.
> 
> - Overwrite the content of /home//.evolution/mail/ folder
> with the content from the corresponding original folder.
> 
> For Ubuntu Natty and Debian stable it's not ~/.evolution anymore!
> 
> # cp
> -pr //home//.local/share/evolution/mail 
> /home//.local/share/evolu

Re: [SOLVED] Lost network after lenny-to-squeeze upgrade

2011-05-31 Thread Tom H
On Mon, May 30, 2011 at 12:19 PM, Nico Kadel-Garcia  wrote:
>
> NetworkManager has been one of the biggest disasters in GUI and
> configuration history known to open source. It has absolutely *no* use
> in normal desktop or server operation: it cannot configure basic
> configurations such as pair-bonding or bridges effectively, and its
> ability to wipe out and override normal configuratons without warning
> is the bane of stability.
>
> It has some vague uses for traveling laptops, that may need
> comfortable tools to manipulate VPN's and wireless connections, but
> it's that good even at those.

I hate to disappoint you but I can see the day where we'll have NM
running on headless, X-less boxes. Fedora 13/14/15 install it when you
do a kickstart install with just "@base" in "packages" section.
Scientific Linux 6 (and I therefore assume RHEL 6) doesn't have it by
default but I wouldn't be surprised to see it there in v7. There's a
site where I admin some Fedora boxes. I used to have "/usr/bin/yum -y
erase NetworkManager" in my "%post" section but I've now given up the
anti-NM fight; I've just set up a dev F15 box with NM.

I've just installed NM in two Debian and Ubuntu server VMs and it runs
fine so it could be added to all tasksel tasks. I'm sure that there'd
be a big discussion on the respective devel lists if anyone proposed
to install NM in the basic server installs (this discussion would
probably make the insserv discussion mild and civilized by
comparison).


-- 
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/banlktimvnr968z9kdu+-6a65kezk+t-...@mail.gmail.com



There was a problem with your email to debianHELP

2011-05-31 Thread Ralf Mardorf
I think that all mails came through the list, but there were tons of:

From: webmas...@debianhelp.org
The email you sent to ... was rejected because there was a validation  
error.


-- 
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/1306886234.2002.10.camel@debian



Re: There was a problem with your email to debianHELP

2011-05-31 Thread Chris Brennan
On Tue, May 31, 2011 at 7:57 PM, Ralf Mardorf
 wrote:

I think that all mails came through the list, but there were tons of:
>
> From: webmas...@debianhelp.org
> The email you sent to ... was rejected because there was a validation
> error.


I got this too, it was addressed directly to me yet I hadn't sent mail to
the list in hours or longer... My full header/email is included if someone
wants to pick it apart



Delivered-To: xa...@xaerolimit.net
Received: by 10.205.82.199 with SMTP id ad7cs160377bkc;
Tue, 31 May 2011 16:46:17 -0700 (PDT)
Received: by 10.52.179.6 with SMTP id dc6mr1249691vdc.222.1306885576419;
Tue, 31 May 2011 16:46:16 -0700 (PDT)
Return-Path: 
Received: from mx.spartacussystems.net ([173.242.120.58])
by mx.google.com with ESMTPS id oz7si424031vcb.86.2011.05.31.16.46.14
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 31 May 2011 16:46:15 -0700 (PDT)
Received-SPF: neutral (google.com: 173.242.120.58 is neither permitted
nor denied by best guess record for domain of
phpmailfunction...@debianhelp.org) client-ip=173.242.120.58;
Authentication-Results: mx.google.com; spf=neutral (google.com:
173.242.120.58 is neither permitted nor denied by best guess record
for domain of phpmailfunction...@debianhelp.org)
smtp.mail=phpmailfunction...@debianhelp.org; dkim=pass
header.i=@debianhelp.org
Received: from mx.spartacussystems.net (localhost [127.0.0.1])
by mx.spartacussystems.net (Postfix) with ESMTP id 7951699C03C
for ; Tue, 31 May 2011 19:46:13 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=debianhelp.org; h=to
:subject:mime-version:content-type:sender:from:message-id:date
:content-transfer-encoding; s=postfix; bh=352sv0H81NA+HGK4z6q2GP
DmoWA=; b=plQ81Pn2CEw8GVu0YCZUqgUM8p4YmrD+9GG7WkxQX5w4ZvcMUX1Kyb
dKUGrLTjUASRSrYxgcVDsBH8ivMEmYMLMDej0ay03pnF4XjM7PiCRO1T1ABfbgWm
bKuOuEIQp+gZXhQyZOVnJN7S8CcH3tZ4GxerA2KmGAbMwazRz+F0c=
DomainKey-Signature: a=rsa-sha1; c=simple; d=debianhelp.org; h=to
:subject:mime-version:content-type:sender:from:message-id:date
:content-transfer-encoding; q=dns; s=postfix; b=x7wERNl46W+CG9JO
mkPoEHbhORuK6dP6lc/xeN4ht5zoDAPc3TH16wqMaOaFeBNOJrwTUG1YuHam6xzh
AFUQNASx2FGAJTarLL5PAuEIJ+mp86Pbrz2tVBWMVVtMrFaFykaKrnBHD1WeoWe/
BSOkuul3ZEW4s4/b3aTzsiCkY1Q=
Received: by mx.spartacussystems.net (Postfix, from userid 1001)
id 7824699C03D; Tue, 31 May 2011 19:46:13 -0400 (EDT)
To: xa...@xaerolimit.net
Subject: There was a problem with your email to debianHELP (Re:
aptitude/apt-get hangs during update (plus) on IPv6)
X-PHP-Originating-Script: 1001:mail.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
X-Mailer: Drupal
Errors-To: webmas...@debianhelp.org
Sender: webmas...@debianhelp.org
From: webmas...@debianhelp.org
Message-Id: <20110531234613.7824699c...@mx.spartacussystems.net>
Date: Tue, 31 May 2011 19:46:13 -0400 (EDT)
Content-Transfer-Encoding: quoted-printable

The email you sent to Debain User  wa=
s =20
rejected because there was a validation error.

In order for emails to be accepted by debianHELP:
- They must be sent in reply to a valid notification email.
- The reply must be done from the same email address the notification was=
 =20
sent to.



-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?


Re: Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread Mike Mestnik
It was suggested to me that I use a template file and continually replace
the existing configuration from that file.  This would be simpler then a
solution that is dependent on a configuration file with static contents
 Either the solution will work against any properly formatted interfaces
file or it has little advantage over this approach.

I could post my interfaces file, but I'd have to remove
any sensitive information.  Let's just say there are 4 interfaces
eth0(v4Internet), eth1(v4SAN), tun6to4(v6 6to4), *tunpurgatory (v6 v4tunnel
to purgatory)
Given that my configuration should be duplicative.  * the
target interface for this project.

One more suggestion from you to respond to.  I've looked up the commands to
effect this change to the running config, though this approach ignores the
boot config.  It's something like...
ip tunnel show tunpurgatory; # The output is double space \0x20\0x20 records
with space \0x20 separating options with there values.  Though I don't know
if I can depend on the spacing to be consistent.
ip tunnel change tunpurgatory remote; # This would change the configuration.

As this does do something, it completely ignores the repetitive task I
originally set out to automate...  That was using vi on the interfaces file.
 When I used vi on the interfaces file there were a number of things that
went through my mind.  I could likely effect the same change with an ed
script, but this could inadvertently jump over into another
interfaces definition.  That's why I'm working so hard to write a parser for
the interfaces file, to avoid editing the wrong "remote" variable.


Re: Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread Mike Mestnik
It was suggested to me that I use a template file and continually
replace the existing configuration from that file.  This would be
simpler then a solution that is dependent on a configuration file with 
static contents  Either the solution will work against any properly
formatted interfaces file or it has little advantage over this approach.

I could post my interfaces file, but I'd have to remove
any sensitive information.  Let's just say there are 4 interfaces
eth0(v4Internet), eth1(v4SAN), tun6to4(v6 6to4), *tunpurgatory (v6
v4tunnel to purgatory)
Given that my configuration should be duplicative.  * the
target interface for this project.

One more suggestion from you to respond to.  I've looked up the commands
to effect this change to the running config, though
this approach ignores the boot config.  It's something like...
ip tunnel show tunpurgatory; # The output is double space \0x20\0x20
records with space \0x20 separating options with there values.  Though I
don't know if I can depend on the spacing to be consistent.
ip tunnel change tunpurgatory remote; # This would change the configuration.

As this does do something, it completely ignores the repetitive task I
originally set out to automate...  That was using vi on the interfaces
file.  When I used vi on the interfaces file there were a number of
things that went through my mind.  I could likely effect the same change
with an ed script, but this could inadvertently jump over into another
interfaces definition.  That's why I'm working so hard to write a parser
for the interfaces file, to avoid editing the wrong "remote" variable.



Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread William Hopkins
On 05/31/11 at 07:09pm, Mike Mestnik wrote:
> I could post my interfaces file, but I'd have to remove
> any sensitive information.  

You can post a sanitized version. (also, IP information is not intended to be 
secret)

>  though this approach ignores the boot config. 

I have tried to ask you if you need to modify the boot config. You haven't 
really given me a straight answer.
I'm assuming you don't and recommending you simply change the running config.
 
FYI, you appear to have broken the thread and removed the context for your 
replies.

-- 
Liam


signature.asc
Description: Digital signature


Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread Mike Mestnik
It was suggested to me that I use a template file and continually
replace the existing configuration from that file.  This would be
simpler then a solution that is dependent on a configuration file with 
static contents  Either the solution will work against any properly
formatted interfaces file or it has little advantage over this approach.

I could post my interfaces file, but I'd have to remove
any sensitive information.  Let's just say there are 4 interfaces
eth0(v4Internet), eth1(v4SAN), tun6to4(v6 6to4), *tunpurgatory (v6
v4tunnel to purgatory)
Given that my configuration should be duplicative.  * the
target interface for this project.

One more suggestion from you to respond to.  I've looked up the commands
to effect this change to the running config, though
this approach ignores the boot config.  It's something like...
ip tunnel show tunpurgatory; # The output is double space \0x20\0x20
records with space \0x20 separating options with there values.  Though I
don't know if I can depend on the spacing to be consistent.
ip tunnel change tunpurgatory remote; # This would change the configuration.

As this does do something, it completely ignores the repetitive task I
originally set out to automate...  That was using vi on the interfaces
file.  When I used vi on the interfaces file there were a number of
things that went through my mind.  I could likely effect the same change
with an ed script, but this could inadvertently jump over into another
interfaces definition.  That's why I'm working so hard to write a parser
for the interfaces file, to avoid editing the wrong "remote" variable.


-- 
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/4de598e6.8030...@mikemestnik.net



Re: [SOLVED] Lost network after lenny-to-squeeze upgrade

2011-05-31 Thread Nico Kadel-Garcia
On Tue, May 31, 2011 at 7:54 PM, Tom H  wrote:
> On Mon, May 30, 2011 at 12:19 PM, Nico Kadel-Garcia  wrote:
>>
>> NetworkManager has been one of the biggest disasters in GUI and
>> configuration history known to open source. It has absolutely *no* use
>> in normal desktop or server operation: it cannot configure basic
>> configurations such as pair-bonding or bridges effectively, and its
>> ability to wipe out and override normal configuratons without warning
>> is the bane of stability.
>>
>> It has some vague uses for traveling laptops, that may need
>> comfortable tools to manipulate VPN's and wireless connections, but
>> it's that good even at those.
>
> I hate to disappoint you but I can see the day where we'll have NM
> running on headless, X-less boxes. Fedora 13/14/15 install it when you
> do a kickstart install with just "@base" in "packages" section.
> Scientific Linux 6 (and I therefore assume RHEL 6) doesn't have it by
> default but I wouldn't be surprised to see it there in v7. There's a
> site where I admin some Fedora boxes. I used to have "/usr/bin/yum -y
> erase NetworkManager" in my "%post" section but I've now given up the
> anti-NM fight; I've just set up a dev F15 box with NM.
>
> I've just installed NM in two Debian and Ubuntu server VMs and it runs
> fine so it could be added to all tasksel tasks. I'm sure that there'd
> be a big discussion on the respective devel lists if anyone proposed
> to install NM in the basic server installs (this discussion would
> probably make the insserv discussion mild and civilized by
> comparison).

Try to set up pair-bonding, or bridged network devices for KVM use
correctly with NetworkManager. Unless something has really changed,
they're not supported, and these are very basic network configurations
for production servers. The software violates the most basic of
principles of open source GUI design. This includes *every single one*
of my published add-ons to Eric Raymond's guidelines on open source
GUI's at http://www.catb.org/~esr/writings/cups-horror.html. (Eric
gracefully included my notes as an addendum to his article: I think
i'm the only one who sent additional guidelines for that article,
rather than merely agreeing with its well justified rant about open
source GUI's.)

The worst points are the NetworkManager cannot *read* basic network
configuration values such as pair-bonding, it will *overwrite* them,
and it *will not tell you it did so*. It will muck up your /etc/hosts
and your /etc/resolv.conf *without warning*. And it's completely
unnecessary for any but a few hosts that wander from wireless to wired
to VPN to publicn internet and need a vaguely comprehensible GUI. It
therefore absolutely should not be a part of any basic OS
installation, and should only be used for laptops or other wandering
hardware for which its  limited flexibility is, in fact, useful.


-- 
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/banlktimq6vkezt2sqgiupqbeeqdrazv...@mail.gmail.com



Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread Mike Mestnik
Yes, I absolutely need to change the boot config.  The endpoint for the
tunnel to purgatory needs to follow purgatory every where purgatory
goes, even after a reboot.

The running config can be altered by rebooting, however I was just going
to ifdown/up.  Now I'm contemplating either running the commands to
alter the running config VS ifdown, change boot, ifup.

# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# Uncomment this and configure after the system has booted for the first
time
auto eth0
iface eth0 inet static
address 184.106
netmask 255.255.255.0
gateway 184.106
dns-nameservers 173.203.4.8 173.203.4.9

auto tun6to4
iface tun6to4 inet6 v4tunnel
address 2002:b86a::1
netmask 16
remote ::192.88.99.1
endpoint any
local 184.106
ttl 255
mtu 1431
up   ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4
down ip -6 route flush dev tun6to4

##auto tunpurgatory
iface tunpurgatory inet6 v4tunnel
address 2001:470:2::2
netmask 64
endpoint 184.97
local 184.106
ttl 255
#mtu 1431
up   ip -6 route add 2001:470:9e9::/64 dev tunpurgatory
down ip -6 route flush dev tunpurgatory

auto eth1
iface eth1 inet static
address 10.180
netmask 255.255.224.0

up route add -net 10.176.0.0 netmask 255.248.0.0 gw 10.180.64.1
down route del -net 10.176.0.0 netmask 255.248.0.0 gw 10.180.64.1
up route add -net 10.191.192.0 netmask 255.255.192.0 gw 10.180.64.1
down route del -net 10.191.192.0 netmask 255.255.192.0 gw 10.180.64.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/4de59b9a.1080...@mikemestnik.net



Issues posting to this list, my apologies.

2011-05-31 Thread Mike Mestnik
So sorry for posting the same thing more then once, I kept getting a DSN
like this:

Whomever runs this should include a message ID or something more then
the subject in the response because I can't discover what email didn't
make it(if any) to the list.

 Original Message 
Subject:There was a problem with your email to debianHELP (Re: Re:
(hopefully perl) API to /etc/network/interfaces?)
Date:   Tue, 31 May 2011 21:16:41 -0400 (EDT)
From:   webmas...@debianhelp.org
To: che...@mikemestnik.net



The email you sent to debian-user@lists.debian.org was rejected because there  
was a validation error.

In order for emails to be accepted by debianHELP:
- They must be sent in reply to a valid notification email.
- The reply must be done from the same email address the notification was 
sent to.




pidofproc missing

2011-05-31 Thread lrhorer
I rebooted one of my servers a few minutes ago, and while watching the 
init text, I noticed a couple of failures related to the script's not 
finding `pidof`.  Sure enough, pidof was missing from my server, 
somehow.  The rest of sysvinit-utils was there, but not pidof.  I 
checked its sister machine, and it was there, so I copied it over, and 
all seems well - if distrurbing.  In the mean time, however, I noticed a 
number of init scripts, including cron, dirmngr, and portmap, all use 
`pidofproc`, and `pidofproc` is missing from both systems.  In which 
package does this utility reside?


-- 
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/p_idnxr19p7toxjqnz2dnuvz5u-dn...@giganews.com



Re: pidofproc missing

2011-05-31 Thread William Hopkins
On 05/31/11 at 09:30pm, lrhorer wrote:
> I rebooted one of my servers a few minutes ago, and while watching the 
> init text, I noticed a couple of failures related to the script's not 
> finding `pidof`.  Sure enough, pidof was missing from my server, 
> somehow.  The rest of sysvinit-utils was there, but not pidof.  I 
> checked its sister machine, and it was there, so I copied it over, and 
> all seems well - if distrurbing.  In the mean time, however, I noticed a 
> number of init scripts, including cron, dirmngr, and portmap, all use 
> `pidofproc`, and `pidofproc` is missing from both systems.  In which 
> package does this utility reside?

IIRC, pidofproc is part of the init functions provided by lsb-base
see: /lib/lsb/init-functions


-- 
Liam


signature.asc
Description: Digital signature


Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-31 Thread Mike Mestnik
On 05/26/11 17:16, Mike Mestnik wrote:
> In-Reply-To: <20080412023656.gr14...@yi.org>
>
> Hello,
>   This is an old thread, but I find myself in a similar situation.  I'd
> like to edit a 4in6 tunnel endpoint and reconfigure the interface. 
> While I can handle the Apache/sudo parts of this I'm stuck with... OK
> now how and I going to change this one value out of this whole file?
>
> My current plan is to convert the file to XML storing away comments and
> partial white space as well as the settings.  Then I should be able to
> edit the setting a write the file back out.
>
> Any better ideas?  For this project Perl seams to be the ideal language.
>
> I may contact the ifupdown maintainer to include this in his package, so
> I'm looking to get it done right.
>
I'm quite certain this is a some-what usable solution.  However it
dosen't appear to have any means to preserver order.  I'd also like
input for the XMLers about the use of etc_network_interfaces for the
RootName?

#!/usr/bin/perl -w

use warnings;
use strict;
use feature 'switch';
use XML::Simple;
use Data::Dumper;

sub trim
{   $_[0]=~s/\A\s+//;
$_[0]=~s/\s+\z//;
$_[0];
}

my $file = q{/etc/network/interfaces};
open (my $INTER, '<', $file) or die "Can't read $file: $!";

my %tmp;
$tmp{'HEAD'}=[''];
my $ptr = \$tmp{'HEAD'}[0];
LINE: while (my $ln=<$INTER>) {
  chomp $ln;
  # A line may be extended across multiple lines by making the last charac-
  # ter a backslash.
  while ($ln =~ /\\$/) {
chop $ln; chomp($ln.=<$INTER>); last if (eof $INTER);
  }
  if (ref($ptr) ne 'SCALAR' and $ln =~ /^\s*#/ ) {
push(@{$tmp{'COMMENT'}}, $ln);
next LINE;
  }
  foreach my $rx (qr(auto),qr(allow-auto),qr(allow-[^ ]*),
  qr(mapping),qr(iface)) {
if ($ln =~ /^\s*($rx)\s+(\S*)\s*(.*)$/) {
  $ptr = undef;
  given ($1){
when('mapping') { push(@{$tmp{'mapping'}},{ $2 => { 'opts' => $3
}}); $ptr = $tmp{'mapping'}[$#{$tmp{'mapping'}}]{$2}; }
when('iface') { push(@{$tmp{'iface'}},{ $2 => { 'opts' => $3
}}); $ptr = $tmp{'iface'}[$#{$tmp{'iface'}}]{$2}; }
default { push (@{$tmp{$1}}, trim("$2 $3")); $ptr = $tmp{$1}; }
  }
  next LINE;
}
  }
  if ($ln =~ /^\s*(\S*)\s(.*)$/) {
if (defined $ptr) {
  given (ref($ptr)){
when('HASH') { given ($1){
when(['up', 'down']) { push(@{${$ptr}{$1}}, $2); }
default { ${$ptr}{$1}.=$2; }
} }
when('ARRAY') { push(@{$ptr}, trim("$1 $2")); }
when('SCALAR') { ${$ptr}.="$ln\n"; }
default { warn Dumper(ref($ptr)); warn Dumper(\$ptr); }
  }
  next LINE;
}
warn $ln;
next LINE;
  }
  if ($ln eq '') {
push(@{$tmp{'br'}}, '');
next LINE;
  }
  warn $ln;
}

warn XMLout(\%tmp, (RootName => 'etc_network_interfaces'));


-- 
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/4de5beb7.5060...@mikemestnik.net



Re: Until now Debian seems to be the right decision :), better performance than Ubuntu

2011-05-31 Thread Juan R. de Silva
On Wed, 01 Jun 2011 01:15:29 +0200, Ralf Mardorf wrote:


> Yes, thank you very much, your howto needed a little upgrade.
> 
> Restore e-mail account settings.
> 
> 
> - Run Evolution for the first time and create a default e-mail account.
> 
> - Close Evolution.
> 
> - From terminal execute `ps ux | grep evolution` to see what Evolution
> related processes are runing. Kill all of them.
> 
> - Overwrite the content of /home//.evolution/mail/ folder
> with the content from the corresponding original folder.
> 
> For Ubuntu Natty and Debian stable it's not ~/.evolution anymore!
> 
> # cp
> -pr //home//.local/share/evolution/mail
> /home//.local/share/evolution
> 
> - From original /home//.gconf/apps/evolution/mail/%
> gconf.xml file
> copy content of all  ***  entries between  name="accounts" mtime="1305671823" type="list" ltype="string"> and its
> final  tag to the newly
> generated /home//.gconf/apps/ evolution/mail/%gconf.xml
> file. For best result restart computer before starting Evolution.
> 
> If the accountname would differ or one Evolution still does use
> ~/.evolution, than you've got a lot to edit. I run
> 
> # cp -p /media/natty/home/spinymouse/.gconf/apps/evolution/mail/%
> gconf.xml /home/spinymouse/.gconf/apps/evolution/mail/%gconf.xml

I'm not sure for Ubuntu Natty, I'll take a look tomorrow. What's to 
Debian Squeeze 6.01, it's still ~/.evolution on my system.
 
> OTOH it should be possible to use 1 partition for the emails and to get
> access by Evolution from different installs, assumed that the mount
> points do have the same path names, but I didn't really verified this
> ;).

I'm going to investigate such an option too. When (or if?) I have time 
for it. :-)

> Just doing this all filters get lost, there was a message regarding to
> junk, mails that should not be shown by threads are shown by threads,
> anyway, I got the mails.

Did you mean newsgroup filters? I did not get this trouble since I've 
never used Evolution as my newsgroup reader. I use Pan instead. 

But I did not loose any of my e-mail filters. 

> PS: Sending from the 'new' Evolution.

I'm glad it worked for you. And thanks for sharing back. I'll add your 
updates to my records.



-- 
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/is4ksf$plt$1...@dough.gmane.org



Re: converting apple quicktime to mpeg

2011-05-31 Thread Pierre Frenkiel

On Tue, 31 May 2011, Ron Johnson wrote:


The mplayer.log file displayed as a couple of dozen garbled bytes.


  The log has 66 text lines, followed by the "garbled bytes"
  written while mplayer is reading the input file, but you can
  display the whole file correctly with more.
  (vi displays correctly only the text lines)
  Anyway, I extracted the text lines to mplayer.out (attached file)

best regards,
--
Pierre FrenkielMPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing file.mov.
TS file format detected.
PROGRAM_ID=1 (0x01), PMT_PID: 66(0x42)
PROGRAM_ID=1 (0x01), PMT_PID: 66(0x42)
PROGRAM_ID=1 (0x01), PMT_PID: 66(0x42)
PROGRAM_ID=1 (0x01), PMT_PID: 66(0x42)
PROGRAM_ID=1 (0x01), PMT_PID: 66(0x42)
PROGRAM_ID=1 (0x01), PMT_PID: 66(0x42)
VIDEO MPEG2(pid=164) AUDIO MPA(pid=96) NO SUBS (yet)!  PROGRAM N. 1
ID_VIDEO_ID=164
ID_AUDIO_ID=96
ID_AID_96_LANG=fra
ID_AUDIO_ID=97
ID_AID_97_LANG=eng
PROGRAM_ID=1 (0x01), PMT_PID: 66(0x42)
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=file.mov
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x1002
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=28688.57
ID_LENGTH=0.00
ID_SEEKABLE=1
ID_CHAPTERS=0
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
s3fb: Couldn't map S3 registers: Operation not permitted
Xlib:  extension "NV-GLX" missing on display ":0.0".
[vdpau] Error when calling vdp_device_create_x11: 1
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==
ID_VIDEO_CODEC=ffmpeg2
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.
VO: [xv] 720x576 => 768x576 Planar YV12