Re: Caracteres especiales en los nombres de los ficheros en Debian (duda)

2010-06-27 Thread Camaleón
El Sat, 26 Jun 2010 23:39:41 +0100, José Manuel (EB8CXW) escribió:

 La duda que tengo, es que en Debian, cuando pongo el nombre en los
 ficheros, tengo problemas con los caracteres especiales y acentos, por
 ejemplo la eñe. O cuando me mandan un fichero realizado en Windows, no
 me deja visualizarlo, hasta que no quite los acentos y caracteres
 especiales. Mi duda o pregunta esto es normal este comportamiento, o
 debo configurar mi Debian testin de alguna manera para que admita
 acentos y caracteres especiales. Gracias de antemano.

Normal no es.

¿Te pasa con todos los archivos con caracteres no ascii, 
independientemente de donde te vengan? Es decir, ¿te pasa cuando accedes 
o abres los archivos desde un recurso samba o también te sucede lo mismo 
cuando te envían un archivo adjunto con caracteres no ascii por correo 
electrónico o cuando accedes a esos archivos desde una llave USB...?

Lo pregunto para delimitar el problema a la configuración de samba o si 
el problema es de configuración global del sistema.

Saludos,

-- 
Camaleón


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



convertir video

2010-06-27 Thread Cristian Mitchell
estoy usando ffmpeg para convertir video flv a avi
el tema es que se pierde mucha caluidad en la conversion.
hay alguna forma de evitar tanta perdida?

gracias

-- 
MrIX
Linux user number 412793.
http://counter.li.org/

las grandes obras,
las sueñan los santos locos,
las realizan los luchadores natos,
las aprovechan los felices cuerdo,
y las critican los inútiles crónicos,


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



Re: convertir video

2010-06-27 Thread Camaleón
El Sun, 27 Jun 2010 12:27:58 -0300, Cristian Mitchell escribió:

 estoy usando ffmpeg para convertir video flv a avi el tema es que se
 pierde mucha caluidad en la conversion. hay alguna forma de evitar tanta
 perdida?

Prueba añadiendo -sameq.

Saludos,

-- 
Camaleón


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



Re: convertir video

2010-06-27 Thread Cristian Mitchell
El día 27 de junio de 2010 12:42, Camaleón noela...@gmail.com escribió:
 El Sun, 27 Jun 2010 12:27:58 -0300, Cristian Mitchell escribió:

 estoy usando ffmpeg para convertir video flv a avi el tema es que se
 pierde mucha caluidad en la conversion. hay alguna forma de evitar tanta
 perdida?

 Prueba añadiendo -sameq.

 Saludos,

 --
 Camaleón


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



Gracias una masa!

creo que probe de todo
menos esa opcion
queda igual a la calidad de entrada
y cuando leo el man es una de las ultimas opciones
y es lo que signifia igual que la entrada

   -sameq
   Use same video quality as source (implies VBR).

se ve que lo pase por alto

gracias


-- 
MrIX
Linux user number 412793.
http://counter.li.org/

las grandes obras,
las sueñan los santos locos,
las realizan los luchadores natos,
las aprovechan los felices cuerdo,
y las critican los inútiles crónicos,


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



Re: Caracteres especiales en los nombres de los ficheros en Debian (duda)

2010-06-27 Thread Camaleón
El 2010-06-27 a las 22:04 +0100, José Manuel (EB8CXW) escribió:

(reenvío a la lista)

 El 27/06/10 10:50, Camaleón escribió:

(...)

 ¿Te pasa con todos los archivos con caracteres no ascii,
 independientemente de donde te vengan? Es decir, ¿te pasa cuando accedes
 o abres los archivos desde un recurso samba o también te sucede lo mismo
 cuando te envían un archivo adjunto con caracteres no ascii por correo
 electrónico o cuando accedes a esos archivos desde una llave USB...?

 Lo pregunto para delimitar el problema a la configuración de samba o si
 el problema es de configuración global del sistema.

 Hola a t...@s:

 Gracias por contestar Guillermo, Camaleón.

 Soy profesor en un Instituto y me comunico a través del correo  
 electrónico con mis alumnos, y ahí es donde más problemas tengo, ya que  
 no puedo abrir los adjuntos que vienen con algún carácter especial (ñ,  
 acentos, etc.). El Instituto se trabaja con Windows (El gobierno canario  
 es pro Windows), cuando copia algún fichero en el Instituto, con algún  
 carácter de los mencionados, en un disco portátil que tengo, y después  
 lo paso a mi ordenador (con Debian), no me deja copiarlo me da error.  
 Supongo que el error esta em mi configuración pero no se, ya me diréis,

 Reitero mi agradecimiento por la ayuda.

Pues sí que es raro :-?

Lo primero creo que sería comprobar que tienes el locale configurado 
correctamente. Ejecuta locale y pon el resultado.

Otra cosa... ¿ves el nombre del archivo con algún carácter extraño, o 
ves bien que hay una eñe pero no puedes abrirlo?

Sería interesante que pudieras subir a algún servidor un archivo de 
esos (cuyo contenido sea público) para que podamos verlo :-?

Saludos,

-- 
Camaleón 


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100627212140.ga6...@stt008.linux.site



Permiso para montar vfat

2010-06-27 Thread Jaime Velázquez
Que tal lista:

Tengo una partición vfat montada con la siguiente linea en fstab:
*/dev/sda5   /media/medios   vfat
 
rw,users,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,umask=,utf8=1,showexec
  0   0*
* *
**El problema es que yo el usuario con id=1000 puedo escribir, pero los
demás usuarios no pueden escribir en el, a excepción, por supuesto, del
usuario root

¿Que debo agregar para hacer que otros usuarios también puedan escribir en
la partición?


Re: Permiso para montar vfat

2010-06-27 Thread Jaime Velázquez
Les comento que ya lo resolví y por si alguien tiene el mismo problema solo
se necesitaba agregarla opción umask=0


Re: -- Email Alerta--(debian-user-portuguese@lists.debian.org),

2010-06-27 Thread Flamarion Jorge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27-06-2010 15:50, ::Webmaster Suporte wrote:
 Caro (debian-user-portuguese@lists.debian.org),
 
 Esta mensagem é do nosso Serviço de Tecnologia da Informação a todos os
 nossos assinantes. Estamos atualizando nosso banco de dados e e-mail
 centro e esta é a nossa última notificação para you.We ter enviado
 várias mensagens para você sem resposta de você.
 
 Nós estamos apagando todos Mail utilizadas para criar mais espaço para
 novas contas. A fim de não ser suspenso, você terá que atualizar sua
 conta, fornecendo as informações abaixo:
 
 Confirmar os seus detalhes e-mail.
 
 E-mail ID: debian-user-portuguese@lists.debian.org
 Senha E-mail: ...
 E-mail de confirmação de senha: 
 
 Se você não conseguir confirmar a sua utilização contínua dos nossos
 serviços, confirmando sua senha de e-mail agora, sua conta será
 desativar e você não será capaz de acessar seu e-mail.
 
 Você deve imediatamente responder este e-mail e digite sua senha na
 coluna da senha acima.
 Obrigado pela sua compreensão.
 
 Respeito,
 Centro de Suporte.

WTF!?!?!?!?

http://lists.debian.org/debian-user-portuguese/2010/06/msg00343.html

No canto superior direito tem um botão Report as spam.
Por favor não hesitem em clicar nele.

Att

- -- 
Flamarion Jorge
OpenPGP Key: 6CA750E1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwnwP0ACgkQ0SDRnmynUOHKPACeLIcb5gG2LSS6qofL99iFlpxS
dtAAnjtrKGBdxQKkwuOYg4vs9nm3g4OA
=/j7h
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c27c0fe.7030...@yahoo.com.br



Re: Sem som de sistema

2010-06-27 Thread edmarcos
Eu já havia postado aqui nessa mesma lista, mas vai ai a dica novamente:

Vai a dica pra quem tem placas mães com dispositivo de audio onbard e
usb. 
No meu caso tenho uma: C-Media Electronics, Inc. CM6501
em uma placa mãe ASUS M2N-SLI.

Após as ultimas atualizações do debian squeeze o áudio parou.

Para solucionar alterem o arquivo /etc/modprobe.d/alsa-base.conf
deixando o mesmo assim:

# Keep snd-usb-audio from beeing loaded as first soundcard
#options snd-usb-audio index=-2
alias snd-card-0 snd-usb-audio
options snd-usb-audio index=0

Em Qui, 2010-06-24 às 15:10 -0300, Stanley Mulford escreveu:
 Caros amigos
 Tenho o Lenny amd 64 instalado e não consigo habilitar os sons do sistema.
 A minha placa-mãe é ASUS P5KPL-CM com CPU Intel Core2 Quad 2.66 GHz e a
 placa de som é integrada (penso que é Intel).
 
 Já instalei gnome-audio e vários codecs gstreamer, e esound e tudo o mais.
 Porém quando tento habilitar os sons do sistema (aquele de iniciar, sair,
 abrir pasta, etc) tudo está mudo.
 Posso ouvir algumas rádios, mas no sistema nada.
 
 Por favor alguém pode me ajudar indicando o que mais devo instalar?
 Agradecido pela colaboração
 Um abraço a todos
 Stanley Mulford

-- 


Linux Apucarana
Soluções de Informática Baseadas em Linux
(43) 8408-0207 3424-0120
Apucarana - Pr


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1277681006.3023.3.ca...@debian64.edmarcos



Re: Autenticação do squid no LDAP

2010-06-27 Thread Vinícius Batistela
Boa noite,

suponho que você esteja falando a respeito do OpenLDAP. Não há como fazer
pois  não haverá o NTLM que é o protocolo responsável por utilizar o usuário
e senha do login do Windows para autenticação no Squid. O OpenLDAP apenas
implementa o protocolo LDAP, que se trata de um serviço de diretórios onde
apenas os seus usuários (dentre outras coisas) podem estar ou estão
armazenados.

2010/6/26 Leandro Moreira lean...@leandromoreira.eti.br

 Caros,
 A algum tempo atras usei autenticação ntlm para realizar autenticação do
 squid no AD, sem que o mesmo eviasse ao browser do usário requisição de
 logim e senha, gostaria de saber se é possivel fazer o mesmo no LDAP, e se
 for se tem que fazer alguma configiração espécial.

 Att.

 --
 Leandro Moreira
 Network Administrator
 LPIC1 - Linux Professional Institute Certified
 e-mail/msn: lean...@leandromoreira.eti.br
 Tel.: + 55(32) 9906-5713




-- 
Vinícius Batistela
Bacharel em Ciência da Computação
Universidade de Passo Fundo


sudo a user without password

2010-06-27 Thread Jozsi Avadkan
Hi

On a Desktop machine, running Debian Lenny [GNOME], i just want to put
a .desktop icon on the desktop, so that i can easy launch apps with
other users [e.g. not so trusted programs..maybe this way i could get a
little more secure.. :) ].

#
$ cat Dude.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Dude
Type=Application
Terminal=false
Icon=gnome-mines
Exec=gksu -u dude-user wine /home/dude-user/.wine/drive_c/Program
Files/Dude/dude.exe
GenericName=Dude
#

But every time [in a new session] i want to launch Dude with wine,
with another user...i have to type in his password.



-The question-
How can i set the sudoers file, so that it doesnt prompt for a password?

E.g.: I have a user named someone.
On the someone users Desktop, I have the Dude.desktop file.
The Dude user [who has this program installed] is dude-user

I already tried [with visudo]:

someonedude-user=(ALL) ALL

but it don't seems to work [still need password when launching
Dude.desktop]. Is there any way [I have to log out or something?]?

Thank you!


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



Re: sudo a user without password

2010-06-27 Thread Karl E. Jorgensen
Hi!

On Sun, Jun 27, 2010 at 08:54:53AM +0200, Jozsi Avadkan wrote:
 Hi
 
 On a Desktop machine, running Debian Lenny [GNOME], i just want to put
 a .desktop icon on the desktop, so that i can easy launch apps with
 other users [e.g. not so trusted programs..maybe this way i could get a
 little more secure.. :) ].
 
 #
 $ cat Dude.desktop
 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
 Name=Dude
 Type=Application
 Terminal=false
 Icon=gnome-mines
 Exec=gksu -u dude-user wine /home/dude-user/.wine/drive_c/Program
 Files/Dude/dude.exe
 GenericName=Dude
 #
 
 But every time [in a new session] i want to launch Dude with wine,
 with another user...i have to type in his password.
 
 -The question-
 How can i set the sudoers file, so that it doesnt prompt for a password?
 
 E.g.: I have a user named someone.
 On the someone users Desktop, I have the Dude.desktop file.
 The Dude user [who has this program installed] is dude-user
 
 I already tried [with visudo]:
 
 someonedude-user=(ALL) ALL
 
 but it don't seems to work [still need password when launching
 Dude.desktop]. Is there any way [I have to log out or something?]?

changes to /etc/sudoers take effect immediately, so logging off/on
will have no effect.

But your existing entry in /etc/sudoers is slightly off: It allows
someone (who is a member of the dude-user group) to execute all
commands as all users.  I suspect that this is not exactly what you
wanted.

try:

someone%=(dude-user) NOPASSWD: ALL

which should allow someone (regardless of what group they are
members of) to execute all commands (as dude-user) without having to
enter a password.

You should be able to tighten this to:
someone%=(dude-user) NOPASSWD: /path/to/wine

and possibly even further to restrict what parameters they can pass to
wine. But I'm not sure how to represent this in sudo, as the wine
command line has spaces in it...

Hope this helps
-- 
Karl E. Jorgensen
IT Operations Manager


-- 
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/20100627071052.gc20...@hawking.jorgensen.org.uk



Re: sudo a user without password

2010-06-27 Thread Tom H
On Sun, Jun 27, 2010 at 2:54 AM, Jozsi Avadkan jozsi.avad...@gmail.com wrote:

 On a Desktop machine, running Debian Lenny [GNOME], i just want to put
 a .desktop icon on the desktop.

 $ cat Dude.desktop
 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
 Name=Dude
 Type=Application
 Terminal=false
 Icon=gnome-mines
 Exec=gksu -u dude-user wine /home/dude-user/.wine/drive_c/Program
 Files/Dude/dude.exe
 GenericName=Dude

 But every time [in a new session] i want to launch Dude with wine,
 with another user...i have to type in his password.

 How can i set the sudoers file, so that it doesnt prompt for a password?

 E.g.: I have a user named someone.
 On the someone users Desktop, I have the Dude.desktop file.
 The Dude user [who has this program installed] is dude-user

 I already tried [with visudo]:

 someone    dude-user=(ALL) ALL

In sudoers:
someone host=(dude-user) NOPASSWD: command

You can set host and/or command to ALL.


--
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/aanlktim-7xh8hi-a4wwokex3oabzlttak2m7wovmk...@mail.gmail.com



Re: OpenOffice.org tries to print to Letter instead of A4

2010-06-27 Thread Andrei Popescu
On Sb, 26 iun 10, 18:30:46, Camaleón wrote:
 On Sat, 26 Jun 2010 21:18:23 +0300, Andrei Popescu wrote:
 
  On Sb, 26 iun 10, 11:31:48, Camaleón wrote:
  
  Did you check the default settings for the printer in CUPS?
  
  Yes (not very obvious from my message), that was the very first thing to
  check. Also any other applications I tried correctly pick-up A4 as the
  paper size. This is only an issue with OpenOffice.org
 
 Then check the spadmin settings for the printer. Maybe OOo still gets 
 it defaults from there...

Well, spadmin also shows US Letter and changes are not persistent.

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: OpenOffice.org tries to print to Letter instead of A4

2010-06-27 Thread Andrei Popescu
On Sb, 26 iun 10, 14:00:33, Andrei Popescu wrote:
 Hello everybody,
 
 I am stuck with this, hopefully someone else knows what's going on.
...
 but OpenOffice.org still defaults to US Letter for the printer 
 settings. Where is this setting coming from?

Apparently it comes from:

,[ /usr/lib/openoffice/basis3.2/share/psprint/driver/SGENPRT.PS ]
| *% = Paper =
|
| *OpenUI *PageSize: PickOne
| *OrderDependency: 30 AnySetup *PageSize
| *DefaultPageSize: Letter
`

I changed that to A4 and now the default is ok (for me), at least until 
the next update... I'll file a bug.

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: mashup apt-cache search SearchTerm dpkg -l - HowTo? ; jor

2010-06-27 Thread Tom H
On Sat, Jun 26, 2010 at 7:57 PM, giovanni_re john...@fastmail.us wrote:
 Is there a way to mashup apt-cache search SearchTerm  dpkg -l
 - so that given a SearchTerm,
 it would find all the related package names in the cache,
 then do a dpkg -l on those package names?

No need for dpkg.

aptitude -F %c%a %p %v %d search '?narrow(?installed,searchterm)'


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



Re: sudo a user without password

2010-06-27 Thread Jozsi Avadkan
wow, thanks for the quick answer! :)

but it still doesn't work. i'm pretty sure, that i'm missing something:

##

$ whoami
someone
$ sudo -u dude-user wine /home/dude-user/.wine/drive_c/Program
Files/Dude/dude.exe

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for someone: 
someone is not allowed to run sudo on localhost.  This incident will be
reported.
$





##
the next try [like in the Dude.desktop file]: it prompts [GUI], that
it needs the password for the dude-user:
##

$ whoami
someone
$ gksu -u dude-user wine /home/dude-user/.wine/drive_c/Program
Files/Dude/dude.exe

##


I tried these: http://pastebin.com/raw.php?i=fHbh4VpS




 Hi!
 
 On Sun, Jun 27, 2010 at 08:54:53AM +0200, Jozsi Avadkan wrote:
  Hi
  
  On a Desktop machine, running Debian Lenny [GNOME], i just want to put
  a .desktop icon on the desktop, so that i can easy launch apps with
  other users [e.g. not so trusted programs..maybe this way i could get a
  little more secure.. :) ].
  
  #
  $ cat Dude.desktop
  [Desktop Entry]
  Version=1.0
  Encoding=UTF-8
  Name=Dude
  Type=Application
  Terminal=false
  Icon=gnome-mines
  Exec=gksu -u dude-user wine /home/dude-user/.wine/drive_c/Program
  Files/Dude/dude.exe
  GenericName=Dude
  #
  
  But every time [in a new session] i want to launch Dude with wine,
  with another user...i have to type in his password.
  
  -The question-
  How can i set the sudoers file, so that it doesnt prompt for a password?
  
  E.g.: I have a user named someone.
  On the someone users Desktop, I have the Dude.desktop file.
  The Dude user [who has this program installed] is dude-user
  
  I already tried [with visudo]:
  
  someonedude-user=(ALL) ALL
  
  but it don't seems to work [still need password when launching
  Dude.desktop]. Is there any way [I have to log out or something?]?
 
 changes to /etc/sudoers take effect immediately, so logging off/on
 will have no effect.
 
 But your existing entry in /etc/sudoers is slightly off: It allows
 someone (who is a member of the dude-user group) to execute all
 commands as all users.  I suspect that this is not exactly what you
 wanted.
 
 try:
 
 someone  %=(dude-user) NOPASSWD: ALL
 
 which should allow someone (regardless of what group they are
 members of) to execute all commands (as dude-user) without having to
 enter a password.
 
 You should be able to tighten this to:
 someone  %=(dude-user) NOPASSWD: /path/to/wine
 
 and possibly even further to restrict what parameters they can pass to
 wine. But I'm not sure how to represent this in sudo, as the wine
 command line has spaces in it...
 
 Hope this helps
 -- 
 Karl E. Jorgensen
 IT Operations Manager
 
 


-- 
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/1277628310.22275.48.ca...@localhost



Re: Hundreds of sshd processes spawned by Postgresql

2010-06-27 Thread Stan Hoeppner
Marc Shapiro put forth on 6/27/2010 12:57 AM:
 From: Stan Hoeppner s...@hardwarefreak.com
 
 If you were unable to find any inbound connections whilst these ~300
 outbound connections were present, 
 
 Has anyone come up with a viable theory as to why outbound connections would 
 be initiated by sshd (or something calling itself sshd) as opposed to ssh?

To be frank, you're focusing on the least significant aspect of this break in
here.  This is pretty much irrelevant given the scope of the problem, a minor
detail, a blip on the radar so to speak.

 and given that restarting the box caused
 the ~300 ssh processes to instantly start up again and connect to Taiwan
 and God knows where else, it's pretty clear that code of one kind or
 another, either a script or a binary, has been uploaded to your system by
 the cracker. 
 
 Actually, the connections were restarted after I KILLED them.  AFTER that I 
 shut the system and the router down.  When I restarted the system (with the 
 router still down) the connections did NOT return.  Nor did they return when 
 the system was restarted after the router was rebooted.  It looks like 
 someone gained entrance to the system and started up a script, or binary, or 
 simply a command, that made these connections (distributed DOS attack, 
 possibly), but made no effort, or was unsuccessful at insuring that it would 
 survive a reboot.  I DO need to harden the system, possibly after a clean 
 install of Squeeze, since that was probably in my near future, anyway.  I 
 also have no need for Apache to be running, so, default or not, it is being 
 removed from /etc/init.d.  I will also insure that the firewall does not have 
 any ports open that I don't need, which should mean just about everything 
 closed down tight.

This is where you should focus your effort, and it sounds like you have a good
game plan for moving forward.  After you get all this worked out, _then_ worry
about the sshd vs ssh issue above, if you even care to take the time at that
point.  You probably won't.

-- 
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/4c271603.3040...@hardwarefreak.com



Re: Torrents killing my connection

2010-06-27 Thread Andrei Popescu
On Sb, 26 iun 10, 23:08:56, ABS Doug wrote:
 
 absd...@aceraspireonezg5:~$ iwconfig -a
 -aNo such device

Try 'iwconfig' instead.

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: Hundreds of sshd processes spawned by Postgresql

2010-06-27 Thread Camaleón
On Sat, 26 Jun 2010 22:57:12 -0700, Marc Shapiro wrote:

 Has anyone come up with a viable theory as to why outbound connections
 would be initiated by sshd (or something calling itself sshd) as opposed
 to ssh?

(...)

sshd is daemon server name for SSH service. As long as someone 
establish a ssh connection to your ssh server, it gets listed that way.

Review your logs to get further info.

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



Re: Hundreds of sshd processes spawned by Postgresql

2010-06-27 Thread Hanspeter Spalinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 27.06.10 11:12, schrieb Stan Hoeppner:
 Marc Shapiro put forth on 6/27/2010 12:57 AM:
 From: Stan Hoeppner s...@hardwarefreak.com

 If you were unable to find any inbound connections whilst these ~300
 outbound connections were present, 

 Has anyone come up with a viable theory as to why outbound connections would 
 be initiated by sshd (or something calling itself sshd) as opposed to ssh?
 
 To be frank, you're focusing on the least significant aspect of this break in
 here.  This is pretty much irrelevant given the scope of the problem, a minor
 detail, a blip on the radar so to speak.
I agree paritaly,

However, knowing HOW they broke in, would allow to take specific
countermeasures. If it was a software bug in a required Application, one
has to get in touch with devs to fix it to be able to continue use it.
If it was a misconfiguration issue, the OP learns something and can
avoid it next time.
I think the fact a sshd called application (real sshd or not) was used
could allow to identify the trojan/rootkit (asking on postgresql list or
on a trojan/rootkit security list maybe helps?)
 
 and given that restarting the box caused
 the ~300 ssh processes to instantly start up again and connect to Taiwan
 and God knows where else, it's pretty clear that code of one kind or
 another, either a script or a binary, has been uploaded to your system by
 the cracker. 

 Actually, the connections were restarted after I KILLED them.  AFTER that I 
 shut the system and the router down.  When I restarted the system (with the 
 router still down) the connections did NOT return.  Nor did they return when 
 the system was restarted after the router was rebooted.  It looks like 
 someone gained entrance to the system and started up a script, or binary, or 
 simply a command, that made these connections (distributed DOS attack, 
 possibly), but made no effort, or was unsuccessful at insuring that it would 
 survive a reboot.  I DO need to harden the system, possibly after a clean 
 install of Squeeze, since that was probably in my near future, anyway.  I 
 also have no need for Apache to be running, so, default or not, it is being 
 removed from /etc/init.d.  I will also insure that the firewall does not 
 have any ports open that I don't need, which should mean just about 
 everything closed down tight.
 
 This is where you should focus your effort, and it sounds like you have a good
 game plan for moving forward.  After you get all this worked out, _then_ worry
 about the sshd vs ssh issue above, if you even care to take the time at that
 point.  You probably won't.
 
The main question actualy is about important Data on that Host he wants
go use again. If there is no such Data, trashing everything and start
clean is a good way to go. Not really needed to know how they did it as
he most likely will use new software, new host settings, etc.

IF he has important non-recreatable Data on the host, he must find out
if that data has been compromised. This can be done by manualy check all
the data or find out how they broke in.

Even a Backup doesnt realy help here, as the OP would need to be able to
tell WHEN the compromise happened. Wihtout that he may replay already
compromised dataand the fresh installed host would again be
compromised...
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAkwnHUYACgkQpjmLjrU66/4OOgD/cmXpZGjaQv/2YLLcvLAmfO3I
Vz8KcmswIbV73rxexPsBAKJIDbM33uByh6iPM7QO5/k1F4ukTCI3yTmC5arK85x1
=UymY
-END PGP SIGNATURE-


-- 
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/4c271d46.5050...@spahan.ch



Re: Understanding my recurrent network connectivity problems

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 07:32:48AM +0200, Erwan David wrote:
 Le Sun 27/06/2010, lee disait
  On Sat, Jun 26, 2010 at 08:14:07PM +0200, Erwan David wrote:
   Le Sat 26/06/2010, lee disait
On Sat, Jun 26, 2010 at 07:24:55PM +0200, Erwan David wrote:
 
 receiving directly needs a MX record, which needs a static IP because 
 of DNS caches

If you use dyndns, they set the ttl to one minute.
   
   Some resolvers have a minimum caching bigger than that.
  
  Is it a correct configuration to ignore the TTL of IPs?
  
 
 No more no less than dropping an email because it comes from an unwanted IP 
 address...

... which is a very severe misconfiguration.

-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627095025.ga3...@yun.yagibdah.de



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Mizanur Khondoker
 On Sat, 26 Jun 2010 16:23:17 -0400 (EDT), Mizanur Khondoker wrote:

 I am having the following error while upgrading lenny. Any help would
 be greatly appreciated.

 debian:/home/mizanur# aptitude safe-upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 The following partially installed packages will be configured:
   linux-image-2.6.26-2-686
 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B of archives. After unpacking 0B will be used.
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
 dpkg: error processing linux-image-2.6.26-2-686 (--configure):
  subprocess post-installation script returned error exit status 17
 Errors were encountered while processing:
  linux-image-2.6.26-2-686
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 A package failed to install.  Trying to recover:
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
 dpkg: error processing linux-image-2.6.26-2-686 (--configure):
  subprocess post-installation script returned error exit status 17
 Errors were encountered while processing:
  linux-image-2.6.26-2-686

 Mizanur,

 Please provide the following information:

 (1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
  lilo?  extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

   /etc/kernel/preinst.d
   /etc/kernel/prerm.d
   /etc/kernel/postinst.d
   /etc/kernel/postrm.d

 (4) What is the output of the following commands?

   ls -Al /boot/
   ls -Al /

 --
  .''`.     Stephen Powell
  : :'  :
  `. `'`
   `-
Dear Stephen,

Thanks for trying to help. Please find below the information you requested.

(1)
debian:/home/mizanur# grub-install -v
grub-install (GNU GRUB 0.97)

(2)
debian:/home/mizanur# cat /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook   = update-grub

(3)

None of these directories seem to exist. In fact there is no kernel
directory under /etc/.

debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
ls: cannot access /etc/kernel/preinst.d: No such file or directory

debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
ls: cannot access /etc/kernel/prerm.d: No such file or directory

debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
ls: cannot access /etc/kernel/postinst.d: No such file or directory

debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
ls: cannot access /etc/kernel/postrm.d: No such file or directory

(4)

debian:/home/mizanur#  ls -Al /boot/
total 16594
-rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
drwxr-xr-x 2 root root1024 2010-06-26 21:08 grub
-rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
-rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.bak
-rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
-rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686


debian:/home/mizanur# ls -Al /
total 75
drwxr-xr-x   2 rootroot 5120 2010-06-26 20:20 bin
drwxr-xr-x   3 rootroot 1024 2010-06-26 21:16 boot
lrwxrwxrwx   1 rootroot   11 2007-11-14 20:27 cdrom - media/cdrom
drwxr-xr-x  16 rootroot 3980 2010-06-27 10:04 dev
drwxr-xr-x 152 rootroot 9216 2010-06-27 10:06 etc
drwxr-xr-x   5 rootroot 4096 2010-06-26 08:32 home
drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 initrd
lrwxrwxrwx   1 rootroot   28 2009-05-10 12:05 initrd.img -
boot/initrd.img-2.6.26-1-486
lrwxrwxrwx   1 rootroot   28 2009-04-13 10:45 initrd.img.old
- boot/initrd.img-2.6.26-2-686
drwxr-xr-x  16 rootroot 9216 2010-06-23 22:04 lib
drwx--   2 rootroot12288 2007-11-14 20:27 lost+found
drwxr-xr-x   4 rootroot 1024 2010-06-27 10:05 media
drwxr-xr-x   5 rootroot 1024 2009-08-01 23:42 mnt
drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 opt
dr-xr-xr-x 163 rootroot0 2010-06-27 11:03 proc
-rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
-rw---   1 rootroot 1024 2007-11-14 20:55 .rnd
drwxr-xr-x  32 rootroot 1024 2010-06-24 21:43 root
drwxr-xr-x   2 rootroot 6144 2010-06-26 20:20 sbin
drwxr-xr-x   2 rootroot 1024 2007-03-07 22:56 selinux
drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 srv
drwxr-xr-x  11 rootroot0 2010-06-27 11:03 sys
drwxrwxrwt  12 rootroot 8192 2010-06-27 10:18 tmp
drwxr-xr-x  14 

suspend to disk unreliable?

2010-06-27 Thread lee
Hi,

after suspending to disk during the night and resuming, my computer
froze with a black screen after running maybe three minutes.

Is suspend to disk that unreliable?


When suspending to disk, the default size of the image written is
512MB. What happens when there's more data that needs to be saved?

-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627095809.gb3...@yun.yagibdah.de



Re: suspend to disk unreliable?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 11:58:09 +0200, lee wrote:

 after suspending to disk during the night and resuming, my computer
 froze with a black screen after running maybe three minutes.
 
 Is suspend to disk that unreliable?

No, but there can be problems with some of your devices or drivers that 
prevent restoring from hibernation gracefully. You'll have to 
investigate a bit. Review your log.
 
 When suspending to disk, the default size of the image written is 512MB.
 What happens when there's more data that needs to be saved?

For one who wants to use hibernation, it will take the same space as your 
amount of ram. So if you have 2 GiB. of ram, you'll need at least 2 GiB. 
of free space for hibernanting the machine.

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



Re: suspend to disk unreliable?

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 10:13:23AM +, Camaleón wrote:
 On Sun, 27 Jun 2010 11:58:09 +0200, lee wrote:
 
  after suspending to disk during the night and resuming, my computer
  froze with a black screen after running maybe three minutes.
  
  Is suspend to disk that unreliable?
 
 No, but there can be problems with some of your devices or drivers that 
 prevent restoring from hibernation gracefully. You'll have to 
 investigate a bit. Review your log.

But which log? I had to press the reset button, there aren't any
relevant entries in the syslog.

  When suspending to disk, the default size of the image written is 512MB.
  What happens when there's more data that needs to be saved?
 
 For one who wants to use hibernation, it will take the same space as your 
 amount of ram. So if you have 2 GiB. of ram, you'll need at least 2 GiB. 
 of free space for hibernanting the machine.

Hm, then why isn't that adjusted automatically?


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627102836.gc3...@yun.yagibdah.de



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Stephen Powell
On Sun, 27 Jun 2010 05:38:50 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 Please provide the following information:

 (1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
  lilo?  extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

   /etc/kernel/preinst.d
   /etc/kernel/prerm.d
   /etc/kernel/postinst.d
   /etc/kernel/postrm.d

 (4) What is the output of the following commands?

   ls -Al /boot/
   ls -Al /


 Dear Stephen,
 
 Thanks for trying to help. Please find below the information you requested.
 
 (1)
 debian:/home/mizanur# grub-install -v
 grub-install (GNU GRUB 0.97)
 
 (2)
 debian:/home/mizanur# cat /etc/kernel-img.conf
 # Kernel image management overrides
 # See kernel-img.conf(5) for details
 do_symlinks = yes
 relative_links = yes
 do_bootloader = no
 do_bootfloppy = no
 do_initrd = yes
 link_in_boot = no
 postinst_hook = update-grub
 postrm_hook   = update-grub
 
 (3)
 
 None of these directories seem to exist. In fact there is no kernel
 directory under /etc/.
 
 debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
 ls: cannot access /etc/kernel/preinst.d: No such file or directory
 
 debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
 ls: cannot access /etc/kernel/prerm.d: No such file or directory
 
 debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
 ls: cannot access /etc/kernel/postinst.d: No such file or directory
 
 debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
 ls: cannot access /etc/kernel/postrm.d: No such file or directory
 
 (4)
 
 debian:/home/mizanur#  ls -Al /boot/
 total 16594
 -rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
 drwxr-xr-x 2 root root1024 2010-06-26 21:08 grub
 -rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
 -rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.bak
 -rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
 -rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686
 
 debian:/home/mizanur# ls -Al /
 total 75
 drwxr-xr-x   2 rootroot 5120 2010-06-26 20:20 bin
 drwxr-xr-x   3 rootroot 1024 2010-06-26 21:16 boot
 lrwxrwxrwx   1 rootroot   11 2007-11-14 20:27 cdrom - media/cdrom
 drwxr-xr-x  16 rootroot 3980 2010-06-27 10:04 dev
 drwxr-xr-x 152 rootroot 9216 2010-06-27 10:06 etc
 drwxr-xr-x   5 rootroot 4096 2010-06-26 08:32 home
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 initrd
 lrwxrwxrwx   1 rootroot   28 2009-05-10 12:05 initrd.img - 
 boot/initrd.img-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   28 2009-04-13 10:45 initrd.img.old - 
 boot/initrd.img-2.6.26-2-686
 drwxr-xr-x  16 rootroot 9216 2010-06-23 22:04 lib
 drwx--   2 rootroot12288 2007-11-14 20:27 lost+found
 drwxr-xr-x   4 rootroot 1024 2010-06-27 10:05 media
 drwxr-xr-x   5 rootroot 1024 2009-08-01 23:42 mnt
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 opt
 dr-xr-xr-x 163 rootroot0 2010-06-27 11:03 proc
 -rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
 -rw---   1 rootroot 1024 2007-11-14 20:55 .rnd
 drwxr-xr-x  32 rootroot 1024 2010-06-24 21:43 root
 drwxr-xr-x   2 rootroot 6144 2010-06-26 20:20 sbin
 drwxr-xr-x   2 rootroot 1024 2007-03-07 22:56 selinux
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 srv
 drwxr-xr-x  11 rootroot0 2010-06-27 11:03 sys
 drwxrwxrwt  12 rootroot 8192 2010-06-27 10:18 tmp
 drwxr-xr-x  14 rootroot 4096 2008-03-31 12:52 usr
 drwxr-xr-x  16 rootroot 4096 2007-11-14 20:57 var
 lrwxrwxrwx   1 rootroot   25 2009-05-10 12:05 vmlinuz - 
 boot/vmlinuz-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   25 2009-04-13 10:45 vmlinuz.old - 
 boot/vmlinuz-2.6.26-2-686

OK, I see what's wrong.  You've got your symlinks messed up.
I'm not sure how things got into that state, but they're all
messed up.  You could fix your symlinks, but since grub doesn't
need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

Then edit the file /etc/kernel-img.conf and change

   do_symlinks = yes

to

  do_symlinks = no

File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

That should put you back in business.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
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/247712580.316973.1277635542895.javamail.r...@md01.wow.synacor.com



Re: suspend to disk unreliable?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 12:28:36 +0200, lee wrote:

 On Sun, Jun 27, 2010 at 10:13:23AM +, Camaleón wrote:

 No, but there can be problems with some of your devices or drivers that
 prevent restoring from hibernation gracefully. You'll have to
 investigate a bit. Review your log.
 
 But which log? I had to press the reset button, there aren't any
 relevant entries in the syslog.

Usually, /var/log/suspend.log but can vary, depending on the suspend 
system you are using (GNOME default, swsusp, uswsusp, tuxonice...).
 
  When suspending to disk, the default size of the image written is
  512MB. What happens when there's more data that needs to be saved?
 
 For one who wants to use hibernation, it will take the same space as
 your amount of ram. So if you have 2 GiB. of ram, you'll need at least
 2 GiB. of free space for hibernanting the machine.
 
 Hm, then why isn't that adjusted automatically?

Maybe :-)

I selected an expert installation and custom partitionaing so I got no 
advice, which is normal. But default installer and automatic partitioning 
should indeed ask the user and if he/she wants to hibertante the machine 
and adjust the amount of required swap space accordingly. At least it 
should be nice to have such option, but dunno if it's already present or 
not :-?

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



Re: suspend to disk unreliable?

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 10:53:41AM +, Camaleón wrote:
 On Sun, 27 Jun 2010 12:28:36 +0200, lee wrote:
 
  On Sun, Jun 27, 2010 at 10:13:23AM +, Camaleón wrote:
 
  No, but there can be problems with some of your devices or drivers that
  prevent restoring from hibernation gracefully. You'll have to
  investigate a bit. Review your log.
  
  But which log? I had to press the reset button, there aren't any
  relevant entries in the syslog.
 
 Usually, /var/log/suspend.log but can vary, depending on the suspend 
 system you are using (GNOME default, swsusp, uswsusp, tuxonice...).

Well, I was using:


# echo  8589934592  /sys/power/image_size
# echo platform  /sys/power/disk; echo disk  /sys/power/state


There isn't any suspend.log.
 
   When suspending to disk, the default size of the image written is
   512MB. What happens when there's more data that needs to be saved?
  
  For one who wants to use hibernation, it will take the same space as
  your amount of ram. So if you have 2 GiB. of ram, you'll need at least
  2 GiB. of free space for hibernanting the machine.
  
  Hm, then why isn't that adjusted automatically?
 
 Maybe :-)
 
 I selected an expert installation and custom partitionaing so I got no 
 advice, which is normal. But default installer and automatic partitioning 
 should indeed ask the user and if he/she wants to hibertante the machine 
 and adjust the amount of required swap space accordingly. At least it 
 should be nice to have such option, but dunno if it's already present or 
 not :-?

Oh, I mean the setting in /sys/power/image_size. The kernel knows how
much RAM is available and how much is needed to suspend to disk, so I
wonder what the point of having a default of 512MB is and if that is
adjusted automatically as needed. Or: What happens when the image_size
is too small?


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/2010062706.gd3...@yun.yagibdah.de



Re: Which version for CPU Intel Double Cores 64bits ?

2010-06-27 Thread Volkan YAZICI
Hi,

On Sat, 26 Jun 2010, Bruno Costacurta tec...@costacurta.org writes:
 I just ordered a laptop with following CPU and vendor specifications

 - CPU: Intel Double Cores 64bits (ULV SU4100)
 - 2Mo cache
 - UltraLowVoltage 10W 1.3Ghz

On Sat, 26 Jun 2010, Amrit Panesar apane...@4195tech.com writes:
 The AMD64 dist. would probably be the best for you
 You can find the latest amd64 ISOs on the Debian Site.
 http://www.debian.com/CD/http-ftp/

Shouldn't he be using ia64 port instead? In here[1], for ia64, it writes
that

  First officially released with Debian 3.0. This is a port to Intel's
  first 64-bit architecture. Note: this should not be confused with the
  latest Intel 64-bit extensions for Pentium 4 and Celeron processors,
  called EM64T; for these, see the AMD64 port.

and AFAIK, ULV SU4100[2] is not of type EM64T.


Regards.

[1] http://www.debian.org/ports/
[2] http://ark.intel.com/Product.aspx?id=43568


-- 
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/87eifshghi@alamut.alborz.net



Re: suspend to disk unreliable?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 13:11:06 +0200, lee wrote:

 On Sun, Jun 27, 2010 at 10:53:41AM +, Camaleón wrote:

 Usually, /var/log/suspend.log but can vary, depending on the suspend
 system you are using (GNOME default, swsusp, uswsusp, tuxonice...).
 
 Well, I was using:
 
 
 # echo  8589934592  /sys/power/image_size # echo platform 
 /sys/power/disk; echo disk  /sys/power/state
 
 
 There isn't any suspend.log.

You better read further info about suspend in Debian and what are your 
options ;-)

http://wiki.debian.org/Suspend

 I selected an expert installation and custom partitionaing so I got no
 advice, which is normal. But default installer and automatic
 partitioning should indeed ask the user and if he/she wants to
 hibertante the machine and adjust the amount of required swap space
 accordingly. At least it should be nice to have such option, but dunno
 if it's already present or not :-?
 
 Oh, I mean the setting in /sys/power/image_size. The kernel knows how
 much RAM is available and how much is needed to suspend to disk, so I
 wonder what the point of having a default of 512MB is and if that is
 adjusted automatically as needed. Or: What happens when the image_size
 is too small?

Suspend to disk (hibernation) uses swap space to put the image data there 
when you trigger the hibernation scripts, so you need to have this value 
adjusted in order to success.

What happens when the swap space is too small to fit the image? Dunno, 
but I guess it will just fail and give the user the usual warning (on 
screen, on logs...).

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



Re: Which version for CPU Intel Double Cores 64bits ?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 14:17:29 +0300, Volkan YAZICI wrote:

 Shouldn't he be using ia64 port instead? 

No, ia64 (Itanium) it's a pure 64 bits Intel architecture.

 In here[1], for ia64, it writes
 that
 
   First officially released with Debian 3.0. This is a port to Intel's
   first 64-bit architecture. Note: this should not be confused with the
   latest Intel 64-bit extensions for Pentium 4 and Celeron processors,
   called EM64T; for these, see the AMD64 port.

So he can use EMT64 (amd64 port).

 and AFAIK, ULV SU4100[2] is not of type EM64T.

Yes it is! :-)

From the same page [2] you are sending, it says:

***
Instruction Set: 64-bit
Intel® 64: Yes
***

 Regards.
 
 [1] http://www.debian.org/ports/
 [2] http://ark.intel.com/Product.aspx?id=43568

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



Re: suspend to disk unreliable?

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 11:21:05AM +, Camaleón wrote:
 
 You better read further info about suspend in Debian and what are your 
 options ;-)
 
 http://wiki.debian.org/Suspend

Thanks, I'm checking it out right now :) Seems that you can't just
suspend as described in the kernel documentation but need a number of
scripts to do stuff first ...

However, the documentation refers to using Gnome --- which I don't use
--- and the preferred method being suspend to RAM. I don't want to
suspend to RAM: What if the power fails? And why should I have to keep
the RAM powered?

Is there a good documentation about suspend to disk for Debian?

 Suspend to disk (hibernation) uses swap space to put the image data there 
 when you trigger the hibernation scripts, so you need to have this value 
 adjusted in order to success.

That's what I mean: The kernel should set the default to the available
RAM, if that much swapspace is actually required. I'd think the kernel
devs would have made it so if it was really needed ...


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627113730.ge3...@yun.yagibdah.de



Re: switching to console and zapping

2010-06-27 Thread Chris Bannister
On Sat, Jun 26, 2010 at 03:36:03PM +0200, lee wrote:
 On Sat, Jun 26, 2010 at 07:54:50AM +, Sascha Silbe wrote:
  No idea why VT switching doesn't work for you. To get Ctrl+Alt+BS working
  again you need to change /etc/default/keyboard:
  
  XKBOPTIONS=terminate:ctrl_alt_bksp
 
 It's not working --- I quit the X session, restarted hal as pointed
 out in /etc/default/keyboard, started a new X session and still
 couldn't terminate it with Ctrl+Alt+Backspace.
 
 Is it possible that fvwm-crystal is messing around with these things?

Very likely. To test, start X from the command line like so:
fischer:~$ X

You will just see a grey background and the mouse cursor. Try
Ctrl+Alt+Backspace here and you *should* quit the X session.

If you do, then it is time to start digging into fvwm-crystal.

-- 
Chris.


-- 
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/20100627115925.gb3...@fischer



Re: suspend to disk unreliable?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 13:37:30 +0200, lee wrote:

 On Sun, Jun 27, 2010 at 11:21:05AM +, Camaleón wrote:
 
 You better read further info about suspend in Debian and what are your
 options ;-)
 
 http://wiki.debian.org/Suspend
 
 Thanks, I'm checking it out right now :) Seems that you can't just
 suspend as described in the kernel documentation but need a number of
 scripts to do stuff first ...

Every hibernation/suspend methods have their own way to make things, so 
the first you should do is knowing what method are you using to hibernate 
the machine.

If you are not using GNOME, what is your DE, if any? and how do you send 
the machine to hibernate?
 
 However, the documentation refers to using Gnome --- which I don't use
 --- and the preferred method being suspend to RAM. I don't want to
 suspend to RAM: What if the power fails? And why should I have to keep
 the RAM powered?

Suspend to ram is a different thing. Computer gets into a power-saving 
state but is not powered off so a power failure will lead the machine 
down.

You need to keep ram powered because all the processes of the computer 
are dumped into ram... and remember ram is volatile: if not powered, no 
info can be stored and kept there :-)
 
 Is there a good documentation about suspend to disk for Debian?

I only found the above page :-?
 
 Suspend to disk (hibernation) uses swap space to put the image data
 there when you trigger the hibernation scripts, so you need to have
 this value adjusted in order to success.
 
 That's what I mean: The kernel should set the default to the available
 RAM, if that much swapspace is actually required. I'd think the kernel
 devs would have made it so if it was really needed ...

It's not a kernel task, but a installer task, I guess. Maybe you could 
file a wishlist bug into BTS so developers can take this point into 
account :-)

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



bunzip?

2010-06-27 Thread lee
Hi,

I've got some files I compressed years back with bzip. Now bunzip2
can't decompress them, and there doesn't seem to be something like
bunzip in Debian.

And idea how to uncompress these files?


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627123038.gf3...@yun.yagibdah.de



Re: bunzip?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 14:30:38 +0200, lee wrote:

 I've got some files I compressed years back with bzip. 

Run file myfile.bz and put here the ouput.

 Now bunzip2 can't
 decompress them, and there doesn't seem to be something like bunzip in
 Debian.

What error are you getting? How are you unzipping it?

 And idea how to uncompress these files?

The bzip file can be damaged somehow. 

You could try to open with another utility (7-zip, peazip...) or try to 
recover with bzip2recover (work with a copy of the file, *never* with 
the original one).

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



Re: switching to console and zapping

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 11:59:25PM +1200, Chris Bannister wrote:
 On Sat, Jun 26, 2010 at 03:36:03PM +0200, lee wrote:
  On Sat, Jun 26, 2010 at 07:54:50AM +, Sascha Silbe wrote:
   No idea why VT switching doesn't work for you. To get Ctrl+Alt+BS working
   again you need to change /etc/default/keyboard:
   
   XKBOPTIONS=terminate:ctrl_alt_bksp
  
  It's not working --- I quit the X session, restarted hal as pointed
  out in /etc/default/keyboard, started a new X session and still
  couldn't terminate it with Ctrl+Alt+Backspace.
  
  Is it possible that fvwm-crystal is messing around with these things?
 
 Very likely. To test, start X from the command line like so:
 fischer:~$ X
 
 You will just see a grey background and the mouse cursor. Try
 Ctrl+Alt+Backspace here and you *should* quit the X session.
 
 If you do, then it is time to start digging into fvwm-crystal.

Hm, ok, but what do I do when I still can't switch or zap? I'll have
to try with another window manager, like enlightenment ...


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627132157.gg3...@yun.yagibdah.de



Re: suspend to disk unreliable?

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 12:00:51PM +, Camaleón wrote:
 
 Every hibernation/suspend methods have their own way to make things, so 
 the first you should do is knowing what method are you using to hibernate 
 the machine.
 
 If you are not using GNOME, what is your DE, if any? and how do you send 
 the machine to hibernate?

Currently, I'm using fvwm-crystal. The pm-utils package is installed,
and now I installed and configured uswsusp.

Right now I'm asking myself exactly that question: Just how do I
suspend to disk now?

 You need to keep ram powered because all the processes of the computer 
 are dumped into ram... and remember ram is volatile: if not powered, no 
 info can be stored and kept there :-)

Yes, that's one of the reasons I don't want to use that :)

  That's what I mean: The kernel should set the default to the available
  RAM, if that much swapspace is actually required. I'd think the kernel
  devs would have made it so if it was really needed ...
 
 It's not a kernel task, but a installer task, I guess. Maybe you could 
 file a wishlist bug into BTS so developers can take this point into 
 account :-)

When configuring uswsusp, it told me I can specify a minimum image
size which will eventually be exceeded if necessary ...


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627132806.gh3...@yun.yagibdah.de



Re: bunzip?

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 01:15:06PM +, Camaleón wrote:
 On Sun, 27 Jun 2010 14:30:38 +0200, lee wrote:
 
  I've got some files I compressed years back with bzip. 
 
 Run file myfile.bz and put here the ouput.


-rw-r--r--   1 lee lee627 Dec 23  1997 rules4writers.txt.bz


l...@yun:~/Infos$ file rules4writers.txt.bz 
rules4writers.txt.bz: data
l...@yun:~/Infos$ 


  Now bunzip2 can't
  decompress them, and there doesn't seem to be something like bunzip in
  Debian.
 
 What error are you getting? How are you unzipping it?


l...@yun:~/Infos$ bunzip2 rules4writers.txt.bz 
bunzip2: rules4writers.txt.bz is not a bzip2 file.
l...@yun:~/Infos$ 


  And idea how to uncompress these files?
 
 The bzip file can be damaged somehow. 
 
 You could try to open with another utility (7-zip, peazip...) or try to 
 recover with bzip2recover (work with a copy of the file, *never* with 
 the original one).

It was compressed with bzip. Back then, bzip2 didn't exist yet, but
there was bzip. And afair, bzip2 used to be backwards compatible ...


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627133355.gi3...@yun.yagibdah.de



Re: suspend to disk unreliable?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 15:28:06 +0200, lee wrote:

 On Sun, Jun 27, 2010 at 12:00:51PM +, Camaleón wrote:

 If you are not using GNOME, what is your DE, if any? and how do you
 send the machine to hibernate?
 
 Currently, I'm using fvwm-crystal. The pm-utils package is installed,
 and now I installed and configured uswsusp.

And how do you suspend to disk? By pressing a button, running a 
script...? You said in your first writing that (sic) after suspending to 
disk during the night and resuming... you were having problems to 
restore, so how did you triggered suspension? :-?
 
 Right now I'm asking myself exactly that question: Just how do I suspend
 to disk now?

By reading de docs? :-)

/usr/share/doc/uswsusp/README.Debian
/usr/share/doc/pm-utils/README

 It's not a kernel task, but a installer task, I guess. Maybe you could
 file a wishlist bug into BTS so developers can take this point into
 account :-)
 
 When configuring uswsusp, it told me I can specify a minimum image size
 which will eventually be exceeded if necessary ...

That should be a feature of the uswsusp package, but AFAIK, that 
package is not installed by default (at least I don't have it in my 
system).

Anyway, I agree that the automatic installer should ask the user about 
hibernation/suspend tasks and if the user wants to enable such option, it 
should adjust the swap space to fit the power savings needs.

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



Re: bunzip?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 15:33:55 +0200, lee wrote:

 On Sun, Jun 27, 2010 at 01:15:06PM +, Camaleón wrote:

 Run file myfile.bz and put here the ouput.
 
 
 -rw-r--r--   1 lee lee627 Dec 23  1997 rules4writers.txt.bz

1997? That looks quite old. Maybe you will need to use the old bzip 
decompressor :-?
 
 l...@yun:~/Infos$ file rules4writers.txt.bz rules4writers.txt.bz: data
 l...@yun:~/Infos$

 What error are you getting? How are you unzipping it?
 
 
 l...@yun:~/Infos$ bunzip2 rules4writers.txt.bz bunzip2:
 rules4writers.txt.bz is not a bzip2 file. l...@yun:~/Infos$

Ouch :-(
 
 You could try to open with another utility (7-zip, peazip...) or try to
 recover with bzip2recover (work with a copy of the file, *never* with
 the original one).
 
 It was compressed with bzip. Back then, bzip2 didn't exist yet, but
 there was bzip. And afair, bzip2 used to be backwards compatible ...

Mmmm, maybe not that compatible. Look:

***
http://web.archive.org/web/19980704181204/http://www.muraroa.demon.co.uk/

*How can I decompress old .bz files (created by bzip-0.21)?*
Here's a the source code for a decompress-only version of bzip-0.21. Or 
you can download a binary for Linux-ELF. 
***

Anyway, try with another tools (i.e., peazip).

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



Re: GDM won't unlock screen

2010-06-27 Thread Rob Owens
On Sat, Jun 26, 2010 at 09:06:42PM -0500, cothrige wrote:
 
 I recently installed Debian Testing on my laptop, an HP dv6-1355dx,
 which had been running Ubuntu.  Once I got past the missing wireless
 tools and drivers things have been pretty smooth.  However, there is an
 oddity in GDM regarding screen locking which I cannot seem to figure
 out.
 
 With the default settings, using gnome-power-manager, whenever I close
 the lid the computer suspends and the screen locks.  However, when I
 open the screen it does not give me a password box or any such thing,
 but rather the screen is just black.  This persists until I manually
 switch to a console and back to F7 or F8, whichever is running X, and
 only then will the expected password box appear.
 
Have you tried hitting a key or wiggling the mouse, instead of switching
to a console and back?

 I have looked through the seemingly related settings but can find
 nothing which seems wrong or unexpected.  I have currently turned off
 the screen-locking selection in the screensaver settings which keeps
 things from locking up, in both ways, and so does not ask for a
 password.  This is okay, though I would rather like to have things
 working in the optimal way.
 
There's always xscreensaver.  You could use that instead.

-Rob


-- 
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/20100627143551.ga30...@aurora.owens.net



Re: sudo a user without password

2010-06-27 Thread Rob Owens
On Sun, Jun 27, 2010 at 08:54:53AM +0200, Jozsi Avadkan wrote:
 Hi
 
 On a Desktop machine, running Debian Lenny [GNOME], i just want to put
 a .desktop icon on the desktop, so that i can easy launch apps with
 other users [e.g. not so trusted programs..maybe this way i could get a
 little more secure.. :) ].
 
 #
 $ cat Dude.desktop
 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
 Name=Dude
 Type=Application
 Terminal=false
 Icon=gnome-mines
 Exec=gksu -u dude-user wine /home/dude-user/.wine/drive_c/Program
 Files/Dude/dude.exe
 GenericName=Dude
 #
 
 But every time [in a new session] i want to launch Dude with wine,
 with another user...i have to type in his password.
 
 
 
 -The question-
 How can i set the sudoers file, so that it doesnt prompt for a password?
 
 E.g.: I have a user named someone.
 On the someone users Desktop, I have the Dude.desktop file.
 The Dude user [who has this program installed] is dude-user
 
 I already tried [with visudo]:
 
 someonedude-user=(ALL) ALL
 
 but it don't seems to work [still need password when launching
 Dude.desktop]. Is there any way [I have to log out or something?]?
 
Is this just for wine apps?  Why not just put the wine files in a
publicly accessible place (/mnt/wine_apps, for instance), adjust the
permissions so that the right people can read/write those files, and let
all users run them from there?  

-Rob


-- 
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/20100627144159.gb30...@aurora.owens.net



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Mizanur Khondoker
 On Sun, 27 Jun 2010 05:38:50 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 Please provide the following information:

 (1) Which boot loader are you using? =C2=A0(Grub version 1? =C2=A0Grub v=
 ersion 2?
 =C2=A0lilo? =C2=A0extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

 =C2=A0 /etc/kernel/preinst.d
 =C2=A0 /etc/kernel/prerm.d
 =C2=A0 /etc/kernel/postinst.d
 =C2=A0 /etc/kernel/postrm.d

 (4) What is the output of the following commands?

 =C2=A0 ls -Al /boot/
 =C2=A0 ls -Al /


 Dear Stephen,
=20
 Thanks for trying to help. Please find below the information you requeste=
 d.
=20
 (1)
 debian:/home/mizanur# grub-install -v
 grub-install (GNU GRUB 0.97)
=20
 (2)
 debian:/home/mizanur# cat /etc/kernel-img.conf
 # Kernel image management overrides
 # See kernel-img.conf(5) for details
 do_symlinks =3D yes
 relative_links =3D yes
 do_bootloader =3D no
 do_bootfloppy =3D no
 do_initrd =3D yes
 link_in_boot =3D no
 postinst_hook =3D update-grub
 postrm_hook   =3D update-grub
=20
 (3)
=20
 None of these directories seem to exist. In fact there is no kernel
 directory under /etc/.
=20
 debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
 ls: cannot access /etc/kernel/preinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
 ls: cannot access /etc/kernel/prerm.d: No such file or directory
=20
 debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
 ls: cannot access /etc/kernel/postinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
 ls: cannot access /etc/kernel/postrm.d: No such file or directory
=20
 (4)
=20
 debian:/home/mizanur#  ls -Al /boot/
 total 16594
 -rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
 drwxr-xr-x 2 root root    1024 2010-06-26 21:08 grub
 -rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
 -rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.b=
 ak
 -rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
 -rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686
=20
 debian:/home/mizanur# ls -Al /
 total 75
 drwxr-xr-x   2 root    root     5120 2010-06-26 20:20 bin
 drwxr-xr-x   3 root    root     1024 2010-06-26 21:16 boot
 lrwxrwxrwx   1 root    root       11 2007-11-14 20:27 cdrom - media/cdro=
 m
 drwxr-xr-x  16 root    root     3980 2010-06-27 10:04 dev
 drwxr-xr-x 152 root    root     9216 2010-06-27 10:06 etc
 drwxr-xr-x   5 root    root     4096 2010-06-26 08:32 home
 drwxr-xr-x   2 root    root     1024 2007-11-14 20:29 initrd
 lrwxrwxrwx   1 root    root       28 2009-05-10 12:05 initrd.img - boot/=
 initrd.img-2.6.26-1-486
 lrwxrwxrwx   1 root    root       28 2009-04-13 10:45 initrd.img.old - b=
 oot/initrd.img-2.6.26-2-686
 drwxr-xr-x  16 root    root     9216 2010-06-23 22:04 lib
 drwx--   2 root    root    12288 2007-11-14 20:27 lost+found
 drwxr-xr-x   4 root    root     1024 2010-06-27 10:05 media
 drwxr-xr-x   5 root    root     1024 2009-08-01 23:42 mnt
 drwxr-xr-x   2 root    root     1024 2007-11-14 20:29 opt
 dr-xr-xr-x 163 root    root        0 2010-06-27 11:03 proc
 -rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
 -rw---   1 root    root     1024 2007-11-14 20:55 .rnd
 drwxr-xr-x  32 root    root     1024 2010-06-24 21:43 root
 drwxr-xr-x   2 root    root     6144 2010-06-26 20:20 sbin
 drwxr-xr-x   2 root    root     1024 2007-03-07 22:56 selinux
 drwxr-xr-x   2 root    root     1024 2007-11-14 20:29 srv
 drwxr-xr-x  11 root    root        0 2010-06-27 11:03 sys
 drwxrwxrwt  12 root    root     8192 2010-06-27 10:18 tmp
 drwxr-xr-x  14 root    root     4096 2008-03-31 12:52 usr
 drwxr-xr-x  16 root    root     4096 2007-11-14 20:57 var
 lrwxrwxrwx   1 root    root       25 2009-05-10 12:05 vmlinuz - boot/vml=
 inuz-2.6.26-1-486
 lrwxrwxrwx   1 root    root       25 2009-04-13 10:45 vmlinuz.old - boot=
 /vmlinuz-2.6.26-2-686

 OK, I see what's wrong.  You've got your symlinks messed up.
 I'm not sure how things got into that state, but they're all
 messed up.  You could fix your symlinks, but since grub doesn't
 need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

 Then edit the file /etc/kernel-img.conf and change

   do_symlinks =3D yes

 to

  do_symlinks =3D no

 File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

 That should put you back in business.

 --=20
  .''`.     Stephen Powell   =20
  : :'  :
  `. `'`
   `-

Dear Stephen,

Deleting the symlinks solved the problem.

dpkg-reconfigure  did not work, but  aptitude safe-upgrade
reconfigured the kernel-image.

Thanks very much for your help.
==


debian:/home/mizanur# dpkg-reconfigure linux-image-2.6.26-2-686
/usr/sbin/dpkg-reconfigure: linux-image-2.6.26-2-686 is broken or not
fully installed



Re: bunzip?

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 02:01:06PM +, Camaleón wrote:
 On Sun, 27 Jun 2010 15:33:55 +0200, lee wrote:
 
  On Sun, Jun 27, 2010 at 01:15:06PM +, Camaleón wrote:
 
  Run file myfile.bz and put here the ouput.
  
  
  -rw-r--r--   1 lee lee627 Dec 23  1997 rules4writers.txt.bz
 
 1997? That looks quite old. Maybe you will need to use the old bzip 
 decompressor :-?

Here's what I got: http://fi.aminet.net/util/arc/

There's the source of bzip 0.21 you can download. It even compiles on
amd_64, you only need to comment out line 2706:


Bool notABogStandardFile ( Char* name )
{  
   IntNative  i;
   struct MY_STAT statBuf;

   i = MY_LSTAT ( name, statBuf );
   if (i != 0) return True;
   //   if (MY_S_IFREG(statBuf.st_mode)) return False;
   return True;
}


Then compile with


# gcc -o bzip bzip.c -O3 -wall


and decompress your files with something like:


# cat test.bz |./bzip -d |less


Not ideal because it might not be reliable, but easy enough, and it
works so far :) I'll sure keep that source at hand now.


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627151102.gj3...@yun.yagibdah.de



Re: suspend to disk unreliable?

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 01:43:49PM +, Camaleón wrote:
 On Sun, 27 Jun 2010 15:28:06 +0200, lee wrote:
 
  On Sun, Jun 27, 2010 at 12:00:51PM +, Camaleón wrote:
 
  If you are not using GNOME, what is your DE, if any? and how do you
  send the machine to hibernate?
  
  Currently, I'm using fvwm-crystal. The pm-utils package is installed,
  and now I installed and configured uswsusp.
 
 And how do you suspend to disk? By pressing a button, running a 
 script...? You said in your first writing that (sic) after suspending to 
 disk during the night and resuming... you were having problems to 
 restore, so how did you triggered suspension? :-?

As I said in a previous posting, I used:


# echo  8589934592  /sys/power/image_size  

   
# echo platform  /sys/power/disk; echo disk  /sys/power/state 



Mow I'm wondering what to use instead.

  Right now I'm asking myself exactly that question: Just how do I suspend
  to disk now?
 
 By reading de docs? :-)
 
 /usr/share/doc/uswsusp/README.Debian


The s2ram tool allows you to suspend the system to RAM and restore the state
of the graphics adapter after the resume automatically.  For this purpose it
uses the code out of vbetool and radeontool utilities, needed for handling
quite a lot of graphics cards after the resume from RAM.


Then why doesn't uswsusp depend on either vbetool or radeontool?

 /usr/share/doc/pm-utils/README


How do hooks work?

* You put an executable file in /etc/pm/sleep.d.  When suspend or
  hibernate is called, several things happen:


So this readme doesn't tell you how to suspend to disk ... There's a
package hibernate, but that seems to be yet another tool for the
same purpose.

/etc/pm/ is only a directory containing other directories.

Do I have to take it that there's no Debian way of suspending to disk
(unless you use gnome maybe)? It's a feature that should work out of
the box, like another option for the shutdown command (shutdown -std
now, for example, to suspend to disk) ...

 Anyway, I agree that the automatic installer should ask the user about 
 hibernation/suspend tasks and if the user wants to enable such option, it 
 should adjust the swap space to fit the power savings needs.

It would have to do that not only on installation. What if you install
it and use it and then a year or half a year later you upgrade from,
let's say, 4GB to 8GB of RAM? You'd have to remember that at some
point, you had to set up the suspend to disk stuff according to your
RAM-size and adjust ...

-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627152845.gk3...@yun.yagibdah.de



Re: switching to console and zapping

2010-06-27 Thread John Magolske
* lee l...@yun.yagibdah.de [100626 12:44]:
 What I have is:
 
 Section ServerLayout
 Identifier Layout0
 Screen  0  Screen0 0 0
 InputDeviceKeyboard0 CoreKeyboard
 InputDeviceMouse0 CorePointer
 Option AutoAddDevices Off
 Option AllowEmptyInput Off
 Option XkbRules xorg
 Option XkbModel pc102
 Option XkbLayout   de
 Option DontZap off
 EndSection 
 
 Neither switching to consoles is possible, nor terminating the X
 server with Ctrl+Alt+Backspace.

I have DontZap in the ServerFlags section rather under ServerLayout as
you show. The relevant section of my xorg.conf looks like this:

Section ServerFlags
Option DontZapoff
EndSection

Not sure, but maybe that'll make a difference...

John


-- 
John Magolske
http://B79.net/contact


-- 
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/20100627153523.ga16...@s70206.gridserver.com



Re: switching to console and zapping

2010-06-27 Thread John Magolske
* lee l...@yun.yagibdah.de [100626 12:45]:
 On Sat, Jun 26, 2010 at 07:29:50AM +0530, Anand Sivaram wrote:
  On Sat, Jun 26, 2010 at 05:44, lee l...@yun.yagibdah.de wrote:
 
  Try chvt n where n is the same as n of Fn. similary chvt 7 from a text
  console should bring you back to your x session.
 
 Thanks! It doesn't work, though:
 
 l...@yun:~$ chvt 1
 chvt: VT_ACTIVATE: Operation not permitted

I find the chvt command must be run as root to get it to
switch to another VT, otherwise I get the same message.

John


-- 
John Magolske
http://B79.net/contact


-- 
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/20100627153923.gb16...@s70206.gridserver.com



Re: switching to console and zapping

2010-06-27 Thread lee
On Sun, Jun 27, 2010 at 08:35:23AM -0700, John Magolske wrote:
 * lee l...@yun.yagibdah.de [100626 12:44]:
  
  Neither switching to consoles is possible, nor terminating the X
  server with Ctrl+Alt+Backspace.
 
 I have DontZap in the ServerFlags section rather under ServerLayout as
 you show. The relevant section of my xorg.conf looks like this:
 
 Section ServerFlags
 Option DontZapoff
 EndSection
 
 Not sure, but maybe that'll make a difference...

Thanks, I changed it and will try it out :)


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627155811.gl3...@yun.yagibdah.de



Re: New amd64 system needs flash player

2010-06-27 Thread John W Foster
On Sat, 2010-06-26 at 18:55 +, Camaleón wrote:
 On Sat, 26 Jun 2010 13:32:40 -0500, John W Foster wrote:
 
  On Sat, 2010-06-26 at 10:31 +, Camaleón wrote:
 
  If got that file (libflashplayer.so, pure 64-bits) installed in my
  system (it's about 9.1 MiB and *is vulnerable* to some recently
  discovered flaws which were not corrected for version 10.0.45.2).
 
 (...)
 
  Thanks send it  I,ll look at it. I have what is 'supposed' to be a pure
  64 bit libflahplayer.so that I got from Ubuntu. It will not install. I
  tried just placing the lib in ~/lib64 but that did not work. I welcome
  any possible solutions. 
 
 I'm preparing the file right now. I'll packet it as tar.bz2.
 
 To check the file type you can issue:
 
 s...@stt008:~/Desktop$ file libflashplayer.so
 libflashplayer.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), 
 dynamically linked, stripped
 
 The ELF 64-bit tell you about the architecture nature of the file :-)
 
  If you have it working where did you place the lib so that Iceweasel 
  etc. could find it??
 
 Here I'm running Lenny with stock Iceweasel (3.0.6). In this browser 
 release, the plugins have to be dropped under ~/.mozilla/plugins/
 libflashplayer.so (I had to manually create the plugins folder). 
 
 If you want all your users make use of the plugin, I guess it has to be 
 dropped under /usr/lib64/mozilla/plugins/libflashplayer.so. But 
 remember that if you leave the Adobe crap-Flash plugin in this 
 location, it will take preference over the free one (Gnash).
 
 Just make your own tests. 
 
 And remember: the plugin I am sending you is *vulnerable* to some attacks 
 that also affects linux users. Use with caution :-/
 
 Greetings,
 
 -- 
 Camaleón
-
Thanks! It worked. I put it in /usr/lib/mozilla/plugins  reloaded the
browser. All seems OK. My games work anyway. Now to get the streaming
videos to work. I just love building a new system. Lots of challenges...
BTW what attack vulnerabilities are you referring to. Also The free
'gnash' player does not work at all.



-- 
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/1277654412.4638.2.ca...@beast.johnwfoster.info



Re: New amd64 system needs flash player

2010-06-27 Thread John W Foster
On Sat, 2010-06-26 at 14:46 -0400, Andrew Reid wrote:
 On Saturday 26 June 2010 14:32:40 John W Foster wrote:
 
  Thanks send it  I,ll look at it. I have what is 'supposed' to be a pure
  64 bit libflahplayer.so that I got from Ubuntu. It will not install. I
  tried just placing the lib in ~/lib64 but that did not work. I welcome
  any possible solutions. If you have it working where did you place the
  lib so that Iceweasel etc. could find it??
 
 /usr/lib/iceweasel/plugins.  I think the browser also searches
 /usr/lib/mozilla/plugins.  My experience is with lenny systems.
 
   -- A.
 -- 
 Andrew Reid / rei...@bellatlantic.net

Between you and Cameleon I got the 64bit version installed and working.
He says its subject to attacks so I need to check that out.
Thanks. I'm off to get the streaming video to work now



-- 
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/1277654574.4638.4.ca...@beast.johnwfoster.info



Re: suspend to disk unreliable?

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 17:28:45 +0200, lee wrote:

 On Sun, Jun 27, 2010 at 01:43:49PM +, Camaleón wrote:

 And how do you suspend to disk? By pressing a button, running a
 script...? You said in your first writing that (sic) after suspending
 to disk during the night and resuming... you were having problems to
 restore, so how did you triggered suspension? :-?
 
 As I said in a previous posting, I used:
 
 
 # echo  8589934592  /sys/power/image_size 
 # echo platform  /sys/power/disk; echo disk  /sys/power/state

Where did you get that steps to hibernate? :-?
 
 Mow I'm wondering what to use instead.

man pm-action will tell.

 /usr/share/doc/uswsusp/README.Debian
 
 
 The s2ram tool allows you to suspend the system to RAM and restore the
 state of the graphics adapter after the resume automatically.  For this
 purpose it uses the code out of vbetool and radeontool utilities, needed
 for handling quite a lot of graphics cards after the resume from RAM. 

It seems you are reading the wrong paragrah... you should be interested 
in s2disk, instead :-)

 Then why doesn't uswsusp depend on either vbetool or radeontool?

Dunno. I don't use that tool.

 /usr/share/doc/pm-utils/README
 
 
 How do hooks work?
 
 * You put an executable file in /etc/pm/sleep.d.  When suspend or
   hibernate is called, several things happen:
 
 
 So this readme doesn't tell you how to suspend to disk ... There's a
 package hibernate, but that seems to be yet another tool for the same
 purpose.
 
 /etc/pm/ is only a directory containing other directories.

man pm-action then :-)

You don't need any additional packages to use hibernate, just how to use 
the ones you already have installed. You have to read.
 
 Do I have to take it that there's no Debian way of suspending to disk
 (unless you use gnome maybe)? 

Why? Just take it as you need to read the docs, test and try.

 It's a feature that should work out of the
 box, like another option for the shutdown command (shutdown -std now,
 for example, to suspend to disk) ...

Yes, but power management is managed different on every DE. In fact, 
hibernation and suspension can fail on many systems as not every piece of 
hardware has been previously tested and certified to perform well with 
such actions :-/

 Anyway, I agree that the automatic installer should ask the user about
 hibernation/suspend tasks and if the user wants to enable such option,
 it should adjust the swap space to fit the power savings needs.
 
 It would have to do that not only on installation. What if you install
 it and use it and then a year or half a year later you upgrade from,
 let's say, 4GB to 8GB of RAM? You'd have to remember that at some point,
 you had to set up the suspend to disk stuff according to your RAM-size
 and adjust ...

Not everybody uses all the possibilities an operating system can provide. 
I for one do not use hibernation neither suspension at all, so yes, if 
you are installing an OS you should be in the know of all these options 
and how to configure them properly, provided that you want to make use of 
them :-)

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



Re: New amd64 system needs flash player

2010-06-27 Thread Camaleón
On Sun, 27 Jun 2010 11:00:12 -0500, John W Foster wrote:

 On Sat, 2010-06-26 at 18:55 +, Camaleón wrote:

(...)

 If you want all your users make use of the plugin, I guess it has to be
 dropped under /usr/lib64/mozilla/plugins/libflashplayer.so. But
 remember that if you leave the Adobe crap-Flash plugin in this
 location, it will take preference over the free one (Gnash).
 
 Just make your own tests.
 
 And remember: the plugin I am sending you is *vulnerable* to some
 attacks that also affects linux users. Use with caution :-/

 Thanks! It worked. I put it in /usr/lib/mozilla/plugins  reloaded the 
 browser. All seems OK. My games work anyway. Now to get the streaming
 videos to work. I just love building a new system. Lots of
 challenges... 

Glad you got it working.

 BTW what attack vulnerabilities are you referring to. 

Where did you go last weeks? ;-)

To make it short: it was discovered a big flaw in many Adobe products 
(Adobe Raeder, Flash Player, Adobe Air...) that can lead an attacker to 
gain access into the user's machine.

Besides, the code for this to happen has been on-the-fly (at least for 
windows systems) and is still active. I am unaware of any code being 
actively exploited for Linux systems that makes use of this flaw, though, 
but that is not a proof of that is not going to happen :-/

Adobe corrected the flaw for 32-bits systems (10.1.53.64) and left in the 
dark all users who were using the 64-bits version of the Flash Player 
(10.0.45.2).

***
Security update available for Adobe Flash Player
http://www.adobe.com/support/security/bulletins/apsb10-14.html
***

 Also The free 'gnash' player does not work at all.

Yes, I know. It's a pitty but Gnash does not work for many sites that 
make use of the more advanced programming features of Flash specs :-(

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



Re: suspend to disk unreliable?

2010-06-27 Thread Mark
On Sun, Jun 27, 2010 at 9:05 AM, Camaleón noela...@gmail.com wrote:

[snip]


 I for one do not use hibernation neither suspension at all


[snip]

The only machine I use Suspend on is a laptop running Windows, because (a)
it's a laptop and has a built-in UPS should power go out, and (b) Windows
nvidia drivers resume from suspend darn near 100% of the time for me.
Sadly, my experience with Debian/Lenny has not been so, even with countless
hours of research, tweaking, headache, loss of sleep, pain, tears,...and yes
I realize it's mostly due to the drivers not being open.  Sometimes the
headache and tears are because we realize we have to accept a compromise.

I would never use Suspend on a desktop due to lack of battery/UPS present.
As for Hibernate, it takes as long to do a fresh boot as a resume from
Hibernate on my desktops so really there's not much point there.

Mark


repositories for AMD 64 apps

2010-06-27 Thread John W Foster
TO ALL: anyone that knows of ANY applications, drivers, that are
designed to run in native 64bit AMD architecture especially those with
GPLed source code available...Please send me the site of the apps, if
they are your creations I would like to package them for Debian. I am
not a Debian developer and not qualified to repackage them for Debian
distro. I will however make those available for public consumption if
you wish it, on a non-developer site. Its a real shame that I waited 5
years to build a proper 64bit system then I discover there is VERY
little native 64bit software available.
Thanks 
John


-- 
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/1277655563.6723.7.ca...@beast.johnwfoster.info



Re: repositories for AMD 64 apps

2010-06-27 Thread Michelle Konzack
Hello John W Foster,

Am 2010-06-27 11:19:23, hacktest Du folgendes herunter:
 TO ALL: anyone that knows of ANY applications, drivers, that are
 designed to run in native 64bit AMD architecture especially those with
 GPLed source code available...Please send me the site of the apps, if
 they are your creations I would like to package them for Debian. I am
 not a Debian developer and not qualified to repackage them for Debian
 distro. I will however make those available for public consumption if
 you wish it, on a non-developer site. Its a real shame that I waited 5
 years to build a proper 64bit system then I discover there is VERY
 little native 64bit software available.
 Thanks 
 John

And how many software do you think, require to be build for native 64bit
because most programs would only fill up the harddrive if  compiled  for
64bit.

The only program which require 64bit build are programs  with  excexssiv
calculations like povray, blender, gimp or geda and  maybe  some
multimedia programs for recoding.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Re: e2fsck: HOWTO tutorial

2010-06-27 Thread Andrei Popescu
On Jo, 24 iun 10, 13:16:29, Paul E Condon wrote:
 
 I was OP on a related thread a couple of months ago. I would say that
 I abandoned trying to understand issues of checking for errors on USB
 drives as a user. I did gain the impression that what I thought were
 hardware errors were instead more likely software glitches in the kernel
 or in loadable modules. For me, frequent running of sync seems to reduce
 the error rate quite a bit. (By frequent, I mean once or twice a second.
 I do this with a while loop running in a separate xterm.)

Have you tried mounting with the 'sync' option?

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: [SOLVED] Can't boot 2.6.32-3 after running 2.6.32-5 for a while

2010-06-27 Thread Andrei Popescu
On Jo, 24 iun 10, 06:53:08, Stephen Powell wrote:

[...]

 device; and the boot process hung.  The solution was to use a
 direct specification of the UUID in /etc/lilo.conf instead of an
 indirect one via a udev symbolic link.  For example, instead of
 specifying
 
root=/dev/disk/by-uuid/xxx...
 
 I specified
 
root=UUID=xxx...
 
 in /etc/lilo.conf.  I then re-ran lilo.  When this method of specifying

The same (UUID=-...) will also work in fstab, if you don't want 
to rely on udev ;)

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: repositories for AMD 64 apps

2010-06-27 Thread Jochen Schulz
John W Foster:

 TO ALL: anyone that knows of ANY applications, drivers, that are
 designed to run in native 64bit AMD architecture especially those with
 GPLed source code available...

What exactly are you looking for? The complete Debian archive is
available for pure AMD64. I am running Debian AMD64 on two machines at
home.

 […] Its a real shame that I waited 5 years to build a proper 64bit
 system then I discover there is VERY little native 64bit software
 available.

Again, please be specific about what you are missing. The Linux kernel,
the GNU userland, KDE, Gnome, Firefox/Iceweasel, OpenOffice.org, The
Gimp etc. are all available as native AMD64 binaries.

J.
-- 
Thy lyrics in pop songs seem to describe my life uncannily accurately.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: Req. Advice from Lazy Web on Configuring 1.5TB extern. HD

2010-06-27 Thread Andrei Popescu
On Mi, 23 iun 10, 10:22:29, Arthur Machlas wrote:
 Greetings,
 
 I just purchased a 1.5 WD sata II HD and enclosure connected via USB
 after an unfortunate incident involve rm -rf, something called home
 and a bicycle. It's purpose will be two-fold: As a back-up device for
 two laptops (HD sizes 500GB and 120GB), and as a central storage
 device for movies, videos and music I don't like. One laptop is
 Windows, one is Debian Squeeze.
 
 I'd like a few partitions on it...
 1) ext2 to image / from my debian install. 50GB so I could have two or
 three snapshots

Why ext2? I don't see any reason to use something less than ext3 for 
regular operations.

 2) ext4 encrypted for my /home/arthur/documents folder as backup
 3) ntfs? encrypted for girlfriends my documents/documents folder.
 4) 700GB for backups of pictures from both Debian and XP.. filesystem ... 
 ntfs?
 5) 700GB for movies, which would be served (via Debian) to a ps3, not
 backups, primary storage. Ntfs?

You only need ntfs if you expect the drive to be *directly* connected to 
a Windows computer or some other device that doesn't understand extX 
filesystems. If the drive will only be connected to a Debian machine and 
the partitions accessed via samba the Windows computers doesn't access 
the filesystem.

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: Torrents killing my connection

2010-06-27 Thread ABS Doug
On Mon, Jun 21, 2010 at 1:42 PM, Andrew Sackville-West
and...@swclan.homelinux.org wrote:

 I have no real help to your specific problem, but you need to provide
 some solid useful data so others can debug the problem. Based on stuff
 in the other thread about what versions work and don't work, and the
 above, I recommend you do the following:

 1. provide for each of the two Ubuntu's and Debian the output of:

 uname -a

 2. provide for each of the two ubuntu's and debian the output of:

 lsmod

 3. provide for the working ubuntu the output of:

 ifconfig -a
 iwconfig -a

 4. provide for the broken ubuntu and debian *before* it breaks:

 ifconfig -a
 iwconfig -a

 5. provide for the broken ubuntu and debian *after* it breaks, but
 before you do whatever you might do to fix it:

 ifconfig -a
 iwconfig -a

 6. from any one of the version, provide the output of:

 lspci

 7. in the debian version, open a terminal and run, as root, `tail -f
 /var/log/syslog`, then start a torrent that you know will fail. Watch
 the log output in the terminal and when the torrent fails note if
 there is any output. If there is any output that looks remotely
 relevant, then paste that in as well.

 The idea here is to give concrete information about known working
 states and known broken states so people can see the difference and
 maybe diagnose the problem.

 The output may be pretty long, so if you are uncomfortable submitting
 it in an email, then put it up on the web somewhere. A pastebin would
 be appropriate.

 hope this helps.absd...@aceraspireonezg5:~$ uname -a

Here is UNR 9.10. Keep in mind this is the Linux version that has no
problem with torrents.

Linux AcerAspireOneZG5 2.6.31-22-generic #60-Ubuntu SMP Thu May 27
00:22:23 UTC 2010 i686 GNU/Linux
absd...@aceraspireonezg5:~$ lsmod
Module  Size  Used by
aes_i5868124  1
aes_generic27484  1 aes_i586
binfmt_misc 8356  1
ppdev   6688  0
snd_hda_codec_realtek   203328  1
snd_hda_intel  27016  4
snd_hda_codec  75708  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep   7200  1 snd_hda_codec
snd_pcm_oss37920  0
snd_mixer_oss  16028  1 snd_pcm_oss
snd_pcm75296  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
iptable_filter  3100  0
arc41660  2
ip_tables  11692  1 iptable_filter
ecb 2524  2
snd_seq_dummy   2656  0
x_tables   16544  1 ip_tables
snd_seq_oss28576  0
snd_seq_midi6464  0
snd_rawmidi22176  1 snd_seq_midi
snd_seq_midi_event  6940  2 snd_seq_oss,snd_seq_midi
snd_seq50224  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer  22276  2 snd_pcm,snd_seq
snd_seq_device  6920  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
joydev 10240  0
snd59204  19
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore   7264  1 snd
uvcvideo   59080  0
videodev   36736  1 uvcvideo
v4l1_compat14336  2 uvcvideo,videodev
acerhdf 8244  0
snd_page_alloc  9156  2 snd_hda_intel,snd_pcm
psmouse57332  0
ath5k 124772  0
mac80211  181140  1 ath5k
ath 8060  1 ath5k
led_class   4096  1 ath5k
cfg80211   93052  3 ath5k,mac80211,ath
serio_raw   5280  0
lp  8964  0
parport35340  2 ppdev,lp
fbcon  36640  72
tileblit2460  1 fbcon
font8124  1 fbcon
bitblit 5372  1 fbcon
softcursor  1756  1 bitblit
r8169  32160  0
mii 5212  1 r8169
usbhid 38208  0
i915  226120  3
drm   160032  3 i915
i2c_algo_bit5760  1 i915
intel_agp  27676  2 i915
agpgart34988  2 drm,intel_agp
video  19380  1 i915
output  2780  1 video
absd...@aceraspireonezg5:~$ ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:23:8b:51:68:48
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
  Interrupt:28 Base address:0xc000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:10 errors:0 dropped:0 overruns:0 frame:0
  TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 

Re: GDM won't unlock screen

2010-06-27 Thread cothrige
Rob Owens row...@ptd.net writes:

 Have you tried hitting a key or wiggling the mouse, instead of switching
 to a console and back?


Yes, without effect.  So far the only action which seems to make a
difference is to switch to a console and back.  

 There's always xscreensaver.  You could use that instead.


I have considered doing that, and maybe will.  I suppose the thing that
bugs me is just that the default setup is not working, and I would like
to figure out why.


-- 
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/87wrtkl7el@gmail.com



Re: repositories for AMD 64 apps

2010-06-27 Thread Török Edwin
On Sun, 27 Jun 2010 11:19:23 -0500
John W Foster jfoster81...@verizon.net wrote:

 TO ALL: anyone that knows of ANY applications, drivers, that are
 designed to run in native 64bit AMD architecture especially those with
 GPLed source code available...Please send me the site of the apps, if
 they are your creations I would like to package them for Debian. I am
 not a Debian developer and not qualified to repackage them for Debian
 distro. I will however make those available for public consumption if
 you wish it, on a non-developer site. Its a real shame that I waited 5
 years to build a proper 64bit system then I discover there is VERY
 little native 64bit software available.

Hi,

I am using Debian on amd64 architecture since a long time (even before
Debian etch), and there are *plenty* of apps available.
(Just look at your apt-cache stats output).

The only apps that needed the 32-bit libs/chroot around were wine and
the non-free flash plugin. Initially I think openoffice had to be run
in a chroot too, but that was quickly solved.

What software are you using that does not have a 64-bit package?

Best regards,
--Edwin


-- 
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/20100627200811.7017b...@debian



Re: xorg.conf -- nvidia to ati

2010-06-27 Thread Andrei Popescu
On Jo, 24 iun 10, 19:58:45, Greg Madden wrote:
 On Thursday 24 June 2010 18:38:19 Alan Ianson wrote:
 
  Any ideas on what I need to change?
 
 You need the Radeon driver, not ATI.  There might be some related glx 
 package. 
 I use mesa-utils  to test , glxgears.

Also check 'dmesg' for any missing firmware messages.

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


signature.asc
Description: Digital signature


[SOLVED] dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Stephen Powell
On Sun, 27 Jun 2010 10:51:49 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 OK, I see what's wrong.  You've got your symlinks messed up.
 I'm not sure how things got into that state, but they're all
 messed up.  You could fix your symlinks, but since grub doesn't
 need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

 Then edit the file /etc/kernel-img.conf and change

   do_symlinks = yes

 to

  do_symlinks = no

 File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

 That should put you back in business.

 
 Deleting the symlinks solved the problem.
 
 dpkg-reconfigure  did not work, but  aptitude safe-upgrade
 reconfigured the kernel-image.
 
 Thanks very much for your help.
 
 -
 
 debian:/home/mizanur# aptitude safe-upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 The following partially installed packages will be configured:
   linux-image-2.6.26-2-686
 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B of archives. After unpacking 0B will be used.
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Running postinst hook script update-grub.
 Searching for GRUB installation directory ... found: /boot/grub
 Searching for default file ... found: /boot/grub/default
 Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
 Searching for splash image ... found: (hd0,3)/boot/grub/grub_face1.xpm.gz
 
 Found kernel: /boot/vmlinuz-2.6.26-2-686
 Updating /boot/grub/menu.lst ... done
 
 -

I see why dpkg-reconfigure didn't work.  The package was
classified as partially installed.  The package has to be
installed successfully before it can be re-configured.

Anyway, you're welcome.  I'm glad you got it working.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
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/760923506.322297.1277660592795.javamail.r...@md01.wow.synacor.com



[SOLVED] Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Mizanur Khondoker
 On Sun, 27 Jun 2010 05:38:50 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 Please provide the following information:

 (1) Which boot loader are you using? =C2=A0(Grub version 1? =C2=A0Grub v=
 ersion 2?
 =C2=A0lilo? =C2=A0extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

 =C2=A0 /etc/kernel/preinst.d
 =C2=A0 /etc/kernel/prerm.d
 =C2=A0 /etc/kernel/postinst.d
 =C2=A0 /etc/kernel/postrm.d

 (4) What is the output of the following commands?

 =C2=A0 ls -Al /boot/
 =C2=A0 ls -Al /


 Dear Stephen,
=20
 Thanks for trying to help. Please find below the information you requeste=
 d.
=20
 (1)
 debian:/home/mizanur# grub-install -v
 grub-install (GNU GRUB 0.97)
=20
 (2)
 debian:/home/mizanur# cat /etc/kernel-img.conf
 # Kernel image management overrides
 # See kernel-img.conf(5) for details
 do_symlinks =3D yes
 relative_links =3D yes
 do_bootloader =3D no
 do_bootfloppy =3D no
 do_initrd =3D yes
 link_in_boot =3D no
 postinst_hook =3D update-grub
 postrm_hook   =3D update-grub
=20
 (3)
=20
 None of these directories seem to exist. In fact there is no kernel
 directory under /etc/.
=20
 debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
 ls: cannot access /etc/kernel/preinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
 ls: cannot access /etc/kernel/prerm.d: No such file or directory
=20
 debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
 ls: cannot access /etc/kernel/postinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
 ls: cannot access /etc/kernel/postrm.d: No such file or directory
=20
 (4)
=20
 debian:/home/mizanur#  ls -Al /boot/
 total 16594
 -rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
 drwxr-xr-x 2 root root1024 2010-06-26 21:08 grub
 -rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
 -rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.b=
 ak
 -rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
 -rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686
=20
 debian:/home/mizanur# ls -Al /
 total 75
 drwxr-xr-x   2 rootroot 5120 2010-06-26 20:20 bin
 drwxr-xr-x   3 rootroot 1024 2010-06-26 21:16 boot
 lrwxrwxrwx   1 rootroot   11 2007-11-14 20:27 cdrom - media/cdro=
 m
 drwxr-xr-x  16 rootroot 3980 2010-06-27 10:04 dev
 drwxr-xr-x 152 rootroot 9216 2010-06-27 10:06 etc
 drwxr-xr-x   5 rootroot 4096 2010-06-26 08:32 home
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 initrd
 lrwxrwxrwx   1 rootroot   28 2009-05-10 12:05 initrd.img - boot/=
 initrd.img-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   28 2009-04-13 10:45 initrd.img.old - b=
 oot/initrd.img-2.6.26-2-686
 drwxr-xr-x  16 rootroot 9216 2010-06-23 22:04 lib
 drwx--   2 rootroot12288 2007-11-14 20:27 lost+found
 drwxr-xr-x   4 rootroot 1024 2010-06-27 10:05 media
 drwxr-xr-x   5 rootroot 1024 2009-08-01 23:42 mnt
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 opt
 dr-xr-xr-x 163 rootroot0 2010-06-27 11:03 proc
 -rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
 -rw---   1 rootroot 1024 2007-11-14 20:55 .rnd
 drwxr-xr-x  32 rootroot 1024 2010-06-24 21:43 root
 drwxr-xr-x   2 rootroot 6144 2010-06-26 20:20 sbin
 drwxr-xr-x   2 rootroot 1024 2007-03-07 22:56 selinux
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 srv
 drwxr-xr-x  11 rootroot0 2010-06-27 11:03 sys
 drwxrwxrwt  12 rootroot 8192 2010-06-27 10:18 tmp
 drwxr-xr-x  14 rootroot 4096 2008-03-31 12:52 usr
 drwxr-xr-x  16 rootroot 4096 2007-11-14 20:57 var
 lrwxrwxrwx   1 rootroot   25 2009-05-10 12:05 vmlinuz - boot/vml=
 inuz-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   25 2009-04-13 10:45 vmlinuz.old - boot=
 /vmlinuz-2.6.26-2-686

 OK, I see what's wrong.  You've got your symlinks messed up.
 I'm not sure how things got into that state, but they're all
 messed up.  You could fix your symlinks, but since grub doesn't
 need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

 Then edit the file /etc/kernel-img.conf and change

   do_symlinks =3D yes

 to

  do_symlinks =3D no

 File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

 That should put you back in business.

 --=20
  .''`. Stephen Powell   =20
  : :'  :
  `. `'`
   `-

Dear Stephen,

Deleting the symlinks solved the problem.

dpkg-reconfigure  did not work, but  aptitude safe-upgrade
reconfigured the kernel-image.

Thanks very much for your help.
==


debian:/home/mizanur# dpkg-reconfigure linux-image-2.6.26-2-686
/usr/sbin/dpkg-reconfigure: linux-image-2.6.26-2-686 is broken or not
fully installed



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure):

2010-06-27 Thread Andrei Popescu
On Sb, 26 iun 10, 20:22:20, Stephen Powell wrote:
 
 Please provide the following information:
 
 (1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
  lilo?  extlinux?)
 
 (2) What is the contents of /etc/kernel-img.conf?
 
 (3) What are the names of the files in the following directories?
 
/etc/kernel/preinst.d
/etc/kernel/prerm.d
/etc/kernel/postinst.d
/etc/kernel/postrm.d
 
 (4) What is the output of the following commands?
 
ls -Al /boot/
ls -Al /

and 

df -h

please.

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: [SOLVED] dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Andrei Popescu
On Du, 27 iun 10, 13:43:12, Stephen Powell wrote:

[big snip]

 I see why dpkg-reconfigure didn't work.  The package was
 classified as partially installed.  The package has to be
 installed successfully before it can be re-configured.

JFTR, 'dpkg --configure -a' would have done the trick.

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: suspend to disk unreliable?

2010-06-27 Thread Andrei Popescu
On Du, 27 iun 10, 09:24:28, Mark wrote:
 
 I would never use Suspend on a desktop due to lack of battery/UPS present.
 As for Hibernate, it takes as long to do a fresh boot as a resume from
 Hibernate on my desktops so really there's not much point there.

Especially if your session manager can restore your previous session ;)
(I know at least Xfce, KDE and Gnome can do that)

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: repositories for AMD 64 apps

2010-06-27 Thread tabris
On 06/27/2010 09:19 AM, John W Foster wrote:
 TO ALL: anyone that knows of ANY applications, drivers, that are
 designed to run in native 64bit AMD architecture especially those with
 GPLed source code available...Please send me the site of the apps, if
 they are your creations I would like to package them for Debian. I am
 not a Debian developer and not qualified to repackage them for Debian
 distro. I will however make those available for public consumption if
 you wish it, on a non-developer site. Its a real shame that I waited 5
 years to build a proper 64bit system then I discover there is VERY
 little native 64bit software available.
 Thanks 
 John


   
As far as I'm aware, Debian's AMD64 repo is mostly 64bit, with only
exceptions being certain 3rd party apps from vendors like Adobe.

Under certain circumstances, it's often better to have a 32bit firefox,
32bit java browser plugin, et cetera. This is b/c the 64bit Adobe Flash
plugin tends to be... hard to come by (the beta was closed recently).

I wouldn't be overly concerned, unless you find an app that is broken on
64bit (an old one from Debian Lenny [and older] is procinfo-18. Squeeze
replaces it with [my] procinfo-ng. I really should make another release
of procinfo-ng).




signature.asc
Description: OpenPGP digital signature


Re: umapper, linux, and YOU!

2010-06-27 Thread Nate Bargmann
* On 2010 26 Jun 08:03 -0500, jeremy jozwik wrote:
 i want to know if this is just my build of flash, or a general linux
 wont go there?
 
 iceweasel 3.0.6 libflashplayer-10.0.22.87.linux

I don't know, but it works fine in Konquerer in KDE 4.4.4 in Sid.

- Nate 

-- 

The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true.

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


-- 
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/20100627185910.gc23...@n0nb.us



Re: Which version for CPU Intel Double Cores 64bits ?

2010-06-27 Thread Kelly Clowers
On Sun, Jun 27, 2010 at 04:17, Volkan YAZICI yazic...@ttmail.com wrote:
 Hi,

 On Sat, 26 Jun 2010, Bruno Costacurta tec...@costacurta.org writes:
 I just ordered a laptop with following CPU and vendor specifications

 - CPU: Intel Double Cores 64bits (ULV SU4100)
 - 2Mo cache
 - UltraLowVoltage 10W 1.3Ghz

 On Sat, 26 Jun 2010, Amrit Panesar apane...@4195tech.com writes:
 The AMD64 dist. would probably be the best for you
 You can find the latest amd64 ISOs on the Debian Site.
 http://www.debian.com/CD/http-ftp/

 Shouldn't he be using ia64 port instead?

Not unless he has a $10,000+ high-end server, since that the kind of
systems Itanium is found in (competes with POWER and maybe
high-end UltraSparcs)

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


Cheers,
Kelly Clowers


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



Re: Plasma lock/logout buttons lack icons

2010-06-27 Thread B. Alexander
Anyone?

On Thu, Jun 24, 2010 at 8:11 AM, B. Alexander stor...@gmail.com wrote:

 I just built a brand new laptop, a Lenovo T400 specifically, with KDE
 4.4.4. One of the things I enabled on the panel is the lock/logout plasmoid.
 However, instead of a blue lock and red logout icon, both (all three, since
 I have lock, logout and sleep enabled) have a terminal with the KDE logo
 instead. (Please see the attached jpg. Its tiny.)

 How can I fix this problem? Did I miss a package? All of my older boxes
 running kde 4.4.4 were upgraded from earlier versions of KDE.

 Thanks,
 --b



Re: mashup apt-cache search SearchTerm dpkg -l - HowTo? ; jor

2010-06-27 Thread giovanni_re
Thanks Aaron  Tom - 
That's progress, but not there yet. ;)  
Further suggestion? Thanks :)

On Sun, 27 Jun 2010 04:39:41 -0400, Tom H tomh0...@gmail.com said:
 On Sat, Jun 26, 2010 at 7:57 PM, giovanni_re john...@fastmail.us wrote:
  Is there a way to mashup apt-cache search SearchTerm  dpkg -l
  - so that given a SearchTerm,
  it would find all the related package names in the cache,
  then do a dpkg -l on those package names?
 
 No need for dpkg.
 
 aptitude -F %c%a %p %v %d search '?narrow(?installed,searchterm)'

One key point is that the output should include every package returned
by 
apt-cache search SearchTerm
 show whether or not they are installed.


=  Example showing the concept, using package parted:

1)  First, here are all the packages apt-cache returns:

# apt-cache search parted | sort
drobo-utils - manage data robotics storage units (drobos)
fatresize - FAT16/FAT32 filesystem resizer
gnu-fdisk - Linux fdisk replacement based on libparted
gparted - GNOME partition editor
kvpm - LVM frontend for KDE
libparted0debian1-dbg - The GNU Parted disk partitioning library debug
development files
libparted0debian1 - The GNU Parted disk partitioning shared library
libparted0-dev - The GNU Parted disk partitioning library development
files
libparted0-i18n - The GNU Parted disk partitioning library i18n support
libparted0 - The GNU Parted disk partitioning shared library (old name)
parted-doc - The GNU Parted disk partition resizing program
documentation
parted - The GNU Parted disk partition resizing program
partitionmanager - A partition management utility
python-parted-dbg - Python interface for libparted - Debugging symbols
python-parted - Python interface for libparted



2)  But dpkg -l  only shows some of them:

dpkg -l | grep parted
ii  gparted  0.5.1-1ubuntu2 
GNOME partition editor
ii  libparted0   2.2-5ubuntu5   
The GNU Parted disk partitioning shared libr
ii  libparted0debian12.2-5ubuntu5   
The GNU Parted disk partitioning shared libr
ii  parted   2.2-5ubuntu5   
The GNU Parted disk partition resizing progr


{  For reference, here are 2 more dpkg -l searches:

dpkg -l parted
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  
 Description
+++-==-==-
ii  parted 2.2-5ubuntu5 
 The GNU Parted disk partition resizing program

dpkg -l '*parted*'
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  
 Description
+++-==-==-
ii  gparted0.5.1-1ubuntu2   
 GNOME partition editor
un  libparted  none   
 (no description available)
ii  libparted0 2.2-5ubuntu5 
 The GNU Parted disk partitioning shared library (old name)
un  libparted0-dev none   
 (no description available)
un  libparted0-i18nnone   
 (no description available)
ii  libparted0debian1  2.2-5ubuntu5 
 The GNU Parted disk partitioning shared library
un  libparted1 none   
 (no description available)
un  libparted1.4   none   
 (no description available)
un  libparted2 none   
 (no description available)
un  npartednone   
 (no description available)
ii  parted 2.2-5ubuntu5 
 The GNU Parted disk partition resizing program
un  parted-doc none   
 (no description available)
un  parted1.6  none   
 (no description available)

}


3a)  I'd like to get an output list including all the packages from step
1 above,
3b)  Showing the package name,  its installed status (ii, un, etc) like
from step 2.

Note:  One way might be to:
1) Do the apt-cache search packagename
2) For each line
2a) Pull out the 

Re: mashup apt-cache search SearchTerm dpkg -l - HowTo? ; jor

2010-06-27 Thread giovanni_re
Thanks Aaron  Tom - 
That's progress, but not there yet. ;)  
Further suggestion? Thanks :)

On Sat, 26 Jun 2010 19:00:20 -0600, Aaron Toponce aaron.topo...@gmail.com 
said:
 On 6/26/2010 6:58 PM, Aaron Toponce wrote:
  On 6/26/2010 6:55 PM, Aaron Toponce wrote:
  On 6/26/2010 5:57 PM, giovanni_re wrote:
  Is there a way to mashup apt-cache search SearchTerm  dpkg -l 
  - so that given a SearchTerm, 
  it would find all the related package names in the cache, 
  then do a dpkg -l on those package names?
 
  dpkg -l $(apt-search iceweasel|grep ^i|awk '{print $2}'|tr '\n' ' ')
  
  Actually, looking at that command, I'm sure I could combine the grep,
  awk and tr in a single awk command. This was just quick and dirty. Of
  course, replace 'iceweasel' with the package(s) you are searching for.
 
 And, I just noticed I used one of my apt aliases.
 
 alias apt-search=aptitude search


: The good result here is that this shows the dpkg -l, which can show 
uninstalled or failed match packages.
: But it doesn't yet get all the packages.


One key point is that the output should include every package returned by 
apt-cache search SearchTerm
 show whether or not they are installed.


=  Example showing the concept, using package parted:

1)  First, here are all the packages apt-cache returns:

# apt-cache search parted | sort
drobo-utils - manage data robotics storage units (drobos)
fatresize - FAT16/FAT32 filesystem resizer
gnu-fdisk - Linux fdisk replacement based on libparted
gparted - GNOME partition editor
kvpm - LVM frontend for KDE
libparted0debian1-dbg - The GNU Parted disk partitioning library debug 
development files
libparted0debian1 - The GNU Parted disk partitioning shared library
libparted0-dev - The GNU Parted disk partitioning library development files
libparted0-i18n - The GNU Parted disk partitioning library i18n support
libparted0 - The GNU Parted disk partitioning shared library (old name)
parted-doc - The GNU Parted disk partition resizing program documentation
parted - The GNU Parted disk partition resizing program
partitionmanager - A partition management utility
python-parted-dbg - Python interface for libparted - Debugging symbols
python-parted - Python interface for libparted



2)  But dpkg -l  only shows some of them:

dpkg -l | grep parted
ii  gparted  0.5.1-1ubuntu2 
 GNOME partition editor
ii  libparted0   2.2-5ubuntu5   
 The GNU Parted disk partitioning shared libr
ii  libparted0debian12.2-5ubuntu5   
 The GNU Parted disk partitioning shared libr
ii  parted   2.2-5ubuntu5   
 The GNU Parted disk partition resizing progr


{  For reference, here are 2 more dpkg -l searches:

dpkg -l parted
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version
Description
+++-==-==-
ii  parted 2.2-5ubuntu5   The 
GNU Parted disk partition resizing program

dpkg -l '*parted*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version
Description
+++-==-==-
ii  gparted0.5.1-1ubuntu2 GNOME 
partition editor
un  libparted  none (no 
description available)
ii  libparted0 2.2-5ubuntu5   The 
GNU Parted disk partitioning shared library (old name)
un  libparted0-dev none (no 
description available)
un  libparted0-i18nnone (no 
description available)
ii  libparted0debian1  2.2-5ubuntu5   The 
GNU Parted disk partitioning shared library
un  libparted1 none (no 
description available)
un  libparted1.4   none (no 
description available)
un  libparted2 none (no 
description available)
un  npartednone (no 
description available)
ii  parted 2.2-5ubuntu5

Re: mashup apt-cache search SearchTerm dpkg -l - HowTo? ; jor

2010-06-27 Thread giovanni_re
On Sun, 27 Jun 2010 13:27:14 -0700, giovanni_re john...@fastmail.us said:
 Note:  One way might be to:
 1) Do the apt-cache search packagename
 2) For each line
 2a) Pull out the package name
 2b) Write an apt-cache search for that name only to a temp file

Er, that should have been a dpkg -l command, like this:
 2b) Write a dpkg -l command for that name only to a temp file


 3) Do the dpkg -l 's from the file
 3b)  remove from the output all the dpkg heading info, leaving only the
 package status lines.
 
 Can you get that mashup?  Thanks :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1277671393.20079.1382141...@webmail.messagingengine.com



gpart can retire now

2010-06-27 Thread T o n g
Hi,

[sorry about the cross-posting first]

The gpart package that find lost partitions, has anyone try to test if it 
still works? Luckily my whole partition table is wiped clean by a 
running away Windows app, and I get the chance to test it. The result? --

After 1 hour and 25+ minutes of scanning, gpart was able to found 2 NTFS 
partitions, and 1 Linux swap partition. That's all it can find, out of my 
15 partitions. I.e., none of my Linux partitions are recovered. Worse, it 
*wrongly* reports all found partitions as primary partitions. 

Yes, after nearly 1 hour and half none-stop HD led blinking, the only 
thing that I get is next to garbage. Then I gave testdisk a try, as a 
last line of defense in my current miserable situations. 

My first choice, quick scan, brought back all my partitions in a split of 
a second. 1 hour and half running with next to garbage finding vs instant 
accurate recovery -- I think we can conclude that gpart can retire now. 
The longer it is in our Debian repo, the more victims will it draw.

To backup myself, this is taken from
http://www.linux.com/archive/feed/57748

my harddrive recently had problems at the partition table and searches 
brought me to your article as well as to gpart's link. But gpart did not 
work for me (gives errors that it failed to determine the sector size, 
even when I specify it). Given my drive is newer, I am not surprised that 
it did not work, because gpart appears not having be updated since 2001, 
and it still at version 0.1.

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



grub2 and USB

2010-06-27 Thread T o n g
Hi,

Anybody knows if grub2 allows me to boot partitions from USB?

If so, that'd be useful to boot from boxes that don't have booting off USB 
disks ability. 

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



Re: mashup apt-cache search SearchTerm dpkg -l - HowTo? ; jor

2010-06-27 Thread Mickey Fox
2010/6/27 giovanni_re john...@fastmail.us:
 Is there a way to mashup apt-cache search SearchTerm  dpkg -l
 - so that given a SearchTerm,
 it would find all the related package names in the cache,
 then do a dpkg -l on those package names?


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



aptitude install SearchTerm?
or
aptitude install SearchTerm~


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



Fw: Re: Re: switching to console and zapping

2010-06-27 Thread cjns1989


-- Original Message --
From: cjns1...@gmail.com
Date: Jun. 27 2010 02:26PM
Subject: Re: Re: switching to console and zapping
  
buggy video driver? try Driver vesa in device section of xorg.conf.

-- Original Message --
From: lee l...@yun.yagibdah.de
Date: Jun. 27 2010 08:21AM
Subject: Re: switching to console and zapping
  
On Sun, Jun 27, 2010 at 11:59:25PM +1200, Chris Bannister wrote:
 On Sat, Jun 26, 2010 at 03:36:03PM +0200, lee wrote:
  On Sat, Jun 26, 2010 at 07:54:50AM +, Sascha Silbe wrote:
   No idea why VT switching doesn't work for you. To get Ctrl+Alt+BS working
   again you need to change /etc/default/keyboard:
   
   XKBOPTIONS=terminate:ctrl_alt_bksp
  
  It's not working --- I quit the X session, restarted hal as pointed
  out in /etc/default/keyboard, started a new X session and still
  couldn't terminate it with Ctrl+Alt+Backspace.
  
  Is it possible that fvwm-crystal is messing around with these things?
 
 Very likely. To test, start X from the command line like so:
 fischer:~$ X
 
 You will just see a grey background and the mouse cursor. Try
 Ctrl+Alt+Backspace here and you *should* quit the X session.
 
 If you do, then it is time to start digging into fvwm-crystal.

Hm, ok, but what do I do when I still can't switch or zap? I'll have
to try with another window manager, like enlightenment ...


-- 
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


-- 
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/20100627132157.gg3...@yun.yagibdah.de


Re: gpart can retire now

2010-06-27 Thread Greg Madden
On Sunday 27 June 2010 13:30:50 T o n g wrote:
 quick scan

An old fashioned, but still reliable method , cli: not gui

You can use the same strategy for partition tables as data ...backups.

'fdisk -l /dev/'   partition_table.txt, 

Then use fdisk to create partitons again. This will write a new partition 
table and formating is not part of this process.

I have recovered deleted partitions this way ,never had to do a whole hard 
drive.

I found this that has more detail:
http://www.faqs.org/docs/Linux-mini/Partition-Rescue.html
-- 
Peace,

Greg


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



Re: change system behavior upon IP address conflict

2010-06-27 Thread Zhang Weiwu
On 2010年06月26日 23:16, Camaleón wrote:
 I am unaware of any specific configuration to prevent this, at least when 
 using no DHCP server and you manually define the IP address of the network
 devices.
   
Just for your information I heard a solution. IPwatchD is a userland
tool (in debian) that can configure a script to run when IP address
conflict detected. That should server the need. I need to try it later.


-- 
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/4c27eccb.3030...@realss.com



Re: grub2 and USB

2010-06-27 Thread cjns1989
Yes. Search for usb device not seen by grub in the grub-devel ml - dec. 2009. 
It was rather messy back then - maybe they've improved it.

-- Original Message --
From: T o n g mlist4sunt...@yahoo.com
Date: Jun. 27 2010 04:57PM
Subject: grub2 and USB
  
Hi,

Anybody knows if grub2 allows me to boot partitions from USB?

If so, that'd be useful to boot from boxes that don't have booting off USB 
disks ability. 

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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


Re: gpart can retire now

2010-06-27 Thread T o n g
On Sun, 27 Jun 2010 15:37:31 -0800, Greg Madden wrote:

 quick scan
 
 An old fashioned, but still reliable method , cli: not gui
 ...
 I have recovered deleted partitions this way ,never had to do a whole
 hard drive.
 
 I found this that has more detail:
 http://www.faqs.org/docs/Linux-mini/Partition-Rescue.html

which says, 

,-
| Write this back on paper (or do “/sbin/fdisk -l | lpr” and
| “/sbin/fdisk -u -l | lpr” to print it) and save it in a safe
| place for future use.
`-

But actually, there is a much better cli way:

To backup the current disk partition setting, use the following command:

  sfdisk -d /dev/$HD | tee partition.$HD.info

Most importantly, partitions can be recreated by this simple command:

  # recreate partition
  sfdisk --no-reread /dev/$HD  partition.$HD.info

Then reboot ASAP. 

Ref:

http://xpt.sourceforge.net/techdocs/nix/disk/general/disk01-
PartitionTools/index.html#cmd_sfdisk

Once my Linux partition was recovered, I used this method to recreate my 
whole partitions.

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



Re: Compiling kernel took a lot of disk space.

2010-06-27 Thread Magicloud Magiclouds
Thank you guys.
I have not follow Stephen's guide, but I figured the reason out. It
seems like an ext3's fault. The space (i-node wise) was used 5.x GB,
but the actual space (data wise) was used only 1 GB. So a lot of space
was just empty and wasted.
I attached another disk to get the job done.

PS: Certainly this is not my real name. 8-) I am not from an English
country. Some people cannot pronounce my name right. So I use this
pseudonym.

On Fri, Jun 25, 2010 at 10:02 PM, Stephen Powell zlinux...@wowway.com wrote:
 On Fri, 25 Jun 2010 09:34:29 -0400 (EDT), Jordan Metzmeier wrote:
 On 06/25/2010 09:10 AM, Stephen Powell wrote:
 That is not the correct command syntax.  I suggest that you read

    http://www.wowway.com/~zlinuxman/Kernel.htm

 Kernel building in Debian is a complex task fraught with many perils,
 and this web page will help you avoid most of them.  It's long and
 detailed, but if you follow this procedure you should do well.

 Looks like an excellent guide. Thanks for the work!

 You're welcome.  The Debian kernel team doesn't particularly care for it,
 and if you you read it all the way through, particularly step 10,
 you can probably guess why.  But Manoj Srivastava, author and maintainer
 of kernel-package, liked it well enough to include an earlier version
 of this web page in kernel-package itself.  The above link, however,
 will always be the most current and up-to-date version of the document.
 I will probably update it again next week if the fix for Debian bug number
 505609 is included in the stable point release for Lenny which is
 scheduled for this weekend.

 --
  .''`.     Stephen Powell
  : :'  :
  `. `'`
   `-


 --
 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/182056374.282512.1277474554176.javamail.r...@md01.wow.synacor.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/aanlktimqrfiawrh_3lkn2z7a3s27gbhpmdwsztsjy...@mail.gmail.com