Re: cross install 64bit target from 32bit host

2016-05-28 Thread Christian Seiler
On 05/29/2016 01:34 AM, Haines Brown wrote:
> This is an extension of my initial question, for I'm not sure my initial
> conclusion that it is impossible to chroot a 64bit system from a 32bit
> system is correct.

With a 32bit kernel you need qemu-user-static for this to work - but
expect it to be _at least_ a factor of 10 or so slower than your
normal system when using qemu. (Especially if your kernel is 32bit
x86, which is register-starved, so emulating other platforms is
likely going to be really slow.)

> Or can chroot be run on a 64 bit system mounted on /mnt/64bit/:
> 
>   # dpkg --add-architecture amd64
>   # apt-get update
>   # apt-get install libc6-amd64
>   # LANG=C.UTF-8 chroot /mnt/64bit /bin/bash

dpkg --add-architecture (and installing libc6-amd64) is never
useful for chroots: either you can execute 64bit binaries (directly
via a 64bit kernel or indirectly via qemu-user-static), and then
chroot will just work (without any 64bit software on the host), or
you can't execute them, and then it won't help either.

What you can do is:

apt-get install qemu-user-static

Then you need to setup the x86_64 binfmt manually, because the
Debian package doesn't do that automatically anymore [1]:

/usr/sbin/update-binfmts --install qemu-x86_64 \
   /usr/bin/qemu-x86_64-static \
   --magic 
'\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00'
 \
   --mask 
'\xff\xff\xff\xff\xff\xfe\xfe\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'
 \
   --offset 0 --credential yes

Then copy the /usr/bin/qemu-x86_64-static binary into the chroot:

cp /usr/bin/qemu-x86_64-static /mnt/64bit/usr/bin/

And then you can just use chroot directly:

LANG=C.UTF-8 chroot /mnt/64bit /bin/bash

(Note that the normal rules for chroots also apply, i.e. that
you might need to handle the /proc, /sys and /dev{,/pts,/shm}
and /run file systems specially, depending on what you want to
do inside the chroot.)

But as I said above: with qemu-user-static it's going to be very
slow. Especially since your hardware does support 64bit code
directly, I would *really* recommend you to just install a 64bit
kernel [2] (you can leave the main packages 32bit) and reboot,
then you can chroot into either 64bit or 32bit environments
without having to resort to emulation. So unless you're just
using this as a temporary measure, I really wouldn't recommend
it.

Regards,
Christian

[1] See bug #604712, because i386 can be used with 64bit kernels,
which is much more common than your use case, and there you
don't want to have emulation.
[2] Will probably boil down to something like:
dpkg --add-architecture amd64
apt-get update
apt-get install linux-image-amd64



signature.asc
Description: OpenPGP digital signature


Re: cross install 64bit target from 32bit host

2016-05-28 Thread Haines Brown
This is an extension of my initial question, for I'm not sure my initial
conclusion that it is impossible to chroot a 64bit system from a 32bit
system is correct.

Can it done by installing qemu-user-static and loading a 64-bit live ISO
and then from it chroot the 64-bit target mounted on /mnt/64bit/?

Or can chroot be run on a 64 bit system mounted on /mnt/64bit/:

  # dpkg --add-architecture amd64
  # apt-get update
  # apt-get install libc6-amd64
  # LANG=C.UTF-8 chroot /mnt/64bit /bin/bash

Haines Brown





Re: Verificação/correção de HD

2016-05-28 Thread Paulino Kenji Sato
Ola,
Primeira coisa, instale o HD em um computador confiável (um desktop).
Não use um conversor USB.
Monte e faça copia dos seus arquivos importantes. Desmonte.
Evite que seja auto montado.
Verificar a saúde do HD usando o smarttools.
Suponha que o HD seja o /dev/sdc
Ativando o smart (de fato não e necessário fazer)
# smartctl -s on /dev/sdc
Gere o relatório do status
# smartctl -a /dev/sdc >hdc.txt
# less hdc.txt
Vai ter muito informação, nem eu sei o que e cada item. As marcadas como
Pre-fail merecem atenção.

Solicitar que o smart faça um teste, curto:
# smartctl -t short /dev/sdc
Teste longo
# smartctl -t log /dev/sdc

Para ver o andamento deste teste, use o smartctl -a /dev/sdc
Próximo ao fim do relatório, terá algo assim:
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining
LifeTime(hours)  LBA
_of_first_error
# 1  Extended offlineCompleted without error   00%
16014 -
# 2  Extended offlineAborted by host   90%
16012 -

Nesse caso o HD esta bom.
Se o smart relatar erro, não completando o test, já pode providenciar um HD
novo.

O smart pode detectar e realocar o blocos/setores com problemas, mas isso
só acontece quando e feito uma gravação.
A seguir pode fazer um teste de leitura com o badblocks
# badblocks -vvv /dev/sdc
Se relatar blocos com defeito, pode tentar fazer o smart realocar esses
blocos.
Após fazer a copia dos seus arquivos, use o badblocks em modo não
destrutivo.
# badblocks -nvvv /dev/sdc
Isso demora vários horas ou até mesmo dias.
Se não se importar em perder os dados do HD, pode usar o modo destrutivo de
dados.
# badblocks -wvvv /dev/sdc
E mais rápido que o não destrutivo, mas nem tanto.

Pode se usar o badblock em teste de leitura para gerar um arquivo com o bad
blocks e usar ele no modo de gravação, testando somente esses blocos.

Eventualmente, o smart pode ter ativado o flag de defeito eminente
(inclusive com aviso na bios) mas o HD estar ainda bom. O smart+badblocks
pode ter corrigido, mas não limpa a flag de defeito (não se tem acesso).


OBS.: vvv são três letras v, para aumentar a quantidade de informação que e
apresentada.




2016-05-28 11:28 GMT-03:00 Leonardo Rocha :

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Salve rapaziada, bom dia!
>
> estou com uma dúvida cruel. Estive fazendo umas pesquisas e muito se
> fala sobre este assunto. Estou com o HD do meu notebook apresentando
> alguns sinais de problema sabe. Ele dá uns estalos as vezes e, mais
> recentemente, ele acusa, ao desconectar o cabe de força, que vai
> desligar. Não sei ao certo se é o HD que está fazendo isso ou se a
> bateria do notebook está apresentando problema também. Fato é que o HD
> já tinha sido acusado por uma empresa onde deixei pra fazer suporte e
> eu mesmo já tinha notado isso. Antes que ele apresente problemas
> irreversíveis pensei em passar um check nele. Pois bem, encontrei
> muita coisa e gostaria de saber da lista o que é melhor pra um HD com
> Debian? encontra-se muita coisa voltado pra Ubuntu que, apesar de ser
> derivado, tenho minhas reservas sabe.
>
> Hoje mesmo encontrei sobre fsck, fdisk, badblocks e até uma gráfica
> chamada GsmartControl mas o artigo refere-se ao uso no ubuntu. Não
> olhei a documentação da ferramenta pra ver se ela roda em segundo
> plano algum dos pacotes mencionados anteriormente.
>
> Gostaria da sugestação/orientação da lista.
>
> Agradeço.
>
> Abraço gente.
>
> - --
> Leonardo Rocha
> 4096R/7E7D1FE2
> about.me/leonardo.rocha
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJXSasXAAoJECRiL6p+fR/i1ekP+QF2+gu81gAuSJHM/ECxRYbn
> enXdC3x1cKRbQHFQlxJd1i3eQs0GRxYj42bFTlwTRGTfTxZ72b/JqQDO/sYVBLe/
> 0zT6HWwrQgQPNuqriiNPCoClX2hgdTpAFLefV2JDle0xgcPyPvHBDC4hKNfwupwD
> fG+zPCUfn9iKJIA4RjuJrb7TyFzv54xAfFC/yFtA4bppGSYdD4UgSIzNnyngdlKA
> L9R4JrOUkICp6UN9RccayR6zpBHos9S/CwJljMcrISVhrYIqdfHSv2S9Bub8Q0/i
> oGZI+NDQNv2KN8ABWWoQmtlP/lYAQzWOhA1NhK/Jy8UpUhzhc5WliXusyqZGXpis
> WvE8iSU1DZMWs7Q5qEdnWCR1Sj+lRDDQmMoJnFJVnHh8e4nakeka5TZcaVdaXiAz
> jzWAIu5fOeD6c+uZU8WxEKOJzBMkKBoEPO498dgDy3ETjXf8bOrIK19/gFRuS8av
> f5zBsGfy0fwbit8ohqxEdlNVjcsdtX4jr0Myg+/PAlkPunS+e6FOUd/HS5FJlvIN
> V8yazB+T/w4yNHOgmEcvvVO6+zcNjToMaodiKiWSSyu7gztIe6Ili2Wb1allDdE1
> WBlyRyAcSjbnHT3ZDJk56MtAbEE57D/Bewp6kikjHI9rN6nGsexrD25tSEfTZTP9
> 0oeXjL6nyTzbfo8e5QYe
> =Yjwi
> -END PGP SIGNATURE-
>
>


-- 
Paulino Kenji Sato


Re: Verificação/correção de HD

2016-05-28 Thread Yuri Somacal
Já tentou rodar o badblocks/fsck em read-only mode (modo não destrutivo)?

Nos repositórios tem uma ferramenta chamada gnome-disks que aponta o número de 
setores defeituosos (bad blocks) e fornece alguns testes SMART. Sugiro observar 
o número de setores defeituosos, pois se começarem a aumentar muito 
rapidamente, é mal indício. Porém, se o número permanecer fixo, creio que não 
há com o que se preocupar em relação ao HD.

Tem bastante coisa sobre isso também na wiki do ArchLinux.

Em 28-05-2016 11:28, Leonardo Rocha escreveu:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Salve rapaziada, bom dia!

estou com uma dúvida cruel. Estive fazendo umas pesquisas e muito se
fala sobre este assunto. Estou com o HD do meu notebook apresentando
alguns sinais de problema sabe. Ele dá uns estalos as vezes e, mais
recentemente, ele acusa, ao desconectar o cabe de força, que vai
desligar. Não sei ao certo se é o HD que está fazendo isso ou se a
bateria do notebook está apresentando problema também. Fato é que o HD
já tinha sido acusado por uma empresa onde deixei pra fazer suporte e
eu mesmo já tinha notado isso. Antes que ele apresente problemas
irreversíveis pensei em passar um check nele. Pois bem, encontrei
muita coisa e gostaria de saber da lista o que é melhor pra um HD com
Debian? encontra-se muita coisa voltado pra Ubuntu que, apesar de ser
derivado, tenho minhas reservas sabe.

Hoje mesmo encontrei sobre fsck, fdisk, badblocks e até uma gráfica
chamada GsmartControl mas o artigo refere-se ao uso no ubuntu. Não
olhei a documentação da ferramenta pra ver se ela roda em segundo
plano algum dos pacotes mencionados anteriormente.

Gostaria da sugestação/orientação da lista.

Agradeço.

Abraço gente.

- --
Leonardo Rocha
4096R/7E7D1FE2
about.me/leonardo.rocha
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXSasXAAoJECRiL6p+fR/i1ekP+QF2+gu81gAuSJHM/ECxRYbn
enXdC3x1cKRbQHFQlxJd1i3eQs0GRxYj42bFTlwTRGTfTxZ72b/JqQDO/sYVBLe/
0zT6HWwrQgQPNuqriiNPCoClX2hgdTpAFLefV2JDle0xgcPyPvHBDC4hKNfwupwD
fG+zPCUfn9iKJIA4RjuJrb7TyFzv54xAfFC/yFtA4bppGSYdD4UgSIzNnyngdlKA
L9R4JrOUkICp6UN9RccayR6zpBHos9S/CwJljMcrISVhrYIqdfHSv2S9Bub8Q0/i
oGZI+NDQNv2KN8ABWWoQmtlP/lYAQzWOhA1NhK/Jy8UpUhzhc5WliXusyqZGXpis
WvE8iSU1DZMWs7Q5qEdnWCR1Sj+lRDDQmMoJnFJVnHh8e4nakeka5TZcaVdaXiAz
jzWAIu5fOeD6c+uZU8WxEKOJzBMkKBoEPO498dgDy3ETjXf8bOrIK19/gFRuS8av
f5zBsGfy0fwbit8ohqxEdlNVjcsdtX4jr0Myg+/PAlkPunS+e6FOUd/HS5FJlvIN
V8yazB+T/w4yNHOgmEcvvVO6+zcNjToMaodiKiWSSyu7gztIe6Ili2Wb1allDdE1
WBlyRyAcSjbnHT3ZDJk56MtAbEE57D/Bewp6kikjHI9rN6nGsexrD25tSEfTZTP9
0oeXjL6nyTzbfo8e5QYe
=Yjwi
-END PGP SIGNATURE-



--
Att,
Yuri Sganzerla Somacal


Re: What Mid-range USB Sound Cards Work with Linux?

2016-05-28 Thread rlharris
On Sat, May 28, 2016 1:17 pm, Martin McCormick wrote:
> I am not using XLR's, but I do use 1-to-1 isolation transformers
> between the audio sources and sound inputs

Hum in audio systems almost always is a consequence of improper grounding.
 Although an XLR connector on a piece of apparatus SHOULD BE a guarantee
of freedom from hum, such is not always the case; regrettably, not every
audio manufacturer has a proper understanding of grounding and shielding,
and of the distinction between a signal ground and a chassis ground.

Perhaps the best comprehensive collection of application notes is that
made available by Rane, at http://www.rane.com/library.html; the notes
are:

RaneNote "Grounding and Shielding Audio Devices"
(updated 7-02)

RaneNote "Sound System Interconnection"
(RaneNote 110) (updated 7-11)

RaneNote "Why Not Wye?" (updated 4-04)

RaneNote "Pin 1 Revisited" (8-07)

RaneNote "SCIN: Shield Current Induced Noise" (8-07)

PDF "Grounding and Shielding Computer-Controlled Audio Devices"
Steven Macatee, AES (12-94)

PDF "System Problems and Equipment Manufacturers"
Bill Whitlock, Systems Contractor News (9-87)

PDF Cable Outlook: Is it time to move to shielded category cable?
SVC 7-13 (400k)

Various manufacturers offer isolation transformers and level converters to
enable interconnection of consumer (-10 dBV RCA) and professional (+4 dBu
XLR) devices.  For example, Rane has the passive "Balance Buddy", and ART
has the "CleanBox", which utilizes active circuitry.  Such devices are
inexpensive, and can be had from most commercial broadcast supply houses.

RLH





creacion de paquetes

2016-05-28 Thread juan carlos Rebate
buenas comunidad, parece que todo lo que encuentro eesyá obsoleto, resulta
que quiero crear un paquete de ffmpeg que contenga ffmpeg ffprobe ffplay y
ffserver, segun un manual que encotre (no coloco la url por temor a que me
loqueen por spam), para crear el paquete debo hacer
1 dh_make -e email -s
2 me dice que no está el paquete orig asi que hago dh_make --createorig t
me pregunta de nuevo pr si es single library kernet y etc etc, le indico -s
y espero a que crea el paquete
3 nofiguro el archivo de control y configuro el changelog con dch
4 hago dpkg-buildpackage y obtengo error que paso a colocar

dpkg-buildpackage: versión de las fuentes 3.0.2-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: fuentes modificadas por jc 
dpkg-buildpackage: arquitectura del sistema amd64
 dpkg-source --before-build ffmpeg-3.0.2
 fakeroot debian/rules clean
dh clean  --with autotools-dev
   dh_testdir
   dh_auto_clean
make[1]: se ingresa al directorio «/home/jc/ffmpeg-3.0.2»
Makefile:2: config.mak: No existe el archivo o el directorio
Makefile:64: /common.mak: No existe el archivo o el directorio
Makefile:106: /libavutil/Makefile: No existe el archivo o el directorio
Makefile:106: /library.mak: No existe el archivo o el directorio
Makefile:108: /doc/Makefile: No existe el archivo o el directorio
Makefile:195: /tests/Makefile: No existe el archivo o el directorio
make[1]: *** No hay ninguna regla para construir el objetivo
«/tests/Makefile».  Alto.
make[1]: se sale del directorio «/home/jc/ffmpeg-3.0.2»
dh_auto_clean: make -j1 distclean returned exit code 2
make: *** [clean] Error 2
dpkg-buildpackage: fallo: fakeroot debian/rules clean devolvió un estado de
salida de error 2
jc@jc:~/ffmpeg-3.0.2$ BB

en otro manual indica que en lugar de dpkg use fakeroot debian/rules pero
tambien me da error, destacar que los dos son de 2008 y que ha llovido
mares y quiza el modo ha cambiado pero yo no encuentro nada, tambien
advertir que compilando e instalando funciona perfecto pero sin paquete,
pero hay ocasiones en las que monto una vm y lo instalo pero tarda como 1
hora, alguien sabria ayudarme?


Re: Verificação/correção de HD

2016-05-28 Thread Adriano Rafael Gomes
On Sat, May 28, 2016 at 11:28:39AM -0300, Leonardo Rocha wrote:
> Hoje mesmo encontrei sobre fsck, fdisk, badblocks e até uma gráfica
> chamada GsmartControl mas o artigo refere-se ao uso no ubuntu. Não
> olhei a documentação da ferramenta pra ver se ela roda em segundo
> plano algum dos pacotes mencionados anteriormente.
> 
> Gostaria da sugestação/orientação da lista.

Leonardo, você pode usar o smartctl (ou o gsmartcontrol, se preferir
interface gráfica) e o badblocks (*não* use a opção -w se quiser
preservar o conteúdo do HD) para testar o estado do HD. O fsck você
pode usar para testar a integridade do sistema de arquivos. Não sei
como o fdisk poderia entrar nesses testes.


signature.asc
Description: Digital signature


Re: What Mid-range USB Sound Cards Work with Linux?

2016-05-28 Thread Martin McCormick
rlhar...@oplink.net writes:
> Lexicon Alpha (powered by USB) and Lexicon Omega (external supply) are
> excellent broadcast-quality USB audio interfaces which "just work" with
> Linux.
> 
> Another excellent device is the Shure X2U, which is particularly adapted
> to portable use (USB powered; fits in a pocket).
> 
> Tascam is another manufacturer of broadcast-quality USB devices, but I
> have no direct experience with Tascam USB.
> 
> For quality gear of this genre, it is advisable to shop and purchase
> throug broadcast suppliers such as fullcompass.com and bswusa.com.
> 
> The analog side of professional audio devices utilizes balanced inputs and
> outputs, and balanced cabling and connectors.  Properly designed balanced
> circuitry guarantees freedom from hum.
> 
> The best and most common balanced connectors are of the XLR design, but
> 3-conductor 1/4-inch phone jacks and plugs (TRS = tip, ring, sleeve) also
> are used, particularly when panel space is limited.

Great suggestions and thank you. I am not using XLR's,
but I do use 1-to-1 isolation transformers between the audio
sources and sound inputs as it is not difficult at all to accidentally induce
hum in to unbalanced lines.

Martin



Re: QEMU MIPS Debian8.4 run issue

2016-05-28 Thread 飞颜
Dear Christian,

  Thanks for your replay, I found the root cause. Need use -M malata
parameter.

Regards,
Yanfei

2016-05-27 22:38 GMT+08:00 Christian Seiler :

> On 05/27/2016 06:23 AM, 飞颜 wrote:
> >   QEMU start command below:
> >   qemu-system-mips -M mips -kernel vmlinux-3.16.0-4-4kc-malta -initrd
> > initrd.gz -hda hda.img  -append "root=/dev/ram console=ttyS0" -nographice
> >
> > Only show message below, can not run.
> > qemu: Warning, could not load MIPS bios 'mips_bios.bin'
>
> This looks a lot like:
> https://www.linux-mips.org/wiki/QEMU#MIPS_BIOS_not_found_on_startup
>
> Since you start the whole thing with a -kernel command line, the
> firmware is actually irrelevant - so you could just create a
> dummy file for the MIPS BIOS:
>
> (as root)
> dd if=/dev/zero of=/usr/share/qemu/mips_bios.bin bs=1024 count=128
>
> Then the Qemu command should work. (Not tested, though, I've only
> ever used qemu-user with MIPS, not qemu-system.)
>
> Hope that helps.
>
> Regards,
> Christian
>


Re: Esquema sistema de paquets

2016-05-28 Thread Sergi Tur
Jo tinc documentació a la wiki:

http://acacha.org/mediawiki/Creaci%C3%B3_de_paquets_Debian
Salutacions,

Per si algú li serveix. I sí, quan coneixes els detalls dels paquets va
molt bé per resoldre problemes però això diria que és general i és com
entenc jo paraula hacker com persona que li interessa no només utilitzar
les coses sinó també si és possible entendre com funcionen per dintre.

http://www.newyorker.com/tech/elements/a-short-history-of-hack

Sergi Tur
Hola a tots,

Entendre com està organitzat el sistema de paquets a Debian acostuma a
ser un dels mal de caps usuals per tots nosaltres inclús després de
usar-lo durant temps.

Una de les conseqüències pels usuaris és que no tenim clar què s'ha de
fer quan l'eina encarregada de actualitzar el sistema es queixa. Si
entenguéssim el procés bé, potser molts d'aquest dubtes no apareixerien
(per exemple, em va costar molt entendre els motius pels quals "testing"
és l'opció menys segura SEMPRE).

Bé, algú ha fet un esquema [1] sobre com està organitzat i d'altres
coses. A mi m'ha servit per confirmar que l'organització imaginada per
mi s'assemblava força a com ho veuen els que hi treballen.

Deixo l'enllaç per si algú hi estigués interessat. L'entrada de la
noticia la trobareu a Planet Debian [2] (en anglès).

Salut i peles,

robert

[1]
https://anonscm.debian.org/cgit/collab-maint/package-cycle.git/plain/package-cycle.svg

[2] Entrada de Antoine Beaupré de 19 de maig, http://planet.debian.org/

--
Robert Marsellés Fontanet | GnuPG keyID 20469B7F
mail: robert.carde...@gmail.com
Linux User 493238


Re: [deb...@lionunicorn.co.uk: Re: Network manager (again) Re:]

2016-05-28 Thread Lisi Reisz
On Saturday 28 May 2016 10:11:39 Lisi Reisz wrote:
> Thank you in
>
> > advance, and again, sorry for my poor english (kspell still tells me to
> > write *English* instead and nobody told me why, and this proves nobody
> > looks at the first post in a thread :-D)

I think I have just worked out what this means.  The spell checker is 
objecting to the spelling of "english".  "English" begins with a capital 
letter .  It is incorrect to spell the language with a lower case initial 
letter.  So the spell checker was correct in objecting.

I *think* that this is what you are getting at here.  You would not 
spell "Paris" "paris", surely?

Lisi



Re: WebRTC with Firefox in Debian Jessie

2016-05-28 Thread Lisi Reisz
On Saturday 28 May 2016 10:08:56 Curt wrote:
> On 2016-05-24, Juha Heinanen  wrote:
> > Markos writes:
> >> I just found the WebRTC (https://webrtc.org/) project but I still don't
> >> understand if I already can use it as an alternative to Skype.
> >
> > You need a web phone and a (SIP) server.  For a demo phone, see
> > e.g. https://tryit.jssip.net.
>
> You do (not a rhetorical question)?

 You need at least a headset.

Lisi



Verificação/correção de HD

2016-05-28 Thread Leonardo Rocha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Salve rapaziada, bom dia!

estou com uma dúvida cruel. Estive fazendo umas pesquisas e muito se
fala sobre este assunto. Estou com o HD do meu notebook apresentando
alguns sinais de problema sabe. Ele dá uns estalos as vezes e, mais
recentemente, ele acusa, ao desconectar o cabe de força, que vai
desligar. Não sei ao certo se é o HD que está fazendo isso ou se a
bateria do notebook está apresentando problema também. Fato é que o HD
já tinha sido acusado por uma empresa onde deixei pra fazer suporte e
eu mesmo já tinha notado isso. Antes que ele apresente problemas
irreversíveis pensei em passar um check nele. Pois bem, encontrei
muita coisa e gostaria de saber da lista o que é melhor pra um HD com
Debian? encontra-se muita coisa voltado pra Ubuntu que, apesar de ser
derivado, tenho minhas reservas sabe.

Hoje mesmo encontrei sobre fsck, fdisk, badblocks e até uma gráfica
chamada GsmartControl mas o artigo refere-se ao uso no ubuntu. Não
olhei a documentação da ferramenta pra ver se ela roda em segundo
plano algum dos pacotes mencionados anteriormente.

Gostaria da sugestação/orientação da lista.

Agradeço.

Abraço gente.

- -- 
Leonardo Rocha
4096R/7E7D1FE2
about.me/leonardo.rocha
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXSasXAAoJECRiL6p+fR/i1ekP+QF2+gu81gAuSJHM/ECxRYbn
enXdC3x1cKRbQHFQlxJd1i3eQs0GRxYj42bFTlwTRGTfTxZ72b/JqQDO/sYVBLe/
0zT6HWwrQgQPNuqriiNPCoClX2hgdTpAFLefV2JDle0xgcPyPvHBDC4hKNfwupwD
fG+zPCUfn9iKJIA4RjuJrb7TyFzv54xAfFC/yFtA4bppGSYdD4UgSIzNnyngdlKA
L9R4JrOUkICp6UN9RccayR6zpBHos9S/CwJljMcrISVhrYIqdfHSv2S9Bub8Q0/i
oGZI+NDQNv2KN8ABWWoQmtlP/lYAQzWOhA1NhK/Jy8UpUhzhc5WliXusyqZGXpis
WvE8iSU1DZMWs7Q5qEdnWCR1Sj+lRDDQmMoJnFJVnHh8e4nakeka5TZcaVdaXiAz
jzWAIu5fOeD6c+uZU8WxEKOJzBMkKBoEPO498dgDy3ETjXf8bOrIK19/gFRuS8av
f5zBsGfy0fwbit8ohqxEdlNVjcsdtX4jr0Myg+/PAlkPunS+e6FOUd/HS5FJlvIN
V8yazB+T/w4yNHOgmEcvvVO6+zcNjToMaodiKiWSSyu7gztIe6Ili2Wb1allDdE1
WBlyRyAcSjbnHT3ZDJk56MtAbEE57D/Bewp6kikjHI9rN6nGsexrD25tSEfTZTP9
0oeXjL6nyTzbfo8e5QYe
=Yjwi
-END PGP SIGNATURE-



Re: suddenly no sound on Raspbian (Raspberry Pi 2)

2016-05-28 Thread Emanuel Berg
Emanuel Berg  writes:

> On my Raspberry Pi 2, I suddenly have no HDMI
> sound and no headphone sound either save for
> the hello_audio.bin test, which works for the
> headphones but not the HDMI.

I have this wrapper for the omxplayer - note the
line with adev - I put local there and the
3.5 mm audio port sends sound.

However putting 'hdmi' or 'both' there, as the
man page describes, doesn't get the HDMI
(audio) going.

plo () {
local file=$1

if [[ ! -f $file ]]; then
no-file-msg $file
return
fi

local keys=~/public_html/conf/.omx-keys

local vol_mod=0
sudo omxplayer --align center \
   --blank\
   --key-config $keys \
   --loop \
   --font-size 35 \
   --vol $vol_mod \
   --adev local   \
   $file > /dev/null
}

Also, I wrote this function to test the sound:

test-sound () {
sudo modprobe snd_bcm2835
for output in 0..2; do
sudo amixer -c 0 cset numid=3 $output
sudo aplay /usr/share/sounds/alsa/Front_Center.wav
done
/opt/vc/src/hello_pi/hello_audio/hello_audio.bin   # 3.5 mm
/opt/vc/src/hello_pi/hello_audio/hello_audio.bin 1 # HDMI
}

Well, at this point, it confirms the state...

-- 
underground experts united  http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic . http://user.it.uu.se/~embe8573/blogomatic
   - so far: 42 Blogomatic articles -   



Re: Error apt-get update

2016-05-28 Thread Camaleón
El Fri, 27 May 2016 21:24:17 -0300, Willian Tola escribió:

(ese formato...)

> Alguien esta con problema de actualizacion en debian jessie
> 
> Err http://security.debian.org jessie/updates InRelease Err
> http://security.debian.org jessie/updates Release.gpg0 No se pudo
> iniciar la conexión con  security.debian.org:80
> (2801:82:80ff:8009:e61f:13ff:fe63:8e88). - connect (101: A rede está
> fora de alcance) [IP: 2801:82:80ff:8009:e61f:13ff:fe63:8e88 80]

Está usando IPv6 y salvo que tu infraestructura (local y remota) lo 
admita no va a funcionar. Prueba forzando el uso de IPv4:

apt-get update && apt-get -V upgrade -o Acquire::ForceIPv4=true

Saludos,

-- 
Camaleón



Re: filtro carpeta squirrelmail

2016-05-28 Thread Camaleón
El Fri, 27 May 2016 17:39:33 -0400, luis escribió:

> Tengo Squirrelmail como correoweb, creo carpetas y no se como hacer que
> cada correo se dirija a la carpeta que he creado, que plugin necesito ??

Yo suelo usar "sieve" para filtrar los correos en el servidor IMAP.

> Es server de correo postfix.
> 
> Cómo hacer esto??
> 
> Alguna idea Agradezco toda ayuda

6.5 Use server side filtering 
http://squirrelmail.org/docs/admin/admin-6.html#ss6.5

Saludos,

-- 
Camaleón



Squid (era: squi)

2016-05-28 Thread Camaleón
El Thu, 26 May 2016 14:41:32 -0400, Jose escribió:

(...)

> Y listo los estudiantes  cuando los creo y entran a  esa  lista tienen
> el acceso a   las  6 el problema  es q  si creo un usuario estudiante
> 
> u...@estudiantes.hlg.sld.cu
> 
> y no lo pongo de  inmediato a en este fichero
> /etc/squid3/users/estudiantes  ese  usuario navega a  cualquier hora
> donde  estra el problema  en  mi proxy alguna sugerencia

Pues no veo que haya ningún problema. Obviamente, si no añades el usuario 
a la lista a la que pertenece lo se le aplican las reglas de esa lista.

Seguramente lo que buscas es un sistema de autentificación¹ para squid 
que lo haga automáticamente pero eso es harina de otro costal, vamos, que 
afecta a todo el comportamiento de squid por lo que antes de hacer algún 
cambio tendrás que ver pros y contras del sistema actual y pensar si 
merece la pena cambiar a otro.

¹http://wiki.squid-cache.org/Features/Authentication

Saludos,

-- 
Camaleón



Re: Netflix sous Debian

2016-05-28 Thread Michel Memeteau - EKIMIA
Bonjour ,

En fait on peut utiliser chromium qui va utiliser le plugin widevine  de
chrome pour Netflix , mais il faut changer le user agent pour retirer la
partie chromium , j'ai contacté Netflix pour qu'ils corrige cela.

A moins que ça ne soit un patch d'Ubuntu mais je ne crois pas

[image: photo]
*Michel Memeteau*
Directeur, Ekimia SAS
+33 (0)9 72 30 83 34 <+33+9+72+30+83+34> | m...@ekimia.fr | Notre WebBoutique
: http://shop.ekimia.fr  | 49 chemin union 13720 La
bouilladisse
 FRANCE




Contactez nous directement par Tchat sur http://bit.ly/ekichat




Le 28 mai 2016 à 12:50, Pierre Crescenzo  a écrit :

> Bonjour,
>
> Suite à plusieurs "bêtises" de ma part, j'ai finalement réinstallé ma
> Debian en stable et 64 bits. Résultat, j'ai accès à google-chrome sans
> souci et donc à Netflix ! :-)
>
> J'ai perdu pas mal de temps mais cette solution simple me convient
> parfaitement. :-) Donc Debian et Netflix sont tout à fait compatibles,
> modulo certaines contraintes.
>
> Merci pour vos conseils !
>
> Cordialement,
>
> Pierre Crescenzo
>   mailto:pie...@crescenzo.nom.fr
>   http://www.crescenzo.nom.fr/
>
> Le 17 mai 2016 à 11:11, Pierre Crescenzo  a
> écrit :
>
>> Bonjour,
>>
>> Merci pour vos réponses, conseils et pistes ! Je vais faire des essais
>> puis je ferai ici un retour sur mes résultats. (Pas tout de suite, je suis
>> en mission...)
>>
>> Amitiés,
>>
>> Pierre Crescenzo
>>   mailto:pie...@crescenzo.nom.fr
>>   http://www.crescenzo.nom.fr/
>>
>> Le 13 mai 2016 à 18:53, Sylvain Joubert  a écrit :
>>
>>> Le 13/05/2016 11:15, Pierre Crescenzo a écrit :
>>>
 Bonjour,

 J'utilise Debian en stable+testing. Y a-t-il une solution pas trop tirée
 par les cheveux pour voir (et entendre) du Netflix (quand on est abonné
 :-)) sous Debian. J'ai essayé des solutions sous Chrome (chromium) ou
 Firefox (firefox-esr) avec notamment PipeLight, mais il semble que
 depuis peu elles ne fonctionnent plus. Et HTML 5 de Netflix ainsi que
 google-chrome ont semble-t-il aussi du plomb dans l'aile. J'ai suivi pas
 mal d'autres pistes, en vain. Bref, je me suis perdu... Vous auriez une
 solution qui fonctionne actuellement et "pour de vrai". ;-) Merci !

>>>
>>> Bonjour,
>>>
>>> J'ai eu le même problème, la solution qui marche et la plus simple, au
>>> prix d'une petite entorse au logiciel libre c'est d'utiliser Chrome. A
>>> differencié de Chromium. Chromium pour satisfaire les régles open-source et
>>> libre de Debian ne peux pas embarquer le nécessaire pour décoder les flux
>>> de Netflix.
>>>
>>> Mais bonne nouvelle, Google fournit un paquet .deb pour Chrome avec tout
>>> le nécessaire :
>>> https://www.google.com/chrome/browser/desktop/index.html
>>>
>>> Télécharger le .deb
>>> $ sudo dpkg -i 
>>> Enjoy Netflix!
>>>
>>> Sylvain
>>>
>>>
>>
>


Re: Netflix sous Debian

2016-05-28 Thread Pierre Crescenzo
Bonjour,

Suite à plusieurs "bêtises" de ma part, j'ai finalement réinstallé ma
Debian en stable et 64 bits. Résultat, j'ai accès à google-chrome sans
souci et donc à Netflix ! :-)

J'ai perdu pas mal de temps mais cette solution simple me convient
parfaitement. :-) Donc Debian et Netflix sont tout à fait compatibles,
modulo certaines contraintes.

Merci pour vos conseils !

Cordialement,

Pierre Crescenzo
  mailto:pie...@crescenzo.nom.fr
  http://www.crescenzo.nom.fr/

Le 17 mai 2016 à 11:11, Pierre Crescenzo  a écrit :

> Bonjour,
>
> Merci pour vos réponses, conseils et pistes ! Je vais faire des essais
> puis je ferai ici un retour sur mes résultats. (Pas tout de suite, je suis
> en mission...)
>
> Amitiés,
>
> Pierre Crescenzo
>   mailto:pie...@crescenzo.nom.fr
>   http://www.crescenzo.nom.fr/
>
> Le 13 mai 2016 à 18:53, Sylvain Joubert  a écrit :
>
>> Le 13/05/2016 11:15, Pierre Crescenzo a écrit :
>>
>>> Bonjour,
>>>
>>> J'utilise Debian en stable+testing. Y a-t-il une solution pas trop tirée
>>> par les cheveux pour voir (et entendre) du Netflix (quand on est abonné
>>> :-)) sous Debian. J'ai essayé des solutions sous Chrome (chromium) ou
>>> Firefox (firefox-esr) avec notamment PipeLight, mais il semble que
>>> depuis peu elles ne fonctionnent plus. Et HTML 5 de Netflix ainsi que
>>> google-chrome ont semble-t-il aussi du plomb dans l'aile. J'ai suivi pas
>>> mal d'autres pistes, en vain. Bref, je me suis perdu... Vous auriez une
>>> solution qui fonctionne actuellement et "pour de vrai". ;-) Merci !
>>>
>>
>> Bonjour,
>>
>> J'ai eu le même problème, la solution qui marche et la plus simple, au
>> prix d'une petite entorse au logiciel libre c'est d'utiliser Chrome. A
>> differencié de Chromium. Chromium pour satisfaire les régles open-source et
>> libre de Debian ne peux pas embarquer le nécessaire pour décoder les flux
>> de Netflix.
>>
>> Mais bonne nouvelle, Google fournit un paquet .deb pour Chrome avec tout
>> le nécessaire :
>> https://www.google.com/chrome/browser/desktop/index.html
>>
>> Télécharger le .deb
>> $ sudo dpkg -i 
>> Enjoy Netflix!
>>
>> Sylvain
>>
>>
>


a life changing book about truth

2016-05-28 Thread Theodore Roosevelt
Have you read the short book "The Present" yet? It's available free here.
Just go to the website: www.truthcontest.com

Click on the entry called The Present. What it says will turn this world
right-side up if it reaches enough people. You will see what I mean when
you read the first page.

Thanks,

Teddy


ASPM: Could not configure common clock

2016-05-28 Thread Chris Joysn
Hello,

i installed Debian testing from the netinst iso onto a Lenovo W530 laptop.
When booting the machine when it is attached to its docking station with
closed display, i very often get the kernel message

ASPM: Could not configure common clock

and then the boot process hangs.
When i reboot with the opened display but still connected to the docking
station, it boots successfully more often. And i never experienced this
message and a hung boot process when the laptop is not attached to the
docking station.

kernel: Linux laptop 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16)
x86_64 GNU/Linux

I also tried the stable dist which has a 3.16 kernel (iirc), but then the
boot process hung after the following message:

thinkpad_acpi: unsupported brighten interface, please contaxt
ibm-acpi-de...@sf.net

I think it is not the common clock which is the problem, but how can i find
out what is really the problem?

Thanks in advance
Joysn


Re: grub rescue commands not working

2016-05-28 Thread Hans
> Obtain a netinst image. Boot it and choose rescue mode from the menu.
> You will eventually get an option to 'Reinstall the GRUB boot loader'.
You may also try super grub 2 disk.
Google for it. 

Good luck!

Best

Hans



Re: grub rescue commands not working

2016-05-28 Thread Brian
On Fri 27 May 2016 at 21:05:11 -0400, Haines Brown wrote:

> My main system cannot boot. No idea how to reinstall grub2 from Live
> CD, and so look to see what I...

Obtain a netinst image. Boot it and choose rescue mode from the menu.
You will eventually get an option to 'Reinstall the GRUB boot loader'.



Re: [deb...@lionunicorn.co.uk: Re: Network manager (again) Re:]

2016-05-28 Thread Lisi Reisz
On Saturday 28 May 2016 01:28:03 Rodary Jacques wrote:
> Thanks for your comments I also use apt* commands, when necessary, but
> the point is that people don't seem to read thoroughly the threads they are
> answering to: I don't mind using wicd, I even tried it. But it also uses
> /etc/network/interfaces, and my questioning is about initramfs, ifaces
> drivers, /proc/net/dev, and $networking in insserv (not $network). And I
> would be very grateful to anyone who could answer to those questions
> (named-bind9, wifi access-point) not to the first answers. Thank you in
> advance, and again, sorry for my poor english (kspell still tells me to
> write *English* instead and nobody told me why, and this proves nobody
> looks at the first post in a thread :-D)
>   Cheers
>   Jacques


Ask your questions clearly and separately and you might get answers.  And you 
could try answering the questions people have asked you.

In addition, people can be answering each other, not just you.  You don't own 
the thread, you just started it, and you and others have broken it regularly 
so that it is actually impossible to look at the first post.  I tried 
yesterday.  I even had a look at Google's "conversations" to try and trace 
this thread back.  I failed.

So: state your questions clearly and separately (typed separately, with nice 
clear spaces between, and stated separately) - and please, no jokes.  They 
don't survive the translation.

Lisi



Re: WebRTC with Firefox in Debian Jessie

2016-05-28 Thread Curt
On 2016-05-24, Juha Heinanen  wrote:
> Markos writes:
>
>> I just found the WebRTC (https://webrtc.org/) project but I still don't 
>> understand if I already can use it as an alternative to Skype.
>
> You need a web phone and a (SIP) server.  For a demo phone, see
> e.g. https://tryit.jssip.net.

You do (not a rhetorical question)?

> -- Juha
>
>


-- 
Hypertext--or should I say the ideology of hypertext?--is ultrademocratic and
so entirely in harmony with the demagogic appeals to cultural democracy that
accompany (and distract one’s attention from) the ever-tightening grip of 
plutocratic capitalism. - Susan Sontag



Esquema sistema de paquets

2016-05-28 Thread Robert Marsellés
Hola a tots,

Entendre com està organitzat el sistema de paquets a Debian acostuma a
ser un dels mal de caps usuals per tots nosaltres inclús després de
usar-lo durant temps.

Una de les conseqüències pels usuaris és que no tenim clar què s'ha de
fer quan l'eina encarregada de actualitzar el sistema es queixa. Si
entenguéssim el procés bé, potser molts d'aquest dubtes no apareixerien
(per exemple, em va costar molt entendre els motius pels quals "testing"
és l'opció menys segura SEMPRE).

Bé, algú ha fet un esquema [1] sobre com està organitzat i d'altres
coses. A mi m'ha servit per confirmar que l'organització imaginada per
mi s'assemblava força a com ho veuen els que hi treballen.

Deixo l'enllaç per si algú hi estigués interessat. L'entrada de la
noticia la trobareu a Planet Debian [2] (en anglès).

Salut i peles,

robert

[1]
https://anonscm.debian.org/cgit/collab-maint/package-cycle.git/plain/package-cycle.svg

[2] Entrada de Antoine Beaupré de 19 de maig, http://planet.debian.org/

-- 
Robert Marsellés Fontanet | GnuPG keyID 20469B7F
mail: robert.carde...@gmail.com
Linux User 493238