Re: can hot-add of new disk be recognized in rescue mode?

2015-11-29 Thread Pascal Hambourg
Aman Nangia a écrit :
> 
> 146gb sas (2.5" drive). There were 2 empty slots in the hp gen7 system
> in the front. I inserted this spare new disk in one of the slots.

Sorry, I know nothing about SAS.

>> USB has nothing to do with file size limits. It all depends on the
>> filesystem. FAT limits files to about 4 Gio with 512-byte sectors. NTFS
>> and ext4 have a much higher limit.
>>
> Will try ntfs format in the usb.

Why use a Windows filesystem instead of a Linux one such as ext4 ? Do
you intend to read the data on a Windows system ?



Cambio de Apache prefork a worker en Debian - Consideraciones

2015-11-29 Thread Maykel Franco
Buenas, queremos optimizar apache y he leído que usar el worker es lo
adecuado para alta carga de peticiones web... Actualmente tenemos
bastante tráfico, unas 20k peticiones cada segundo en condiciones
altas y 10k en condiciones normales...

Tenemos la versión de apache prefork con mod_php y queremos cambiar
apache worker...

Mi pregunta es, esto es trivial o hay que tener algo en cuenta? A
nivel de programación, conexiones, hilos...

La idea es usar apache worker + php-fpm.

Cambiar apache por nginx es otra de las cosas que quiero hacer, pero
los programadores no me dejan, están acostumbrados a la sintaxis de
apache, cachisela mar... Con lo que me gust a mi nginx.

Habéis realizado alguien esta migración?

Gracias de antemano.



Re: wget tor

2015-11-29 Thread Camaleón
El Sun, 29 Nov 2015 13:26:20 -0300, Ricardo Delgado escribió:

> El día 29 de noviembre de 2015, 12:10, Camaleón 
> escribió:

(...)

>>> concretamente como puedo/podria mediante una sesion de consola seguir
>>> en tor.
>>>
>>> Estoy desde Debian stretch
>>>
>>
>> Ya veo que no tenéis la costumbre de preguntar a Google antes de
>> preguntar en la lista :-P

(...)

> Camaleon, en realidad si, lo primero que hago es buscar en internet,
> es mas no uso google sino startpage
> 
> https://startpage.com/do/search?cmd=process_search=proxychains=espanol=ff_date==_language=lang_es=1

Es buena idea no depender tanto de Google pero la verdad es que los 
resultados de otros buscadores dejan bastante que desear.

> solo que me gusta preguntar en la lista, para escuchar opiniones y
> modalidades utilizadas.
> 
> igualmente, te doy la razon en tanto que mi consulta no dice "busque en
> " ahi si tenes razon.
> 
> De todas formas gracias.

De nada, espero que te sirvan los resultados de las búsquedas, la verdad 
es que hay algunos interesantes.

Saludos,

-- 
Camaleón



Re: Locale-related questions

2015-11-29 Thread Thomas Schmitt
Hi,

Nicolas George wrote:
> void put_utf32be(FILE *f, unsigned c)
>   ...
> Note: I hereby place this code under the terms of the GNU GPL.

Are you sure this function qualifies for copyright at all ? ~:o)


To be nitpicking ...

The man page of putc(3) looks suspicious:
   fputc() writes the character c, cast to an unsigned char, to stream.
   ...
   putc() is equivalent to fputc() except that it may be implemented as
   a macro which evaluates stream more than once.

sizeof(unsigned char) is not guarateed to be 1.
(Although it would break lots of software if not.)

So probably one should allocate an array of uint8_t, fill it
by shifted snippets of the integer, and write it by fwrite(3)
or write(2).


Have a nice day :)

Thomas



Re: SATA HD hotplug "Authentication is required"

2015-11-29 Thread Ansgar Burchardt
Renaud (Ron) OLGIATI  writes:
>> > I have just added an eSATA outlet on my box; when I plug in a SATA
>> > disk, it is visible in gparted, its label is displayed in the Places
>> > column of PCManfm, but when I click on it I get an error
>> > "Authentication is required".
[...]
> Thanks; I should have asked:
>
> How do I get it to automount (without asking for authentification) ?

I think udisks treats drives attached via eSATA as "system" devices for
which the default policykit rules only allow mounting with
authentication.  These should show up as "HintSystem: true" in the
output of "udisksctl dump".

You could try marking them as UDISKS_SYSTEM=0 in a udev rule. See [1]
for how to do so.

Ansgar

  [1] 




Re: Recent linux-image update broke CPU fan

2015-11-29 Thread Neal P. Murphy
On Sun, 29 Nov 2015 14:35:15 +0100
Sven Arvidsson  wrote:

> On Sun, 2015-11-29 at 02:16 -0500, Neal P. Murphy wrote:
> > I think the last linux-image update broke my CPU fan. OK, it didn't
> > actually break it. But since the last update, my CPU fan (stock with
> > vishera 8350 black) will NOT turn faster than about 3500 RPM.
> > 
> > I have been using fancontrol for months. It took weeks to get it set
> > correctly. At maximum speed, I've seen (and heard) the fan turn in
> > excess of 6500 RPM.
> > 
> > Until the recent kernel update, the CPU and case fans have ramped up
> > with increasing temp and ramped down with decreasing temp. The CPU
> > never exceeded about 60C when compiling linux using all 8 CPUs for 5
> > minutes. And that was with a mild overclock (4.4GHz, 1866 RAM at
> > 2133).
> > 
> > Now, the CPU fan will not exceed about 3700 RPM. That's barely fast
> > enough to keep 4 non-overclocked CPUs cool.
> > 
> > Has anyone else experienced this? Is it related to the kernel update?
> > Or do I have a power supply or motherboard failing (again)?
> 
> If this was on a stable system it seems odd, if it was unstable or
> testing it might just be one of the "charms" of running something that
> is in development.

Jessie: stable.

> 
> You need to figure out what package is responsible for the change, boot
> the previous kernel for example. Then figure out if it's a bug or just
> changed behaviour.

As of 28 November 2015, the latest update to linux-image-3.16.0-4-amd64 versus 
the previous update. I think the latest update is:
linux-image-3.16.0-4-amd64_3.16.7-ckt11-1+deb8u6_amd64.deb
and the previous is probably ...deb8u5 So how do I tell it to uninstall 
'u6' and install 'u5'?

> 
> I'm not sure how fancontrol works. What exactly broke? Do you not get
> readings from the temperature sensors, or is it not possible to control
> the fan speed? 

Exactly: the CPU fan no longer exceeds about 3700 RPM. It is capable of 
exceeding 6000 RPM. Around 4500-5000 RPM is needed to keep the CPU from 
exceeding about 60C.

Fancontrol uses the interfaces in /sys/class/hwmon (in my case, the IT87 in 
.../hwmon/hwmon0/pwm1*). Fancontrol writes "0" to "255" to pwm[1-3]. "0" is the 
slowest allowed RPM; at "0", the CPU fan slows to around 1300 RPM and the case 
fans stop. "255" is the fastest RPM; this should have the CPU fan screaming 
painfully loud while the case fans top out at around 1300 RPM. But the CPU fan 
now refuses to go faster than around 3700 RPM, even with clocking restored to 
stock timings.

The sensors work and report sane RPM and temp readings; they are generally 
where I expect them to be with respect to CPU load. But the CPU fan just won't 
go any faster.

Thus my query: did the latest linux-image update do anything with sensors 
and/or sensor drivers? That is, mayhap the IT87 driver changed to scale the 
pwm1 input? (No, it doesn't make sense, but strange things happen with software 
now and again.)

I can live with "It's a coincidence." A lot of things can change; the obvious 
one was the recent kernel update, thus my query. If the latest changes/patches 
to 3.16 are well away from sensors and drivers, then the kernel update probably 
is not the cause and I should look elsewhere (like checking the capacitors on 
the M5A99FX mainboard; there are probably still some bad caps floating around.)

Thanks,
Neal



Re: Locale-related questions

2015-11-29 Thread Nicolas George
Le nonidi 9 frimaire, an CCXXIV, Thomas Schmitt a écrit :
> Well, in this case a byte does not necessarily consist of 8 bits,
> which would make data exchange somewhat difficult.

As I said, POSIX mandates that bytes are octets. C without POSIX does not
allow reliable binary I/O.

> But i confess that this is nearly a moot point.
> Important is to explicitely control the byte sequence on both sides
> - writer and reader.

Indeed.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: root acount is loocked,starting shell

2015-11-29 Thread Ernest Adrogué
Hola,

2015-11-29, 16:13 (+0100); dainat...@riseup.net escriu:
> Em trobo que un cop introduida la contrasenya per desencriptar el disc
> dur...
> no puc entrar ni com usuaria convidada..
> ni com la principal.. que deu ser l'administrador

Abans de intentar fer res, crec que hauries de mirar les últimes línies del
fitxer /var/log/auth.log per veure el motiu pel qual no pots entrar:

tail /var/log/auth.log

(has de ser root)

per exemple, si intento entrar com un usuari inexistent, a l'auth.log
m'apareix aquesta línia

Nov 29 22:33:58 doriath login[2974]: FAILED LOGIN (1) on '/dev/tty2' FOR 
'UNKNOWN', Authentication failure

diu que les 22:33 ha fallat l'autenticació de login i l'usuari és 'UNKNOWN'
(no existeix); a tu probablement et dirà un altre motiu.



Re: debian 8.2 live "standard" install - how to set up wifi?

2015-11-29 Thread moxalt
On Sat, 28 Nov 2015 20:28:07 +, Brian  wrote:

> On Sat 28 Nov 2015 at 22:22:30 +0300, moxalt wrote:
> 
> > On Sat, 28 Nov 2015 12:36:35 +, Brian  wrote:
> > 
> > > On Sat 28 Nov 2015 at 10:52:46 +0300, moxalt wrote:
> > > 
> > > > On Fri, 27 Nov 2015 19:58:46 +, Brian  wrote:
> > > > 
> > > > > This bothers me. You install without any tasks (that's ok) and
> > > > > networking is there when the new systam boots? Are you installing
> > > > > over a wireless link? Just to emphasise - no wired connection is
> > > > > present.
> > > > 
> > > > Yes, networking is just there.
> > > 
> > > This still bothers me. :)
> > > 
> > > If networking is just there why, as you say later, do you have to bring
> > > wlan0 up? Also, how do you manage to have eth0 in the output of
> > > 'ifconfig' when the wireless interface has been chosen for installing?
> > > It cannot be in /etc/network/interfaces.
> > 
> > Let me clarify what I meant by networking just being there. I did not say
> > that a connection would be up and running straight away- just that all
> > relevant network interfaces would be available for me to connect over. It
> > is not the case that I am able to use internet straight away after booting-
> > I have to actually connect to things with tools like wpa_supplicant,
> > iwconfig, etc.
> 
> You have clarified the situation immensely. In fact, you have confirmed
> that netcfg behaves as it is presently designed to, Without any selected
> DE task and installing over a Wifi connection there is no connectivity
> after finishing the install. You have to configure, as you say.  some
> software.
> 
> When I first met this I was quite astounded; why no connectivity even
> though it present during installation?
> 
> The thinking would appear to be that someone who does not install
> network manager or install over a wired connection wants to set up
> networking afterwards. This is what you actually did, without being
> aware of netcfg's intentions. You used your initiative because you had
> to if you wanted to connect to other machines.
>  
> > By the way, it seems I've been putting wlan0 up needlessly this whole time.
> > I taught myself how to do command-line networking off some Ubuntu tutorial
> > that said I should do it (probably just to cover all cases) and have been
> > doing ifconfig  up this whole time for no reason. After reading
> > the ifconfig man page, it seems the kernel uses ifconfig to put all
> > interfaces up at boot anyway, after which they are all up (as indicated by
> > ifconfig run with no arguments).
> 
> How did you establish the connectivity that d-i did not provide?

When did I say that debian-installer provided no connectivity? I successfully
installed over WLAN using it.

> It
> could only be through a wired connection or wpasupplicant using ifupdown
> or NM (or wicd, I suppose). You are obviously connected now, so you must
> have done something to rectify being unable to access the internet.

wpa_supplicant, ifconfig, and dhclient.

> > What is strange, though, is that when I boot using the 'text'
> > LINUX_CMDLINE_DEFAULT GRUB kernel parameter, and then type ifconfig wlan0
> > up in the tty, a dmesg message appears declaring 'Link not ready' or
> > something to that effect- and then it goes on working just fine. Does
> > anyone else see this happening?
> > 
> > After I investigated, your second point sent shivers of spooky down my
> > spleen. The contents of /etc/network/interfaces are as follows:
> > 
> > ---
> > # This file describes the network interfaces available on your system
> > # and how to activate them. For more information, see interfaces(5).
> > 
> > source /etc/network/interfaces.d/*
> > 
> > # The loopback network interface
> > auto lo
> > iface lo inet loopback
> > ---
> > 
> > Neither eth nor wlan are there!? You were right when you said they couldn't
> > be in /etc/network/interfaces. However, the mystery continues- ifconfig
> > reports the following:
> > 
> > ---
> > eth0  Link encap:Ethernet  HWaddr f4:6d:04:89:e3:01  
> >   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)
> > 
> > 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:65536  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:0 

Re: Grub komut satirindan boot

2015-11-29 Thread Engin Yilmaz
Tesekkur ederim bu isin uzmanisiniz. Yontem 2 ile cozdum calisiyor simdi
29 Kas 2015 19:11 tarihinde Cem ÜNAL  yazdı:

> Öncelikle imkanınız var ise bir canlı CD ile kurulu sisteminize chroot
> yöntemi erişip grub yapılandırma dosyasını yeniden oluşturmanız daha basit
> gibi görünüyor. Ama imkanınızın olmadığını da varsayarak sizin istediğiniz
> şekilde de sisteminizi nasıl önyüklenebilir hale getirebileceğinizi *elimden
> geldiğince anlatmaya çalışacağım.*
>
> *1 - ) chroot yöntemi ile:*
>
> Canlı CD ile bilgisayarınızı açtıktan sonra herhangi bir terminal
> emülatörünü açınız ve Debian kurulu olan disk bölümünüzün adının ne
> olduğundan "fdisk -l" gibi bir komut ile emin olun.
> Daha sonra bu disk bölümünü bağlayacağınız bir dizin oluşturun: "mkdir
> /mnt/debian"
> Debian kurulu olan disk bölümünü bu dizine bağlayın: "mount /dev/sdXY
> /mnt/debian" ( Burada XY, sizin de bildiğiniz gibi Debian kurulu olan
> diskinizi ve bölüm numarasını temsil etmektedir. )
> Bu dizine geçiş yapın: "cd /mnt/debian" ve sırası ile proc , sys ve dev
> gibi gereksinimleri bağlayınız:
> "mount -t proc none proc"
> "mount --rbind /sys sys"
> "mount --rbind /dev dev"
> Daha sonrasında ise chroot işlemini gerçekleştirin:
> "env -i HOME=/root TERM=$TERM chroot . bash -l"
> Komut satırına düştüğünüze göre grub'da kurulum ile ilgili bir sıkıntı
> olmadığını kabul edip sadece yapılandırma komutunu yazıyorum:
> "grub-mkconfig -o /boot/grub/grub.cfg"
> Bu komut ile grub.cfg dosyanız otomatik olarak oluşturulacaktır.
> Daha sonrasında "cd && umount -lR debian" komutunu verin ve sisteminizi
> yeniden başlatın.
>
> *2 - ) grub komut satırından:*
>
> Komut satırında düştüğünüzde "ls" komutu ile disklerinizi ve disk
> bölümlerinizi numaraları ile birlikte görme imkanınız olacaktır. Örneğin:
> (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
> Daha sonrasında da yine "ls" komutu ile hangi disk bölümünün Debian kurulu
> olan disk bölümü olduğundan emin olun:
> "ls (hd0,2)/" gibi denemeler yapın içerik sonucunda boot dizinin olduğu
> diski tespit edin.
> Yine aynı yolla boot dizinin de içeriğini görüntüleyin ve vmlinuz ve
> initrd.img ile başlayan iki dosyayı bulun.
> Sonrası için sizin istediğiniz komutlar şöyle:
> "set root=(hd0,2)" ( Burada 0 ve 2 sembolik siz kendi disk numaranızı ve
> sırasını yazacaksınız )
> "linux /boot/vmlinuz-4.2.0-18-generic root=/dev/sda2 ( Burada disk adı ve
> bölüm numarasına dikkat ediniz: hd0,1 in karşılığı sda1 dir. hd0,2 nin sda2
> dir. hd1,1 in karşılığı sdb1 dir. )
> "initrd /boot/initrd.img-4.2.0-18-generic" ( Bu komutta ve bir önceki
> komutta initrd.img ve vmlinuz dosyalarının numaraları sizde farklı
> olacaktır; dikkat edin. )
> "boot" ( Bir terslik olmazsa sisteminiz açılacaktır. )
>
> *NOT: Tüm bunları Debian kurulumunuzun olduğu disk bölümünden ayrı bir
> önyükleme bölümünüzün olmadığını varsayarak anlattım. Umarım yardımcı
> olabilmişimdir.*
>
> Cem ÜNAL
>
>
> *Sent:* Saturday, November 28, 2015 at 2:38 PM
> *From:* "Engin Yilmaz" 
> *To:* debian-user-turkish@lists.debian.org
> *Subject:* Grub komut satirindan boot
>
> Merhaba /boot/grub/grub.cfg dosyasini elle duzenlemis bulundum ve simdi
> grub> komut satirindan boot edemiyorum. Debian 8 testing kullaniyorum.
> Komut satirindan sirasiyla girmem komutlari buraya yazar misiniz.
>


Re: Locale-related questions

2015-11-29 Thread Nicolas George
Thomas already gave an answer with relevant points.

Le nonidi 9 frimaire, an CCXXIV, Morten W. Petersen a écrit :
> I'm writing an XML parser/writer/simple DOM, which will input and output
> primarily in UTF-32.

Is there a good or unavoidable reason to use UTF-32? This is really a bad
choice of format for external representation. Nowadays, I would say that
UTF-8 should always be the preferred choice (for external representation;
for internal representation, using integers for code points may be better
depending on the use case).

> What I'm looking for is a cross-platform way to output some data, to aid
> in the testing process.  Reading and writing from files will probably be
> binary and handled internally in the program.

If you want cross-platform, stay away from wchar_t. It allows you to do
SIMPLE tings in a cross-platform way, such as printing an error message, but
no more. If you need control over the encoding, then you can not do it with
wchar_t portably. For starters, the i4s at microsoft decided that 64k
characters should be enough for everyone, so if your cross-platform includes
microsoftisms, you can not use wchar_t to represent an Unicode code point.
The i4s at sun had other interesting ideas on how to make the coding for
wchar_t itself depend on the locale.

If you really need to write UTF-32, writing the corresponding function takes
about half a minute:

void put_utf32be(FILE *f, unsigned c)
{
putc(f, (c >> 24) & 0xFF);
putc(f, (c >> 16) & 0xFF);
putc(f, (c >>  8) & 0xFF);
putc(f, (c >>  0) & 0xFF);
}

Note: I hereby place this code under the terms of the GNU GPL. And correctly
handling errors is left as an exercise to the reader.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Assunto: Re: Software Livre assinador de documentos PDF

2015-11-29 Thread Márcio de Araújo Benedito
Vc pode fazer seu próprio assinador digital para documentos, tem classes 
prontas pra servidores web pra isso.

Enviado do Yahoo Mail no Android 
 
  Em 13:25 Dom, 29 de nov de PM, Diego Rabatone Oliveira 
escreveu:   Ótimo saber que é possível assinar documentos via Libreoffice 5.
Porém, ainda acho razoável a ideia de termos um Software Livre para assinatura 
digital de documentos PDF. Eu, por exemplo, costumo gerar documentos via LaTeX, 
assim como muitas vezes imprimir páginas web que gostaria de assinar 
digitalmente. Ou mesmo quando recebo algum documento já em formato PDF.

Outra hipótese é quando várias pessoas pretendem assinar um único documento, 
caso que em provavelmente o libreoffice não consiga resolver, ainda.

Att,



Diego Rabatone Oliveira
http://blog.diraol.eng.br
diraol(arroba)diraol(ponto)eng(ponto)br
Twitter: @diraol

Em 24 de novembro de 2015 12:04, Danton Medrado  
escreveu:

‎Olá pessoal,Documentos podem sim ser gerados e assinados digitalmente no 
Libreoffice 5.
Medrado‎
Enviado do BlackBerry 10.
| De: Flavio Menezes dos ReisEnviada: terça-feira, 24 de novembro de 2015 
12:00Para: dupAssunto: Re: Software Livre assinador de documentos PDF |


Colegas, mais ou menos neste sentido

Em palestra sobre o LibreOffice 5.0, no último FISL, foi anunciado um acordo 
com a CEF para que esta fizesse a marcação de registro de tempo em arquivos 
PDFs criados no LibreOffice 5.0. Além disto, ficou explícito que o LibreOffice 
5.0 já permite criar arquivos PDFs assinados, diretamente do LibreOffice, 
embora eu nunca tenha utilizado este recurso.

Acredito, então, que a necessidade de assinatura de PDFs só faria sentido se 
fosse para outros documentos que não aqueles que pudessem ser gerados a partir 
do LibreOffice.

Atte.,

Em 24 de novembro de 2015 11:29, Alcione Ferreira  
escreveu:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bom dia!

No quesito de assinatura, já podemos pegar como base o Cryptonit, que é 
opensource e desenvolvido em C++ com QT, não verifiquei seu código ainda, mas 
tenho pretensão de iniciar alguns projetos na Universidade que leciono nesse 
intuito, estudando a pkcs11 que é a biblioteca que faz tal serviço, a questão 
de programar para assinar PDF é que o próprio é proprietário, acho eu, mas é 
uma ideia boa.

Att.
Em 24-11-2015 10:05, Jamenson Ferreira Espindula de Almeida Melo escreveu:
>
>
> Jaboatão dos Guararapes, PE, 24 de novembro de 2015.
>
>
> 
> 
>
>
> Assunto: Software Livre assinador de documentos PDF
>
>
> 
> 
>
>
> Saudações.
>
> Pergunto se não haveria interesse em desenvolver um Software Livre
> assinador de documentos PDF?
>
> Tal software seria multiplataforma e com código fonte disponível.
>
> Existe necessidade de um software assinador de documentos PDF que seja
> totalmente Software Livre.
>
> O Tribunal de Justiça do Estado do Rio de Janeiro 
> até desenvolveu uma solução
> chamada de "Assinador Livre".   Ocorre que tal software somente pode
> ser executado em plataformas
> Microsoft Windows e ainda assim é obrigatória a prévia instalação do
> framework .NET 2.0
>
> Para aqueles que desejam desenvolver e aprender a programar, existe
> muita necessidade em atender
> à classe dos Advogados e pessoas que atuam junto ao Poder Judiciário 
> brasileiro.
>
> Uma curiosidade: Lei Ordinária Federal nº 11.419, de 19 de dezembro de 2006.
>
> Essa Lei Ordinária Federal regula a informatização do processo dentro
> do Poder Judiciário, além de
> outros assuntos.
>
> Existe também a Medida Provisória nº 2.200-2, de 24 de agosto de 2001.
>
> Essa Medida Provisória cria e regula a chamada "Infraestrutura de
> Chaves Públicas Brasileira
>  - ICP Brasil", além de outros assuntos.
>
> Com base no que tenho acompanhado das postagens, não vejo ninguém
> interessado em desenvolver para
> esse mercado e isso é lamentável.
>
> Deixo essas sugestões para a apreciação das Senhoras e dos Senhores.
>
>
> Cordialmente,
>
>
> Jamenson Ferreira Espindula de Almeida Melo
> Usuário GNU/Linux nº 166197
> https://linuxcounter.net/cert/166197.png
>
> Impressão digital da chave:
> 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
>
>
>
>

- -- 
Paz e Bem!
Alcione Ferreira
Sombra®
101080
[http://www.alcionesytes.net/]
- 
Liberdade e conhecimento ao alcance de todos.

Office Escritório - http://www.libreoffice.org/
Navegador Firefox - http://www.mozilla.org.br/
Email Thunderbird - http://www.mozilla.org.br/
- ---
Linux user number 432030 of http://counter.li.org/
- ---
ICQ: 377035698
Jabber: ksomb...@jabber.org
MSN: alcione.som...@hotmail.com
- ---
Curriculum: 

Re: Locale-related questions

2015-11-29 Thread Nicolas George
Le nonidi 9 frimaire, an CCXXIV, Thomas Schmitt a écrit :
> Are you sure this function qualifies for copyright at all ? ~:o)

This would be for a judge to decide, if I were to sue.

> The man page of putc(3) looks suspicious:
>fputc() writes the character c, cast to an unsigned char, to stream.
>...
>putc() is equivalent to fputc() except that it may be implemented as
>a macro which evaluates stream more than once.
> 
> sizeof(unsigned char) is not guarateed to be 1.

You are mistaken. Quoting the C standard:

# 6.5.3.4  The sizeof operator
#
# [#3] When applied to an operand that has type char, unsigned char, or
# signed char, (or a qualified version thereof) the result is 1.

Furthermore, C does not, but POSIX does mandate that chars are exactly
octets (C only mandates they are at least 8 bits).

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: can hot-add of new disk be recognized in rescue mode?

2015-11-29 Thread Aman Nangia


**
Sent from my iPhone
**

> On Nov 29, 2015, at 4:25 AM, Pascal Hambourg  wrote:
> 
> aman nangia a écrit :
>> hi,
>> 
>> can hot-add of new disk be recognized under rescue mode when booted
>> from linux dvd by any chance? (bcz we were able to see the data from the
>> boot drive after mounting it to /b, thought to back up the data. The
>> data is ~80-90gb and thought to insert a new disk in front
> 
> What do you meand by "insert in front" ? What kind of disk is it ?
146gb sas (2.5" drive). There were 2 empty slots in the hp gen7 system in the 
front. I inserted this spare new disk in one of the slots.
> Is the host controller hot-swap capable ? If it is a SATA disk,it may
> require to run in AHCI mode to enable hot-swap.
> 

>> But the problem is that the max size of any file when written to usb is
>> approx 4.2gb only
> 
> USB has nothing to do with file size limits. It all depends on the
> filesystem. FAT limits files to about 4 Gio with 512-byte sectors. NTFS
> and ext4 have a much higher limit.
> 
Will try ntfs format in the usb.


Re: Locale-related questions

2015-11-29 Thread Thomas Schmitt
Hi,

Morten W. Petersen wrote:
> This program outputs some information to stdout in the testing process,
> and this is also UTF-32

As long as they are in stdout, the UTF-32 characters are byte
sequences of no special meaning.
The meaning as characters is attributed to them by the display
program (e.g. an xterm).


> I tried now to use putwchar:
>    putwchar((wchar_t) buffer[index]);
> And the output is the same as if had used
>    printf("%c", (char) buffer[index]);

It depends on the byte-order of 4-byte words whether the
output from this is equivalent. putwchar() might swap bytes
relative to the internal byte representation.

(Besides the waste of bytes, the byte order is another
 disadvantage of UTF-32 in comparison to UTF-8.)


> That is, non-ASCII characters are garbled.

Probably because your terminal (or other text display program)
expects UTF-8.

I googled for a terminal type which supports UTF-32, but failed.
So the only proposal i can make is to use iconv(1) in order
to convert the UTF-32 output to UTF-8 before it gets displayed.

  producer_process | iconv -f UTF-32LE -t UTF-8 | display_process

or

  producer_process | iconv -f UTF-32BE -t UTF-8 | display_process

depending on which byte order of UTF-32 your program puts out.
If you guessed the wrong order, you will probably get iconv errors
like
  iconv: illegal input sequence at position 0


Of course you should not convert to UTF-8 if the consumer process
expects UTF-32. In this case you only have to make sure that
producer and consumer work by the same byte order.
If "cross-platform" is meant seriously, then you will have to control
the byte order at output and input by own means. I.e. convert your
integers to bytes (and vice versa) by shifting in 8-bit steps.

E.g. integer to little endian (UTF-32LE):
  byte[0] = (integer >> 0) & 0xff;
  byte[1] = (integer >> 8) & 0xff;
  byte[2] = (integer >> 16) & 0xff;
  byte[3] = (integer >> 24) & 0xff;


Have a nice day :)

Thomas



Re: [OT] Supermicro o HP DL180

2015-11-29 Thread Maykel Franco
El 29 nov. 2015 2:47 p. m., "Maykel Franco" 
escribió:
>
>
> El 29 nov. 2015 2:45 p. m., "Roberto Quiñones" 
escribió:
> >
> >
> > El 28-11-2015 12:56, "Maykel Franco"  escribió:
> > >
> > > Buenas, si os dieran de presupuesto 3000€ para pillar dos máquinas
para dos servidores web (y lo que quepa) que cogeríais dos hp proliant
dl180 ajustando presupuesto (no hace falta fuente redundante y la
configuración raid no es crítica, valdría un raid0 por software mdadm) o un
supermicro?
> > >
> > > Estoy valorando esta opción:
> > >
> > >
http://www.amazon.es/gp/aw/d/B00DJWP30S/ref=mp_s_a_1_2?qid=1448725748=8-2=SY200_QL40=supermicro=1=412PkwP4rTL=plSrch
> > >
> > > Porque podría comprar 4 ajustando presupuesto un pelin más o un pelin
menos...
> > >
> > > Cualquier otra recomendación es bienvenida siempre y cuando no sea un
desktop que no nos caben en el datacenter jeje.
> > >
> > > Que opinais??
> >
> > Que te parecen los servidores lenovo son buenos y de bajo costo.
> >
> > Saludos
>
> No habia pensado en lenovo pero voy a echarle un ojo... Tengo buenas
referencias en cuanto a portátiles lenovo pero no servidores...

De segunda mano también me valen

http://www.amazon.es/gp/aw/d/B00E88ZHLC/ref=mp_s_a_1_1?qid=1448805863=8-1=AC_SX110_SY165=HP+726042-425+-+Servidor

Este servidor según el comentario que hay no lleva controladora de discos
sas.

Quiero poder sacar el mayor número de máquinas y rendimiento por ese precio.

Y tampoco van a ser críticas las máquinas lo que quiero es rendimiento. Más
sugerencias??


SATA HD hotplug "Authentication is required"

2015-11-29 Thread Ron
I have just added an eSATA outlet on my box; when I plug in a SATA disk, it is 
visible in gparted, its label is displayed in the Places column of PCManfm, but 
when I click on it I get an error "Authentication is required".

Is that udev throwing a tantrum ?

Tried mounting it from the CLI, did not work:

root@ron:/home/ron # mount /dev/sdi1
mount: can't find /dev/sdi1 in /etc/fstab or /etc/mtab

How do I get it to mount ?
 
Cheers,
 
Ron.
-- 
   They also surf, who only stand on waves.

   -- http://www.olgiati-in-paraguay.org --
 



Re: SATA HD hotplug "Authentication is required"

2015-11-29 Thread Petter Adsen
On Sun, 29 Nov 2015 11:20:01 -0300
Renaud (Ron) OLGIATI  wrote:

> I have just added an eSATA outlet on my box; when I plug in a SATA
> disk, it is visible in gparted, its label is displayed in the Places
> column of PCManfm, but when I click on it I get an error
> "Authentication is required".
> 
> Is that udev throwing a tantrum ?
> 
> Tried mounting it from the CLI, did not work:
> 
> root@ron:/home/ron # mount /dev/sdi1
> mount: can't find /dev/sdi1 in /etc/fstab or /etc/mtab
> 
> How do I get it to mount ?

You need to specify where you want it mounted; 'mount /dev/sdi1 /mnt'
for example, or add a line to fstab.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: [OT] Re: convertir trafico udp multicast en unicast

2015-11-29 Thread Camaleón
El Fri, 27 Nov 2015 22:39:09 +0100, juan carlos Rebate escribió:

Vuelvo a corregir el formato html, parece que te cuesta encontrarle el 
truco ¿eh?.

> en una cienaga te moveras tu, quiza tu gps no sepa guiarte, 

No sé, yo veo esto un poco empantanado, con movimiento lento.

> la url no es rara

Lo es, al menos no sigue el formato que indican en los manuales.

> ya que si lees el mensaje 1 dije que tanto ffmpeg como udpxy está
> en la misma maquina tanto que dices que no leo mira tu lo que yo
> explico, por ello la url tiene que ser esa ffplay -i
> http://192.168.1.43:4022/rtp:/192.168.1.43:8080 

¿Esa es la URL que pones en el navegador? Si es así, sigue siendo "rara".

> ya que si no intento usar el proxy si conecta pero se ve codificado
> (normal) pero es raro que SIGUIENDO LOS PASOS me de error y es curiosos
> que ninguna web hable de mi fallo, 

No dudo que el programa esté funcionando pero esa URL no parece correcta 
por lo que es normal que te devuelva un error 404.

> en cuanto al texto plano en webmail no existe formato plano, soloo 
> existe eliminar formato, 

Pues esa es la opción ¿no has leído las instrucciones que te envié?

> si me decis donde enviar capturas las mando.

Puedes:

1/ Adjuntar un archivo en el emnsaje y enviarlo a la lista

2/ Puedes usar cualquier servidor online de almacenamiento de imágenes 
como www.picpaste.com y enviar el enlace a la lista

En cuanto a tu problema con udpxy ya te he comentado las pruebas que 
puedes hacer.

Saludos,

-- 
Camaleón



Re: [OFF-TOPIC] zimbra y licencias

2015-11-29 Thread Camaleón
El Fri, 27 Nov 2015 23:06:02 +0100, Adrià escribió:

> On Fri, Nov 27, 2015 at 09:54:53AM -0600, Ricky Gutierrez wrote:
>> El día 27 de noviembre de 2015, 8:06, Camaleón 
>> escribió:
>> > Y sin su compañía espero que también.
>> 
>> Pero seria mejor estar con El!
> 
> Eso que lo decida cada uno: estás en una lista técnica por lo que los
> juicios de valores deberían quedarse fuera.

Hombre, no creo que pase nada por expresar un sentimiento personal :-)

>> > Creo que esto deberías preguntarlo a Zimbra, directamente. Teniendo
>> > en cuenta que estáis pensando en comprar licencias, os recibirán con
>> > los brazos abiertos y responderán rápida y eficazmente, ya lo verás
>> > :-D
>> >
>> >
>> Um voy a tomar tu consejo cama
> 
> Recuerda tambien http://community.zimbra.com.

Pero eso es para la versión libre, entiendo que la de pago es la que le 
interesa ya que quiere preguntar un asunto relacionado con las licencias 
y lo que permiten.

Saludos,

-- 
Camaleón



Re: driver envia con backport kernels

2015-11-29 Thread Camaleón
El Sat, 28 Nov 2015 12:22:42 +0100, Josu Lazkano escribió:

> 2015-11-28 11:52 GMT+01:00 Josu Lazkano :
>> Gracias Camaleon,
>>
>> Si que existe el modulo:
>>
>> # locate nvidia_drv.so 
>> /etc/alternatives/glx--nvidia_drv.so
>> /etc/alternatives/nvidia--nvidia_drv.so 
>> /usr/lib/nvidia/nvidia_drv.so
>> /usr/lib/nvidia/current/nvidia_drv.so
>> /usr/lib/xorg/modules/drivers/nvidia_drv.so

Bien, ene se caso habría que ver por qué no se carga.

>> Si intento instalar el driver me da problemas de dependencias:
>>
>> # apt-get -t jessie-backports install nvidia-driver

(...)

>> The following packages have unmet dependencies:
>>  nvidia-driver : Depends: xserver-xorg-video-nvidia (=
>> 340.93-8~bpo8+1) but it is not going to be installed
>>  Depends: nvidia-alternative (= 340.93-8~bpo8+1) but
>> 340.93-3~bpo8+1 is to be installed
>>  Recommends: libgl1-nvidia-glx-i386 but it is not
>>  installable Recommends: nvidia-persistenced but it is
>>  not installable
>> E: Unable to correct problems, you have held broken packages.

Bueno, te dice que tienes que instalar "xserver-xorg-video-nvidia" y que 
no se puede instalar porque depende de una versión del paquete "nvidia-
alternative" que es inferior a la que necesita.

Parece un problema de versiones de paquetes.

>> La otra opcion que tengo es quitar todo lo de backport, pero me
>> gustaria quedarme con el kernel nuevo.

(...)

No, hombre, paciencia. Lidiar con los backports no es agradable ni 
sencillo pero tener un kernel actualizado merece la pena :-)

> Otra cosa curiosa es que al actualizar me da esto:
> 
> # apt-get upgrade Reading package lists... Done Building dependency tree
> Reading state information... Done Calculating upgrade... Done The
> following packages have been kept back:
>   nvidia-alternative nvidia-kernel-dkms
> 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> 
> Pero no los puedo actualizar.

Vale, ahí tienes el motivo de por qué no se ha instalado/actualizado el 
driver de nvidia que es lo que te ha generado todo el problema, el gestor 
de paquetes lo ha retenido seguramente porque las versiones no concuerdan 
de ahí que no se pueda actualizar... de momento. Sólo tienes que esperar 
a que lo resuelvan y ya se podrá actualizar el paquete de nvidia 
correctamente. Mientras tanto puedes iniciar con el kernel que viene de 
serie en Debian :-)

Ah, mira... creo que ya está disponible (340.93-8):

https://packages.debian.org/jessie-backports/nvidia-alternative

Saludos,

-- 
Camaleón



Re: Locale-related questions

2015-11-29 Thread Morten W. Petersen
Hi Alex,

thanks for that.

I was looking for a locale that would enable me to putwchar a 32-bit
Unicode character to stdout and have things handled correctly,
automatically.  Without any re-encoding to UTF-8 and so on.

-Morten

On Sun, Nov 29, 2015 at 2:21 PM, Alex Vong  wrote:

> Hi Morten,
>
> I have CCed this mail to . I think it is
> a good place to talk about your question.
>
> Regarding the question, could you please give more information? What
> problem are you facing? Are you trying to convert encoding from/to
> UTF-32 ? If yes, perhaps libiconv
>  could help you.
>
> Cheers,
> Alex
>
> On 29/11/2015, Morten W. Petersen  wrote:
> > Hi there.
> >
> > I have some questions about building/enabling a UTF-32 locale in Debian
> or
> > Linux in general, who could I talk to about that?
> >
> > Thanks,
> >
> > Morten
> >
> > --
> > Twittering at http://twitter.com/blogologue
> > Blogging at http://blogologue.com
> > Playing music at https://soundcloud.com/morten-w-petersen
> > Also playing music and podcasting here:
> > http://www.mixcloud.com/morten-w-petersen/
> > On Google+ here https://plus.google.com/107781930037068750156
> > On Instagram at https://instagram.com/morphexx/
> >
>



-- 
Twittering at http://twitter.com/blogologue
Blogging at http://blogologue.com
Playing music at https://soundcloud.com/morten-w-petersen
Also playing music and podcasting here:
http://www.mixcloud.com/morten-w-petersen/
On Google+ here https://plus.google.com/107781930037068750156
On Instagram at https://instagram.com/morphexx/


Re: Locale-related questions

2015-11-29 Thread Nicolas George
Le nonidi 9 frimaire, an CCXXIV, Morten W. Petersen a écrit :
> I was looking for a locale that would enable me to putwchar a 32-bit
> Unicode character to stdout and have things handled correctly,
> automatically.  Without any re-encoding to UTF-8 and so on.

I do not know what your program is about, but what you are asking seems to
me like a very bad idea.

You should use putwchar() if you WANT automatic recoding to the current
locale, transparently and for any locale, as long as the character is
possible.

On the other hand, if as you say you do not want automatic recoding, then
you should use octet-based output functions: serialize your Unicode code
point to little or big endian as you prefer and use putchar() or fwrite() to
send it.

Note that wchar_t are Unicode code point under GNU but that is neither
guaranteed nor portable. Personally, I recommend not to use wchar_t
entirely.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: SATA HD hotplug "Authentication is required"

2015-11-29 Thread Ron
On Sun, 29 Nov 2015 15:34:05 +0100
Petter Adsen  wrote:

> > I have just added an eSATA outlet on my box; when I plug in a SATA
> > disk, it is visible in gparted, its label is displayed in the Places
> > column of PCManfm, but when I click on it I get an error
> > "Authentication is required".
> > 
> > Is that udev throwing a tantrum ?
> > 
> > Tried mounting it from the CLI, did not work:
> > 
> > root@ron:/home/ron # mount /dev/sdi1
> > mount: can't find /dev/sdi1 in /etc/fstab or /etc/mtab
> > 
> > How do I get it to mount ?  
> 
> You need to specify where you want it mounted; 'mount /dev/sdi1 /mnt'
> for example, or add a line to fstab.

Thanks; I should have asked: 

How do I get it to automount (without asking for authentification) ?
 
Cheers,
 
Ron.
-- 
  What which we call knowledge is ignorance surrounded by laughter.
-- Charles Hoy Fort

   -- http://www.olgiati-in-paraguay.org --
 



Re: [OT] Supermicro o HP DL180

2015-11-29 Thread Camaleón
El Sat, 28 Nov 2015 16:55:41 +0100, Maykel Franco escribió:

(G...)

Desde luego, no sé desde dónde enviáis los correos pero no hay excusa 
para no usar formato texto plano. A ver si os ponéis las pilas...

> Buenas, si os dieran de presupuesto 3000€ para pillar dos máquinas para
> dos servidores web (y lo que quepa) que cogeríais dos hp proliant dl180
> ajustando presupuesto (no hace falta fuente redundante y la
> configuración raid no es crítica, valdría un raid0 por software mdadm) o
> un supermicro?
> 
> Estoy valorando esta opción:
> 
> http://www.amazon.es/gp/aw/d/B00DJWP30S/ref=mp_s_a_1_2?
qid=1448725748=8-2=SY200_QL40=supermicro=1=412PkwP4rTL=plSrch
> 
> Porque podría comprar 4 ajustando presupuesto un pelin más o un pelin
> menos...
> 
> Cualquier otra recomendación es bienvenida siempre y cuando no sea un
> desktop que no nos caben en el datacenter jeje.
> 
> Que opinais??

Yo te puedo hablar de Supermicro que son los servidores que tengo en las 
oficinas (2U), así como también estaciones de trabajo (placas base). Los 
servidores están funcionando 7/24/365 desde hace 10 años y sólo he tenido 
que cambiar los ventiladores frontales. Las estaciones de trabajo se 
encienden en horario normal (8-20) y sólo he tenido que cambiar alguna 
fuente de alimentación que para 10 años pues ya van bien :-)

Es decir, una joyita de hardware.

Pero en ambos casos (Supermicro y HP) te digo que te fijes en los 
detalles, que no todos los chipsets ni componentes tienen el mismo nivel 
de soporte en Linux, que lo releas con lupa, que busques información e 
Internet para ver qué dice la gente sobre esas placas y qué problemas 
tienen con Linux.

Saludos,

-- 
Camaleón



Re: wget tor

2015-11-29 Thread Camaleón
El Sat, 28 Nov 2015 21:05:30 -0300, Ricardo Delgado escribió:

> Buenas, lista, a veces suelo navegar utilizando la red tor, mi consulta
> es la siguiente
> 
> desde consola, se puede "navegar" anonimamente? o sea si quiero bajar un
> archivo y utilizo para ello WGET entiendo que aqui pierdo el anonimato
> ya que al estar por consola no estoy en tor.
> 
> concretamente como puedo/podria mediante una sesion de consola seguir en
> tor.
> 
> Estoy desde Debian stretch
> 
> Saludos

Ya veo que no tenéis la costumbre de preguntar a Google antes de 
preguntar en la lista :-P

How to use Wget with Tor Bundle in Linux
http://superuser.com/questions/404732/how-to-use-wget-with-tor-bundle-in-linux

Y tienes más aún:

https://www.google.com/webhp?complete=0=en_rd=cr,ssl#complete=0=en=tor+proxy+for+wget

Saludos,

-- 
Camaleón



Re: adobe flash player in iceweasel does not work anymore in jessie

2015-11-29 Thread Staszek
On 2015-11-16 13:41, Chris Bannister wrote:
> On Mon, Nov 16, 2015 at 11:41:33AM +0100, Staszek wrote:
>>
>> It seems to have been a problem with sound. The videos didn't play at
>> all, but once I configured pulseaudio for multiple users (enabling sound
>> for the Flash Player user):
>> http://billauer.co.il/blog/2014/01/pa-multiple-users/ it just works.
> 
> Interesting. I had a working setup, sound worked fine, I upgraded and
> found pulseaudio installed and sound had stopped working, when I purged
> pulseaudio ... it just worked.
> 
> my 0.2c
> 

purged?... How does it work, then?

My sound has just stopped working, I don't know why. Here's what I have:

# ps -AFH | grep -i pulse
stf   1014 1  0 93560 10208   0 10:01 ?00:00:02
/usr/bin/pulseaudio --start
stf   1098 1  0  1082   108   1 10:01 ?00:00:00
/bin/sh /usr/bin/start-pulseaudio-x11
root  1420  1412  0  3852  2252   0 10:10 pts/200:00:00
  grep -i pulse

Neither stf nor other users have the sound.

Yesterday everything was fine.

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 9EC2 5620 2355 B1DC 4A8F  8C79 0EC7 C214 E5AE 3B4E



Re: Smartphone amb Debian

2015-11-29 Thread jordi
El dv 27 de 11 de 2015 a les 19:00 +0100, en/na Xavier De Yzaguirre i
Maura va escriure:

> 
> I els bq amb ubuntu? O android, no tenen res afegit...
> 
> Salut,
> 
> 
> 
> 
> -- 
> Xavier De Yzaguirre
> xdeyzaguirre(at)gmail(dot)com
> 
> 
> 

Bones, jo tinc Aquaris 4.5 ubuntu edition i en general força bé però si
que te coses afegides que no es poden treure per que en son part. Son
com un "Begui kula-loca encara que no t'agradi". Podeu mirar l'enllaç:


http://www.mibqyyo.com/comunidad/discussion/61339/eliminar-cosas-pre-instaladas/p1


Salutacions

Jordi



Re: Smartphone amb Debian

2015-11-29 Thread Adrià
On Fri, Nov 27, 2015 at 04:22:48PM +0100, Xavier De Yzaguirre i Maura wrote:
>Bona tarda a tothom, (les debianitas esteu incloses al genèric). 
>El meu germà em planteja el poder tenir un mòbil amb programari lliure i

Com que veig que ningú no l'ha esmentat, ho faig jo: hi ha el projecte
Replicant [0], del que tens més informació a la Wikipedia [1].

Bàsicament és un Cyanogenmod al que li han tret les parts no lliures
que porta aquesta ROM.

[0] http://www.replicant.us/
[1] https://en.wikipedia.org/wiki/Replicant_%28operating_system%29

>a on no hi hagi la tÃpica brossa que hi posen els fabricants i les
>empreses de telefonia. 

No hi estic posat, però crec que d'això se'n diu "Stock ROM" (per si
en vols buscar). És la versió que allibera Google a través de
l'Android Open Source Project i cada fabricant li posa el mínim
indispensable per tal que funcioni en els seus dispositius (driver de
la wifi, ràdio…).

El que Google allibera ho fa amb llicència BSD (no hi incloc les
Google Apps, que són les seves aplicacions propietàries per gestionar 
el Gmail, la Google Play i tot això) i el que el fabricant hi afegeix,
no.

Aquesta ROM és la que s'enviaria a cada operador perquè li posi la
seva brossa, que és el que típicament veiem si adquirim un terminal a
través d'una operadora.

Si el terminal s'adquireix lliure tampoc no t'assegures que el
fabricant no hi hagi posat coses seves (per exemple, Samsung té o
tenia les "Samsung Apps").


I si després de tot això, el que vols és posar-li Debian com dius a
l'assumpte, no he vist més que tutorials per fer gàbies (chroot), però
això et convertei el terminal en un ordinador i no podries fer una
trucada "des de Debian", si és amb el que estaves pensant.

Resumint: idealment recomanaria el terminal amb Replicant. Pel dia a
dia, recomanaria qualsevol terminal amb Cyanogen, sense el paquet de
Google Apps i amb l'aplicació "F-Droid" que és un Google Play
alternatiu on totes les aplicacions que hi trobes són de codi lliure i
té l'avantatge que et deixa triar quina versió concreta vols
instal·lar.
I per rematar-ho, "rootejar" el terminal per instal·lar-li un
tallafocs que et permeti bloquejar que les aplicacions no lliures no
es puguin connectar a internet.
-- 
Adrià García-Alzórriz
0x09494C14
You humans are all alike.


signature.asc
Description: PGP signature


Re: [OT] Supermicro o HP DL180

2015-11-29 Thread Javier Silva
El día 28 de noviembre de 2015, 16:55, Maykel Franco
 escribió:
> Buenas, si os dieran de presupuesto 3000€ para pillar dos máquinas para dos
> servidores web (y lo que quepa) que cogeríais dos hp proliant dl180
> ajustando presupuesto (no hace falta fuente redundante y la configuración
> raid no es crítica, valdría un raid0 por software mdadm) o un supermicro?
>

Hola Maykel,
si se trata de servidores un RAID0 puede que no sea la opción más
acertada y lo mismo te diría con las fuentes de alimentación.

Al comprar un servidor, se entiende que lo que quieres es que funcione
las 24H del día, parando sólo lo necesario y por mi propia experiencia
he de decirte que el fallo de un disco o una fuente son algo que pasa.


> Estoy valorando esta opción:
>
> http://www.amazon.es/gp/aw/d/B00DJWP30S/ref=mp_s_a_1_2?qid=1448725748=8-2=SY200_QL40=supermicro=1=412PkwP4rTL=plSrch
>
> Porque podría comprar 4 ajustando presupuesto un pelin más o un pelin
> menos...
>

Al final siempre dependerá del destino que desees dar a estos
servidores, pero particularmente preferiría comprar 2 con mejores
prestaciones y mayor cantidad de memoria, que 4 con carencias de todo.

Saludos,
Javier Silva.



Re: Peinture de Levente Kovac

2015-11-29 Thread LAETITIA


Re: Recent linux-image update broke CPU fan

2015-11-29 Thread Sven Arvidsson
On Sun, 2015-11-29 at 02:16 -0500, Neal P. Murphy wrote:
> I think the last linux-image update broke my CPU fan. OK, it didn't
> actually break it. But since the last update, my CPU fan (stock with
> vishera 8350 black) will NOT turn faster than about 3500 RPM.
> 
> I have been using fancontrol for months. It took weeks to get it set
> correctly. At maximum speed, I've seen (and heard) the fan turn in
> excess of 6500 RPM.
> 
> Until the recent kernel update, the CPU and case fans have ramped up
> with increasing temp and ramped down with decreasing temp. The CPU
> never exceeded about 60C when compiling linux using all 8 CPUs for 5
> minutes. And that was with a mild overclock (4.4GHz, 1866 RAM at
> 2133).
> 
> Now, the CPU fan will not exceed about 3700 RPM. That's barely fast
> enough to keep 4 non-overclocked CPUs cool.
> 
> Has anyone else experienced this? Is it related to the kernel update?
> Or do I have a power supply or motherboard failing (again)?

If this was on a stable system it seems odd, if it was unstable or
testing it might just be one of the "charms" of running something that
is in development.

You need to figure out what package is responsible for the change, boot
the previous kernel for example. Then figure out if it's a bug or just
changed behaviour.

I'm not sure how fancontrol works. What exactly broke? Do you not get
readings from the temperature sensors, or is it not possible to control
the fan speed? 

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





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


Re: Locale-related questions

2015-11-29 Thread Alex Vong
Hi Morten,

I have CCed this mail to . I think it is
a good place to talk about your question.

Regarding the question, could you please give more information? What
problem are you facing? Are you trying to convert encoding from/to
UTF-32 ? If yes, perhaps libiconv
 could help you.

Cheers,
Alex

On 29/11/2015, Morten W. Petersen  wrote:
> Hi there.
>
> I have some questions about building/enabling a UTF-32 locale in Debian or
> Linux in general, who could I talk to about that?
>
> Thanks,
>
> Morten
>
> --
> Twittering at http://twitter.com/blogologue
> Blogging at http://blogologue.com
> Playing music at https://soundcloud.com/morten-w-petersen
> Also playing music and podcasting here:
> http://www.mixcloud.com/morten-w-petersen/
> On Google+ here https://plus.google.com/107781930037068750156
> On Instagram at https://instagram.com/morphexx/
>



Re: [OT] Supermicro o HP DL180

2015-11-29 Thread Maykel Franco
El 29 nov. 2015 2:45 p. m., "Roberto Quiñones" 
escribió:
>
>
> El 28-11-2015 12:56, "Maykel Franco"  escribió:
> >
> > Buenas, si os dieran de presupuesto 3000€ para pillar dos máquinas para
dos servidores web (y lo que quepa) que cogeríais dos hp proliant dl180
ajustando presupuesto (no hace falta fuente redundante y la configuración
raid no es crítica, valdría un raid0 por software mdadm) o un supermicro?
> >
> > Estoy valorando esta opción:
> >
> >
http://www.amazon.es/gp/aw/d/B00DJWP30S/ref=mp_s_a_1_2?qid=1448725748=8-2=SY200_QL40=supermicro=1=412PkwP4rTL=plSrch
> >
> > Porque podría comprar 4 ajustando presupuesto un pelin más o un pelin
menos...
> >
> > Cualquier otra recomendación es bienvenida siempre y cuando no sea un
desktop que no nos caben en el datacenter jeje.
> >
> > Que opinais??
>
> Que te parecen los servidores lenovo son buenos y de bajo costo.
>
> Saludos

No habia pensado en lenovo pero voy a echarle un ojo... Tengo buenas
referencias en cuanto a portátiles lenovo pero no servidores...


Re: [OT] Supermicro o HP DL180

2015-11-29 Thread Roberto Quiñones
El 28-11-2015 12:56, "Maykel Franco"  escribió:
>
> Buenas, si os dieran de presupuesto 3000€ para pillar dos máquinas para
dos servidores web (y lo que quepa) que cogeríais dos hp proliant dl180
ajustando presupuesto (no hace falta fuente redundante y la configuración
raid no es crítica, valdría un raid0 por software mdadm) o un supermicro?
>
> Estoy valorando esta opción:
>
>
http://www.amazon.es/gp/aw/d/B00DJWP30S/ref=mp_s_a_1_2?qid=1448725748=8-2=SY200_QL40=supermicro=1=412PkwP4rTL=plSrch
>
> Porque podría comprar 4 ajustando presupuesto un pelin más o un pelin
menos...
>
> Cualquier otra recomendación es bienvenida siempre y cuando no sea un
desktop que no nos caben en el datacenter jeje.
>
> Que opinais??

Que te parecen los servidores lenovo son buenos y de bajo costo.

Saludos


Re: can hot-add of new disk be recognized in rescue mode?

2015-11-29 Thread Pascal Hambourg
aman nangia a écrit :
> hi,
> 
> can hot-add of new disk be recognized under rescue mode when booted
> from linux dvd by any chance? (bcz we were able to see the data from the
> boot drive after mounting it to /b, thought to back up the data. The
> data is ~80-90gb and thought to insert a new disk in front

What do you meand by "insert in front" ? What kind of disk is it ?
Is the host controller hot-swap capable ? If it is a SATA disk,it may
require to run in AHCI mode to enable hot-swap.

> But the problem is that the max size of any file when written to usb is
> approx 4.2gb only

USB has nothing to do with file size limits. It all depends on the
filesystem. FAT limits files to about 4 Gio with 512-byte sectors. NTFS
and ext4 have a much higher limit.



Re: driver envia con backport kernels

2015-11-29 Thread Josu Lazkano
Gracias a todos,

Al final he desinstalado todo lo debackports y me quedo en la rama
stable. Asi em funciona de lujo.

Muchas gracias por vuestra ayuda.

Un saludo.

-- 
Josu Lazkano



Re: Recent linux-image update broke CPU fan

2015-11-29 Thread Pascal Hambourg
Neal P. Murphy a écrit :
> I think the last linux-image update broke my CPU fan.

It may help to mention which are the previous and current versions.



Re: Software Livre assinador de documentos PDF

2015-11-29 Thread Diego Rabatone Oliveira
Ótimo saber que é possível assinar documentos via Libreoffice 5.
Porém, ainda acho razoável a ideia de termos um Software Livre para
assinatura digital de documentos PDF. Eu, por exemplo, costumo gerar
documentos via LaTeX, assim como muitas vezes imprimir páginas web que
gostaria de assinar digitalmente. Ou mesmo quando recebo algum documento já
em formato PDF.

Outra hipótese é quando várias pessoas pretendem assinar um único
documento, caso que em provavelmente o libreoffice não consiga resolver,
ainda.

Att,



Diego Rabatone Oliveira
http://blog.diraol.eng.br
diraol(arroba)diraol(ponto)eng(ponto)br
Twitter: @diraol

Em 24 de novembro de 2015 12:04, Danton Medrado 
escreveu:

> ‎Olá pessoal,
> Documentos podem sim ser gerados e assinados digitalmente no Libreoffice 5.
>
> Medrado‎
> Enviado do BlackBerry 10.
> *De: *Flavio Menezes dos Reis
> *Enviada: *terça-feira, 24 de novembro de 2015 12:00
> *Para: *dup
> *Assunto: *Re: Software Livre assinador de documentos PDF
>
> Colegas, mais ou menos neste sentido
>
> Em palestra sobre o LibreOffice 5.0, no último FISL, foi anunciado um
> acordo com a CEF para que esta fizesse a marcação de registro de tempo em
> arquivos PDFs criados no LibreOffice 5.0. Além disto, ficou explícito que o
> LibreOffice 5.0 já permite criar arquivos PDFs assinados, diretamente do
> LibreOffice, embora eu nunca tenha utilizado este recurso.
>
> Acredito, então, que a necessidade de assinatura de PDFs só faria sentido
> se fosse para outros documentos que não aqueles que pudessem ser gerados a
> partir do LibreOffice.
>
> Atte.,
>
> Em 24 de novembro de 2015 11:29, Alcione Ferreira <
> alcione.som...@gmail.com> escreveu:
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Bom dia!
>
> No quesito de assinatura, já podemos pegar como base o Cryptonit, que é
> opensource e desenvolvido em C++ com QT, não verifiquei seu código ainda,
> mas tenho pretensão de iniciar alguns projetos na Universidade que leciono
> nesse intuito, estudando a pkcs11 que é a biblioteca que faz tal serviço, a
> questão de programar para assinar PDF é que o próprio é proprietário, acho
> eu, mas é uma ideia boa.
>
> Att.
>
> Em 24-11-2015 10:05, Jamenson Ferreira Espindula de Almeida Melo escreveu:
> >
> >
> > Jaboatão dos Guararapes, PE, 24 de novembro de 2015.
> >
> >
> > 
> > 
> >
> >
> > Assunto: Software Livre assinador de documentos PDF
> >
> >
> > 
> > 
> >
> >
> > Saudações.
> >
> > Pergunto se não haveria interesse em desenvolver um Software Livre
> > assinador de documentos PDF?
> >
> > Tal software seria multiplataforma e com código fonte disponível.
> >
> > Existe necessidade de um software assinador de documentos PDF que seja
> > totalmente Software Livre.
> >
> > O Tribunal de Justiça do Estado do Rio de Janeiro 
> > até desenvolveu uma solução
> > chamada de "Assinador Livre".   Ocorre que tal software somente pode
> > ser executado em plataformas
> > Microsoft Windows e ainda assim é obrigatória a prévia instalação do
> > framework .NET 2.0
> >
> > Para aqueles que desejam desenvolver e aprender a programar, existe
> > muita necessidade em atender
> > à classe dos Advogados e pessoas que atuam junto ao Poder Judiciário
> brasileiro.
> >
> > Uma curiosidade: Lei Ordinária Federal nº 11.419, de 19 de dezembro de
> 2006.
> >
> > Essa Lei Ordinária Federal regula a informatização do processo dentro
> > do Poder Judiciário, além de
> > outros assuntos.
> >
> > Existe também a Medida Provisória nº 2.200-2, de 24 de agosto de 2001.
> >
> > Essa Medida Provisória cria e regula a chamada "Infraestrutura de
> > Chaves Públicas Brasileira
> >  - ICP Brasil", além de outros assuntos.
> >
> > Com base no que tenho acompanhado das postagens, não vejo ninguém
> > interessado em desenvolver para
> > esse mercado e isso é lamentável.
> >
> > Deixo essas sugestões para a apreciação das Senhoras e dos Senhores.
> >
> >
> > Cordialmente,
> >
> >
> > Jamenson Ferreira Espindula de Almeida Melo
> > Usuário GNU/Linux nº 166197
> > https://linuxcounter.net/cert/166197.png
> >
> > Impressão digital da chave:
> > 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
> >
> >
> >
> >
>
> - --
> Paz e Bem!
> Alcione Ferreira
> Sombra®
> 101080
> [http://www.alcionesytes.net/]
> - 
> Liberdade e conhecimento ao alcance de todos.
>
> Office Escritório - http://www.libreoffice.org/
> Navegador Firefox - http://www.mozilla.org.br/
> Email Thunderbird - http://www.mozilla.org.br/
> - ---
> Linux user number 432030 of http://counter.li.org/
> - ---
> ICQ: 377035698
> Jabber: ksomb...@jabber.org
> MSN: alcione.som...@hotmail.com
> - ---
> Curriculum: 

root acount is loocked,starting shell

2015-11-29 Thread dainateia

debian-user-catalan@lists.debian.org

hola llista
aviso que
no tinc gens de coneixements per
furgar en la terminal del meu pc

tinc instalat debian
suposo que jessie.. perque em sobtava que menciones al final de algunes 
linees aquest nom

...:
Em trobo que un cop introduida la contrasenya per desencriptar el disc 
dur...

no puc entrar ni com usuaria convidada..
ni com la principal.. que deu ser l'administrador

al iniciarse el debian
poc triar opcions avançades..

es com la terminal

tot el seguit de informacio
te un [ ok vert ]
i al final diu
aixo del

 sulogin: root acount is loocked,starting shell


li he donat ordre de entrar :
-default mode
i..es clar..em porta al inici "interfaz?" per signar
i tampoc he pogut entrar

- reiniciar..des de ordre root.. i des de "interfaz"?
i no res

vaig trobar en una llista debian
un comentari q pot ser similar al meu..en angles..
i tampoc estic segura

https://lists.debian.org/debian-user/2009/05/msg01538.html

? es posible que si li demano de modificar contrasenyes
pugui accedir ??
i com he de fer aixo ?

merci



[OT] shocking incident in software incident

2015-11-29 Thread Bob

Dear list,

A shocking incident in software industry has been disclosed recently. 
I'm sharing it here so that more people can support the cause.


 
https://www.change.org/p/andi-puehringer-netzrezepte-de-netzrezepte-technologies-pvt-ltd-clear-pending-salaries-and-compensate-for-our-job-loss



Re: SATA HD hotplug "Authentication is required"

2015-11-29 Thread Petter Adsen
On Sun, 29 Nov 2015 12:08:04 -0300
Renaud (Ron) OLGIATI  wrote:

> On Sun, 29 Nov 2015 15:34:05 +0100
> Petter Adsen  wrote:
> 
> > > I have just added an eSATA outlet on my box; when I plug in a SATA
> > > disk, it is visible in gparted, its label is displayed in the
> > > Places column of PCManfm, but when I click on it I get an error
> > > "Authentication is required".
> > > 
> > > Is that udev throwing a tantrum ?
> > > 
> > > Tried mounting it from the CLI, did not work:
> > > 
> > > root@ron:/home/ron # mount /dev/sdi1
> > > mount: can't find /dev/sdi1 in /etc/fstab or /etc/mtab
> > > 
> > > How do I get it to mount ?
> > 
> > You need to specify where you want it mounted;
> > 'mount /dev/sdi1 /mnt' for example, or add a line to fstab.  
> 
> Thanks; I should have asked: 
> 
> How do I get it to automount (without asking for authentification) ?

Sorry. I should have expanded on that.

Add a line to fstab. See the fstab man page, or these:
https://wiki.debian.org/fstab
https://help.ubuntu.com/community/Fstab
https://wiki.archlinux.org/index.php/Fstab

If this is an external disk on a Jessie system, add 'nofail' to the
mount options (fourth field). To allow mounting/unmounting as user,
also add 'user'.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: root acount is loocked,starting shell

2015-11-29 Thread Pedro
hola,

entenc que cap problema de passwords: xifrat de disc o login.

A veure si és això: vols dir que quan intentes entrar a la pantalla de
login, introdueixes el teu usuari i fa com que vol entrar però no
entra? (és a dir, no diu password incorrecte)
Conec un usuari que li passava això, i era perquè tenia el disc dur
ple, i no tenia espai ni pels arxius temporals de la sessió gràfica,
per tant havíem d'entrar per consola i borrar alguna cosa.

2015-11-29 16:13 GMT+01:00  :
> debian-user-catalan@lists.debian.org
>
> hola llista
> aviso que
> no tinc gens de coneixements per
> furgar en la terminal del meu pc
>
> tinc instalat debian
> suposo que jessie.. perque em sobtava que menciones al final de algunes
> linees aquest nom
> ...:
> Em trobo que un cop introduida la contrasenya per desencriptar el disc
> dur...
> no puc entrar ni com usuaria convidada..
> ni com la principal.. que deu ser l'administrador
>
> al iniciarse el debian
> poc triar opcions avançades..
>
> es com la terminal
>
> tot el seguit de informacio
> te un [ ok vert ]
> i al final diu
> aixo del
>
>  sulogin: root acount is loocked,starting shell
>
>
> li he donat ordre de entrar :
> -default mode
> i..es clar..em porta al inici "interfaz?" per signar
> i tampoc he pogut entrar
>
> - reiniciar..des de ordre root.. i des de "interfaz"?
> i no res
>
> vaig trobar en una llista debian
> un comentari q pot ser similar al meu..en angles..
> i tampoc estic segura
>
> https://lists.debian.org/debian-user/2009/05/msg01538.html
>
> ? es posible que si li demano de modificar contrasenyes
> pugui accedir ??
> i com he de fer aixo ?
>
> merci
>



Re: SATA HD hotplug "Authentication is required"

2015-11-29 Thread Richard Owlett

On 11/29/2015 9:53 AM, Petter Adsen wrote:

On Sun, 29 Nov 2015 12:08:04 -0300
Renaud (Ron) OLGIATI  wrote:
[snip]

Thanks; I should have asked:

How do I get it to automount (without asking for authentification) ?


Sorry. I should have expanded on that.

Add a line to fstab. See the fstab man page, or these:
https://wiki.debian.org/fstab
https://help.ubuntu.com/community/Fstab
https://wiki.archlinux.org/index.php/Fstab

If this is an external disk on a Jessie system, add 'nofail' to the
mount options (fourth field). To allow mounting/unmounting as user,
also add 'user'.



Thank you. Not only the OP should find that information useful.



Re: wget tor

2015-11-29 Thread Ricardo Delgado
El día 29 de noviembre de 2015, 12:10, Camaleón  escribió:
> El Sat, 28 Nov 2015 21:05:30 -0300, Ricardo Delgado escribió:
>
>> Buenas, lista, a veces suelo navegar utilizando la red tor, mi consulta
>> es la siguiente
>>
>> desde consola, se puede "navegar" anonimamente? o sea si quiero bajar un
>> archivo y utilizo para ello WGET entiendo que aqui pierdo el anonimato
>> ya que al estar por consola no estoy en tor.
>>
>> concretamente como puedo/podria mediante una sesion de consola seguir en
>> tor.
>>
>> Estoy desde Debian stretch
>>
>> Saludos
>
> Ya veo que no tenéis la costumbre de preguntar a Google antes de
> preguntar en la lista :-P
>
> How to use Wget with Tor Bundle in Linux
> http://superuser.com/questions/404732/how-to-use-wget-with-tor-bundle-in-linux
>
> Y tienes más aún:
>
> https://www.google.com/webhp?complete=0=en_rd=cr,ssl#complete=0=en=tor+proxy+for+wget
>
> Saludos,
>
> --
> Camaleón
>

Camaleon, en realidad si, lo primero que hago es buscar en internet,
es mas no uso google sino startpage

https://startpage.com/do/search?cmd=process_search=proxychains=espanol=ff_date==_language=lang_es=1

solo que me gusta preguntar en la lista, para escuchar opiniones y
modalidades utilizadas.

igualmente, te doy la razon en tanto que mi consulta no dice "busque
en " ahi si tenes razon.

De todas formas gracias.

Saludos

-- 
"Windows? Reboot
Debian?  beRoot "



Re: Locale-related questions

2015-11-29 Thread Morten W. Petersen
Nicolas,

OK.  I don't know exactly what I'm talking about here as you can see. :)

I'm writing an XML parser/writer/simple DOM, which will input and output
primarily in UTF-32.

This program outputs some information to stdout in the testing process,
and this is also UTF-32 (internally a character is an integer >= 32 bits).

I tried now to use putwchar:

putwchar((wchar_t) buffer[index]);

And the output is the same as if had used

 printf("%c", (char) buffer[index]);

That is, non-ASCII characters are garbled.

All the locale settings except LC_ALL are en_US.UTF-8, LC_ALL is empty.

What I'm looking for is a cross-platform way to output some data, to aid
in the testing process.  Reading and writing from files will probably be
binary and handled internally in the program.

-Morten

On Sun, Nov 29, 2015 at 4:04 PM, Nicolas George  wrote:

> Le nonidi 9 frimaire, an CCXXIV, Morten W. Petersen a écrit :
> > I was looking for a locale that would enable me to putwchar a 32-bit
> > Unicode character to stdout and have things handled correctly,
> > automatically.  Without any re-encoding to UTF-8 and so on.
>
> I do not know what your program is about, but what you are asking seems to
> me like a very bad idea.
>
> You should use putwchar() if you WANT automatic recoding to the current
> locale, transparently and for any locale, as long as the character is
> possible.
>
> On the other hand, if as you say you do not want automatic recoding, then
> you should use octet-based output functions: serialize your Unicode code
> point to little or big endian as you prefer and use putchar() or fwrite()
> to
> send it.
>
> Note that wchar_t are Unicode code point under GNU but that is neither
> guaranteed nor portable. Personally, I recommend not to use wchar_t
> entirely.
>
> Regards,
>
> --
>   Nicolas George
>



-- 
Twittering at http://twitter.com/blogologue
Blogging at http://blogologue.com
Playing music at https://soundcloud.com/morten-w-petersen
Also playing music and podcasting here:
http://www.mixcloud.com/morten-w-petersen/
On Google+ here https://plus.google.com/107781930037068750156
On Instagram at https://instagram.com/morphexx/


Re: Software Livre assinador de documentos PDF

2015-11-29 Thread Antonio Terceiro
On Sun, Nov 29, 2015 at 01:25:40PM -0200, Diego Rabatone Oliveira wrote:
> Ótimo saber que é possível assinar documentos via Libreoffice 5.
> Porém, ainda acho razoável a ideia de termos um Software Livre para
> assinatura digital de documentos PDF. Eu, por exemplo, costumo gerar
> documentos via LaTeX, assim como muitas vezes imprimir páginas web que
> gostaria de assinar digitalmente. Ou mesmo quando recebo algum documento já
> em formato PDF.
> 
> Outra hipótese é quando várias pessoas pretendem assinar um único
> documento, caso que em provavelmente o libreoffice não consiga resolver,
> ainda.

https://code.google.com/p/origami-pdf/

é feito em ruby, tem um conjunto de binários e também uma biblioteca. o
desenvolvimento upstream parece estar parado, mas parece razoavelmente
maduro.

eu já usei a biblioteca em um projeto pra validar assinaturas em pdf's
enviados, mas também tem as APIs pra assinar. está no debian, eu mesmo
empacotei:

origami-pdf/unstable,testing 1.2.7-2 all
  PDF analysis and manipulation tool

ruby-origami/unstable,testing 1.2.7-2 all
  PDF analysis and manipulation tool (Ruby library)

em princípio seria fácil fazer um programinha standalone pra assinar
PDFs, mas eu provavelmente não vou fazer isso por diversão. ;-)

-- 
Antonio Terceiro 


signature.asc
Description: PGP signature


[no subject]

2015-11-29 Thread tom arnall
Denice,

You could do me a great favor. Here is the address of the website for
my tutoring service:

BajaSpeakingEnglish.com

Please look at it and give me any suggestions you might have for improving it.

Hugs,

Tom



-- 
"Once its survival is on the line, a species will often find powers
unimaginable in the days of its complacency." Francis Knight



Can't startx as normal user

2015-11-29 Thread Rodrigo S. Cañibano
Hi!

Today I made a dist-upgrade and everything worked fine until I rebooted.

No only root can run startx. If a user tries the following error appears:

"(EE) AddScreen/ScreenInit failed for driver 0"

(I will attach the full log).

Does anyone have any idea what might be the source of this problem?

Thanks and sorry for the bad English!

--
Draco Metallium
[  4203.003] 
X.Org X Server 1.17.3
Release Date: 2015-10-26
[  4203.004] X Protocol Version 11, Revision 0
[  4203.004] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[  4203.004] Current Operating System: Linux ruri 4.2.0-1-amd64 #1 SMP Debian 4.2.6-1 (2015-11-10) x86_64
[  4203.004] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-1-amd64 root=UUID=88c4cde7-3244-453d-bf2a-d28d836b2527 ro quiet
[  4203.005] Build Date: 27 October 2015  11:41:02PM
[  4203.005] xorg-server 2:1.17.3-2 (http://www.debian.org/support) 
[  4203.005] Current version of pixman: 0.33.4
[  4203.006] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  4203.006] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4203.007] (==) Log file: "/home/draco/.local/share/xorg/Xorg.1.log", Time: Mon Nov 30 01:41:43 2015
[  4203.008] (==) Using config file: "/etc/X11/xorg.conf"
[  4203.008] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4203.009] (==) ServerLayout "X.org Configured"
[  4203.009] (**) |-->Screen "Screen0" (0)
[  4203.009] (**) |   |-->Monitor "DVI-1"
[  4203.009] (**) |   |-->Device "Card1"
[  4203.009] (**) |-->Input Device "Mouse0"
[  4203.009] (**) |-->Input Device "Keyboard0"
[  4203.009] (==) Automatically adding devices
[  4203.009] (==) Automatically enabling devices
[  4203.009] (==) Automatically adding GPU devices
[  4203.009] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4203.009] 	Entry deleted from font path.
[  4203.009] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4203.009] 	Entry deleted from font path.
[  4203.009] (**) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins,
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[  4203.009] (**) ModulePath set to "/usr/lib/xorg/modules"
[  4203.009] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  4203.009] (WW) Disabling Mouse0
[  4203.009] (WW) Disabling Keyboard0
[  4203.009] (II) Loader magic: 0x562a849f7de0
[  4203.009] (II) Module ABI versions:
[  4203.009] 	X.Org ANSI C Emulation: 0.4
[  4203.009] 	X.Org Video Driver: 19.0
[  4203.009] 	X.Org XInput driver : 21.0
[  4203.009] 	X.Org Server Extension : 9.0
[  4203.010] (EE) systemd-logind: failed to get session: Rejected send message, 1 matched rules; type="method_call", sender=":1.34" (uid=1000 pid=18022 comm="/usr/lib/xorg/Xorg -nolisten tcp :1 vt2 -keeptty -") interface="org.freedesktop.login1.Manager" member="GetSessionByPID" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=5989 comm="/lib/systemd/systemd-logind ")
[  4203.010] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4203.012] (--) PCI: (0:1:5:0) 1002:9616:1849:9616 rev 0, Mem @ 0xc000/268435456, 0xfe8f/65536, 0xfe70/1048576, I/O @ 0xa000/256
[  4203.012] (--) PCI:*(0:2:0:0) 1002:679a:174b:a003 rev 0, Mem @ 0xd000/268435456, 0xfe9c/262144, I/O @ 0xb000/256, BIOS @ 0x/131072
[  4203.012] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  4203.012] (II) LoadModule: "ddc"
[  4203.012] (II) Module "ddc" already built-in
[  4203.012] (II) LoadModule: "dri"
[  4203.012] (II) Module "dri" already built-in
[  4203.012] (II) LoadModule: "dri2"
[  4203.012] (II) Module "dri2" already built-in
[  4203.012] (II) LoadModule: "extmod"
[  4203.012] (II) Module "extmod" already built-in
[  4203.012] (II) LoadModule: "glx"
[  4203.012] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4203.013] (II) Module glx: vendor="X.Org Foundation"
[  4203.013] 	compiled for 1.17.3, module version = 1.0.0
[  4203.013] 	ABI class: X.Org Server Extension, version 9.0
[  4203.013] (==) AIGLX enabled
[  4203.013] (II) LoadModule: "int10"
[  4203.013] (II) Loading /usr/lib/xorg/modules/libint10.so
[  4203.013] (II) Module int10: vendor="X.Org Foundation"
[  4203.013] 	compiled for 1.17.3, module version = 1.0.0
[  4203.013] 	ABI class: X.Org Video Driver, version 19.0
[  4203.013] (II) LoadModule: "vbe"
[  4203.013] (II) Loading /usr/lib/xorg/modules/libvbe.so

Disable Ctrl-Alt-Del in Jessie

2015-11-29 Thread Bit Head
In previous Debian releases I would simply comment out the line controlling 
Ctrl-Alt-Del key presses in the /etc/inittab file, and this would prevent any 
action from occurring due to pressing those keys.  As an example, here is what 
I had in the inittab file in Wheezy:


# What to do when CTRL-ALT-DEL is pressed.
#ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

In Jessie, this is proving to be more challenging as there is no inittab file 
to edit, and while I could create one, it would only contain commented lines, 
having a null effect.  It seems that in prior releases, one had to explicitly 
say what to do in order for anything to happen, and in Jessie, one has to 
explicitly say "do nothing" or action is taken (the logout/reboot/shutdown 
prompt is presented with a 30 second timeout).

I have seen discussions of manipulating the symbolic link file 
/etc/systemd/system/control-alt-del.target which points to reboot.target in the 
same directory.  For example, it's been said that linking it to shutdown.target 
would cause a shutdown action instead of a reboot action.  I haven't tried 
that, but I have tried pointing the link to /dev/null and followed the change 
with 'systemctl daemon-reload', however it had no effect - I still get the 
logout/reboot/shutdown prompt in response to pressing Ctrl-Alt-Del.

Per another thread, I have also tried creating /etc/init/ctrl-alt-del.conf 
containing only the single comment line '# do nothing when Ctrl-Alt-Del is 
pressed', yet this has no effect either - the prompt still appears.

So I'm at a loss for the moment.  Please advise if you know how to completely 
disable Ctrl-Alt-Del in Jessie - I want the key press to be ignored, just like 
it was in Wheezy I commented out the line in inittab shown above.  Thanks.


Re: [OT] Re: convertir trafico udp multicast en unicast

2015-11-29 Thread juan carlos Rebate
no hay truco que encontrar ya que no hay opciones para elminarlo, si me das
la direccion para agregar fotos o videos a la lista /ya que no voy a
enviarla a esta no sea que no se permita), y creo no vamos a avanzar si no
entiendes lo que 1uiero hacer, udpxy no es para usarlo con el navegador
sino con ffplay, todos los manuales indican que se debe indicar la url del
proxy+ el puerto/url del servidor+puerto por lo tanto seria asi ffplay -i
http://192.168.1.43:4022/rtp://192.168.1.43:8080, en cuanto al estatus me
pone id del proceso 3552 aceptando clientes en 0.0.0.0, como eso me parecio
raro he abierto el man de udpxy con man udpxy y me he colocado los comandos
-a y -m en eth0 asi ahora en aceptando clientes indica 192.168.1.43:4022 y
en direccion multicast la misma pero sin puerto, segun esto con eso deberia
funcionar y me indica lo mismo 401 error (en ffplay)

El 29 de noviembre de 2015, 15:41, Camaleón  escribió:

> El Fri, 27 Nov 2015 22:39:09 +0100, juan carlos Rebate escribió:
>
> Vuelvo a corregir el formato html, parece que te cuesta encontrarle el
> truco ¿eh?.
>
> > en una cienaga te moveras tu, quiza tu gps no sepa guiarte,
>
> No sé, yo veo esto un poco empantanado, con movimiento lento.
>
> > la url no es rara
>
> Lo es, al menos no sigue el formato que indican en los manuales.
>
> > ya que si lees el mensaje 1 dije que tanto ffmpeg como udpxy está
> > en la misma maquina tanto que dices que no leo mira tu lo que yo
> > explico, por ello la url tiene que ser esa ffplay -i
> > http://192.168.1.43:4022/rtp:/192.168.1.43:8080
>
> ¿Esa es la URL que pones en el navegador? Si es así, sigue siendo "rara".
>
> > ya que si no intento usar el proxy si conecta pero se ve codificado
> > (normal) pero es raro que SIGUIENDO LOS PASOS me de error y es curiosos
> > que ninguna web hable de mi fallo,
>
> No dudo que el programa esté funcionando pero esa URL no parece correcta
> por lo que es normal que te devuelva un error 404.
>
> > en cuanto al texto plano en webmail no existe formato plano, soloo
> > existe eliminar formato,
>
> Pues esa es la opción ¿no has leído las instrucciones que te envié?
>
> > si me decis donde enviar capturas las mando.
>
> Puedes:
>
> 1/ Adjuntar un archivo en el emnsaje y enviarlo a la lista
>
> 2/ Puedes usar cualquier servidor online de almacenamiento de imágenes
> como www.picpaste.com y enviar el enlace a la lista
>
> En cuanto a tu problema con udpxy ya te he comentado las pruebas que
> puedes hacer.
>
> Saludos,
>
> --
> Camaleón
>
>


Re: can hot-add of new disk be recognized in rescue mode?

2015-11-29 Thread Aman Nangia
No intention to read that usb on windows. Just that we had formatted it on win 
in the beginning. Can i format that usb as ext4 in win? Or how do i format it 
as ext4 in ununtu in rescue mode?

**
Sent from my iPhone
**

> On Nov 29, 2015, at 12:15 PM, Pascal Hambourg  wrote:
> 
> Aman Nangia a écrit :
>> 
>> 146gb sas (2.5" drive). There were 2 empty slots in the hp gen7 system
>> in the front. I inserted this spare new disk in one of the slots.
> 
> Sorry, I know nothing about SAS.
> 
>>> USB has nothing to do with file size limits. It all depends on the
>>> filesystem. FAT limits files to about 4 Gio with 512-byte sectors. NTFS
>>> and ext4 have a much higher limit.
>> Will try ntfs format in the usb.
> 
> Why use a Windows filesystem instead of a Linux one such as ext4 ? Do
> you intend to read the data on a Windows system ?
> 



Re: Can't startx as normal user

2015-11-29 Thread Charlie
On Mon, 30 Nov 2015 01:48:40 -0300 Draco Metallium(Rodrigo S. Cañibano)
sent:

> Today I made a dist-upgrade and everything worked fine until I
> rebooted.
> 
> No only root can run startx. If a user tries the following error
> appears:
> 
> "(EE) AddScreen/ScreenInit failed for driver 0"
> 
> (I will attach the full log).
> 
> Does anyone have any idea what might be the source of this problem?

Could this be of help?

https://bbs.archlinux.org/viewtopic.php?id=170860

Charlie

-- 
Registered Linux User:- 329524
***

If I shall sell both my forenoons and afternoons to society, as
most appear to do, I'm sure that, for me, there would be
nothing left worth living
for. .Henry David Thoreau

***

Debian GNU/Linux - Magic indeed.

-



Re: can hot-add of new disk be recognized in rescue mode?

2015-11-29 Thread Pascal Hambourg
Aman Nangia a écrit :
> Can i format that usb as ext4 in win?

No, unless you install program which can do it.

> Or how do i format it as ext4 in ununtu in rescue mode?


mkfs.ext4 /dev/sdx1

(replace sdx1 with the actual partition device name on the USB disk)



Re: debian 8.2 live "standard" install - how to set up wifi?

2015-11-29 Thread Brian
On Mon 30 Nov 2015 at 01:03:56 +0300, moxalt wrote:

> On Sat, 28 Nov 2015 20:28:07 +, Brian  wrote:
> 
> > How did you establish the connectivity that d-i did not provide?
> 
> When did I say that debian-installer provided no connectivity? I successfully
> installed over WLAN using it.

You didn't. Neither did I. After the first boot you were not connected
to the internet even though you were during the the installation.

> > It
> > could only be through a wired connection or wpasupplicant using ifupdown
> > or NM (or wicd, I suppose). You are obviously connected now, so you must
> > have done something to rectify being unable to access the internet.
> 
> wpa_supplicant, ifconfig, and dhclient.

If you had not done this you still wouldn't have the connectivity you
had while using d-i to install. (Using apt-get to install NM would be a
challenge :)).

> > But you cannot be good to go. You have no connectivity; networking
> > doesn't "just work. You had to have done something to make it work. You
> > said as much earlier on.
> 
> What do you consider to be 'just working'? If by 'just working' you mean that
> an internet connection is already available straight after boot, with no extra
> work, this is not the case. By 'just working' I am referring to the interfaces
> being present and the requisite firmware being installed.

The difference is between having the potential and the actuality. A USB
port has the potential to provide a printing service. Does this mean
printing 'just works'?
 
> Upon boot (after installation over wireless with no tasks selected) I am only
> two commands away from a network connection-
> 
>   # wpa_supplicant -Dnl80211 -iwlan0 -c.wlan-conf -B
>   # dhclient wlan0
> 
> I consider that 'just working'.

The two of us have had exactly the same experience. We both are in
complete agreement about what happens when an install over WiFi takes
place without a desktop task. That's a considerable achievement. You
consider the end result to be a working one with respect to networking.
I don't. Lets agree to differ on that.

> > > Can someone else try installing like I did and see if the same occurs?
> > 
> > We'll see.
> 
> I'm actually just going to reiterate what happened, because there appears to
> have been a little bit of a misunderstanding.

Not on my part. While not agreeing with the sentiment, I even understand
now what you mean by 'just working'.

> I used a Debian netinstall USB to install my current system. I selected wlan0
> as my network interface to use for the purposes of the installation. I 
> selected
> no tasks, so only a minimal console setup was installed.

Been there; done that.

> The installation carried out and concluded successfully. Upon reboot, ifconfig
> reported the existence of lo, eth0, and wlan0. I then used wpa_supplicant to

My experience, too.

> authenticate with my router, and dhclient to request an IP address. After 
> that,
> I was able to access the internet (apt-get update, browsing with lynx, etc.).

Did that (because there was no connectivily), but not quite in that way.
 
> I had to do this every subsequent boot to get internet access.

This would get a bit tedious with a 63 character WPA passphrase.
Especially after a month or two.

> I had to do this every subsequent boot to get internet access.
>
> After several months of booting into a tty, setting up an internet 
> connection,   
> and then starting X manually, I decided to install MATE, LightDM, and NM, 
> which
> is what I currently use. Prior to that, I had no network manager of any sort
> installed.

Seems like a happy outcome. Let's end on that note.



Re: Locale-related questions

2015-11-29 Thread Thomas Schmitt
Hi,

Nicolas George wrote:
> # [#3] When applied to an operand that has type char, unsigned char, or
> # signed char, (or a qualified version thereof) the result is 1.

Well, in this case a byte does not necessarily consist of 8 bits,
which would make data exchange somewhat difficult.

But i confess that this is nearly a moot point.
Important is to explicitely control the byte sequence on both sides
- writer and reader.


Have a nice day :)

Thomas