Re: Sudo

2016-03-19 Thread Keith Bainbridge
On 20 Mar 2016, John Hasler  wrote:
>doug writes:
>> su allows someone with a root password (and nobody else) to make
>> system modifications, etc., which might harm the operation of the
>> system. Sudo basically allows anyone with a user password to do the
>> same thing
>
>No it doesn't.  Only users who have been granted sudo privileges can
>use
>sudo and only for the commands permitted them.

In reality, how many PC s have more than 1 user.  

If I had users other than myself, I'd think hard about a ding them to sudoers
Keith Bainbridge

0447 667 468 

keithrbaugro...@gmail.com 

Sent from my APad 



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 20:38:04 +0100 deloptes  wrote:

> Martin Read wrote:
> 
> > On 15/03/16 07:45, deloptes wrote:
> >> I see recently more python code written than real C/C++.
> > 
> > So what? Most programs *shouldn't* be written in C or C++, and I say
> > this as someone who loves C and C++ and reaches for one of them by
> > default as the language for solving computing problems. (Unless they
> > involve substantial quantities of text manipulation, in which case I
> > reach for Perl because neither C nor C++ have even *remotely*
> > satisfactory capabilities in that regard.)
> > 
> > There are specific circumstances in which a low/medium-level systems
> > programming language like C or C++ is the right choice for
> > implementing solutions to a computing problem. I submit that *most*
> > programs are not subject to those circumstances, and thus there are
> > better languages for implementing most programs.
> > 
> > Python is probably the right language less often than people use
> > it, but for most jobs people do with it, C or C++ would be just as
> > wrong a choice, if not more so.
> 
> I agree with you more or less, however languages like python or perl
> open doors to pretend-to-be-programmers. I've seen more often bad
> python/perl code than c/c++.

C/C++ arrogance at its best! I could maybe understand it if you called
C# or Java users pretend-to-be-programmers, but Python, and especially
Perl, really aren't as bad or as threatening as you make them out to be.

> My observations are also that there is always a penalty, even if you
> compile the script code into binary. So if something has to be robust
> and fast, one should always prefer c/c++.  But this is really out of
> topic here.

And if Python or Perl are more suited to the task at hand, by all means
use them!

P.S. What's wrong with OT? OT is fun!



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Brian
On Wed 16 Mar 2016 at 12:06:40 -0400, Gene Heskett wrote:

> On Wednesday 16 March 2016 10:12:59 Brian wrote:
> 
> > Now find a *small* PDF file and send it directly to the printer with
> > netcat:
> >
> >   nc 192.168.71.20 9100 < file.pdf
> >
> > or
> >
> >   nc BRN001BA9E3811F.local < file.pdf
> >
> > Does it print?
> 
> Doesn't look like it:
> 
> gene@coyote:~/Downloads$ nc BRN001BA9E3811F.local <7i77_layout.pdf 
> no port[s] to connect to
> gene@coyote:~/Downloads$ nc 192.168.71.20 < 7i77_layout.pdf 
> no port[s] to connect to

Haven't you omitted the port to connect to? Just like I did for one of
the lines above. :(. Apologies.

  nc 192.168.71.20 9100 < 7i77_layout.pdf
   



Re: Dilemes de novell 1: Flash o W7?

2016-03-19 Thread Xavi Drudis Ferran
El Wed, Mar 16, 2016 at 12:30:21PM +0100, rita deia:
> Hola,
> Estic aprenent i tinc alguns dilemes tècnico-ètics...
> El primer és que haig de fer els deures amb Scratch i, com funciona amb
> Flash, crec que tinc dues opcions:
> 
> 1) Instal·lar Flash a Debian (i "contaminar-la")
> 2) Obrir el Windous7 a la Dual-boot i programar amb Scratch allà, a
> "l'univers privatiu"...
> 
> Què és èticament pitjor? O tinc alguna altra opció?
> 
> Merci,
>

L'èticament millor és queixar-te de que t'imposin programari privatiu per
fer deures. No deixar-ho així i espavilar-te perquè el següent que 
vingui darrera s'hagi de tornar a espavilar. 

Ara bé, jo de Flash i d'Scratch no en tinc ni idea, però em sóna que 
hi ha versions lliures de Flash (amb no sé quantes limitacions). Em 
sóna gnash i  shumway però ni idea de què són capaços de fer o si et
servirien. 




Re: computer cann't shut down

2016-03-19 Thread メット
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,
Did u try the P switch?

shutdown -hP now

Hth

On 2016年3月20日 12:42:27 JST, Michael Milliman  
wrote:
>
>
>On 03/19/2016 09:40 PM, lina wrote:
>> shutdown -h now
>>
>> doesn't work. it still reboot.
>>
>This sounds like an issue with the hardware or BIOS not with the Debian
>
>OS, or with the Desktop environment.  Though I have not had this
>problem, I have had several others related to
>shutdown/reboot/suspend/hibernate on various machines, but I know for a
>
>fact that all such problems have been with the hardware/BIOS, not the
>Debian software.  I don't know enough about the iMac to offer anything
>more.
>>
>> On Sun, Mar 20, 2016 at 8:16 AM, Lisi Reisz 
>wrote:
>>> On Saturday 19 March 2016 23:37:05 Patrick Bartek wrote:
 On Sat, 19 Mar 2016, David Christensen wrote:
> On 03/19/2016 05:40 AM, lina wrote:
>> Every time since I installed the system,
>>
>> every time I tried Shut Down, it mainly restart again.
>>
>> I checked online and tried several methods but still don't work.
>>
>> Can anyone suggest me how to solve it.
> I'm having the same issue:
>
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818311
>
> So far, no progress in resolving it.
 No problem here.  'shutdown -h now' (as root) works as it should.
 Wheezy 64-bit, fully up-to-date; no desktop environments installed,
>just
 Openbox window manager.  System boots to terminal, login there,
>then
 startx. I like to keep things simple.

 Maybe, problem is related to a desktop environment.

 B
>>> No, I use a desktop, and have a desktop installed on several other
>computers I
>>> administer.  3 x Wheezy, 2 x Jessie.  TDE, variously 14.0.3 and
>3.5.13.2.
>>> All shut down without a problem.
>>>
>>> Lisi
>>>
>
>--
>Mike
-BEGIN PGP SIGNATURE-
Version: APG v1.1.1

iQE9BAEBCgAnBQJW7iYaIBxNZXR0IEhlbF9LZWl0YWkgPG1ldHRAcG1hcnMuanA+
AAoJEPao4OPC92NkPr8H/jlfwqZDy1X0fhPLt2sNpyrYv4KastEFq+5WxMJbhkIo
MvnDMTE8ikylCCr/b0EMoko/i/wI/wm04uCctqImDGxoaivs6vm5ck0xroP7SzsB
31HMhduDnPSFZDcFgpVXetLOmKyxGwGpZtIAOU34tbfzDCopx2IPD5bA0p1AbwzJ
b2gbreZ0596lNobvRxCfGm/Ksp5q2n08pjaa8JHvBsGqn7HqmHWEyfvdY8Dl2NsK
whCEU266XKe2Z+7PboM8EBU/t0T5Lunv9GEUkUFCqfGxO1BEZSayMhOQq1RR5SBY
z0eOdt+iLDfvZLy4DmpQgoiOT9OYBV4uAbuAJTD3fug=
=Y/rc
-END PGP SIGNATURE-



Fwd: problemas en postfix

2016-03-19 Thread luis
 

Buenos días a todos 

Tengo isntalado postfix y mailscanner, todo marchaba bien hasta que
hasta el momento de instalar clamav para postfix 

me da este error al intentar actualizar 

# freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile =
/var/log/clamav/freshclam.log) 

Y para colmo no entran ni salen los correos no se si es por el clamav
que no se actualiza, así sucede en Zentyal. 

Alguna idea ?? 

Agradezco toda ayuda 
 - 

Hola ahora hice esto: 

touch /var/log/clamav/freshclam.log
# chown clamav:clamav /var/log/clamav/freshclam.log

Luego hacer lo siguiente:

# /etc/init.d/clamav-freshclam stop
# freshclam -v

# /etc/init.d/clamav-freshclam stop

y sigo con problemas al dar freshclam me da este resultado: 

# freshclam
ClamAV update process started at Wed Mar 16 08:05:58 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60,
builder: neo)
daily.cvd is up to date (version: 21464, sigs: 1878899, f-level: 63,
builder: neo)
bytecode.cld is up to date (version: 274, sigs: 49, f-level: 63,
builder: anvilleg) 

Alguna idea ??? 
 

Re: computer cann't shut down

2016-03-19 Thread Jerome BENOIT
Hello Forum:

On 20/03/16 04:42, Michael Milliman wrote:
> 
> 
> On 03/19/2016 09:40 PM, lina wrote:
>> shutdown -h now
>> 
>> doesn't work. it still reboot.
>> 
> This sounds like an issue with the hardware or BIOS not with the
> Debian OS, or with the Desktop environment.  Though I have not had
> this problem, I have had several others related to
> shutdown/reboot/suspend/hibernate on various machines, but I know for
> a fact that all such problems have been with the hardware/BIOS, not
> the Debian software.  I don't know enough about the iMac to offer
> anything more.

Does recent iMac have a BIOS ?

Jerome

>> 
>> On Sun, Mar 20, 2016 at 8:16 AM, Lisi Reisz 
>> wrote:
>>> On Saturday 19 March 2016 23:37:05 Patrick Bartek wrote:
 On Sat, 19 Mar 2016, David Christensen wrote:
> On 03/19/2016 05:40 AM, lina wrote:
>> Every time since I installed the system,
>> 
>> every time I tried Shut Down, it mainly restart again.
>> 
>> I checked online and tried several methods but still don't
>> work.
>> 
>> Can anyone suggest me how to solve it.
> I'm having the same issue:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818311
> 
> So far, no progress in resolving it.
 No problem here.  'shutdown -h now' (as root) works as it
 should. Wheezy 64-bit, fully up-to-date; no desktop
 environments installed, just Openbox window manager.  System
 boots to terminal, login there, then startx. I like to keep
 things simple.
 
 Maybe, problem is related to a desktop environment.
 
 B
>>> No, I use a desktop, and have a desktop installed on several
>>> other computers I administer.  3 x Wheezy, 2 x Jessie.  TDE,
>>> variously 14.0.3 and 3.5.13.2. All shut down without a problem.
>>> 
>>> Lisi
>>> 
> 



Re: Debian SunCamp 16

2016-03-19 Thread debianita
El dj 17 de 03 de 2016 a les 07:19 +0100, en/na Adrià va escriure:
> Pels que hi pugueu estar interessats, serà a Lloret:
> 
> https://wiki.debian.org/DebianEvents/Europe/2016/DSC
> 

Quina gràcia! Visc a Lloret. 
Si voleu podem quedar.:-D

Alfons




Re: (SOLUCIONADO) Re: Debian testing y kernel 4.3 no apaga / reinicia el equipo

2016-03-19 Thread Eduardo Rios

El 16/03/16 a las 16:11, Camaleón escribió:

El Wed, 16 Mar 2016 14:09:25 +0100, Eduardo Rios escribió:


Después de todo este tiempo, y de forma casual, he descubierto donde se
encuentra el problema.

Resulta que si tengo establecida (conectada) la conexión inalámbrica en
la utilidad de gnome, aunque me conecte por cable, el equipo se
reinicia/apaga con normalidad.

Si le digo que "olvide" mi red wifi, es cuando ya no reinicia/apaga y se
queda colgado.


(...)

Sigue siendo un fallo que deberías reportar (de hecho hace meses que
tendríais que haber informado...) porque con la versión anterior del
kernel no sucedía. Más que una "solución" has aplicado un "baipás" :-)

Saludos,



Tienes razón, pero entre que mi inglés es pésimo, y que no me aclaro con 
la aplicación reportbug, lo he ido dejando por pereza.


Si hasta me marqué una pagina Web de EsDebian donde hablaban de 
reportbug en versión gráfica, pero cuando me iba a poner a leerlo, desde 
hace tiempo que no se puede acceder. :(



--
www.LinuxCounter.net

Registered user #369215




Re: Problemas con WiFi luego de hacer Upgrade de Wheezy a Jessie

2016-03-19 Thread Camaleón
El Fri, 18 Mar 2016 00:42:00 -0600, Carlos Carcamo escribió:

> El 6 de marzo de 2016, 09:20, Camaleón  escribió:

(...)

>>> 3. El wifi no parece encontrar redes disponibles.
>>
>> Eso te pasa por cambiar a KDE, ahora Network Manager se habrá hecho un
>> lío :-P
>>
>>> Para el problema 1 luego voy a googlear jajaja, el 2 no pude
>>> solucionarlo así que cambie gnome por KDE, el 3 es el que más me
>>> interesa solucionar.
>>>
>>> dejo un poco de info:

(...)

>>> wlan0:avahi Link encap:Ethernet  HWaddr a4:db:30:3f:d6:f1
>>>   inet addr:169.254.11.6  Bcast:169.254.255.255
>>> Mask:255.255.0.0
>>>   UP BROADCAST MULTICAST  MTU:1500  Metric:1
>>>

(...)

>> Te está cargando la IP "de pega" (avahi zeroconf), seguramente porque
>> no encuentre ningún servidor DHCP desde donde obtener los datos de la
>> tarjeta wifi. A malas, prueba configurando los datos manualmente, es
>> decir, especificando una IP/máscara de red, pasarela, DNS, etc... para
>> forzar al adaptador wifi a usar esa configuración y descartar así un
>> problema de comunicación con el AP.

(...)

> Saludos, perdon por no responder antes, había estado bastante ocupado.
> 
> He resuelto el problema del wifi, era algo raro, googleando un buen rato
> me tope con un foro donde tenían un problema similar al mio y sugerían
> cambiar una linea en:
> /etc/NetworkManager/NetworkManager.conf, en el cual tenia algo como:
> 
> ...
> [ifupdown]
> managed=false
> 
> y lo cambie a:
> 
> [ifupdown]
> managed=true
> 
> Y con eso el wifi anda bien :)

Ah, claro, que en tu caso habías definido la interfaz wlan0 en el archivo 
"/etc/networking/interfaces" y al hacer eso N-M ya no gestiona los 
adaptadores de red que tengas configurados en ese archivo y si quieres 
habilitarlo tienes que o bien quitar wlan0 del archivo de configuración o 
bien habilitar manualmente N-M para que gestione esa interfaz, que es lo 
que has hecho.

> Ahora con el grub cuando hago: update-grub2 me da lo siguiente:
> 
> # update-grub2 Generating grub configuration file ...
> Found background image: /usr/share/images/desktop-base/desktop-grub.png
> Encontrada imagen de linux: /boot/vmlinuz-3.16.0-4-amd64 Encontrada
> imagen de memoria inicial: /boot/initrd.img-3.16.0-4-amd64 Encontrada
> imagen de linux: /boot/vmlinuz-3.16.0-0.bpo.4-amd64 Encontrada imagen de
> memoria inicial: /boot/initrd.img-3.16.0-0.bpo.4-amd64 Encontrada imagen
> de linux: /boot/vmlinuz-3.2.0-4-amd64 Encontrada imagen de memoria
> inicial: /boot/initrd.img-3.2.0-4-amd64 Encontrado Fedora release 21
> (Twenty One) en /dev/sda4 grub-mkconfig todavía no soporta Fedora
> release 21 (Twenty One). /usr/sbin/grub-probe: error: no se pudo
> encontrar una unidad de GRUB para #redhat^release^6.  Compruebe su
> device.map.
> Encontrado Fedora en #redhat^release^6 grub-mkconfig todavía no soporta
> Fedora.
> Adding boot menu entry for EFI firmware configuration hecho
> 
> No encuentro que más hacer, alguna sugerencia?
> 
> Gracias de antemano!

Parece que GRUB tiene problemas para detectar la partición de Fedora, 
mira a ver qué particiones/discos tienes (salidas de "fdsik -l" y "/sbin/
blkid") y si se corresponden con las entradas que ha generado GRUB en el 
"/etc/grub/device.map".

Saludos,

-- 
Camaleón



Re: computer cann't shut down

2016-03-19 Thread Michael Milliman



On 03/19/2016 09:40 PM, lina wrote:

shutdown -h now

doesn't work. it still reboot.

This sounds like an issue with the hardware or BIOS not with the Debian 
OS, or with the Desktop environment.  Though I have not had this 
problem, I have had several others related to 
shutdown/reboot/suspend/hibernate on various machines, but I know for a 
fact that all such problems have been with the hardware/BIOS, not the 
Debian software.  I don't know enough about the iMac to offer anything more.


On Sun, Mar 20, 2016 at 8:16 AM, Lisi Reisz  wrote:

On Saturday 19 March 2016 23:37:05 Patrick Bartek wrote:

On Sat, 19 Mar 2016, David Christensen wrote:

On 03/19/2016 05:40 AM, lina wrote:

Every time since I installed the system,

every time I tried Shut Down, it mainly restart again.

I checked online and tried several methods but still don't work.

Can anyone suggest me how to solve it.

I'm having the same issue:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818311

So far, no progress in resolving it.

No problem here.  'shutdown -h now' (as root) works as it should.
Wheezy 64-bit, fully up-to-date; no desktop environments installed, just
Openbox window manager.  System boots to terminal, login there, then
startx. I like to keep things simple.

Maybe, problem is related to a desktop environment.

B

No, I use a desktop, and have a desktop installed on several other computers I
administer.  3 x Wheezy, 2 x Jessie.  TDE, variously 14.0.3 and 3.5.13.2.
All shut down without a problem.

Lisi



--
Mike



Re: Further to my installation error

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 16:50:43 -0400 doug 
wrote:

> While you have GParted running, why not make the partitions you want 
> using that, and format them to ext4. Then when you go to install
> the new system, just tell it to use existing partitions.

Provided you aren't using GPT, can you use fdisk too? Just create the
desired partitions, set the partition numbers for the intended file
systems (83, most likely) and then let the installer's mkfs do the rest.



Re: Desabafo

2016-03-19 Thread Rafael Nascimento
Boa noite Henrique, também gostaria de pagar R$10,00 pelo pagseguro.

Abraço!
Em 19/03/2016 21:01, "Henrique Fagundes" 
escreveu:

> *Senhores,*
>
> Boa noite, e saudações pinguianas. Peço a todos 5 minutinhos de atenção
> para um desabafo sobre a minha participação com o mundo opensource.
>
> Hoje eu estava refletindo sobre algumas coisas que vem acontecendo e
> resolvi escrever esse texto.
>
> Muitos já me conhecem, para outros eu sou um mero desconhecido, entusiasta
> de Linux e soluções OpenSource no geral. Meu nome é Luiz Henrique Marques
> Fagundes, tenho 35 anos de idade e sou mantenedor do Projeto Aprendendo
> Linux (*http://aprendendolinux.com 
> *). Esse projeto existe  desde o dia 17 de
> Julho de 2008.
>
> Como todo projeto que se inicia, comecei de maneira simples. Lembro do
> computador que hospedava o site, um AMD K6-II 500 com 64 MB de RAM, rodando
> um Debian 4, vulgo Etch, com o WordPress ainda nas primeiras versões.
>
> Lembro que tinha um Link Velox ADSL de 1MB e eu usava um serviço de DNS
> dinâmico, se eu bem me recordo o Duc No-IP e apontava os CNAME lá onde eu
> registrei o domínio.
>
> No começo era só uma experiência, tipo a ideia era ir registrando e
> compartilhando tudo que eu ia aprendendo. Assim tudo estaria documentado. O
> projeto foi crescendo e me vi na necessidade de melhorar, pois o então
> “servidor” não estava aguentando a carga.
>
> Durante essa minha expectativa, recebi um convite para administrar uma
> rede e cuidar do suporte de TI em uma empresa de Telecom, na qual eu pude
> “pegar uma carona” na infra. Conversando com os responsáveis,
> disponibilizaram para o meu projeto, uma máquina com 2GB de RAM, 160GB de
> disco e um IP Público estático. Para os dias de hoje, isso pode nem
> significar nada, mas na época, esses recursos me deixaram muito feliz.
>
> Trabalhei por quase 5 anos nessa empresa e durante esse tempo o meu
> projeto ficou seguro, estável e satisfatório. Depois de 5 anos a empresa se
> desfez e eu tive que sair… Usei uma parte do dinheiro da minha rescisão
> para fazer um Upgrade no meu computador Desktop e o que sobrou dele, eu
> montei uma outra máquina que, seria então o servidor que daria continuidade
> ao Projeto do Portal Aprendendo Linux (ainda consegui comprar um Nobreak
> pra ele).
>
> É preciso mencionar que, junto com a Infra do projeto, minha vida mudou um
> pouco também. Nesse período me casei, me mudei, tornei-me um chefe de
> família com contas pra pagar, responsabilidades para arcar (não que eu não
> tinha antes, mas com o casamento as responsabilidades aumentam) e etc.
>
> Na minha nova casa, eu pude contar com a GVT que mesmo com ADLS, me
> entregava um Link de 15 Megas com IP FIXO (por mais R$ 50,00) com reverso
> cadastrado e tudo. E assim o projeto continuou andando.
>
> Durante esse tempo, eu fiz um vídeo pedindo doações (com intenção de
> melhorar o projeto, comprar hardware e ajudar a pagar o link de internet) e
> divulguei insistentemente em todas as comunidades que frequento e colaboro.
> Não consegui arrecadar nem um mísero centavo.
>
> Então a crise da eletricidade começou a dar sinais que ia tomar conta do
> Brasil e a minha conta de luz foi encarecendo e cada vezes estava mais
> difícil manter a máquina ligada 24 horas por dia. Durante tudo isso, as VPS
> (Virtual Private Server) começaram a se popularizar. Como o Dólar ainda
> custava aproximadamente R$ 2,00 (dois reais), comecei pensar na
> possibilidade de tirar o servidor daqui de casa, colocar todos os serviços
> na nuvem. Aí eu conheci a DigitalOcean. Tiver a oportunidade de testar os
> serviços, senti firmeza, estabilidade e confiança e então, resolvi migrar
> os serviços para uma VPS de $20,00 (vinte dólares) e desligar a máquina
> aqui em casa. O primeiro ano foi financeiramente satisfatório, pois com o
> site hospedado lá, eu pude desligar a minha máquina aqui em casa e entregar
> o IP fixo, o que me gerou uma boa economia.
>
> Durante tudo isso, graças a minha obesidade, passei por alguns problemas
> relacionado a saúde. Tive que ser submetido a cirurgia de gastroplastia
> (redução de estomago) para sanar aos problemas (para saber detalhadamente
> sobre esse caso, acesse aqui: *http://bit.ly/1TXqvUB
> *). Mesmo debilitado, em período de recuperação,
> continuei tocando o projeto.
>
> Depois que me recuperei, recebi um convite para administrar a rede de uma
> empresa de serigrafia, aqui na zona norte do Rio de Janeiro. Então surgiu a
> necessidade de fazer uma segunda cirurgia, (abdominoplastia + coxas) para
> remover os excessos de pele que ficaram, em consequência da obesidade.
> Continuei trabalhando normalmente durante o período pré-operatório e quando
> estava faltando uma semana para a cirurgia, a empresa me demitiu alegando
> problemas financeiros por conta da crise.
>
> Conclusão: Eu tive que “fritar” todo o dinheiro da minha rescisão com
> 

Re: Password protecting grub

2016-03-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Mar 16, 2016 at 05:07:33PM +0530, Himanshu Shekhar wrote:
> I wish to password protect grub bootloader. I tried the steps available on
> online manuals as of RedHat, Ubuntu, etc. All experiments were on a
> VirtualBox machine, so my system remains safe. However, I didn't get
> success.
> Every time I write the line to the config file and run update-grub, I get
> the response
> "password : command not found".
> 
> I made experiments with the following files:
>   /etc/grub.d/00_header
>   /etc/grub.d/40_custom
>   /boot/grub/grub.cfg
> 
> adding
> " set superusers="root"
>   password root rootpassword
> "
> or
> " password mypassword "
> or
> " password --md5 $$$%#$ "
> 
> different times. Each time, I had the same error generated.

Note that those files are shell scripts generating scripts for grub. I think
you want the shell script outputting something like

  +--
  |set superusers="foo"
  |password foo verytopsecret
  +--

to its standard output, so you'll want to add

  +--
  |cat <

Re: Installing newer kernels

2016-03-19 Thread David Wright
On Fri 18 Mar 2016 at 18:31:24 (-0700), David Christensen wrote:

> You're a better man than myself.  :-)  I recycled all of my Pentium
> III machines.  My 32-bit Pentium 4's will soon follow...

Well, this Pentium III is the last machine I had on my desk at work,
so I'll probably run it until it dies, for sentimental reasons.
I'm retired; you're probably running machines for professional
reasons, which carries responsibilities I no longer have.

I can understand your reasons for favouring reinstallations, BTW.

Cheers,
David.



Re: Password protecting grub

2016-03-19 Thread arian
hi

> But, no way out if you forget the BIOS password. That's why I want to have 
> GRUB password. 

You realize that if it's easy for you to circumvent some (broken!) 
authentication, it's just as easy for an attacker, right? What you want is not 
possible, in the end. I guess that's why "factory reset" on "mobile devices" in 
many cases deletes storage and disables authentication - less chance for 
personal data to get in the hand of attackers.



signature.asc
Description: OpenPGP digital signature


Re: crear DVDs de debian

2016-03-19 Thread Walter O. Dari

Hola gente:

El 17/03/16 a las 15:56, Santiago Vila escribió:

On Thu, Mar 17, 2016 at 09:55:36AM -0400, merlinva2...@grannet.grm.sld.cu wrote:

tengo un repositorio de debian en un disco duro externo. Por favor, me
podrían explicar cómo a partir de este repositorio puedo crear un
repositorio en DVDs?


Si no tienes Internet, lo que te ha contado Camaleón es prácticamente
lo único que puedes hacer.

Pero si te pueden prestar Internet durante un rato, podrías usar el
programa "jigdo" y con muy poco gasto de ancho de banda adicional
podrías crear los DVDs oficiales.


Jigdo va muy bien, sobre todo teniendo en cuenta que son 15 DVDs, al 
menos la versión estable.


Como tengo apt-cacher instalado en uno de los servidores, los paquetes 
se mantienen actualizados y jigdo-lite permite seleccionarlo, así que 
descarga de Internet sólo los que no están al día.



Saludos,


--

Walter O. Dari

http://swcomputacion.com/
https://facebook.com/swcomputacion/
skype: waomda



Re: Further to my installation error

2016-03-19 Thread Adam Wilson
On Wed, 16 Mar 2016 20:49:28 + Brian  wrote:

> On Wed 16 Mar 2016 at 16:12:20 -0400, Felix Miata wrote:
> 
> > Brian composed on 2016-03-16 19:21 (UTC):
> > 
> > >On Tue 15 Mar 2016 at 22:41:14 +, Lisi Reisz wrote:
> > 
> > >>Pity it took me until it tried to use CD1 to do a net-install to
> > >>realise that!!  And I have now run out of writable CDs. :-(  I
> > >>had just enough for this shenanigans!
> > 
> > >Why any Debian user should use an antiquated technology to install
> > >is beyond me. USB sticks are two a penny. Isohybrid images rule;
> > >OK!
> > 
> > USB sticks, being of a non-uniform variety of sizes, shapes, speed,
> > and reliability, are a pain to library. Inferior amount of space on
> > which to write on them contributes to the library problem. Pricing
> > of USB sticks on a per device basis remains much higher than OM,
> > making creation of a single device for single purpose generally
> > much more expensive than OM. There still exist working puters that
> > cannot boot USB. I have several.
> 
> So do I. There are ways round it.
> 
> But the vast majortiy of users are not using the ancient machines you
> and I have. The OP is at liberty to indicate whether her machine falls
> into this class. A round shiny disc could be her only solution to
> booting a Debian image.

There is a potential problem also where modern machines (with UEFI
boot) fail to install off USB without UEFI, meaning that if you want a
UEFI-free install, you have to use optical media. This happened to me
on an ASUS UX51vz with UEFI- with Debian 7 d-i, inserting an optical
disc would provide the option to either boot the disk with UEFI or
without it, while inserting a USB would only allow UEFI boot from the
flash drive, and not legacy booting, even with Launch CSM enabled.

So while using Debian 7, I just had to use optical media to install
Debian sans UEFI (which I always do- call it nostalgia, but I like the
simplicity of MBR and four primary partitions rather than the
unfamiliar layers of GPT/UEFI related cruft). Booting off USB (forced
to use UEFI) would simply result in a black screen after selecting
"Install".

Debian 8, however, seems to have solved this problem. USB can still
only be booted from UEFI, but newer d-i means that installation now
proceeds as normal until the point at which UEFI yes/no (force/leave)
selection is reached- so with Debian 7 I had to use CDs/DVDs, but with
8 I am now free to use USB (my preferred way to carry out
installations).

That machine is also unfortunate in the sense that it has a wifi card
(Centrino Advanced-N 6235) which requires non-free firmware in iwlwifi.
So in my latest Debian installation on that machine, I used a full CD-1
image, burned to USB, booted via UEFI (which I was forced to do), and
then did a UEFI-free installation using the options within the menu
(after having turned off the Great Satan that is Restricted Boot), but
declined to set up network interfaces via the installer (since the
firmware in Debian is non-free).

I have a USB wifi adapter based on AR9271 which I then plugged in. I
compiled the free firmware (open-atheros-firmware) on a separate
machine (which generated over 2GB worth of cruft) and copied across the
firmware. Et voila! A working Debian 8 UX51vz with free wifi.

That firmware could prove in handy later.



Re: Accès graphique par SSH

2016-03-19 Thread jacques
Le 18/03/2016 09:42, Frédéric MASSOT a écrit :
> Le 17/03/2016 21:03, cont...@baal.fr a écrit :
>> alors je sais c'est pas libre mais c'est gratuit du moins hors de
>> l'usage proffessionnelle moi je me sert de teamviewer c'est
>> inter-compatible windows linux mac android iphone windows phone black
>> berry  je m'en sert pour dépanner les amis sa marche plutot bien par
>> contre sous linux c'est avec wine 
>>
>> au cas ou je met le lien https://www.teamviewer.com/fr/download/linux.aspx
> 
> Je plusois, Teamviewer n'est pas libre, mais quand tu dois intervenir
> sur des postes ou des serveurs Windows à distance c'est super pratique.
> 

Bonjour

Teamviewer et Window$ , je ne me prononce pas , je n'en ai pas la
compétence et ce n'est pas l'objet ici.

Par contre Teamviewer et Linux je vais donner mon avis même si je n'ai
jamais utilisé. Pourquoi confier ces données à une société tierce quand
ssh est ton ami ;-) ?

si tu dois intervenir sur une machine tierce (cible) depuis ta machine
d'assistance, tu crées un compte "maintenance" sur ta machine et tu
demandes à ton interlocuteur de te connecter via ssh en activant le
"remote forwarding":
ssh -R :localhost:22 assistance
Pour prendre la main sur la machine distante il te suffit alors de faire
ssh -p  localhost

Bien sur tu remplaces  par n'importe quel port libre sur ta machine
d'assistance et tu peux utiliser la surcouche ssh de ton choix: par
exemple x2go :-)

Bonne journée



Re: Desabafo

2016-03-19 Thread Guilherme Yan
Boa noite, Henrique.

Eu topo pagar os R$ 10,00.

Tenho preferência pelo PagSeguro.

Att,
Guilherme Yan
Em 19/03/2016 21:01, "Henrique Fagundes" 
escreveu:

> *Senhores,*
>
> Boa noite, e saudações pinguianas. Peço a todos 5 minutinhos de atenção
> para um desabafo sobre a minha participação com o mundo opensource.
>
> Hoje eu estava refletindo sobre algumas coisas que vem acontecendo e
> resolvi escrever esse texto.
>
> Muitos já me conhecem, para outros eu sou um mero desconhecido, entusiasta
> de Linux e soluções OpenSource no geral. Meu nome é Luiz Henrique Marques
> Fagundes, tenho 35 anos de idade e sou mantenedor do Projeto Aprendendo
> Linux (*http://aprendendolinux.com 
> *). Esse projeto existe  desde o dia 17 de
> Julho de 2008.
>
> Como todo projeto que se inicia, comecei de maneira simples. Lembro do
> computador que hospedava o site, um AMD K6-II 500 com 64 MB de RAM, rodando
> um Debian 4, vulgo Etch, com o WordPress ainda nas primeiras versões.
>
> Lembro que tinha um Link Velox ADSL de 1MB e eu usava um serviço de DNS
> dinâmico, se eu bem me recordo o Duc No-IP e apontava os CNAME lá onde eu
> registrei o domínio.
>
> No começo era só uma experiência, tipo a ideia era ir registrando e
> compartilhando tudo que eu ia aprendendo. Assim tudo estaria documentado. O
> projeto foi crescendo e me vi na necessidade de melhorar, pois o então
> “servidor” não estava aguentando a carga.
>
> Durante essa minha expectativa, recebi um convite para administrar uma
> rede e cuidar do suporte de TI em uma empresa de Telecom, na qual eu pude
> “pegar uma carona” na infra. Conversando com os responsáveis,
> disponibilizaram para o meu projeto, uma máquina com 2GB de RAM, 160GB de
> disco e um IP Público estático. Para os dias de hoje, isso pode nem
> significar nada, mas na época, esses recursos me deixaram muito feliz.
>
> Trabalhei por quase 5 anos nessa empresa e durante esse tempo o meu
> projeto ficou seguro, estável e satisfatório. Depois de 5 anos a empresa se
> desfez e eu tive que sair… Usei uma parte do dinheiro da minha rescisão
> para fazer um Upgrade no meu computador Desktop e o que sobrou dele, eu
> montei uma outra máquina que, seria então o servidor que daria continuidade
> ao Projeto do Portal Aprendendo Linux (ainda consegui comprar um Nobreak
> pra ele).
>
> É preciso mencionar que, junto com a Infra do projeto, minha vida mudou um
> pouco também. Nesse período me casei, me mudei, tornei-me um chefe de
> família com contas pra pagar, responsabilidades para arcar (não que eu não
> tinha antes, mas com o casamento as responsabilidades aumentam) e etc.
>
> Na minha nova casa, eu pude contar com a GVT que mesmo com ADLS, me
> entregava um Link de 15 Megas com IP FIXO (por mais R$ 50,00) com reverso
> cadastrado e tudo. E assim o projeto continuou andando.
>
> Durante esse tempo, eu fiz um vídeo pedindo doações (com intenção de
> melhorar o projeto, comprar hardware e ajudar a pagar o link de internet) e
> divulguei insistentemente em todas as comunidades que frequento e colaboro.
> Não consegui arrecadar nem um mísero centavo.
>
> Então a crise da eletricidade começou a dar sinais que ia tomar conta do
> Brasil e a minha conta de luz foi encarecendo e cada vezes estava mais
> difícil manter a máquina ligada 24 horas por dia. Durante tudo isso, as VPS
> (Virtual Private Server) começaram a se popularizar. Como o Dólar ainda
> custava aproximadamente R$ 2,00 (dois reais), comecei pensar na
> possibilidade de tirar o servidor daqui de casa, colocar todos os serviços
> na nuvem. Aí eu conheci a DigitalOcean. Tiver a oportunidade de testar os
> serviços, senti firmeza, estabilidade e confiança e então, resolvi migrar
> os serviços para uma VPS de $20,00 (vinte dólares) e desligar a máquina
> aqui em casa. O primeiro ano foi financeiramente satisfatório, pois com o
> site hospedado lá, eu pude desligar a minha máquina aqui em casa e entregar
> o IP fixo, o que me gerou uma boa economia.
>
> Durante tudo isso, graças a minha obesidade, passei por alguns problemas
> relacionado a saúde. Tive que ser submetido a cirurgia de gastroplastia
> (redução de estomago) para sanar aos problemas (para saber detalhadamente
> sobre esse caso, acesse aqui: *http://bit.ly/1TXqvUB
> *). Mesmo debilitado, em período de recuperação,
> continuei tocando o projeto.
>
> Depois que me recuperei, recebi um convite para administrar a rede de uma
> empresa de serigrafia, aqui na zona norte do Rio de Janeiro. Então surgiu a
> necessidade de fazer uma segunda cirurgia, (abdominoplastia + coxas) para
> remover os excessos de pele que ficaram, em consequência da obesidade.
> Continuei trabalhando normalmente durante o período pré-operatório e quando
> estava faltando uma semana para a cirurgia, a empresa me demitiu alegando
> problemas financeiros por conta da crise.
>
> Conclusão: Eu tive que “fritar” todo o dinheiro da 

Re: computer cann't shut down

2016-03-19 Thread lina
On Sun, Mar 20, 2016 at 12:19 AM, Patrick Bartek  wrote:
> On Sat, 19 Mar 2016, lina wrote:
>
>> Every time since I installed the system,
>
> Which one?  Jessie?  Testing (Stretch)?, Unstable?
>

Jessie stable;

> Which desktop, if any?

on my new iMac.

>
> What computer?
>
> During the install, what options did you choose?  Or did you just use
> the defaults?

most use default, except partition.

>
>> every time I tried Shut Down, it mainly restart again.
>
> Through the desktop or terminal or both?  Have you tried as root, in a
> terminal: shutdown -h now
>
>> I checked online and tried several methods but still don't work.
>>
>> Can anyone suggest me how to solve it.
>
> More information needed.  Otherwise, I'd just be guessing.
>
> B
>



Re: computer cann't shut down

2016-03-19 Thread lina
shutdown -h now

doesn't work. it still reboot.



On Sun, Mar 20, 2016 at 8:16 AM, Lisi Reisz  wrote:
> On Saturday 19 March 2016 23:37:05 Patrick Bartek wrote:
>> On Sat, 19 Mar 2016, David Christensen wrote:
>> > On 03/19/2016 05:40 AM, lina wrote:
>> > > Every time since I installed the system,
>> > >
>> > > every time I tried Shut Down, it mainly restart again.
>> > >
>> > > I checked online and tried several methods but still don't work.
>> > >
>> > > Can anyone suggest me how to solve it.
>> >
>> > I'm having the same issue:
>> >
>> >  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818311
>> >
>> > So far, no progress in resolving it.
>>
>> No problem here.  'shutdown -h now' (as root) works as it should.
>> Wheezy 64-bit, fully up-to-date; no desktop environments installed, just
>> Openbox window manager.  System boots to terminal, login there, then
>> startx. I like to keep things simple.
>>
>> Maybe, problem is related to a desktop environment.
>>
>> B
>
> No, I use a desktop, and have a desktop installed on several other computers I
> administer.  3 x Wheezy, 2 x Jessie.  TDE, variously 14.0.3 and 3.5.13.2.
> All shut down without a problem.
>
> Lisi
>



Re: Antivirus para Debian

2016-03-19 Thread Leonardo S. S. da Rocha
Valeu Leandro e Danilo.

Contudo já testei o Clamav. Ocorre que tentei baixar um arquivo que
tenho no google Drive e o serviço me informou que o arquivo está
infectado. Baixei-o e escanneei ele com o Clamav, nada foi encontrado.
O que pode ser isso? Ineficiencia do clamav ou excesso do google
drive?


2016-03-17 8:15 GMT-03:00 Danilo Lima :
> Em 2016-03-17 12:38 am, Leonardo Rocha escreveu:
>>
>> Alguma sugestão de um bom antivirus para Debian (se é que existe)? para
>> varredura de arquivos manipulados no windows.
>>
>> Agradeço e aguardo.
>
>
> Pesquise pelo Clamav, pode ser o que estás procurando.
>
> --
> Danilo Lima Xavier
> Sete Lagoas - MG - BRASIL
> (31) 9-9832-0797
> Facebook: https://www.facebook.com/danilo.lima.58323
>
>
> "Seja Livre, use GNU/LINUX!"



-- 

__
Atenciosamente,
(Best regards),


Leonardo Rocha
about.me/leonardo.rocha



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread jdd

Le 18/03/2016 13:55, Jarle Aase a écrit :


Actually, I need scanning more frequently than I need printing. The
scanner works perfectly without any proprietary software on my PC. I
have still not printed anything.



scanner are for free nowaday (second hand), I even have an unused one :-)

jdd



Antivirus para Debian

2016-03-19 Thread João Victor
Olá a todos,

Fugindo um pouco do centro do tópico, comigo o Google Drive tem mostrado
varios arquivos como infectados, principalmente os compactados. Aqui ZIPs
com codigos fonte ele mostra que está infectado e não faz o download. Estou
tendo que renomear de .zip para .zzz para ele não barrar.

Abraços
Em 18/03/2016 14:13, "Thiago Oliveira"  escreveu:

> bitdefender, avg entre outros tem versões para linux
>
> Em 17 de março de 2016 13:56, julio  escreveu:
>
>> Nenhum antivírus é 100%  sugiro testar o arquivo con mais dois anti vírus
>> diferentes.
>>
>>
>> Enviado por Samsung Mobile
>>
>>
>>
>>  Mensagem original 
>> De : "Leonardo S. S. da Rocha" 
>> Data: 17/03/2016 9h58 (GMT-03:00)
>> Para: Danilo Lima 
>> Cc: dup 
>> Assunto: Re: Antivirus para Debian
>>
>>
>> Valeu Leandro e Danilo.
>>
>> Contudo já testei o Clamav. Ocorre que tentei baixar um arquivo que
>> tenho no google Drive e o serviço me informou que o arquivo está
>> infectado. Baixei-o e escanneei ele com o Clamav, nada foi encontrado.
>> O que pode ser isso? Ineficiencia do clamav ou excesso do google
>> drive?
>>
>>
>> 2016-03-17 8:15 GMT-03:00 Danilo Lima :
>> > Em 2016-03-17 12:38 am, Leonardo Rocha escreveu:
>> >>
>> >> Alguma sugestão de um bom antivirus para Debian (se é que existe)? para
>> >> varredura de arquivos manipulados no windows.
>> >>
>> >> Agradeço e aguardo.
>> >
>> >
>> > Pesquise pelo Clamav, pode ser o que estás procurando.
>> >
>> > --
>> > Danilo Lima Xavier
>> > Sete Lagoas - MG - BRASIL
>> > (31) 9-9832-0797
>> > Facebook: https://www.facebook.com/danilo.lima.58323
>> >
>> >
>> > "Seja Livre, use GNU/LINUX!"
>>
>>
>>
>> --
>>
>> __
>> Atenciosamente,
>> (Best regards),
>>
>>
>> Leonardo Rocha
>> about.me/leonardo.rocha
>>
>>
>
>
> --
> *Thiago Oliveira*
> Graduando em Segurança da Informação - FATEC São Caetano do Sul
>
>
>


Re: Debian SunCamp 16

2016-03-19 Thread Eloi
El 17/03/16 a les 07:19, Adrià ha escrit:
> Pels que hi pugueu estar interessats, serà a Lloret:
>
> https://wiki.debian.org/DebianEvents/Europe/2016/DSC
>

No tinc compte a la wiki de Debian i no el puc crear ara mateix.

Com a informació extra:

A Girona s'hi pot arribar amb tren d'alta velocitat, hi ha connexions
directes des de Madrid, Saragossa, Lleida, Barcelona, Perpinyà, Narbona,
Carcassona, Tolosa de Llenguadoc, Montpeller, Marsella, Lió i París. De
fet, ara com ara és més fàcil arribar a Girona des d'Europa amb tren que
amb avió, després que bona part dels vols de Ryanair s'hagin derivat al
Prat.

Des de Girona a Lloret, en feiner hi ha més o menys un autobús cada
hora. A l'estiu crec que hi ha més servei que a l'hivern en cap de
setmana, en tot cas els horaris són aquests:

http://www.atmgirona.cat/upload/doc/linies/rOOhcsDkIe.pdf

Des de Barcelona, a banda de l'alternativa de fer tota la línia del
Maresme fins Blanes i autobús fins a Lloret, també hi ha la possibilitat
de tren fins a Sils i autobús des d'allà. El temps de viatge de
Barcelona a Sils és menor que a Blanes, però hi ha menys servei per
carretera. Els horaris concrets els buscaré quan sàpiga de qui és la
concessió (mou-te.gencat.cat dóna resultats per TEISA i R. Mas, però per
restriccions de trànsit se suposa que només una acceptarà viatgers... no
sé quina).

Per anar igualment amb tren des de Barcelona miraré si paga la pena
pujar via Granollers amb un R11 i canviar a la R1 a Maçanet, potser es
guanya temps.

Per part meva, segurament m'hi apunti però sense allotjament, anant i
venint des de Girona.



Re: Password protecting grub

2016-03-19 Thread Himanshu Shekhar
Ok! I understand GRUB password and other such passwords are ineffective. I
am also aware of the fact that hard drive can be read anywhere unless it is
encrypted.
The am eager to know a particular way (however bad it may be) to secure a
system, which I have not known yet.
All efforts yet just stop at one step :
   password : command not found. LOL!

Regards
Himanshu Shekhar


Assistam o video com nossa CEO Simone Oliveira falando sobre como adquirir um imóvel nos EUA.

2016-03-19 Thread America Expert
veja o que o estadão fala a respeito de franquias brasileiras no exterior

as franquias brasileiras vêm ampliando sua participação no mercado externo, de 
2010 até 2014, o número de redes cresceu de 65 para 106, segundo dados da 
associação brasileira de franquias (abf)

ceo da america expert, aue auxilia brasileiros a abrirem negócios nos eua, 
simone oliveira também observa o crescimento na busca de franquias pela 
internacionalização. confira o restante desta reportagem no site do estadão. 
clique aqui para ler a matéria completa.
invista de forma inteligente nos eua!

fale conosco e conheça as opções para aquisição de um franchising no mercado 
americano e muitas outras opções para investimento.

[1]

usa
409 nw 10th terrace
hallandale beach, fl
tel.: +1 (305) 824-9100
brasil
calçada das violetas,187,1º
alphaville - barueri, sp
tel.: +55 (11) 3957-1612

[2]

[3]

[4]
[5] ver este email no navegador
você recebeu esse email por causa da sua relação com america expert. por favor, 
[6] reconfirme aquio seu interesse em receber os nossos e-mails,  ou, caso não 
queira mais recebê-los, [7] remova a sua inscrição aqui.
essa mensagem foi enviada para t...@benchmarkemail.com por america expert
407 nw 10th terrace, hallandale beach, fl 33009

remover inscrição| ver inscrição| reencaminhar email| relatar abuso


 References:

1. u=5f2ed23
2. u=5f2ed24
3. u=5f2ed25
4. u=5f15d8d
5. 
http://benchemail.bmetrack.com/c/v?e=90F6E8=93C0E=0=2D2D973F=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D
6. 
http://benchemail.bmetrack.com/c/opt?e=90F6E8=93C0E=0=2D2D973F=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D
7. 
http://benchemail.bmetrack.com/c/u?e=90F6E8=93C0E=0=2D2D973F=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D


Essa mensagem foi enviada para debian-user-portuguese@lists.debian.org por 
sales...@americaexpert.com

pode modificar/atualizar a sua inscrição através do seguinte link.

Remover Inscri  o de todas as listas de envio
http://benchemail.bmetrack.com/c/su?e=90F6E8=93C0E=2D2D973F=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=D897DD93


407 NW 10th Terrace, Hallandale Beach, FL 33009

E-mail Marketing
BenchmarkEmail.com
 [http://benchemail.bmetrack.com]

Ver este email no navegador: 

http://benchemail.bmetrack.com/c/v?e=90F6E8=93C0E=2D2D973F=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=D897DD93


Você recebeu esse email por causa da sua relação com America Expert. Por favor, 
reconfirme aqui o seu interesse em receber os nossos e-mails,  ou, caso não 
queira mais recebê-los, remova a sua inscrição aqui.

http://benchemail.bmetrack.com/c/u?e=90F6E8=93C0E=2D2D973F=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=D897DD93


Re: Sudo

2016-03-19 Thread Charlie Kravetz
On Sun, 20 Mar 2016 00:52:23 +
Lisi Reisz  wrote:

>On Sunday 20 March 2016 00:40:52 Ric Moore wrote:
>> On 03/19/2016 08:22 PM, Lisi Reisz wrote:  
>> > On Saturday 19 March 2016 21:13:14 to...@tuxteam.de wrote:  
>> >> -BEGIN PGP SIGNED MESSAGE-
>> >> Hash: SHA1
>> >>
>> >> On Sat, Mar 19, 2016 at 04:15:01PM +, Frank Jones wrote:  
>> >>> I have only been using Linux for a short time why cant I use SUDO on
>> >>> theterminal with Debian I use it with Linu Mint.  
>> >>
>> >> Possibly you have to add yourself to the sudoers file: it's in
>> >> /etc/sudoers -- best edit it (as root) with visudo.
>> >>
>> >> Make sure there is an entry (perhaps there is one) like
>> >>
>> >>%sudo   ALL=(ALL:ALL) ALL  
>>
>> or
>>
>> # User privilege specification
>> root ALL=(ALL:ALL) ALL
>> ric  ALL=(ALL:ALL) ALL
>>
>> Note only root and user5 ric has permissions to sudo
>>  
>> >> (that means that users belonging to the sudo group may do everything
>> >> can do; you can refine permissions if you want)
>> >>
>> >> Then add yourself to the sudo group. As root, do
>> >>
>> >>adduser  sudo
>> >>
>> >> You'll need to login again for the changes to take effect.  
>> >
>> > The OP probably didn't install sudo.  
>>
>> Heh, that will help immensely! Ric  
>
>It might suggest that there is no point in telling him/her how to use it, or 
>what group to add him/herself to, until the previous advice to install it has 
>been followed. :-/
>
>Lisi
>

My guess would be he doesn't know how to use su to install sudo. The
advice to install as root fails when one has never had to use su.


-- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com]



Re: Antivirus para Debian

2016-03-19 Thread Thiago Oliveira
bitdefender, avg entre outros tem versões para linux

Em 17 de março de 2016 13:56, julio  escreveu:

> Nenhum antivírus é 100%  sugiro testar o arquivo con mais dois anti vírus
> diferentes.
>
>
> Enviado por Samsung Mobile
>
>
>
>  Mensagem original 
> De : "Leonardo S. S. da Rocha" 
> Data: 17/03/2016 9h58 (GMT-03:00)
> Para: Danilo Lima 
> Cc: dup 
> Assunto: Re: Antivirus para Debian
>
>
> Valeu Leandro e Danilo.
>
> Contudo já testei o Clamav. Ocorre que tentei baixar um arquivo que
> tenho no google Drive e o serviço me informou que o arquivo está
> infectado. Baixei-o e escanneei ele com o Clamav, nada foi encontrado.
> O que pode ser isso? Ineficiencia do clamav ou excesso do google
> drive?
>
>
> 2016-03-17 8:15 GMT-03:00 Danilo Lima :
> > Em 2016-03-17 12:38 am, Leonardo Rocha escreveu:
> >>
> >> Alguma sugestão de um bom antivirus para Debian (se é que existe)? para
> >> varredura de arquivos manipulados no windows.
> >>
> >> Agradeço e aguardo.
> >
> >
> > Pesquise pelo Clamav, pode ser o que estás procurando.
> >
> > --
> > Danilo Lima Xavier
> > Sete Lagoas - MG - BRASIL
> > (31) 9-9832-0797
> > Facebook: https://www.facebook.com/danilo.lima.58323
> >
> >
> > "Seja Livre, use GNU/LINUX!"
>
>
>
> --
>
> __
> Atenciosamente,
> (Best regards),
>
>
> Leonardo Rocha
> about.me/leonardo.rocha
>
>


-- 
*Thiago Oliveira*
Graduando em Segurança da Informação - FATEC São Caetano do Sul


Sound problems

2016-03-19 Thread Lisi Reisz
I have currently no sound.

It is an ASROCK N3050B-ITX motherboard with onboard sound with the following 
specifications:

Chipset  Intel N3050
Sound Card Type  Realtek ALC887
Number of Sound Card Channels  7.1

I have the following information:

peter@Eros:~$ lspci -nnk | grep udio
00:1b.0 Audio device [0403]: Intel Corporation Device [8086:2284] (rev 21)
peter@Eros:~$ lsmod | grep udio
peter@Eros:~$ lsmod | grep snd
snd_seq_dummy  12467  0
snd_seq57061  1 snd_seq_dummy
snd_seq_device 13132  2 snd_seq,snd_seq_dummy
snd_hda_codec_hdmi 45118  1
snd_hda_codec_realtek67127  1
snd_hda_codec_generic63181  1 snd_hda_codec_realtek
snd_hda_intel  26327  5
snd_hda_controller 26646  1 snd_hda_intel
snd_hda_codec 104500  5 
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep  13148  1 snd_hda_codec
snd_pcm88662  4 
snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer  26627  2 snd_pcm,snd_seq
snd65244  20 
snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore  13026  2 snd,snd_hda_codec
peter@Eros:~$ aplay -L
default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, ALC887-VD Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample mixing device
dmix:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample mixing device
dmix:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample snooping device
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Hardware device with all software conversions
peter@Eros:~$   

I have installed and tried to adjust pavucontrol, but it doesn't seem to see 
the sound card correctly.

Missing drivers?  Which??

Very little sleep last night is probably not helping.  But my husband wanted 
this emergency computer fast so that he could keep up with his courses - and 
for that he wants sound. :-(



Re: Accès graphique par SSH

2016-03-19 Thread David_dev Dev
Bonjour,

Je ne sais pas si ça fonctionne à distance, mais j'ai testé récemment x2go,
un autre vnc like en client/serveur qui ouvre par contre une nouvelle
sessions graphique (pas vu si on peut reprendre une session en cours).
J'espère que ce n'est pas trop hors sujet

David

Le 17 mars 2016 à 11:44, Jean-Claude MARQUES 
a écrit :

> Le 17/03/2016 09:22, Olivier a écrit :
> > Bonjour,
> Après un renvoi sur l'adresse personnelle, un second sur la liste ...
>
> Bonjour,
> Expériences faites sous Wheezy, mais je ne pense pas qu'il y ait de
> changement entre les différentes versions de ssh.
>
> >
> > J'utilise de temps en temps, une machine sous Debian Jessie/Gnome
> > installée chez un client.
> > Pour l'instant je travaille sur celle-ci uniquement en ligne de
> commandes.
> > Pour différentes raisons, je transite par une machine tierce selon le
> > schéma suivant:
> >
> > Mon PC (Jessie/Gnome) <--SSH--> Machine relais (Wheezy/CLI) <--SSH-->
> > Machine cible (Jessie/Gnome)
> >
> > 1. M'est-il possible accéder en graphique à la machine cible en
> > conservant les accès par SSH (je peux changer la configuration de
> > chacune des machines mais pas "demander un port supplémentaire" entre
> > la machine relais et la machine ?
> >
>
> Oui. Utiliser de préférence l'option -Y (man ssh)
>
> > 2. Est-ce toujours possible si je devais ajouter une machine relais
> > supplémentaire entre la machine relais actuelle et mon PC ?
> >
>
> Oui. mais le temps de latence augmente (à vue de nez, 1s/connexion ssh
> sur 4 machines (3 connexions ssh donc) pour ouvrir et fermer un emacs
> sur la machine cible).
>
> > 3. Y-a-t-il des contraintes particulières de cohérence entre la
> > machine cible et mon PC (imaginons que la machine cible change de
> > distribution ou que je doive temporairement travailler à partir d'un
> > PC sous Windows) ?
> >
>
> Je ne sais pas
>
> > Slts
>
> Debianement,
>
> Jean-Claude
>
>


Re: Virtualbox et VT-x/AMD-V [HS ?]

2016-03-19 Thread Stiradens
D'après les test  il vaut mieux faire du filtrage par un firewall 
externe pour maintenir la vie privée avec windows 10.


Tu désactive tout et quand rien est actif en apparence tu regarde les 
log de ce qui sors. Ensuite il faut interdire tous les serveurs 
contactés sans que tu l'ai demandé. Il faut recommencer l'opération car 
il peut y avoir des serveurs "de secours" pour collecter les données. Tu 
peux utiliser fail2ban par exemple pour faire ça.


Le 17/03/2016 13:42, Haricophile a écrit :

Le Tue, 15 Mar 2016 17:35:39 +0100,
Klaus Becker  a écrit :


Bonjour,

je voudrais tester Windaube 10 dans Virtualbox.

Avec la version 64 bits ça ne fonctionne pas parce que je ne peux pas
activer VT-x/AMD-V.

Perso je ne peux pas installer Windows10 qui me jette en disant que le
matériel n'est pas "encore" compatible. Après j'ai vu sur le net qu'il
y a des bidouilles assez complexes pour contourner certains problèmes
de drivers (c'est généralement là où ça coince).

Bref après plusieurs essais ça m'a considérablement gonflé, et du coup
je suis resté sur mes Win [XP..7] pour les besoins occasionnels.

Je pense que win10 est encore très merdique au niveau des drivers et
logiciels tiers, en gros ça marche ou ça ne marche pas suivant ta conf
matérielle, et quand ça ne marche pas on comprend les avantages des
logiciels libres...

Au passage en cas de réussite, ne pas oublier de désactiver tout ce qui
concerne le cloud, synonyme d'usine à espionnage avec keylogger et Cie,
et même là je ne suis pas sûr de ce qui est vraiment envoyé ou pas
puisque les URI de Microsoft sont codées en dur donc infiltrables sans
un firewall externe.





Re: Problemas con WiFi luego de hacer Upgrade de Wheezy a Jessie

2016-03-19 Thread Carlos Carcamo
El 6 de marzo de 2016, 09:20, Camaleón  escribió:
> El Sat, 05 Mar 2016 19:07:27 -0600, Carlos Carcamo escribió:
>
>> Saludos lista,
>>
>> Tengo un pequeño problemita que no se como solucionar, tal vez me
>> puedan asistir un poco.
>>
>> Sucede que hice un dist-upgrade de wheezy a jessie, todo anda bien
>> excepto por 3 cosas, 1. el grub no me reconoció una partición con
>> Fedora,
>
> Esto lo puedes arreglar manualmente (editando el archivo de configuración
> del menú de grub y corrigiendo -añadiendo o editando- la entrada para
> cargar fedora) o mejor dejando que primero intente arreglarlo la rutina
> de configuración del cargador automáticamente por medio de "os-
> prober" (consulta la FAQ para saber los pasos exactos que tienes que dar).
>
> When I upgraded from GRUB to GRUB2 I lost an entry to XP/WP7 , how can I
> recover the menu entry to boot there?
> https://wiki.debian.org/Grub#FAQ
>
>> 2. gdm3 no funciona y
>
> Bueno, como ya has instalado KDE pues nada que decir sobre ésto salvo que
> seguramente con reinstalar el paquete hubiera bastado :-)
>
>> 3. El wifi no parece encontrar redes disponibles.
>
> Eso te pasa por cambiar a KDE, ahora Network Manager se habrá hecho un
> lío :-P
>
>> Para el problema 1 luego voy a googlear jajaja, el 2 no pude
>> solucionarlo así que cambie gnome por KDE, el 3 es el que más me
>> interesa solucionar.
>>
>> dejo un poco de info:
>>
>> # rfkill list all
>> 0: phy0: Wireless LAN
>> Soft blocked: no
>> Hard blocked: no
>>
>> # ifconfig
>> ...
>> wlan0 Link encap:Ethernet  HWaddr a4:db:30:3f:d6:f1
>>   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)
>>
>> wlan0:avahi Link encap:Ethernet  HWaddr a4:db:30:3f:d6:f1
>>   inet addr:169.254.11.6  Bcast:169.254.255.255
>> Mask:255.255.0.0
>>   UP BROADCAST MULTICAST  MTU:1500  Metric:1
>>
>> $ lspci | grep Wireless
>> 02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network
>> Adapter (rev 01)
>
> Te está cargando la IP "de pega" (avahi zeroconf), seguramente porque no
> encuentre ningún servidor DHCP desde donde obtener los datos de la
> tarjeta wifi. A malas, prueba configurando los datos manualmente, es
> decir, especificando una IP/máscara de red, pasarela, DNS, etc... para
> forzar al adaptador wifi a usar esa configuración y descartar así un
> problema de comunicación con el AP.
>
>> $ cat /etc/network/interfaces
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> allow-hotplug eth0
>> iface eth0 inet dhcp
>>
>> allow-hotplug wlan0
>> iface wlan0 inet dhcp
>>
>> Según veo el sistema me reconoce el hardware pero por algún motivo el
>> network-manager no me muestra ninguna de las redes wifi disponibles y
>> no puedo conectarme a ninguna.
>>
>> Alguna idea de que puede estar pasando?
>
> Revisa el registro "/var/log/syslog" para ver qué te va diciendo. Quizá
> te falte algún firmware aunque no es probable porque el controlador de
> ese adaptador usa "ath9k" que es libre.
>
> Saludos,
>
> --
> Camaleón
>


Saludos, perdon por no responder antes, había estado bastante ocupado.

He resuelto el problema del wifi, era algo raro, googleando un buen
rato me tope con un foro donde tenían un problema similar al mio y
sugerían cambiar una linea en:
/etc/NetworkManager/NetworkManager.conf, en el cual tenia algo como:

...
[ifupdown]
managed=false

y lo cambie a:

[ifupdown]
managed=true

Y con eso el wifi anda bien :)

Ahora con el grub cuando hago: update-grub2
me da lo siguiente:

# update-grub2
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Encontrada imagen de linux: /boot/vmlinuz-3.16.0-4-amd64
Encontrada imagen de memoria inicial: /boot/initrd.img-3.16.0-4-amd64
Encontrada imagen de linux: /boot/vmlinuz-3.16.0-0.bpo.4-amd64
Encontrada imagen de memoria inicial: /boot/initrd.img-3.16.0-0.bpo.4-amd64
Encontrada imagen de linux: /boot/vmlinuz-3.2.0-4-amd64
Encontrada imagen de memoria inicial: /boot/initrd.img-3.2.0-4-amd64
Encontrado Fedora release 21 (Twenty One) en /dev/sda4
grub-mkconfig todavía no soporta Fedora release 21 (Twenty One).
/usr/sbin/grub-probe: error: no se pudo encontrar una unidad de GRUB
para #redhat^release^6.  Compruebe su device.map.
Encontrado Fedora en #redhat^release^6
grub-mkconfig todavía no soporta Fedora.
Adding boot menu entry for EFI firmware configuration
hecho

No encuentro que más hacer, alguna sugerencia?

Gracias de antemano!



-- 
"El desarrollo no es material es un estado de conciencia mental"



Re: Password protecting grub

2016-03-19 Thread jdd

Le 16/03/2016 13:16, Himanshu Shekhar a écrit :

On Wed, Mar 16, 2016 at 5:39 PM, jdd > wrote:

Le 16/03/2016 12:37, Himanshu Shekhar a écrit :

" set superusers="root"
password root rootpassword


if it's a bash command, it should be "passwd", not "password"

jdd


Tried! Didn't work.

Regards

well... it may be simply a variable for grub. I never used it.

I guess you read this page or some similar:

http://superuser.com/questions/488275/grub-2-password-protection-in-debian

may be insert "echo message" lines to see where is the problem exactly?

sorry to can't be of better help :-)

jdd



Re: installing icedove from backports

2016-03-19 Thread Sven Hartge
Lisi Reisz  wrote:
> On Saturday 19 March 2016 19:04:19 Sven Hartge wrote:
>> Bob Holtzman  wrote:

>>> apt-get -t jessie-backports install icedove gives "icedove is already
>>> the newest version". Same with icedove-extension.
>>>
>>> The installed version is 38.6.0-1~deb amd64 and the version in jessie
>>> backports is 38.7.0-1~deb8u1
>>>
>>> Comments, pointers, help, derision, etc appreciated.

>> Please show the output of "apt-cache policy icedove".

> It's in transition, is it not, with this Firefox/Iceweasel business.
> Perhaps give it a few days??

No, not as far as I know: https://tracker.debian.org/pkg/icedove

icedove-38.7.0-1~deb8u1 is available from stable-security.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: Sudo

2016-03-19 Thread Lisi Reisz
On Sunday 20 March 2016 00:40:52 Ric Moore wrote:
> On 03/19/2016 08:22 PM, Lisi Reisz wrote:
> > On Saturday 19 March 2016 21:13:14 to...@tuxteam.de wrote:
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> On Sat, Mar 19, 2016 at 04:15:01PM +, Frank Jones wrote:
> >>> I have only been using Linux for a short time why cant I use SUDO on
> >>> theterminal with Debian I use it with Linu Mint.
> >>
> >> Possibly you have to add yourself to the sudoers file: it's in
> >> /etc/sudoers -- best edit it (as root) with visudo.
> >>
> >> Make sure there is an entry (perhaps there is one) like
> >>
> >>%sudo   ALL=(ALL:ALL) ALL
>
> or
>
> # User privilege specification
> root  ALL=(ALL:ALL) ALL
> ric   ALL=(ALL:ALL) ALL
>
> Note only root and user5 ric has permissions to sudo
>
> >> (that means that users belonging to the sudo group may do everything
> >> can do; you can refine permissions if you want)
> >>
> >> Then add yourself to the sudo group. As root, do
> >>
> >>adduser  sudo
> >>
> >> You'll need to login again for the changes to take effect.
> >
> > The OP probably didn't install sudo.
>
> Heh, that will help immensely! Ric

It might suggest that there is no point in telling him/her how to use it, or 
what group to add him/herself to, until the previous advice to install it has 
been followed. :-/

Lisi



Re: Debian SunCamp 16

2016-03-19 Thread Sisco Garcia



El 16/03/16 a les 15:52, Adrià ha escrit:

On Thu, Mar 17, 2016 at 02:57:09PM +0100, Mònica Ramírez Arceda wrote:

Jo hi vull anar però coincideix en data amb la trobada que volíem fer de
DebianCat a Vilafranca del Penedès:

https://wiki.debian.org/LocalGroups/DebianCat

Si hi ha més gent que s'hi apunti i tenint en compte que està relacionat
amb Debian, proposo canviar de data la trobada de DebianCat.

Com ho veieu?

Jo crec que és el més pràctic, i això que em cou perquè segurament no
hi pugui anar.

I podem deixar Vilafranca per la trobada de la tardor i així no cal
pensar.


+1

M'estreno a la llista... a veure si puc venir a Lloret o a Vilafranca.

Salut,

--
Sisco Garcia gpg 00CE95B1
http://siscogarcia.wordpress.com

Ací treballem amb GNU-LINUX UBUNTU en català.
Ubuntu Registered User #17544
Linux Registered User #456988
Membre de la Free Software Foundation #7289 

__
P Abans d'imprimir aquest correu pensa bé si és necessari fer-ho.



[OT-iRedMail] Re: Error en postfix

2016-03-19 Thread Camaleón
El Fri, 18 Mar 2016 08:42:59 -0400, Luis Ernesto Garcia escribió:

(ese formato...)

> Saludos. Durante una configuración de un servidor de correo con iRedMail
> o sea postfix, 

No, ojo... iRedMail *no* es Postfix. iRedMail *usa* Postfix pero con una 
configuración propia y unos requisitos que nada tienen que ver con una 
instalación de Postfix convencional.

> los email salían perfectamente pero no entran, el log me da el
> siguiente error Sender address rejected: Access denied; no sé qué
> pueda ser pido su ayuda.
> 
> 
>  
> Recuerden que no tengo internet

Ese error es típico de Postfix cuando no has configurado correctamente 
los permisos de quién y desde dónde pueden enviar correos, variables 
"smtpd_sender_restrictions" y "mynetworks" aunque sin más datos puede 
tratarse de otro problema :-? 

Saludos,

-- 
Camaleón



Re: Sudo

2016-03-19 Thread Ric Moore

On 03/19/2016 08:22 PM, Lisi Reisz wrote:

On Saturday 19 March 2016 21:13:14 to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Mar 19, 2016 at 04:15:01PM +, Frank Jones wrote:

I have only been using Linux for a short time why cant I use SUDO on
theterminal with Debian I use it with Linu Mint.


Possibly you have to add yourself to the sudoers file: it's in
/etc/sudoers -- best edit it (as root) with visudo.

Make sure there is an entry (perhaps there is one) like

   %sudo   ALL=(ALL:ALL) ALL


or

# User privilege specification
rootALL=(ALL:ALL) ALL
ric ALL=(ALL:ALL) ALL

Note only root and user5 ric has permissions to sudo




(that means that users belonging to the sudo group may do everything
can do; you can refine permissions if you want)

Then add yourself to the sudo group. As root, do

   adduser  sudo

You'll need to login again for the changes to take effect.


The OP probably didn't install sudo.


Heh, that will help immensely! Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html



Re: computer cann't shut down

2016-03-19 Thread Lisi Reisz
On Saturday 19 March 2016 23:37:05 Patrick Bartek wrote:
> On Sat, 19 Mar 2016, David Christensen wrote:
> > On 03/19/2016 05:40 AM, lina wrote:
> > > Every time since I installed the system,
> > >
> > > every time I tried Shut Down, it mainly restart again.
> > >
> > > I checked online and tried several methods but still don't work.
> > >
> > > Can anyone suggest me how to solve it.
> >
> > I'm having the same issue:
> >
> >  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818311
> >
> > So far, no progress in resolving it.
>
> No problem here.  'shutdown -h now' (as root) works as it should.
> Wheezy 64-bit, fully up-to-date; no desktop environments installed, just
> Openbox window manager.  System boots to terminal, login there, then
> startx. I like to keep things simple.
>
> Maybe, problem is related to a desktop environment.
>
> B

No, I use a desktop, and have a desktop installed on several other computers I 
administer.  3 x Wheezy, 2 x Jessie.  TDE, variously 14.0.3 and 3.5.13.2.  
All shut down without a problem. 

Lisi



Re: Sudo

2016-03-19 Thread Lisi Reisz
On Saturday 19 March 2016 21:13:14 to...@tuxteam.de wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Sat, Mar 19, 2016 at 04:15:01PM +, Frank Jones wrote:
> > I have only been using Linux for a short time why cant I use SUDO on
> > theterminal with Debian I use it with Linu Mint.
>
> Possibly you have to add yourself to the sudoers file: it's in
> /etc/sudoers -- best edit it (as root) with visudo.
>
> Make sure there is an entry (perhaps there is one) like
>
>   %sudo   ALL=(ALL:ALL) ALL
>
> (that means that users belonging to the sudo group may do everything
> can do; you can refine permissions if you want)
>
> Then add yourself to the sudo group. As root, do
>
>   adduser  sudo
>
> You'll need to login again for the changes to take effect.

The OP probably didn't install sudo.

Lisi



Re: installing icedove from backports

2016-03-19 Thread Lisi Reisz
On Saturday 19 March 2016 19:04:19 Sven Hartge wrote:
> Bob Holtzman  wrote:
> > apt-get -t jessie-backports install icedove gives "icedove is already
> > the newest version". Same with icedove-extension.
> >
> > The installed version is 38.6.0-1~deb amd64 and the version in jessie
> > backports is 38.7.0-1~deb8u1
> >
> > Comments, pointers, help, derision, etc appreciated.
>
> Please show the output of "apt-cache policy icedove".

It's in transition, is it not, with this Firefox/Iceweasel business.  Perhaps 
give it a few days??

Lisi



Accès graphique par SSH

2016-03-19 Thread Olivier
Bonjour,

J'utilise de temps en temps, une machine sous Debian Jessie/Gnome installée
chez un client.
Pour l'instant je travaille sur celle-ci uniquement en ligne de commandes.
Pour différentes raisons, je transite par une machine tierce selon le
schéma suivant:

Mon PC (Jessie/Gnome) <--SSH--> Machine relais (Wheezy/CLI) <--SSH-->
Machine cible (Jessie/Gnome)

1. M'est-il possible accéder en graphique à la machine cible en conservant
les accès par SSH (je peux changer la configuration de chacune des machines
mais pas "demander un port supplémentaire" entre la machine relais et la
machine ?

2. Est-ce toujours possible si je devais ajouter une machine relais
supplémentaire entre la machine relais actuelle et mon PC ?

3. Y-a-t-il des contraintes particulières de cohérence entre la machine
cible et mon PC (imaginons que la machine cible change de distribution ou
que je doive temporairement travailler à partir d'un PC sous Windows) ?

Slts


Re: Troubleshooting Support Reg

2016-03-19 Thread jdd

Le 17/03/2016 05:55, Mohammed Aathif.C a écrit :

Hi Support Team,


Hello,

this is not a support team (Debian being free software, there is nothing 
like an official support team :-(


We are simple users that try to help others


If it's not the right one please redirect me to the right path to get me
the right solution.


we can try (but there are many other groups that do the same)


Actually my issue is, My Debian(V5) is not booting to desktop. Its
rebooting when I choose Debian OS in Boot Manu. Please let know the
troubleshooting steps without any loss of my data in my machine, I have
so many most important data's.


If you have debian in boot menu, it's that you have a boot menu, so two 
cases:


* it's the debian menu - is there the debian logo somewhere? and then 
you only to have to choose the default boot, but I don't think it's the 
case because normally Debian make himself the default


* you have to press a key to access the computer boot menu, and it's 
certainly a recent computer with UEFI. If so in the same menu (or an 
other got with some other key), you can have access tio the UEFI 
firmware. There you have a setup of the boot order. Every make have it's 
own UEFI display, so I can't help you more


Some UEFI computers do not have the set boot order menu, but if you can 
start debian, you can do it from within debian, but it's not very easy 
(command line)


from Windows 10 you can change this order with an utility you have to 
install, called "easyefi" (no need to take the paying version)


jdd



Problemas al montar disco duro

2016-03-19 Thread JESUS0414 .
Cordial saludos comunidad.

Hace poco decidí borrar windows del pc de mi casa e instalar en definitiva
Debian testing, sin embargo, hay dos particiones que poseen el formato NTFS
y no se dejan montar.

Una de las particiones logré hacerla montar, pero la otra sigue dando
problemas.

El error que se muestra en pantalla es este:

Error mounting /dev/sdb2 at /media/yeshua0414/47BF53A07D45C7B7:
Command-line `mount -t "ntfs" -o
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sdb2"
"/media/yeshua0414/47BF53A07D45C7B7"' exited with non-zero exit status 13:
Incomplete multi-sector transfer: magic: 0x454c4946  size: 1024  usa_ofs:
48  usa_count: 1  data: 47171  usn: 47170: Error de entrada/salida
Record 0 has no FILE magic (0x44414142)
Failed to load $MFT: Error de entrada/salida
Failed to mount '/dev/sdb2': Error de entrada/salida
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.


Alguien sabe como puedo solucionarlo sin tener que formatear, ya que tenía
otra partición en donde tenía Ubuntu y no encontré más solución que
formatear esa partición, y la verdad en la partición en donde se genera el
problema posee archivo muy importantes.

Gracias a quien me pueda guiar en esto.


Desabafo

2016-03-19 Thread Henrique Fagundes

*Senhores,*

Boa noite, e saudações pinguianas. Peço a todos 5 minutinhos de atenção 
para um desabafo sobre a minha participação com o mundo opensource.


Hoje eu estava refletindo sobre algumas coisas que vem acontecendo e 
resolvi escrever esse texto.


Muitos já me conhecem, para outros eu sou um mero desconhecido, 
entusiasta de Linux e soluções OpenSource no geral. Meu nome é Luiz 
Henrique Marques Fagundes, tenho 35 anos de idade e sou mantenedor do 
Projeto Aprendendo Linux (/http://aprendendolinux.com/). Esse projeto 
existe  desde o dia 17 de Julho de 2008.


Como todo projeto que se inicia, comecei de maneira simples. Lembro do 
computador que hospedava o site, um AMD K6-II 500 com 64 MB de RAM, 
rodando um Debian 4, vulgo Etch, com o WordPress ainda nas primeiras 
versões.


Lembro que tinha um Link Velox ADSL de 1MB e eu usava um serviço de DNS 
dinâmico, se eu bem me recordo o Duc No-IP e apontava os CNAME lá onde 
eu registrei o domínio.


No começo era só uma experiência, tipo a ideia era ir registrando e 
compartilhando tudo que eu ia aprendendo. Assim tudo estaria 
documentado. O projeto foi crescendo e me vi na necessidade de melhorar, 
pois o então “servidor” não estava aguentando a carga.


Durante essa minha expectativa, recebi um convite para administrar uma 
rede e cuidar do suporte de TI em uma empresa de Telecom, na qual eu 
pude “pegar uma carona” na infra. Conversando com os responsáveis, 
disponibilizaram para o meu projeto, uma máquina com 2GB de RAM, 160GB 
de disco e um IP Público estático. Para os dias de hoje, isso pode nem 
significar nada, mas na época, esses recursos me deixaram muito feliz.


Trabalhei por quase 5 anos nessa empresa e durante esse tempo o meu 
projeto ficou seguro, estável e satisfatório. Depois de 5 anos a empresa 
se desfez e eu tive que sair… Usei uma parte do dinheiro da minha 
rescisão para fazer um Upgrade no meu computador Desktop e o que sobrou 
dele, eu montei uma outra máquina que, seria então o servidor que daria 
continuidade ao Projeto do Portal Aprendendo Linux (ainda consegui 
comprar um Nobreak pra ele).


É preciso mencionar que, junto com a Infra do projeto, minha vida mudou 
um pouco também. Nesse período me casei, me mudei, tornei-me um chefe de 
família com contas pra pagar, responsabilidades para arcar (não que eu 
não tinha antes, mas com o casamento as responsabilidades aumentam) e etc.


Na minha nova casa, eu pude contar com a GVT que mesmo com ADLS, me 
entregava um Link de 15 Megas com IP FIXO (por mais R$ 50,00) com 
reverso cadastrado e tudo. E assim o projeto continuou andando.


Durante esse tempo, eu fiz um vídeo pedindo doações (com intenção de 
melhorar o projeto, comprar hardware e ajudar a pagar o link de 
internet) e divulguei insistentemente em todas as comunidades que 
frequento e colaboro. Não consegui arrecadar nem um mísero centavo.


Então a crise da eletricidade começou a dar sinais que ia tomar conta do 
Brasil e a minha conta de luz foi encarecendo e cada vezes estava mais 
difícil manter a máquina ligada 24 horas por dia. Durante tudo isso, as 
VPS (Virtual Private Server) começaram a se popularizar. Como o Dólar 
ainda custava aproximadamente R$ 2,00 (dois reais), comecei pensar na 
possibilidade de tirar o servidor daqui de casa, colocar todos os 
serviços na nuvem. Aí eu conheci a DigitalOcean. Tiver a oportunidade de 
testar os serviços, senti firmeza, estabilidade e confiança e então, 
resolvi migrar os serviços para uma VPS de $20,00 (vinte dólares) e 
desligar a máquina aqui em casa. O primeiro ano foi financeiramente 
satisfatório, pois com o site hospedado lá, eu pude desligar a minha 
máquina aqui em casa e entregar o IP fixo, o que me gerou uma boa economia.


Durante tudo isso, graças a minha obesidade, passei por alguns problemas 
relacionado a saúde. Tive que ser submetido a cirurgia de gastroplastia 
(redução de estomago) para sanar aos problemas (para saber 
detalhadamente sobre esse caso, acesse aqui: /http://bit.ly/1TXqvUB/). 
Mesmo debilitado, em período de recuperação, continuei tocando o projeto.


Depois que me recuperei, recebi um convite para administrar a rede de 
uma empresa de serigrafia, aqui na zona norte do Rio de Janeiro. Então 
surgiu a necessidade de fazer uma segunda cirurgia, (abdominoplastia + 
coxas) para remover os excessos de pele que ficaram, em consequência da 
obesidade. Continuei trabalhando normalmente durante o período 
pré-operatório e quando estava faltando uma semana para a cirurgia, a 
empresa me demitiu alegando problemas financeiros por conta da crise.


Conclusão: Eu tive que “fritar” todo o dinheiro da minha rescisão com 
medicamentos, cintas, injeções subcutâneas e tudo que envolve o 
pós-operatório. Foram períodos difíceis pra mim, pois eu tinha que 
dormir sentado, não dava para esticar o corpo e não tinha grana alugar 
uma cama de hospital, que é reclinável.


Para piorar as coisas, a presidente incompetente e esse governo 
corru*PT*o resolveram 

Re: Problemas con DHCP corporativo

2016-03-19 Thread JAP

El 17/03/16 a las 12:59, Camaleón escribió:

Lo que veo es que eth0 (10.115.x.x ¿?) no recibe datos del servidor DHCP
(10.116.x.x ¿?) por lo que lo primero que tendrías que comprobar es si
configurando manualmente la interfaz eth0 en el mismo segmento de red en
el que está el servidor DHCP es capaz de comunicarse con él (ping) y
obtener la información que necesita para configurar dinámicamente el
adaptador eth0, así descartas cualquier problema físico (de hardware,
como cableado, separación física de redes, boca de switch, etc...).

Si esto funciona y eth0 se inicia sin errores, el problema podría estar
en la configuración de las rutas por lo que tendrías que ir revisando una
a una todas las que vas cargando, en lugar de añadirlas de golpe.

¿Están todos los equipos que entran en juego (servidor DHCP, switches y
equipos clientes) físicamente en la misma red?

Saludos,



A mí también me llamó la atención las diferencias de segmentos, pero 
como ves, las máquinas con windows levantan con esa configuración.

Y sí, todo los equipos están conectados.
El ruteo, no lo puedo tocar hasta tanto no levanta la IP.
Ya he intentado con configuraciones más reducidas de las interfaces, y 
hasta he invertido los cables de placa.
El tema es la resolución de IP en esa red, no importa cómo esté 
configurado ni dónde esté conectado.


Seguí dando vueltas, y hace media hora desactivé y eliminé Avahi.
El sistema levantó ambas redes.
Lo dejaré así hasta mañana, y veré si fue un golpe de suerte o se solucionó.
Otra cosa que haré, es traerme una netbook que también corre jessie, e 
intentar con dicha maquinita.


JAP



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Jarle Aase



Den 11. mars 2016 19:36, skrev Lisi Reisz:

I have been reading this thread a bit at a time.  I am bemused.  Why, if you
want life simple, and Free, etc., go for an AIO, which are notoriously
troublesome?  Why not go for a simple Brother laser printer?  (If you want
Brother.)

Actually, I need scanning more frequently than I need printing. The 
scanner works perfectly without any proprietary software on my PC. I 
have still not printed anything.


Jarle



Re: Password protecting grub

2016-03-19 Thread Lisi Reisz
On Thursday 17 March 2016 17:04:04 Martin Smith wrote:
> On 17/03/2016 04:55, Adam Wilson wrote:
> > On Wed, 16 Mar 2016 23:12:06 +0530 Himanshu Shekhar
> >
> >  wrote:
> >> Ok! I understand GRUB password and other such passwords are
> >> ineffective. I am also aware of the fact that hard drive can be read
> >> anywhere unless it is encrypted.
> >> The am eager to know a particular way (however bad it may be) to
> >> secure a system, which I have not known yet.
> >
> > A BIOS password and full disk encryption.
>
> on all the older machines that I used to make if you had physical access
> to the machine you could lose the bios password quite easily with a jumper
> or a screwdriver, I dont know what the more modern motherboards are like
> but surely they could also be similar...

Most, but not all.  Some of them, (a small number of them?) you lose the 
password, the motherboard is dead.

Lisi



Re: No irq handler for vector

2016-03-19 Thread Henrique de Moraes Holschuh
On Wed, 16 Mar 2016, The Wanderer wrote:
> On 2016-03-16 at 11:35, Henrique de Moraes Holschuh wrote:
> > On Wed, Mar 16, 2016, at 09:45, The Wanderer wrote:
> > 
> >> In my case, it meant that a microcode update which was/is needed on
> >> my combination of CPU and motherboard was not being applied. This
> >> appeared
> > 
> > What processor is this, please?
> 
> Core i7-990X Extreme. /proc/cpuinfo reports it as:
> 
> cpu family: 6
> model: 44
> model name: Intel(R) Core(TM) i7 CPU X 990 @ 3.47 GHz
> stepping: 2

Crap.  I am looking into this.

> and currently (with the problem not happening) also reports
> microcode: 0x14

Lucky you, 0x14 is safe enough on non-server systems.

> The problem apparently only happens with some motherboards, whose BIOS
> or UEFI doesn't handle something correctly (I used to know what, but
> I've forgotten the details). My motherboard is an Asus Sabertooth X58,

The broken IOMMU interrupt remapping on the X58/S55xx chipsets, maybe?

I'd expect any BIOS with a 0x14 microcode to have the fix to the above
(which is to disable the broken interrupt remapping feature of the IOMMU),
so it might have been fixed when you updated that BIOS.

And I *think* our 3.14 kernel eventually got the patch that bitches about
BIOSes that get this wrong and tries to disable it, but I am not sure about
this, so a kernel update can certainly fix it (if that's indeed the root
cause of the "no irq handler for vector" on X58/S55xx systems).

There was also an erratum that caused the uncore frequency multiplier to be
stuck and locked on "max".  This got fixed somewhere between microcode 0x10
and microcode 0x13, AFAIK...

Does any of the above ring a bell?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Re: computer cann't shut down

2016-03-19 Thread Patrick Bartek
On Sat, 19 Mar 2016, David Christensen wrote:

> On 03/19/2016 05:40 AM, lina wrote:
> > Every time since I installed the system,
> >
> > every time I tried Shut Down, it mainly restart again.
> >
> > I checked online and tried several methods but still don't work.
> >
> > Can anyone suggest me how to solve it.
> 
> I'm having the same issue:
> 
>  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818311
> 
> So far, no progress in resolving it.

No problem here.  'shutdown -h now' (as root) works as it should.
Wheezy 64-bit, fully up-to-date; no desktop environments installed, just
Openbox window manager.  System boots to terminal, login there, then
startx. I like to keep things simple.

Maybe, problem is related to a desktop environment.

B



Re: No irq handler for vector

2016-03-19 Thread The Wanderer
On 2016-03-17 at 20:23, Henrique de Moraes Holschuh wrote:

> On Wed, 16 Mar 2016, The Wanderer wrote:
> 
>> On 2016-03-16 at 11:35, Henrique de Moraes Holschuh wrote:

>>> What processor is this, please?
>> 
>> Core i7-990X Extreme. /proc/cpuinfo reports it as:
>> 
>> cpu family: 6
>> model: 44
>> model name: Intel(R) Core(TM) i7 CPU X 990 @ 3.47 GHz
>> stepping: 2
> 
> Crap.  I am looking into this.

I'm afraid I don't quite understand. Is there still a problem worth
being concerned about, now that the message has stopped appearing for
me?

>> and currently (with the problem not happening) also reports
>> microcode: 0x14
> 
> Lucky you, 0x14 is safe enough on non-server systems.
> 
>> The problem apparently only happens with some motherboards, whose
>> BIOS or UEFI doesn't handle something correctly (I used to know
>> what, but I've forgotten the details). My motherboard is an Asus
>> Sabertooth X58,
> 
> The broken IOMMU interrupt remapping on the X58/S55xx chipsets,
> maybe?

Could be. I'll try to find time tomorrow to re-do some of my previous
research and dig up what I had deduced the original claimed problem to
be.

> I'd expect any BIOS with a 0x14 microcode to have the fix to the
> above (which is to disable the broken interrupt remapping feature of
> the IOMMU), so it might have been fixed when you updated that BIOS.

The recurring messages persisted after the BIOS update (although they
seemed, at least at first, to get less frequent), so while this may have
helped, it doesn't seem to have been enough on its own.

FWIW, I think the previous microcode on my system was either 0x11 or
0x10, although I can't swear to that. (I might be mixing it up with some
of the computers at my workplace; I don't exactly check the BIOS on this
machine very often.)

It's also (at least faintly) possible that the 0x14 microcode is being
put in place after boot, despite the change to stop doing that
automatically. I did install iucode-tool and some other
microcode-related packages in my attempts to find a fix; although it
didn't seem to produce any results initially, it's not impossible that
some later package update introduced a change which got the microcode
being applied on-the-fly again.

> And I *think* our 3.14 kernel eventually got the patch that bitches
> about BIOSes that get this wrong and tries to disable it, but I am
> not sure about this, so a kernel update can certainly fix it (if
> that's indeed the root cause of the "no irq handler for vector" on
> X58/S55xx systems).

That's interesting to be aware of; thanks. Is there anything in
particular I should look for, in kernel messages, to determine whether
this is taking effect on my system?

> There was also an erratum that caused the uncore frequency multiplier
> to be stuck and locked on "max".  This got fixed somewhere between
> microcode 0x10 and microcode 0x13, AFAIK...
> 
> Does any of the above ring a bell?

I think it may well have been the broken interrupt remapping that was
the problem, but unfortunately, it's been long enough since I gave up on
the research that I don't have the details anymore.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Questions sur le pinning de packages

2016-03-19 Thread Francois Lafont
Bonsoir,

On 15/03/2016 12:59, franc...@avalenn.eu wrote:

>> 2. Ou (solution la plus probable), le pinning ne fonctionne pas exactement
>>comme on le croit.
> 
> Je penche pour cette solution. Mais peut-être que cela a été corrigé
> parce-que chez moi (en testing=stretch) ça marche.

Heu, je ne suis pas sûr de te suivre. Tu cites la partie de mon message
où je penche pour une incompréhension de ma part du pinning plutôt qu'un
bug de APT mais la suite de ton message laisse penser (et c'est un doux
euphémisme) que ce serait plutôt un bug en fin de compte.

> Est-ce que ton problème serait un de ceux listés dans :
> https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=a91aae406112df1d8fe16d00212333a20210f674
> 
> http://bugs.debian.org/770017
> http://bugs.debian.org/685215
> http://bugs.debian.org/620249
> http://bugs.debian.org/685215
> ?
> 
> Résultat du "chez moi ça marche" : [...]

Merci François pour toutes ces infos. J'avoue que je n'ai pas regardé en
détail tous ces rapports de bugs mais ils ressemblent fortement aux anomalies
que j'ai constatées. Du coup, sur une VM Debian Jessie de tests, j'ai
installé le paquet apt issu du dépôt de Stretch ie en version 1.2.6 (à ma
grande surprise, l'install est passée les doigts dans le nez) et comme par
hasard avec le même fichier de conf qu'au départ, ça marche :


root@jessie-clean:~# apt-get --version
apt 1.2.6 (amd64)
[...]

root@jessie-clean:~# cat /etc/apt/preferences.d/ceph.pref 
Explanation: To ensure the version of the ceph package.
Package: ceph
Pin: version 9.2.1-*
Pin-Priority: 995

root@jessie-clean:~# apt-cache policy ceph
ceph:
  Installé : (aucun)
  Candidat : 9.2.1-1~bpo80+1
 Table de version :
 9.2.1-1~bpo80+1 995 <== Là 
d'accord ;)
500 http://ceph.com/debian-infernalis jessie/main amd64 Packages
 0.80.11-1 500 < Là 
d'accord ;)
500 http://http.debian.net/debian stretch/main amd64 Packages
 0.80.7-2+deb8u1 500 <== Là 
d'accord ;)
500 http://ftp.fr.debian.org/debian jessie/main amd64 Packages


Donc 1. la compréhension que j'avais du pinning (et que les gens ont en général)
était a priori correcte et 2. en fait c'est apt qui est un peu buggué sur Jessie
(c'est toujours bon à savoir).

Du coup, avec un apt non buggué, j'ai tenté de faire de ce je voulais faire 
depuis
le début, à savoir fixer à 995 la priorité des tous les packages d'origine 
"ceph.com"
_dont_ la version matche 9.2.1-*. Donc ici, il y a 2 conditions : une sur 
l'origine
et l'autre sur la version. Et là, je ne suis arrivé à rien. J'ai notamment 
tenté ça
mais sans succès :

Package: *
Pin: version 9.2.1-*, origin "ceph.com"
Pin-Priority: 995

Si jamais vous avez une idée de comment le faire (si c'est possible), n'hésitez 
pas.

J'ai déjà pas mal avancé du coup. Merci François pour l'aide.

-- 
François Lafont



Re: Further to my installation error

2016-03-19 Thread Brian
On Wed 16 Mar 2016 at 16:12:20 -0400, Felix Miata wrote:

> Brian composed on 2016-03-16 19:21 (UTC):
> 
> >On Tue 15 Mar 2016 at 22:41:14 +, Lisi Reisz wrote:
> 
> >>Pity it took me until it tried to use CD1 to do a net-install to realise
> >>that!!  And I have now run out of writable CDs. :-(  I had just enough for
> >>this shenanigans!
> 
> >Why any Debian user should use an antiquated technology to install is
> >beyond me. USB sticks are two a penny. Isohybrid images rule; OK!
> 
> USB sticks, being of a non-uniform variety of sizes, shapes, speed, and
> reliability, are a pain to library. Inferior amount of space on which to
> write on them contributes to the library problem. Pricing of USB sticks on a
> per device basis remains much higher than OM, making creation of a single
> device for single purpose generally much more expensive than OM. There still
> exist working puters that cannot boot USB. I have several.

So do I. There are ways round it.

But the vast majortiy of users are not using the ancient machines you
and I have. The OP is at liberty to indicate whether her machine falls
into this class. A round shiny disc could be her only solution to
booting a Debian image.

> Not that I routinely burn OM to install Linux. For that I usually don't burn
> anything, instead installing by loading an installation kernel and initrd
> with an already installed bootloader. HTTP installation means up-to-date at
> the outset.

This makes installing Debian straightforward for everyone? Compared with
just putting an image on a USB stick?



Re: Dilemes de novell 1: Flash o W7?

2016-03-19 Thread Narcis Garcia
«queixar-te de que t'imposin programari privatiu»

+1



__
I'm using this express-made address because personal addresses aren't
masked enough at lists.debian.org archives.

El 16/03/16 a les 16:21, Xavi Drudis Ferran ha escrit:
> El Wed, Mar 16, 2016 at 12:30:21PM +0100, rita deia:
>> Hola,
>> Estic aprenent i tinc alguns dilemes tècnico-ètics...
>> El primer és que haig de fer els deures amb Scratch i, com funciona amb
>> Flash, crec que tinc dues opcions:
>>
>> 1) Instal·lar Flash a Debian (i "contaminar-la")
>> 2) Obrir el Windous7 a la Dual-boot i programar amb Scratch allà, a
>> "l'univers privatiu"...
>>
>> Què és èticament pitjor? O tinc alguna altra opció?
>>
>> Merci,
>>
> 
> L'èticament millor és queixar-te de que t'imposin programari privatiu per
> fer deures. No deixar-ho així i espavilar-te perquè el següent que 
> vingui darrera s'hagi de tornar a espavilar. 
> 
> Ara bé, jo de Flash i d'Scratch no en tinc ni idea, però em sóna que 
> hi ha versions lliures de Flash (amb no sé quantes limitacions). Em 
> sóna gnash i  shumway però ni idea de què són capaços de fer o si et
> servirien. 
> 
> 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 16:10:49 +0100 jdd  wrote:

> Le 15/03/2016 16:01, David Wright a écrit :
> 
> > You write "Is Airprint free?". Is this a real question or a pointed
> > remark designed to create more discussion? I can't tell. Why don't
> > you just look it up?
> >
> > You write "not from me, but from others, may be." Perhaps you
> > might google the following phrase. That's what I think.
> 
> I got the impression than you don't want to use the brother driver 
> because it's not free. If it's not that, I'm sorry.
> 
> if It's that, I think that a driver is just an extension of the 
> hardware, so why use a non free hardware an don't use the same non
> free driver.

This sort of breaks down when you realise that drivers are actually
software to be used with hardware. They are only 'extensions of
hardware' in the sense that hardware requires drivers to work, and so
certain drivers must be used with certain hardware.

There is no such thing as 'non-free hardware'- just hardware for which
there are no free drivers available. That situation can be remedied by
the development or release of free drivers and firmware.

> We all work constantly with non free solutions, including RMS,
> whatever he says... the more the better, but where to stop?

Indeed. Until recently Stallman himself used a computer with non-free
BIOS, until his fling with MIPS and now LibreBoot.



Re: Accès graphique par SSH

2016-03-19 Thread jacques
Bonjour,

Attention , la solution proposée par Laura n'utilise pas le tunnel ssh
pour forwarder la session X11: les données "graphiques" vont circuler en
clair sur un port dédié à X11 (si un firewall ne bloque pas
l'utilisation de ce port X11).

Une autre solution purement ssh et n'utilisant que les ports reseau de
la session ssh (22 par défaut) est bien d'utiliser le paramètre
X11Forwarding=yes et de ne surtout pas toucher aux variables DISPLAY ni
à la commande xhost: il faut laisser le client et le serveur ssh gérer
un tunnel X11 (c'est le but de X11Forwarding).

Pour répondre au besoin 1) Je te propose d'utiliser le forward X11 dans
un tunnel ssh et la notion de serveur proxy ssh. Pour ce faire tu peux
editer le fichier ~/.ssh/config de la machine mon_pc de la façon suivante:

Host cible
Hostname cible
User user_sur_cible
ForwardX11Trusted=yes
ForwardAgent=yes
ProxyCommand ssh relais "nc -q 0 %h %p"

(Pour comprendre les différentes directives: man ssh_config)

Sur les serveurs relay et cible ne pas oublier de positionner
"X11Forwarding yes" dans /etc/ssh/sshd_config (il faut les privilèges root)

ensuite
slogin cible
suivi de la commande graphique (ou non) à exécuter sur la machine cible
devrait répondre à ton besoin 1) et surtout ne pas triturer la variable
DISPLAY car ssh s'en charge.

Si tu veux non seulement lancer une commande graphique occasionnelle sur
la machine cible (dont les performances d'affichage seront très lentes)
mais obtenir un environnement de bureau sur la machine cible (avec des
performances d'affichage tout à fait bluffantes par rapport au pur X11
forwarding) je ne saurai que te recommander l'utilisation de x2go
(apt-get install x2goserveur sur cible et apt-get install x2goclient sur
le poste client

Pour la question 3)
la méthode proposée fonctionne quelque soit la distribution linux sur le
client, le relais et la cible.
Si tu utilises un client windows la méthode pure ssh nécessite d'avoir
un serveur X11 sur le PC (ce n'est pas fourni par micro$oft)
Par contre si tu installes le client x2go pour windows tout
fonctionnera. Tu le trouveras sur le site du projet x2go:
http://code.x2go.org/releases/binary-win32/x2goclient/releases/4.0.5.0-2015.07.31/

Bonne journée

Jacques

Le 17/03/2016 10:51, laura a écrit :
> LBonjour!
> 
> Je fait ça que tu veux faire autrefois, et j'ai écris un petit article sur
> mon blog.
> 
> laupri.com/blog/spip.php?article223
> 
> Si tu veux je te fais la traduction au Français, mais je crois que tu peux
> suivre les commamdes sans problèmes de langues :)
> 
> J'espère que ça t'aide,
> 
> 
> Chao!
> 
> Laura
> 
> On Thursday, 17 March 2016, Pierre Malard  > wrote:
> 
>> Le 17 mars 2016 à 09:22, Olivier  a écrit :
>>
>> J'utilise de temps en temps, une machine sous Debian Jessie/Gnome
>> installée chez un client.
>> Pour l'instant je travaille sur celle-ci uniquement en ligne de commandes.
>> Pour différentes raisons, je transite par une machine tierce selon le
>> schéma suivant:
>>
>> Mon PC (Jessie/Gnome) <--SSH--> Machine relais (Wheezy/CLI) <--SSH-->
>> Machine cible (Jessie/Gnome)
>>
>> 1. M'est-il possible accéder en graphique à la machine cible en conservant
>> les accès par SSH (je peux changer la configuration de chacune des machines
>> mais pas "demander un port supplémentaire" entre la machine relais et la
>> machine ?
>>
>> 2. Est-ce toujours possible si je devais ajouter une machine relais
>> supplémentaire entre la machine relais actuelle et mon PC ?
>>
>> 3. Y-a-t-il des contraintes particulières de cohérence entre la machine
>> cible et mon PC (imaginons que la machine cible change de distribution ou
>> que je doive temporairement travailler à partir d'un PC sous Windows) ?
>>
>>
>> Je ne sais pas si ça peut répondre mais, si cela concerne un affichage
>> graphique X, est-ce que tu as essayé l’option « -X » ou « -Y » dans tes ssh
>> ?
>>
>> --
>> Pierre Malard
>>
>>   «*Quand un Français dit du mal de lui, ne le croyez pas, Il se vante !*»
>>Édouard Pailleron
>>|\  _,,,---,,_
>>/,`.-'`'-.  ;-;;,_
>>   |,4-  ) )-,_. ,\ (  `'-'
>>  '---''(_/--'  `-'\_)   πr
>>
>> perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  )
>> )-,_. ,\ (  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_):
>> 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
>> - --> Ce message n’engage que son auteur <--
>>
>>
> 



Antivirus para Debian

2016-03-19 Thread Leonardo Rocha
Alguma sugestão de um bom antivirus para Debian (se é que existe)? para
varredura de arquivos manipulados no windows.

Agradeço e aguardo.

-- 
Leonardo Rocha
4096R/7E7D1FE2
about.me/leonardo.rocha



Re: Firefox vis a vis source of Chrome

2016-03-19 Thread Andrew McGlashan


On 17/03/2016 4:04 AM, Felix Miata wrote:
> Andrew McGlashan composed on 2016-03-17 02:52 (UTC+1100):
> 
>> ...Let Firefox stand on
>> it's own, it doesn't need to be a Chrome clone; heck Chrome was born out
>> of Firefox in the first place.
> 
> Chrome/Blink was begotten/forked from Safari/WebKit. Blink was
> begotten/forked from WebKit. WebKit was begotten/forked from KHTML
> (Konqueror). Firefox (Mozilla/Gecko/SeaMonkey/Thunderbird) had nothing
> to do with Konq's, Safari's or Chrome's inceptions.

Okay, then the "Chrome" name at least come from Firefox, I thought it
was more than that though.

A.



signature.asc
Description: OpenPGP digital signature


Re: Dilemes de novell 1: Flash o W7?

2016-03-19 Thread Pedro
> Hola Rita, no t'amoïnis tant,

+1 a que no s'amoini tant

> Debian per-se no és el que es diu una
> distro completament lliure. Com veuràs, no apareix en aquesta llista:
> http://www.gnu.org/distros/free-distros.html

Però amb això, no estic d'acord d'explicar-ho sense donar-li una mica
més de context.
Parlem de la definició de "llibertat" que diu la Free Software
Foundation (FSF) per les distribucions GNU/Linux.

De la forma que ho he entès jo, FSF considera que una distribució és
lliure quan no es _facilita de cap manera_ a l'usuari final
l'instal·lació de software privatiu.

Una instal·lació de debian per defecte (sense non-free ficat per
defecte, que es diria explícitament). És una distribució completament
lliure de programari privatiu, tal com es defineix a la Debian Free
Software Guidelines (DFSG):
https://www.debian.org/social_contract
Això implica que Debian està disposada a modificar/adaptar programes
disponibles al ciberespai per tal d'adaptar-los a les DFSG.

Però al incloure un repositori non-free està facilitant a l'usuari
l'inclusió de software privatiu, i això és lo que no accepta FSF. I
per això no surt a la llista. Motiu digne de ser esmentat.

Podem considerar aquesta posició de la FSF una mica radical. Podem
considerar que la imposició de la llibertat és una privació de la
llibertat. Però la meva intenció és presentar aquest debat i fugir.
Estic molt content amb la FSF i GNU; simplement és un qüestionament
que necessàriament em faig.

Conclusió, la definició de llibertat depèn de l'organització que ho
diu. Perfecte. L'autor Lewis Carroll a Alícia en el país de les
maravelles hi ha un diàleg que diu: "Pregunta: Què significa __?.
Resposta: Lo important és saber qui mana".

> Personalment, primer busco l'alternativa lliure però si no tinc
> alternativa...:-Q abans em faig puto que obrir un Wimblows!!:-D

També s'ha de dir que aquesta actitud és molt positiva per obrir camins.
Mantenir la necessitat; considerar que el software privatiu no és
solució perquè no existeix és útil per motivar a que comencin a
aparèixer alternatives lliures. Que cadascú arribi fins on pugui.



Re: ssd firmware and power cycles etc

2016-03-19 Thread Eliezer Croitoru

Hey Michael,

It depends if you believe in the voodoo.
In general once a SSD drive actually fails there is not much you can do 
as long as you don't know what the chip does exactly.
If you have important data on it then in most cases the suggestion is to 
have a HDD as a backup device so you won't need to find out what happens 
IF..


Eliezer

On 17/03/2016 22:25, Michael Fothergill wrote:

Dear Folks,

I had a problem with a power supply that kept cutting out after about 40
minutes or so.

I was running debian stretch reasonably OK from a PNY optima ssd on an
FX 8350 cpu running on a sabertooth fx 990 2.0 board with a engt 430
graphics card.

The original psu was a Zalman zm 1250 which I replaced with a smaller
psu that runs OK.

The SSD is no longer recognised by the bios.

There is some voodoo on the web about using power cycles and firmware to
resurrect the ssd drives.

Does this work in practice or should I get a replacement ssd?


Regards

Michael Fothergill
















Re: Sudo

2016-03-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Mar 19, 2016 at 04:15:01PM +, Frank Jones wrote:
> I have only been using Linux for a short time why cant I use SUDO on 
> theterminal with Debian I use it with Linu Mint.

Possibly you have to add yourself to the sudoers file: it's in
/etc/sudoers -- best edit it (as root) with visudo.

Make sure there is an entry (perhaps there is one) like

  %sudo   ALL=(ALL:ALL) ALL

(that means that users belonging to the sudo group may do everything
can do; you can refine permissions if you want)

Then add yourself to the sudo group. As root, do

  adduser  sudo

You'll need to login again for the changes to take effect.

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlbtwOoACgkQBcgs9XrR2kYkKACeJtrFBGS35xR2WfVw70/DxXkS
ZFgAn0tqPSzyKobLictieil+6fWaDKh6
=Fnx4
-END PGP SIGNATURE-



Re: Antivirus para Debian

2016-03-19 Thread Danilo Lima

Em 2016-03-17 12:38 am, Leonardo Rocha escreveu:

Alguma sugestão de um bom antivirus para Debian (se é que existe)? para
varredura de arquivos manipulados no windows.

Agradeço e aguardo.


Pesquise pelo Clamav, pode ser o que estás procurando.

--
Danilo Lima Xavier
Sete Lagoas - MG - BRASIL
(31) 9-9832-0797
Facebook: https://www.facebook.com/danilo.lima.58323


"Seja Livre, use GNU/LINUX!"



Re: Password protecting grub

2016-03-19 Thread Himanshu Shekhar
On Wed, Mar 16, 2016 at 5:39 PM, jdd  wrote:

> Le 16/03/2016 12:37, Himanshu Shekhar a écrit :
>
> " set superusers="root"
>>password root rootpassword
>>
>
> if it's a bash command, it should be "passwd", not "password"
>
> jdd
>
>
Tried! Didn't work.

Regards


Re: Dilemes de novell 1: Flash o W7?

2016-03-19 Thread Alfons
El dc 16 de 03 de 2016 a les 12:30 +0100, en/na rita va escriure:
> Hola,
> Estic aprenent i tinc alguns dilemes tècnico-ètics...
> El primer és que haig de fer els deures amb Scratch i, com funciona
> amb 
> Flash, crec que tinc dues opcions:
> 
> 1) Instal·lar Flash a Debian (i "contaminar-la")
> 2) Obrir el Windous7 a la Dual-boot i programar amb Scratch allà, a 
> "l'univers privatiu"...
> 
> Què és èticament pitjor? O tinc alguna altra opció?
> 
> Merci,
> 
Hola Rita, no t'amoïnis tant, Debian per-se no és el que es diu una
distro completament lliure. Com veuràs, no apareix en aquesta llista: 
http://www.gnu.org/distros/free-distros.html

Personalment, primer busco l'alternativa lliure però si no tinc
alternativa...:-Q abans em faig puto que obrir un Wimblows!!:-D
-- 
Alfons


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


Re: No irq handler for vector

2016-03-19 Thread Henrique de Moraes Holschuh
On Wed, Mar 16, 2016, at 09:45, The Wanderer wrote:
> In my case, it meant that a microcode update which was/is needed on my
> combination of CPU and motherboard was not being applied. This appeared

What processor is this, please?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique de Moraes Holschuh 



Re: Troubleshooting Support Reg

2016-03-19 Thread deloptes
Mohammed Aathif.C wrote:

> Actually my issue is, My Debian(V5) is not booting to desktop. Its
> rebooting when I choose Debian OS in Boot Manu. Please let know the
> troubleshooting steps without any loss of my data in my machine, I have so
> many most important data's.
> 

If you care for your data, get a USB stick with ex: Ubuntu live or Debian
live and boot from the USB stick. You can then inspect your drives and make
backups or whatever.

If you have a dual boot system and have modified something there it could be
that you damaged or somehow did something to the partitions, so that you
see the grub prompt, but nothing else.
What do you see exactly in your menu and after you select Debian OS - what
is the message.

regards



Re: ssd firmware and power cycles etc

2016-03-19 Thread David Christensen

On 03/17/2016 01:25 PM, Michael Fothergill wrote:

Dear Folks,

I had a problem with a power supply that kept cutting out after about
40 minutes or so.

I was running debian stretch reasonably OK from a PNY optima ssd on
an FX 8350 cpu running on a sabertooth fx 990 2.0 board with a engt
430 graphics card.

The original psu was a Zalman zm 1250 which I replaced with a smaller
psu that runs OK.

The SSD is no longer recognised by the bios.

There is some voodoo on the web about using power cycles and firmware
to resurrect the ssd drives.

Does this work in practice or should I get a replacement ssd?



On 03/17/2016 01:59 PM, Michael Fothergill wrote:

The incantation is here:

forum.crucial.com/t5/tkb/articleprintpage/tkb-id/ssd@tkb/article-id/32

and there are discussions like this one as well:

http://www.extremetech.com/computing/169124-the-mysteriously-disappearing-drive-are-power-outages-killing-your-ssds

>

I will try this a bit and if it doesn't work then I will accept that
all my cheap and nasty pen drives work fine and are bootable but the
fancy new SSD is dead...

I will stick with hard drives.


The problem could be the port, the cable, and/or the SSD.  You need 
another set of known good components to isolate the problem.  Hopefully, 
you don't have a failure mode that smokes whatever the component is 
connected to...



Is your SSD under warranty?  If so, I'd suggest contacting PNY technical 
support.  If not, try whatever voodoo you want.



I had a PNY video card years ago with a "Lifetime Warranty".  When it 
died (~2 years?), I contacted PNY and expected them to replace the card. 
 They replied that their definition of "Lifetime" was the time that the 
product was in production.  As that card was out of production, there 
was no warranty.  I have never bought or recommended PNY since.



I've owned and run a few Intel 520 Series SSD's for the past several 
years.  The SMART parameters indicate the drives are old, but the Intel 
SSD toolbox says the drives have virtually no wear.  I've never had a 
problem with them.



I've recently put some Samsung SSD's into service.  We'll see how they 
hold up.



David



Problemas al montar disco duro

2016-03-19 Thread JESUS0414 .
Cordial saludos comunidad.

Hace poco decidí borrar windows del pc de mi casa e instalar en definitiva
Debian testing, sin embargo, hay dos particiones que poseen el formato NTFS
y no se dejan montar.

Una de las particiones logré hacerla montar, pero la otra sigue dando
problemas.

El error que se muestra en pantalla es este:

Error mounting /dev/sdb2 at /media/yeshua0414/47BF53A07D45C7B7:
Command-line `mount -t "ntfs" -o
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sdb2"
"/media/yeshua0414/47BF53A07D45C7B7"' exited with non-zero exit status 13:
Incomplete multi-sector transfer: magic: 0x454c4946  size: 1024  usa_ofs:
48  usa_count: 1  data: 47171  usn: 47170: Error de entrada/salida
Record 0 has no FILE magic (0x44414142)
Failed to load $MFT: Error de entrada/salida
Failed to mount '/dev/sdb2': Error de entrada/salida
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

Ya instalé ntfs-3g disk-manager y el mismo error sale.

Alguien sabe como puedo solucionarlo sin tener que formatear, ya que tenía
otra partición en donde tenía Ubuntu y no encontré más solución que
formatear esa partición, y la verdad en la partición en donde se genera el
problema posee archivo muy importantes.

Gracias a quien me pueda guiar en esto.


Re: Password protecting grub

2016-03-19 Thread jdd

Le 16/03/2016 12:37, Himanshu Shekhar a écrit :


" set superusers="root"
   password root rootpassword


if it's a bash command, it should be "passwd", not "password"

jdd



Re: Installing newer kernels

2016-03-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Mar 18, 2016 at 09:21:12AM +0100, Sven Arvidsson wrote:
> On Thu, 2016-03-17 at 19:27 -0700, David Christensen wrote:
> > Debian 6 is obsolete. You're going to want to do a 
> > backup-wipe-install-restore cycle on both machines and move to Debian
> > 7 
> > (or 8).
> 
> Why not do a dist-upgrade?

Yes. I'd recommend that too. Dist-upgrades work pretty well in Debian.

Backup is still a good idea (upgrade or not :-)

Unless you feel that you have accumulated too much crud by tweaking and
hot-fixing things in perhaps not-so-canonical ways and want to get rid
of all that in one fell swoop, that is.

- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlbruPwACgkQBcgs9XrR2kbwEACfdOU1k6svniTfI6BoaOQTg0aL
KF4An12bk7dmFpDRHEZy6ujqnrTDc29R
=QSvK
-END PGP SIGNATURE-



Re: flash? [OT]

2016-03-19 Thread Liam O'Toole
On 2016-03-16, Lisi Reisz  wrote:
> On Tuesday 15 March 2016 19:58:18 Brian wrote:
>> On Tue 15 Mar 2016 at 08:57:20 +, Lisi Reisz wrote:
>> > Even Channel 4, which relies on advertising for its revenue, is totally
>> > indifferent to the fact that Linux users can't watch it on a computer. 
>> > Well, Brian probably can.   But he hasn't let the rest of us into the
>> > secret.
>>
>> I am on Jessie. hal, libhal1, libhal-storage and hal-info from an Ubuntu
>> PPA gave me access to 4od. My belief is that hal on Wheezy doesn't have
>> what it takes.
>
> Thanks, Brian!  I'll try it.
>
> I did have Channel 4 working well on Wheezy (my desktop), but have never 
> managed to get it going on Jessie (my television).  Channel 4 on Wheezy 
> suddenly stopped working a few weeks ago after an update.  So I am back to 
> not being able to get 4oD at all. I can get live programmes by actually using 
> the television!!  I watch catch-up a lot more than live programmes.  (I don't 
> watch either much!  But as I get older and more decrepit I watch more. :-(  )
>
> I have tried various things on Jessie without success.  I'll have another go 
> with your list in hand.
>
> Lisi
>

I've just tried Channel 4 using Google Chrome[1] on jessie, and it seems
to work. I say "seems" because the site prompts me for account details I
don't have, whereas iceweasel/firefox on the same machine didn't even
get that far.

1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

-- 

Liam




Troubleshooting Support Reg

2016-03-19 Thread Mohammed Aathif.C
Hi Support Team,

Hope you were doing well and good.

I don't know this is the right mail id that I am throwing my issue.
If it's not the right one please redirect me to the right path to get me
the right solution.
Thanks in Advance,

Actually my issue is, My Debian(V5) is not booting to desktop. Its
rebooting when I choose Debian OS in Boot Manu. Please let know the
troubleshooting steps without any loss of my data in my machine, I have so
many most important data's.

Consider the as urgent and revert back if any.

Thanks and Regards,
Aathif. C
09445882902.
India. - 600040


Re: Puc rebre però no enviar mails amb Evolution...

2016-03-19 Thread Ernest Adrogué
2016-03-19, 17:46 (+0100); rita escriu:
> Hola!
> Tinc un problemilla...Segur que deu ser alguna novatada...He buscat però no
> he trobat com arreglar-ho...
> 
> Vaig posar el imap o pop3 aquell i vaig aconseguir posar el mail del web
> (r...@gamifi.cat) a Evolution...Ara em trobo, però, que, tot i rebre els
> mails, no puc contestar-los...Em surt un error...Adjunto captura.
> 
> Alguna suggerència?
> 
> És que estic intentant configurar els mails i trobar la manera de xifrar-los
> amb Seahorse, que segur que es pot...És que si Evolution i Seahorse vénen
> per defecte, no tinc per què usar Thunderbird amb Enigmail, no?
> En fi, que això ja és una altra pregunta...

L'error diu que intentaves enviar un missatge a rita(a)gamifi.cat però el
servidor del destinatari no l'accepta perquè la màquina que l'està intentant
enviar està en una llista de Spam.

A vegades passa si estàs utilitzant el teu propi servidor SMTP de sortida en
lloc del del teu ISP o del Gmail.



ssd firmware and power cycles etc

2016-03-19 Thread Michael Fothergill
Dear Folks,

I had a problem with a power supply that kept cutting out after about 40
minutes or so.

I was running debian stretch reasonably OK from a PNY optima ssd on an FX
8350 cpu running on a sabertooth fx 990 2.0 board with a engt 430 graphics
card.

The original psu was a Zalman zm 1250 which I replaced with a smaller psu
that runs OK.

The SSD is no longer recognised by the bios.

There is some voodoo on the web about using power cycles and firmware to
resurrect the ssd drives.

Does this work in practice or should I get a replacement ssd?


Regards

Michael Fothergill


RE: Sense programari privatiu (non-free)

2016-03-19 Thread JR GS
Et falta afegir contrib i non-free als repositoris.

En un terminal:

1. Adquireix drets de superusuari:

> su

2. Edita els repositoris:

> apt edit-sources

3. Afegeix contrib non-free a les diferents línes deb i deb-src, per exemple:

deb http://ftp.debian.org/debian/ jessie main  non-free contrib

4. Tanca i desa el fitxer, actualitza paquets i prova d'instal·lar de nou.

> apt update

Date: Fri, 18 Mar 2016 09:31:20 +0100
Subject: Re: Sense programari privatiu (non-free)
From: p...@nubiola.cat
To: debianli...@actiu.net
CC: debian-user-catalan@lists.debian.org

prova
 aptitude versions nom-de-paquet
Pere Nubiola Radigales
Telf: +34 656316974
e-mail: p...@nubiola.cat
   pnubi...@fsfe.org
   pere.nubi...@gmail.com


El dia 18 de març de 2016, 9:24, Narcis Garcia  ha 
escrit:
A un ordinador li he intentat instal·lar aquest paquet:

https://packages.debian.org/jessie/flashplugin-nonfree



$ cat /etc/apt/sources.list

#

# deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD

Binary-1 20160123-19:03]/ jessie contrib main

#deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD

Binary-1 20160123-19:03]/ jessie contrib main

deb http://debian.grn.cat/debian/ jessie main

#deb-src http://debian.grn.cat/debian/ jessie main

deb http://security.debian.org/ jessie/updates main contrib

#deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'

deb http://debian.grn.cat/debian/ jessie-updates main contrib

#deb-src http://debian.grn.cat/debian/ jessie-updates main contrib

deb http://debian.grn.cat/debian/ jessie non-free

deb http://security.debian.org/ jessie/updates non-free

deb http://debian.grn.cat/debian/ jessie-updates non-free



$ apt-get update

Obj:1 http://security.debian.org jessie/updates InRelease

Ign:2 http://debian.grn.cat/debian jessie InRelease

Obj:3 http://debian.grn.cat/debian jessie-updates InRelease

Bai:4 http://security.debian.org jessie/updates/non-free amd64 Packages

[14 B]

Obj:5 http://debian.grn.cat/debian jessie Release

Bai:7 http://debian.grn.cat/debian jessie-updates/non-free amd64

Packages [516 B]

Bai:8 http://security.debian.org jessie/updates/non-free Translation-en

[14 B]

Bai:9 http://debian.grn.cat/debian jessie-updates/non-free

Translation-en [496 B]

Bai:10 http://debian.grn.cat/debian jessie/non-free amd64 Packages [83,6 kB]

Bai:11 http://debian.grn.cat/debian jessie/non-free Translation-en [72,5 kB]

S'ha baixat 157 kB en 1s (110 kB/s)

S'està llegint la llista de paquets\u2026 Fet



$ apt-get install flashplugin-nonfree

S'està llegint la llista de paquets\u2026 Fet

S'està construint l'arbre de dependències

S'està llegint la informació de l'estat\u2026 Fet

El paquet flashplugin-nonfree no té versió disponible, però un altre paquet

en fa referència. Això normalment vol dir que el paquet falta,

s'ha tornat obsolet o només és disponible des d'una altra font.

E: El paquet «flashplugin-nonfree» no té candidat d'insta\u0140lació



$ apt-cache search flashplugin

$



$ lsb_release -a

No LSB modules are available.

Distributor ID: Debian

Description:Debian GNU/Linux 8.3 (jessie)

Release:8.3

Codename:   jessie



$ uname -a

Linux hp-8460p 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4

(2016-02-29) x86_64 GNU/Linux



Com puc esbrinar el problema?





--





__

I'm using this express-made address because personal addresses aren't

masked enough at lists.debian.org archives.




  

Accès graphique par SSH

2016-03-19 Thread laura
LBonjour!

Je fait ça que tu veux faire autrefois, et j'ai écris un petit article sur
mon blog.

laupri.com/blog/spip.php?article223

Si tu veux je te fais la traduction au Français, mais je crois que tu peux
suivre les commamdes sans problèmes de langues :)

J'espère que ça t'aide,


Chao!

Laura

On Thursday, 17 March 2016, Pierre Malard > wrote:

> Le 17 mars 2016 à 09:22, Olivier  a écrit :
>
> J'utilise de temps en temps, une machine sous Debian Jessie/Gnome
> installée chez un client.
> Pour l'instant je travaille sur celle-ci uniquement en ligne de commandes.
> Pour différentes raisons, je transite par une machine tierce selon le
> schéma suivant:
>
> Mon PC (Jessie/Gnome) <--SSH--> Machine relais (Wheezy/CLI) <--SSH-->
> Machine cible (Jessie/Gnome)
>
> 1. M'est-il possible accéder en graphique à la machine cible en conservant
> les accès par SSH (je peux changer la configuration de chacune des machines
> mais pas "demander un port supplémentaire" entre la machine relais et la
> machine ?
>
> 2. Est-ce toujours possible si je devais ajouter une machine relais
> supplémentaire entre la machine relais actuelle et mon PC ?
>
> 3. Y-a-t-il des contraintes particulières de cohérence entre la machine
> cible et mon PC (imaginons que la machine cible change de distribution ou
> que je doive temporairement travailler à partir d'un PC sous Windows) ?
>
>
> Je ne sais pas si ça peut répondre mais, si cela concerne un affichage
> graphique X, est-ce que tu as essayé l’option « -X » ou « -Y » dans tes ssh
> ?
>
> --
> Pierre Malard
>
>   «*Quand un Français dit du mal de lui, ne le croyez pas, Il se vante !*»
>Édouard Pailleron
>|\  _,,,---,,_
>/,`.-'`'-.  ;-;;,_
>   |,4-  ) )-,_. ,\ (  `'-'
>  '---''(_/--'  `-'\_)   πr
>
> perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  )
> )-,_. ,\ (  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_):
> 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
> - --> Ce message n’engage que son auteur <--
>
>

-- 
---
http://laupri.com
*-*-*-*-*-*-*-*-*-*-*


Re: flash? [OT]

2016-03-19 Thread Adam Wilson
On Thu, 17 Mar 2016 12:39:11 -0400 Ric Moore 
wrote:

> On 03/17/2016 01:37 AM, Adam Wilson wrote:
> > On Tue, 15 Mar 2016 17:06:12 -0400 Ric Moore 
> > wrote:
> >
> >> On 03/14/2016 10:47 PM, David Wright wrote:
> >>> On Tue 15 Mar 2016 at 05:30:28 (+0300), Adam Wilson wrote:
> >>
>  They will notice when lots of people no longer use Flash, and we
>  will force them to react accordingly.
> 
> >>>
> >>> Please stop trolling on this list.
> >>>
> >>
> >> I don't see it as trolling when he spake the truth. It's sweet to
> >> no longer need flash blocker. I ripped it out like a screaming
> >> Hogwarts Mandrake root after removing the flash plugin. I do still
> >> have flash installed for video files, but not for my browser. Ric
> >
> > I have gnash in case I ever need to play a swf (which is rarely).
> 
> Last time I  tried it my YouTube videos refused to play. If it will
> work now, then I can be flash-free, Ric

YouTube doesn't need Flash at all anymore. All you need is a reasonably
modern browser, for which Iceweasel does the trick.



Re: Dilemes de novell 1: Flash o W7?

2016-03-19 Thread rita

Hola Xavi,
No sé si he entès el primer paràgraf...La cosa és que s'està treballant 
per treure Flash d'Scratch però jo, en això, no puc ajudar. Simplement, 
m'haig d'esperar...Tampoc és que m'ho imposin: faig un curs per docents 
de forma voluntària.


Respecte al segon paràgraf, no sé si Scratch funciona amb algun 
sucedani...M'hauré d'informar més...No sabia que hi havia 
sucedanis...Cada dia aprenc alguna cosa...


Merciii

---
rita :)

A 16/03/2016 16:21, Xavi Drudis Ferran escrigué:

El Wed, Mar 16, 2016 at 12:30:21PM +0100, rita deia:

Hola,
Estic aprenent i tinc alguns dilemes tècnico-ètics...
El primer és que haig de fer els deures amb Scratch i, com funciona 
amb

Flash, crec que tinc dues opcions:

1) Instal·lar Flash a Debian (i "contaminar-la")
2) Obrir el Windous7 a la Dual-boot i programar amb Scratch allà, a
"l'univers privatiu"...

Què és èticament pitjor? O tinc alguna altra opció?

Merci,



L'èticament millor és queixar-te de que t'imposin programari privatiu 
per

fer deures. No deixar-ho així i espavilar-te perquè el següent que
vingui darrera s'hagi de tornar a espavilar.

Ara bé, jo de Flash i d'Scratch no en tinc ni idea, però em sóna que
hi ha versions lliures de Flash (amb no sé quantes limitacions). Em
sóna gnash i  shumway però ni idea de què són capaços de fer o si et
servirien.




Re: Comanda su amb parametres diversos

2016-03-19 Thread Ernest Adrogué
2016-03-19, 19:26 (+0100); Narcis Garcia escriu:
> Fet d'aquestes maneres no es queixa, però només passa el primer
> paràmetre i no els següents:
> 
> su root -- -c "$@"
> su -- -c "$@"
> 
> És a dir, que si executo:
> ./llansador.sh nano --boldtext "Un document.txt"
> Només té efecte el "nano"; la resta és ignorat.

Tens raó, el -c només agafa el primer argument.  Em sembla que has de
combinar tots els arguments en un de sol, es pot fer amb el getopt

args="$(getopt -s sh -o "" -- -- "$@" | cut -c 5-)"
su -- -c "$args"



Re: Sudo

2016-03-19 Thread Joe
On Sat, 19 Mar 2016 19:57:56 +0100
Sven Arvidsson  wrote:

> On Sat, 2016-03-19 at 18:38 +, Joe wrote:
> > I've never seen sudo installed by default in any Debian, and I begin
> > with expert minimal netinstalls of stable, and I've never seen it
> > offered as an option there. My first two actions on reboot are to
> > install sudo and mc.  
> 
> By default you are asked to provide a password for the “root”
> (administrator) account and information necessary to create one
> regular user account. If you do not specify a password for the
> “root” user this account will be disabled but the sudo package
> will be installed later to enable administrative tasks to be carried
> out on the new system. 
> 
> From https://www.debian.org/releases/stable/amd64/apas03.html.en
> 
>

OK, I didn't know that.

-- 
Joe



Re: wordpress from packages - wp-content location not applied?

2016-03-19 Thread Jiri 'Ghormoon' Novak
Hi,

the line in /usr is there by default (in package) and is not applied,
until I copy it to /etc. that's the strange part.

Gh.

arian wrote:
> No idea of wordpress, but
>
>> there is: /usr/share/wordpress/wp-config.php:   
>> define('WP_CONTENT_DIR', '/var/lib/wordpress/wp-content');
>>
>> but that doesn't have any effect unless I define it in
>> /etc/wordpress/config-www.domain.tld.conf too.
> what happens when you define it _only_ in /etc/wordpress?
>
> you should not need to touch stuff in /usr/ for configuration purposes per 
> file hierarchy standard. If that's how it's usually done for wordpress, 
> that's weird. I don't know wether there exists policy for packaging 
> concerning modifying paths, but I'd find it reasonable to change this. 
> However, if debian packages differ from upstream here, that would definitely 
> necessitate documentation.
>
> regards, arian
>



Re: Debian SunCamp 16

2016-03-19 Thread papapep
Cony, un [altre] debianita a Lloret? No hi visc (poc em falta), però hi 
treballo n/5 

Al final farem una escissió de la comunitat debianita de la "Selva Marítima" ;) 

Salut. 


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: Installing newer kernels

2016-03-19 Thread David Wright
On Fri 18 Mar 2016 at 20:06:32 (+), Brian wrote:
> On Fri 18 Mar 2016 at 14:44:31 -0500, David Wright wrote:
> 
> > But I've had no difficulty booting Debian from CD on any of my machines.
> > Obviously USBs are unsuitable for the ancient ones, though I await
> > a response to
> > https://lists.debian.org/debian-user/2016/03/msg00677.html
> > with bated breath.
> 
> Your proper route for eliciting a response would be in the referenced
> thread and not as an aside on an unrelated matter.

Felix Miata asked a question of you in that post.

Should I ask the same question and attach it to the same post as Felix did?
Or should I say "Me Too!" and attach it to Felix's post?
I can't see any role for me in that subthread besides those.

OTOH mentioning the thread here might cause William Lee Valentine,
or others, to take an interest if his Pentium III, like mine, won't
boot from USB without "ways around it". Is mentioning one thread
in another improper? It's not as if one can talk behind someone's
back in a public list.

Cheers,
David.



Re: squid3 bloquear videos streaming

2016-03-19 Thread Ariel Alvarez


El 18/03/2016 14:09, Camaleón escribió:

El Fri, 18 Mar 2016 12:28:05 -0400, Ariel Alvarez escribió:


Hola lista he estado buscando en internet opciones para poder bloquear
videos streaming generalmente de youtuve y facebook he probado varias
opciones pero por lo que he leido funcionan correctamente en veriones
como squid2.xx pero para squid3 no, alguien tiene algo de esto
implementado con buenos resultados.

gracias de antemano por su acostumbrada ayuda.

No sé si ya habrás probado lo que dicen por aquí, es el primer resultado
de Google:

How to block video streaming with Squid
https://rbgeek.wordpress.com/2012/09/12/how-to-block-video-streaming-with-squid/

Saludos,


en efecto fue de los tutos mas confiables que vi, lo lleve a la practica 
y squid3 ni se entera, los videos se cargan sin problemas.



-
Consejo Nacional de Casas de Cultura
http://www.casasdecultura.cult.cu



Re: Dilemes de novell 1: Flash o W7?

2016-03-19 Thread Narcis Garcia
A la pàgina informativa sobre el paquet per Debian;
https://packages.debian.org/jessie/scratch

hi ha informació de contacte del mantenidor del paquet (Miriam), la qual
potser et pugui dir si té pensat empaquetar la darrera versió.



__
I'm using this express-made address because personal addresses aren't
masked enough at lists.debian.org archives.


El 16/03/16 a les 13:59, rita ha escrit:
> Hola Laura,
> 
> Veig que la versió del pkg és la 1.4 i estic mirant de poder fer servir
> la 2.0, que té clons i altres cosetes...
> Les dependències són les característiques/requeriments de programa?
> Encara no controlo gens...
> 
> Merc
> 
> ---
> rita :)
> 
> A 16/03/2016 12:33, Laura Nubiola G-Sañudo escrigué:
>> Hola Rita,
>>
>> Has provat aquest pkg?
>>
>> https://packages.debian.org/wheezy/scratch
>>
>> A les dependències no posa res de flash...?
>>
>> 2016-03-16 12:30 GMT+01:00 rita :
>>
>>> Hola,
>>> Estic aprenent i tinc alguns dilemes tècnico-ètics...
>>> El primer és que haig de fer els deures amb Scratch i, com funciona
>>> amb Flash, crec que tinc dues opcions:
>>>
>>> 1) Instal·lar Flash a Debian (i "contaminar-la")
>>> 2) Obrir el Windous7 a la Dual-boot i programar amb Scratch allà, a
>>> "l'univers privatiu"...
>>>
>>> Què és èticament pitjor? O tinc alguna altra opció?
>>>
>>> Merci,
>>>
>>> -- 
>>> rita :)
> 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Brian
On Tue 15 Mar 2016 at 23:18:30 -0400, Gene Heskett wrote:

> Gluttons for punishment eh?  Remember, you did ask for it :(  And nothu
> ing has been excised.

Uncut outputs are always the best. Thank you very much.

[Useful avahi-browse record snipped to save bandwidth]

> Now, I note 3 instances of "airprint.html" up there that because it 
> didn't mean squat to me until now, I didn't recognize or know I needed 
> to remember.

http://BRN001BA9E3811F.local./net/net/airprint.html is the location of
the printer's embedded web interface. Without avahi-daemon I expect you
would use http://192.168.71.20:80.

We'll work with the PDL printer:

  =   eth0 IPv4 Brother HL-3170CDW series  PDL Printer  local
 hostname = [BRN001BA9E3811F.local]
 address = [192.168.71.20]
 port = [9100]
 txt = ["UUID=e3248000-80ce-11db-8000-001ba9e3811f"
   "TBCP=T"
   "Transparent=F"
   "Binary=T"
   "PaperCustom=T"
   "Scan=F"
   "Duplex=T"
   "Copies=T"
   "Color=T"
   "usb_CMD=PJL,PCL,PCLXL,URF"
   "usb_MDL=HL-3170CDW series"
   "usb_MFG=Brother"
   "priority=75"
   "adminurl=http://BRN001BA9E3811F.local./net/net/airprint.html;
   "product=(Brother HL-3170CDW series)"
   "ty=Brother HL-3170CDW series"
   "note="
   "pdl=application/octet-stream,image/urf"
   "qtotal=1"
   "txtvers=1"]

Now find a *small* PDF file and send it directly to the printer with
netcat:

  nc 192.168.71.20 9100 < file.pdf

or

  nc BRN001BA9E3811F.local < file.pdf

Does it print?



Re: installing icedove from backports

2016-03-19 Thread Sven Hartge
Bob Holtzman  wrote:

> apt-get -t jessie-backports install icedove gives "icedove is already
> the newest version". Same with icedove-extension. 

> The installed version is 38.6.0-1~deb amd64 and the version in jessie
> backports is 38.7.0-1~deb8u1 

> Comments, pointers, help, derision, etc appreciated.

Please show the output of "apt-cache policy icedove".

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: Sudo

2016-03-19 Thread Sven Arvidsson
On Sat, 2016-03-19 at 18:38 +, Joe wrote:
> I've never seen sudo installed by default in any Debian, and I begin
> with expert minimal netinstalls of stable, and I've never seen it
> offered as an option there. My first two actions on reboot are to
> install sudo and mc.

By default you are asked to provide a password for the “root”
(administrator) account and information necessary to create one
regular user account. If you do not specify a password for the
“root” user this account will be disabled but the sudo package will
be installed later to enable administrative tasks to be carried out
on the new system. 

From https://www.debian.org/releases/stable/amd64/apas03.html.en

See also the note about the desktop task in 
https://wiki.debian.org/sudo

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





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


installing icedove from backports

2016-03-19 Thread Bob Holtzman
apt-get -t jessie-backports install icedove gives "icedove is already the
newest version". Same with icedove-extension. 

The installed version is 38.6.0-1~deb amd64 and the version in jessie
backports is 38.7.0-1~deb8u1 

Comments, pointers, help, derision, etc appreciated.

-- 
Bob Holtzman
A man is a man who will fight with a sword or
conquer Mt. Everest in snow. But the bravest of all
owns a '34 Ford and tries for six thousand in low.



Re: Sudo

2016-03-19 Thread Gene Heskett
On Saturday 19 March 2016 12:15:01 Frank Jones wrote:

> I have only been using Linux for a short time why cant I use SUDO on
> theterminal with Debian I use it with Linu Mint.

Are you first user? s/b #1000 I believe.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Problemas con DHCP corporativo

2016-03-19 Thread JAP

Estimados:

Mi red corporativa me tiene cansado.

Paso a explicarme:

Tengo un equipo con Debian "jessie" desde hace dos años, que ha corrido 
sin inconvenientes en la red corporativa, con las configuraciones que 
más abajo detallo.

Hace un mes cambié de lugar físico, pero mantengo computadora.
Ya he cambiado el cable que me une hasta el "switch", funciona 
perfectamente.

Si conecto mi máquina con "jessie", es IMPOSIBLE obtener dirección IP.
Si conecto una máquina con WinXP/7 al cable, obtiene dirección IP sin 
inconvenientes.
Si de mi máquina con"jessie", QUE NO TIENE IP, inicio un VirtualBox con 
WinXP, obtiene IP sin inconvenientes.

Es imposible iniciar la red en forma manual con "ifup".
Con "ifconfig", A VECES, NO SIEMPRE, sí se inicia.

Reinstalé todos los paquetes relativos a dhcp-client.

He "tocado" el archivo /etc/dhcp/dhclient.conf, adicionándole la línea
   send vendor-class-identifier "MSFT 5.0";
que en algún foro lo ví como una manera de reportarse a los equipos como 
una terminal "Microsoft", y ha solucionado algún problema similar. 
Fracasé con todo éxito.


¿Cuál es el problema?
Que tengo dos redes en la máquina, y luego del inicio del servicio de 
"networking", /etc/network/interfaces mediante, debo utilizar una serie 
de parámetros de ruteo para evitar colisiones.
Ruteo que SIEMPRE funcionó sin inconvenientes, hasta que me cambié de 
escritorio (físico, el de madera, se entiende).
Como no obtiene dirección IP para eth0, no se rutea como debe, y debo 
hacero "a mano" luego de iniciado el sistema, si es que he logrado 
obtener dirección IP.


¿Mi miedo 1?
System-d / systemctl

¿Mi miedo 2?
Que la "ferretería" (switch, routers, etc.), tengan "algo" 
Windows-dependiente.



Escucho opiniones.

Desde ya, muchas gracias.

JAP

#
### Configuración de redes

# /etc/network/interfaces

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

# The loopback network interface
 auto lo
 iface lo inet loopback

# Intranet
 auto eth0
 allow-hotplug eth0
 iface eth0 inet dhcp
 dns-nameserver 10.115.1.201

# Internet
 auto eth1
 allow-hotplug eth1
 iface eth1 inet dhcp
 dns-nameserver 190.103.220.2
 dns-nameserver 8.8.8.8

# Enrutamiento
 post-up ip route change default via 192.168.2.1 dev eth1
 post-up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.116.1.254 dev eth0

# Enrutamiento

post-up route add -host 10.96.1.205 gw 10.116.1.254 dev eth0
post-up route add -host 10.1.0.231 gw 10.116.1.254 dev eth0
post-up route add -host 10.1.12.201 gw 10.116.1.254 dev eth0
post-up route add -host 10.1.0.202 gw 10.116.1.254 dev eth0
post-up route add -host 10.1.0.216 gw 10.116.1.254 dev eth0
post-up route add -host 10.1.0.211 gw 10.116.1.254 dev eth0
post-up route add -host 10.1.0.215 gw 10.116.1.254 dev eth0
post-up route add -host 10.1.0.224 gw 10.116.1.254 dev eth0
post-up route add -host 10.3.10.118 gw 10.116.1.254 dev eth0


#
### Reporte estado de redes

# ifconfig
eth0  Link encap:Ethernet  HWaddr d0:50:99:21:90:8f
  inet6 addr: fe80::d250:99ff:fe21:908f/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:387 errors:0 dropped:0 overruns:0 frame:0
  TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:32603 (31.8 KiB)  TX bytes:3036 (2.9 KiB)

eth1  Link encap:Ethernet  HWaddr a0:f3:c1:01:da:92
  inet addr:192.168.2.52  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::a2f3:c1ff:fe01:da92/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:9124 errors:0 dropped:0 overruns:0 frame:0
  TX packets:7180 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:2566359 (2.4 MiB)  TX bytes:848589 (828.7 KiB)

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:857 errors:0 dropped:0 overruns:0 frame:0
  TX packets:857 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:90841 (88.7 KiB)  TX bytes:90841 (88.7 KiB)


#
### Ruteo luego de un arranque de sistema o /etc/init.d/networking start
### Se ve que por no levantar eth0, no rutea como debe

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface

default 192.168.2.1 0.0.0.0 UG0  00 eth1
192.168.2.0 *   255.255.255.0   U 0  00 eth1


#
### 

Re: Further to my installation error

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 22:41:14 + Lisi Reisz 
wrote:

> So - if you want to format an existing partition properly, so the
> stuff on it actually goes, use Gparted not the partitioner in the
> Jessie installer.  Sad.

Is it possible for the d-i partitioning utility to sometimes make
mistakes when creating a new FS (I have only observed this with ext4,
if it even happened at all and was not a product of my imagination) and
somehow leave files from the old FS in the new over-riding FS if the
two are in the same partition?

Sometimes after over-writing an old ext4 partition with a new ext4
partition of the same size and location, mysterious files have appeared
in the new FS which should not exist, but existed in the previous
instance; "ghost files" if you will.



Throughput riddle

2016-03-19 Thread Celejar
Hi,

I'm trying to understand the throughput across the different links of
my little home network, and am perplexed by the measured wireless
throughput.

The three main devices I'm interested in:

Router: Buffalo WZR-HP-G300NH running OpenWrt (Chaos Calmer 15.05).
Gigabit WAN and LAN, 802.11bgn wireless.

https://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h

Laptop: Thinkpad T61 running Jessie 8.3. Gigabit ethernet, 802.11abgn
wireless.

NAS: Seagate GoFlex Net [STAK100] runninng Debian Jessie 8.3.

https://archlinuxarm.org/platforms/armv5/seagate-goflex-net

All throughput measurements taken with iperf (run three times and using
the median result), unless specified otherwise. These first results are
with the laptop connected to the router via cat5:

Laptop - NAS:   ~874 Mbps.

I suppose this is close enough to the gigabit theoretical max, and there isn't
any significant bottleneck.

Router - NAS:   ~217 Mbps
Router - laptop:~198 Mbps

Here the router CPU is apparently the bottleneck (top shows close to
100% CPU utilization by iperf for at least part of the 10 second iperf
runs). I suppose that this is due to the bits needing to be copied out
of the kernel networking stack into iperf's userspace memory, or
something like that. I don't understanding why the NAS seems to be
doing better, but I suppose it could be an artifact of the data.

Here's the part that baffles me - these are with the laptop connected
to the router wirelessly:

Laptop - router:~11.8 Mbps

These numbers actually exhibit significant variance, but they're
generally at least this much, and at most about 15-20 Mbps.

Laptop - NAS:   ~14.7 Mbps

Once again, these numbers vary widely, but are in line with the laptop
- router numbers.

But here's the kicker: Ookla's speedtest (run on the laptop with
speedtest-cli) shows 29.01/5.89 (d/u), and this is fairly consistent.
I'm paying Comcast for 25/5, and they apparently provision at
31.25/6.25, so I'm getting quite close to the theoretical max, even
when the laptop is connected to the router wirelessly. Additionally,
various Android phones also get close to the Comcast provisioned max
when connecting wirelessly to the router.

So the wireless link can apparently push at least 30 Mbps or so, so why
are my local wireless throughput numbers so much lower?

I was originally using one of the common 1/6/11 channels, and I switched
to 3 since I saw a lot of other stations on those channels. This may
have resulted in some improvement, but I'm still stuck locally as
above. What's the explanation for this - how can I possibly be getting
much better throughput to servers tens of miles away than to my local
stations? Does iperf somehow work fundamentally differently from
speedtest? If so, which is a better representation of actual throughput?

Celejar



Re: Password protecting grub

2016-03-19 Thread Martin Smith

On 17/03/2016 04:55, Adam Wilson wrote:

On Wed, 16 Mar 2016 23:12:06 +0530 Himanshu Shekhar
 wrote:


Ok! I understand GRUB password and other such passwords are
ineffective. I am also aware of the fact that hard drive can be read
anywhere unless it is encrypted.
The am eager to know a particular way (however bad it may be) to
secure a system, which I have not known yet.

A BIOS password and full disk encryption.



on all the older machines that I used to make if you had physical access
to the machine you could lose the bios password quite easily with a jumper
or a screwdriver, I dont know what the more modern motherboards are like
but surely they could also be similar...

--
Martin



Re: Sudo

2016-03-19 Thread Joe
On Sun, 20 Mar 2016 04:01:03 +1100
Andrew McGlashan  wrote:

> Hi,
> 
> On 20/03/2016 3:15 AM, Frank Jones wrote:
> > I have only been using Linux for a short time why cant I use SUDO
> > on the terminal with Debian I use it with Linu Mint.  
> 
> There is, or was at the very least, an installation choice of whether
> or not to setup sudo.
> 
> It is not foreign to /normal/ Debian.
> 

I've never seen sudo installed by default in any Debian, and I begin
with expert minimal netinstalls of stable, and I've never seen it
offered as an option there. My first two actions on reboot are to
install sudo and mc.

-- 
Joe



Re: computer cann't shut down

2016-03-19 Thread David Christensen

On 03/19/2016 05:40 AM, lina wrote:

Every time since I installed the system,

every time I tried Shut Down, it mainly restart again.

I checked online and tried several methods but still don't work.

Can anyone suggest me how to solve it.


I'm having the same issue:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818311


So far, no progress in resolving it.


David



Re: Puc rebre però no enviar mails amb Evolution...

2016-03-19 Thread Narcis Garcia
És possible que no li hagis configurat el servei SMTP de sortida?
L'enviament normalment es configura com la recepció: servidor, port,
xifrat, usuari, contrasenya.



__
I'm using this express-made address because personal addresses aren't
masked enough at lists.debian.org archives.

El 19/03/16 a les 17:46, rita ha escrit:
> Hola!
> Tinc un problemilla...Segur que deu ser alguna novatada...He buscat però
> no he trobat com arreglar-ho...
> 
> Vaig posar el imap o pop3 aquell i vaig aconseguir posar el mail del web
> (r...@gamifi.cat) a Evolution...Ara em trobo, però, que, tot i rebre els
> mails, no puc contestar-los...Em surt un error...Adjunto captura.
> 
> Alguna suggerència?
> 
> És que estic intentant configurar els mails i trobar la manera de
> xifrar-los amb Seahorse, que segur que es pot...És que si Evolution i
> Seahorse vénen per defecte, no tinc per què usar Thunderbird amb
> Enigmail, no?
> En fi, que això ja és una altra pregunta...
> 
> Merci!
> 



Re: Comanda su amb parametres diversos

2016-03-19 Thread Narcis Garcia
Fet d'aquestes maneres no es queixa, però només passa el primer
paràmetre i no els següents:

su root -- -c "$@"
su -- -c "$@"

És a dir, que si executo:
./llansador.sh nano --boldtext "Un document.txt"
Només té efecte el "nano"; la resta és ignorat.


__
I'm using this express-made address because personal addresses aren't
masked enough at lists.debian.org archives.

El 19/03/16 a les 17:33, Ernest Adrogué ha escrit:
> 2016-03-19, 16:10 (+0100); Narcis Garcia escriu:
>> A veure si algú domina el programa «su» (substitute user) per executar
>> una comanda d'una manera que jo no me'n surto:
>>
>> Per posar un exemple, com a usuari «root» vull editar un fitxer
>> especificat per l'usuari i amb algun paràmetre més per l'editor nano.
>> Però tot això fer-ho a través d'un programet que crida su.
>> Aquestes són les sintaxis amb les quals ho he intentat sense èxit
>> (script "llansador.sh"):
>>
>> #!/bin/sh
>> su root -c "$@"
>> su root -- "$@"
>> su root -c -- "$@"
>>
>> $ ./llansador.sh nano --boldtext "Un document.txt"
>>
>>
>> Algú sap encertar l'ús dels dos guionets igual com fan altres interfícies?
>>
>> Nota: necessito NO comptar amb què «sudo» o altres programes menys
>> essencials estiguin instal·lats.
>>
> 
> su -- -c "$@"
> 
> l'opció -c és de la shell no del 'su', per tant ha d'anar després dels 2
> guionets.
> 



  1   2   3   >