Re: searching for hosts in domain local

2016-04-16 Thread Andy Smith
Hi Dan,

On Sat, Apr 16, 2016 at 10:14:29PM -0700, Dan Hitt wrote:
> I would like to drop the '.local' because it's an extra six characters
> with absolutely no value.
> 
> In principle, i think it should be possible to by just adding
>  search local
> to my /etc/resolv.conf, but this absolutely does not work.  (I imagine that
> local is a really magic name in some contexts but not very magic in others.)

You may need to use "local." with a dot at the end.

What doesn't work about it?

".local" TLD is kind of special so you may find problems anyway -
it's used for multicast DNS (Avahi). You may be better off picking a
different domain for your local network.

> Furthermore, /etc/resolv.conf doesn't want to be written, as it
> says it is generated automatically, so even if it worked, it wouldn't
> be such a good solution.

You can override the domain search list that your DHCP server
provides by editing /etc/dhcp/dhclient.conf and putting in either:

supersede domain-name "local."

or:

prepend domain-name "local."

or:

append domain-name "local."

Depending upon whether you want to have *only* your search domains,
your search domains *first*, or your search domains *last*,
respectively.

See man dhclient.conf for more info.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting



searching for hosts in domain local

2016-04-16 Thread Dan Hitt
In my local network, the machines generally know each other by names like
first_host.local
second_host.local
third_host.local
...

So if i'm on first_host, i can ssh to second_host with
ssh my_account@second_host.local
and i can ping second_host by
ping second_host.local

I would like to drop the '.local' because it's an extra six characters
with absolutely no value.

In principle, i think it should be possible to by just adding
 search local
to my /etc/resolv.conf, but this absolutely does not work.  (I imagine that
local is a really magic name in some contexts but not very magic in others.)

Furthermore, /etc/resolv.conf doesn't want to be written, as it
says it is generated automatically, so even if it worked, it wouldn't
be such a good solution.

I can sort of fix the situation by editing ~/.ssh/config and adding lines
Host second_host
Hostname second_host.local
but this has the disadvantage that i have to do it for every host on
the network, and it only affects ssh --- ping and presumably every
other command (naturally!) do not consult this file.

(I don't have any influence over my router which comes from
my service provider, but i wouldn't want to change it even if
i could, since i'm just asking my own machine to intercept
a name like second_host and convert it to second_host.local
before processing further.)

Thanks in advance for any clues or references to man pages
or even other mailing lists.

dan



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 22:18:34 David Wright wrote:

> On Sat 16 Apr 2016 at 19:06:42 (-0400), Gene Heskett wrote:
> > On Saturday 16 April 2016 14:02:16 Thomas Schmitt wrote:
> > > Gene Heskett wrote:
> > > > There are too many places where a conditional would be needed
> > >
> > > The classic way is to use only gestures which are supported by the
> > > Bourne shell and to avoid certain peculiarities of some shells.
> > > In ./configure scripts of source packages one can see gestures
> > > like
> > >
> > >   if test "x${InMail}" = xgene
> > >
> > > which avoids to compare empty variable content.
> >
> > In normal everyday operation, the variable ${InMail} will not be
> > empty.
>
> That may or may not be a useful observation. However, sod's law
> dictates that when it *is* empty, it'll be in five years time when
> you've forgotten how and why you converted your script, and you
> desparately need it to work _now_.

Each new incoming  email is another pass thru the loop. There are 3 
possible names for the mailfile itself as procmail determines that.

This script launches an inotifywait instance with directions to return 
the name of the modified by being written to mailfile. So unless I kill 
it from a terminal, the inotifywait will define that name. If I kill it, 
all 3 IF's fail, and a new instance of inotifywait is launched to 
replace that one.  Not that big a script, but it helps to make my email 
handling fully automatic here. Pulling the mail is fetchmails job and 
ity hands the incoming off to procmail, which filters it thru spamd, 
clamav and thence to the correct mailfile in /var/spool/mail. 

This script, by noticing the change in the mailfile, sends kmail a go get 
mail from ${InMail} via dbus/dcop or whatever interprocess comm flavor 
is in the distro, which gets it/them and sorts it to the correct 
mailedir folder.  No manual intervention by me other than running this 
at bootup time.

All I have to do is tap the + key to read that email, and if I can 
contribute to the thread, click the correct answering format and start 
typing. When I am done, a ctrl+return sends it smtp style to the 
selected mail server, defined on a per folder basis.

I suspect that if I kill the inotifywait, that ${InMail} actually remains 
unchanged from the previous instance, and kmail likely gets sent to read 
an empty mailfile in that event, a few milliseconds wasted but kmail 
doesn't seem to mind. I did have some tracing echo's in there at one 
time, but they don't last long as that spams the terminal it was 
launched from.

> Going back a step or two:
>
> "This bash script has lived in ~/bin for years, but the mention of
>  dash as a replacement for bash made me want to test it with dash by
>  changing the bang line to #!/bin/sh, which is of course (this is
>  wheezy) a softlink to /bin/dash."
>
> Debian took a decision long ago to make dash the default shell for
> *system* scripts. In that sense only, dash replaced bash, and the
> replacement took a while because all the bashisms had first to be
> removed from those scripts headed by #!/bin/sh. Water under the
> bridge now.
>
> Grepping /var/lib/dpkg/info/*.p* can be a quick way of finding
> examples of dash's ways and means. However, you're probably wasting
> your time converting your own scripts unless you need the efficiency.

Efficiency of the present method seems adequate so that would not drive 
the change, but losing bash completely would upset the applecart long 
before it got to the cider press.
>
> And this statement:
>
> "However, I'll go on record as opposing any motions to remove bash,
>  the old man on the mountain of cli shells still gets the job done."
>
> is an unfounded fear. The default login shell is bash, as usual.

So it is not likely to go away before I do.  At 81, I know my time is 
limited. How much is probably up to a higher authority.

This discussion has been fruitfull and I thank you, David, as well as the 
other respondents who tried to make sense out of my scribbling's.

> Cheers,
> David.

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 



Silver Light

2016-04-16 Thread Debia Linux
Listeros buenas noches:

Les comento que tengo mas trabajo aun (esto de resolver problemas
tiene ventajas)... te piden mas trabajes mas...

Ahora les comento.

Resulta que me pidieron que necesitan entrar a un portal del gobierno,
pero este portal les pide tener instalado Silver Light (por supuesto
de Microsoft).

Existe alguna alternativa libre para suplir este requisito (sin
recurrir a Wine por supuesto).

Gracias

Debianeromx



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
SOLUCIONADO

Bien les cuento donde estaba el problema...

El problema radicaba en que estaba usando LILI USB CREATOR (en
windows) que no tiene soporte para UEFI. Descargue RUFUS, al mismo
tiempo descargue UBUNTU BOOT REPAIR CD y descargue Debian amd64.

Abri Rufus, cargue Ubuntu Repair CD.

Como ya tenia activado la opcion Legacy (para que booteara desde una
USB) simplemente se pudo cargar Ubuntu Repair CD.

Abri Gparted, eliminé todas las particiones (arrivederciii windows) y
despues opte por la opcion MSDOS al disco duro (para poder bootear e
instalar).

Cargue con Rufus Debian amd64 y en estos momentos estoy instalando sin
ningun problema.

Gracias por sus aportes.

Debianeromx





2016-04-16 13:36 GMT-05:00 Debia Linux :
> 2016-04-16 13:18 GMT-05:00 listascor...@msjs.co :
>> El 16/04/16 a las 12:49, fernando sainz escribió:
>>
>>> El día 16 de abril de 2016, 16:22, Debia Linux 
>>> escribió:

 Listeros:

 Como les he comentado, ahora tengo mucho trabajo y tengo que ir
 solucionando todo "al mismo tiempo".

 Les explico... Ahora me trajeron una maquina con Windows 10, de esas
 maquinas que te piden el derecho de espiarte mediante la cam y todo lo
 que escribes en el teclado, pero que por negligencia las personas "NO
 LEEN".

 Bien, no habia tenido la oportunidad de trabajar con sistemas de 64
 bits, de hecho funcionan a la perfeccion todas las de 32 bits que
 tenemos en el trabajo (todas excepto una en windows 7 y que es de 32
 bits).

 Me trajeron una Lenovo Ideapad 100 , con arquitectura x86 a 64 b.

 Lo primero que pense es que no podia funcionar con una arquitectura
 i386 (supongo) asi que descargue Debian para arquitectura amd64 y no
 pude instalar nada, despues trate de instalar Debian para arquitectura
 i386 pense que el error era mio, pero tampoco lo logre.

 [OFF TOPIC] A breviario cultural (para quienes quieren usar una Lenovo
 del mismo modelo) puedo decir que para cambiar el boot de arranque
 solo tienen que presionar la tecla FN+F2.

 Regresando al tema, esto nunca me habia pasado, sin embargo mi mente
 prehistorica me recordo que Microsoft habia hecho algo un acuerdo con
 los fabricantes de hardware (algunos) para que solo su sistema
 funcionara y ninguno mas.

 Asi que comence a buscar y encontre que efectivamente tiene que ver
 con el sistema de particiones UEFI o EFI. Que usan una particion de
 200Mb para bootear solo con Windows y no reconocer ningun otro sistema
 operativo.

 Y como ya es costumbre... ¡¡¡Eliminaremos Windows!!! y lo vamos a hacer.

 Ahora vienen las preguntas.

 ¿Que arquitectura Debian uso? ¿La arquitectura x86 es lo mismo que
 Debian amd64? ¿Puedo instalar Debian i386?.

 ¿Como hago para formatear y eliminar todas las particiones del disco
 duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
 la USB?.

 Agradezco siempre sus finas atenciones.

 Gracias

 Debianeromx

>>>
>>> Todavía no me he topado con equipos UEFI, pero para instalar no vale
>>> cualquier imagen.
>>> Mira en :https://wiki.debian.org/UEFI
>>>
>>> UEFI support in live images
>>>
>>> At this point, UEFI support exists only in Debian's installation
>>> images. The accompanying live images do not have support for UEFI
>>> boot, as the live-build software used to generate them still does not
>>> include it. Hopefully the debian-live developers will add this
>>> important feature soon.
>>>
>>>
>>> S2.
>>>
>>
>> Por descarte, pon todas las opciones de la bios por defecto y luego haz los
>> cambios.
>> o si tienes los conocimientos, saca el DD del portatil. ponlo en otro e
>> instala.
>
> Uff eso de desarmarla... siempre me sobran tornillos... mas de los que
> quito... esta maquina es nueva y mejor no le muevo...
>
>
>
>> Saludos;
>>



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread David Wright
On Sat 16 Apr 2016 at 19:06:42 (-0400), Gene Heskett wrote:
> On Saturday 16 April 2016 14:02:16 Thomas Schmitt wrote:
> > Gene Heskett wrote:
> > > There are too many places where a conditional would be needed
> >
> > The classic way is to use only gestures which are supported by the
> > Bourne shell and to avoid certain peculiarities of some shells.
> > In ./configure scripts of source packages one can see gestures
> > like
> >
> >   if test "x${InMail}" = xgene
> >
> > which avoids to compare empty variable content.
> 
> In normal everyday operation, the variable ${InMail} will not be empty.

That may or may not be a useful observation. However, sod's law
dictates that when it *is* empty, it'll be in five years time when
you've forgotten how and why you converted your script, and you
desparately need it to work _now_.

Going back a step or two:

"This bash script has lived in ~/bin for years, but the mention of
 dash as a replacement for bash made me want to test it with dash by
 changing the bang line to #!/bin/sh, which is of course (this is
 wheezy) a softlink to /bin/dash."

Debian took a decision long ago to make dash the default shell for
*system* scripts. In that sense only, dash replaced bash, and the
replacement took a while because all the bashisms had first to be
removed from those scripts headed by #!/bin/sh. Water under the
bridge now.

Grepping /var/lib/dpkg/info/*.p* can be a quick way of finding
examples of dash's ways and means. However, you're probably wasting
your time converting your own scripts unless you need the efficiency.

And this statement:

"However, I'll go on record as opposing any motions to remove bash,
 the old man on the mountain of cli shells still gets the job done."

is an unfounded fear. The default login shell is bash, as usual.

Cheers,
David.



Re: lxc, systemd and getty

2016-04-16 Thread Richard Hector
On 16/04/16 03:29, Richard Hector wrote:
> Hi all,
> 
> I'm just getting into lxc, and, I guess like most, I'm also fairly
> new to systemd.
> 
> I'm using the standard jessie template to create my containers,
> and they come up working, but a little misconfigured - they only
> have tty1 - tty4, but try to start getty on tty5 and tty6 as well,
> giving me repeated errors in my journal.

FWIW, it looks like this goes away if I install the newer lxc from
jessie-backports - it provides updated templates, among other things.

It's only fixed for new containers, of course, so I'll either have to
rebuild my containers, or do some careful diffing.

Richard



Re: leitor de pdf

2016-04-16 Thread Leandro Guimarães Faria Corcete DUTRA
Le 16 avril 2016 14:06:35 GMT-03:00, Thiago  a 
écrit :
>> por exemplo, ele gostaria de marcar texto no pdf. sugestões?
>
>Eu deixo para os usuários o Atril, é simples e bastante funcional. Leve
>e rápido, com . Mas não sei se tem recurso de marcar texto, acho que
>não.

Então a sugestão não adianta nada…


>Você, sendo o mantenedor dele, ou ele mesmo, poderia fazer o comando no
>terminal
>$ sudo apt-cache search pdf reader
>
>Ou
>$ sudo apt-cache search pdf read

De novo, de que adianta?  O consulente não quer um simples leitor, mas algo que 
marque texto.


>Tem um programa chamado LateX que pode colocar caracteres diferentes?

Nada a ver, LaΤεχ é um processador de documentos.


>Marca-texto? É um recurso interessante para implementar. Basta que mais
>de nós saibamos fazer isso, esforço há, talvez a maior dificuldade de
>usuários seja ter alguém próximo para compartilhar conhecimentos, como
>faço, mas os vídeos do Eriberto tem sido úteis para isso.

Cara, que viagem, que confusão.  Não entendi nada nem do que quiseste dizer, 
nem o que isso tem a ver com a consulta original.



-- 
skype:leandro.gfc.dutra?chat  Yahoo!: ymsgr:sendIM?lgcdutra
+55 (61) 3546 7191 (Net)gTalk: xmpp:leand...@jabber.org
+55 (61) 9302 2691 (Vivo) ICQ/AIM: aim:GoIM?screenname=61287803
BRAZIL GMT−3  MSN: msnim:chat?contact=lean...@dutra.fastmail.fm



Re: Beginning of the End for Wheezy [sigh!]

2016-04-16 Thread Patrick Bartek
On Sun, 17 Apr 2016, Paul Trevethan wrote:

> On Sat, 16 Apr 2016 15:27:17 -0700
> Patrick Bartek  wrote:
> 
> > Much to my regret (and others, too, I'm sure), yesterday, on 15
> > April 2016, the beginning of the end began for Wheezy. Google, as
> > announced months ago, finally ceased support for its browser on
> > Wheezy.  I double checked just to be sure, and in the course of
> > that check also discovered "official" Debian support for Wheezy
> > will cease in a little over a week on 26 April 2016 -- just 3 years
> > after its release.  However, it will automatically enter LTS until
> > 2018 at which time all support ceases and EOL "officially" occurs. 
> > 
> > Well, at least I have time to look for an alternative. Maybe, Devuan
> > will be viable by then, but I doubt it.  Or Debian will offer a
> > choice of inits as a standard option during installs on future
> > releases, but I very much doubt it.
> > 
> > B
> > 
> 
> If you want a rock solid Debian based system with no systemd - check
> out Antix distribution.

I've heard good things about AntiX.   It's already on my list   I like
to build my system from a terminal install up using only a window
manager to keep things light. No fancy desktop environment needed for
me.

Thanks for the recommendation. 

B  



Re : Voir et écouter en streaming la conférence de RMS

2016-04-16 Thread merkedanke
si quelqu'un peut mettre à disposition un compe-rendu ou un mkv (traduit 
en off) cela serait sympa (le stream n'est pas ouvert à tout le monde , 
en outre , ceci apparaît sur le lien :
warning , this site may contain malware , do not use it whithout 
proxy!).
je regrette que rs propose un kernell 2.6 alors que vanilla est à 4. ; 
qu'il n'y ait pas d'écho grc ou autre à ce sujet et le retour de 
mozilla.



je me demande si une liste de questions a été prévue ou si certains(es) 
pourront en live poser les leurs ( résultat d'aprill & d'afull : pgp & 
cryptage interdit en france, fai compromises, tarifs & 
représailles/rétorsions en hausse etc. par contre le hard est en 
baisse).



angers est son prochain rendez-vous.

[HS : ]
* pas de mp svp
[HS : ]
* est-ce possible d'évitez de tutoyer ? Merci.



Re: Beginning of the End for Wheezy [sigh!]

2016-04-16 Thread Paul Trevethan
On Sat, 16 Apr 2016 15:27:17 -0700
Patrick Bartek  wrote:

> Much to my regret (and others, too, I'm sure), yesterday, on 15 April
> 2016, the beginning of the end began for Wheezy. Google, as announced
> months ago, finally ceased support for its browser on Wheezy.  I
> double checked just to be sure, and in the course of that check also
> discovered "official" Debian support for Wheezy will cease in a
> little over a week on 26 April 2016 -- just 3 years after its
> release.  However, it will automatically enter LTS until 2018 at
> which time all support ceases and EOL "officially" occurs. 
> 
> Well, at least I have time to look for an alternative. Maybe, Devuan
> will be viable by then, but I doubt it.  Or Debian will offer a
> choice of inits as a standard option during installs on future
> releases, but I very much doubt it.
> 
> B
> 

If you want a rock solid Debian based system with no systemd - check
out Antix distribution.

-- 
It is about the Dragons - it was always about the Dragons!



Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 16:30:19 Jeremy Nicoll wrote:

> On Sat, 16 Apr 2016, at 16:33, Gene Heskett wrote:
> > And I still miss ARexx.
> > Even bash cannot do the intimate to the os things that ARexx could
> > do.
>
> Have you considered using Regina REXX or ooREXX instead?

Yes, but typically both have bailed out, syntax error because the syscall 
they tried to do is not part of their version of the language.  Usually 
by line 3 of the script.  ARexx it turns out, is a HUGE superset of 
Regina Rexx. And ooRexx had dependencies that were not available in the 
repos at the time.  So I do about 1/3rd of what ARexx could do, in half 
the bash code now.

Thanks Jeremy.

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 



Re: Repository Problem

2016-04-16 Thread Stephen P. Molnar



On 04/16/2016 06:15 PM, Jeremy Nicoll wrote:

On Sat, 16 Apr 2016, at 22:42, Stephen P. Molnar wrote:

On 04/16/2016 10:12 AM, Sven Hartge wrote:

All of his sources.list lines are using http://http.us.debian.org.
The issue is that
http://http.us.debian.org/debian/dists/wheezy/updates does not exist.
A casual look with a browser reveals this.

Exactly.

S°


Just how doers this contribute to a solution of the problem?

Because it's an easy way for you to have seen that the URLs you defined
for
Debian to use must have been wrong.  Didn't someone further up this
thread
point out a very subtle difference between the URLs you were using and
the
ones you should have been using?  I have a feeling you didn't get the
subtlety.

OTOH if those wrong URLs were installed by Debian itself, I agree that
that is
a problem in itself.


Then it is a problem, as I did nothing to edit the sources.list entries.

--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.Molecular-Modeling.net  Stochastic and multivariate
(614)312-7528 (c)
Shyoe:  smolnar1



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 14:02:16 Thomas Schmitt wrote:

> Hi,
>
> Gene Heskett wrote:
> > if [[ ${InMail} = 'gene' ]]
>
> test(1) is supposed to be portable
>
>   if test "${InMail}" = 'gene'
>
Thats slightly different, printed for tomorrows experiments.  Thank you.
I need to reboot to bring in a fresh kernel that was updated earlier 
today.  But I'm out of giddy-up, haveing repaired a dishwasher MCU based 
control module today in my own dishwasher. The parts houses for such 
wanted 266.55 USD for one that may, or may not have had the same 
software.  But I found 3 of the teeny electrolytics in it, 10 u-f at 16 
volts, were reading at about .02 u-f, so now there are a triplet of 10 
u-f x 16 volt tantalum caps in it.  I don't enjoy working on a pcb that 
has no schematic, not even online, but then I am also a C.E.T. 
(Certified Electronics Technician), but will plead to quit a bit of rust 
in the wet ram (its 81 yo now) in the 44 years since I sat down cold 
without cracking a book, to take that test back in '72.

> > There are too many places where a conditional would be needed
>
> The classic way is to use only gestures which are supported by the
> Bourne shell and to avoid certain peculiarities of some shells.
> In ./configure scripts of source packages one can see gestures
> like
>
>   if test "x${InMail}" = xgene
>
> which avoids to compare empty variable content.

In normal everyday operation, the variable ${InMail} will not be empty.

> See also
>  
> https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/P
>ortable-Shell.html
>
>
> Have a nice day :)
>
> Thomas

You too Thomas and thank you.

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 



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 13:11:54 Aero Maxx wrote:

> On 16/04/2016 17:45, Gene Heskett wrote:
> > On Saturday 16 April 2016 12:01:28 Aero Maxx wrote:
> >> On 16/04/2016 16:23, Gene Heskett wrote:
> >>> But when I run it with dash, it doesn't seem to work right, and
> >>> spams the terminal with its error messages.  One that appears to
> >>> kill its function is the bashism of using [[ ]] to surround string
> >>> variables, reported like this:
> >>> bin/mailwatcher: 64: bin/mailwatcher: [[: not found
> >>> bin/mailwatcher: 70: bin/mailwatcher: [[: not found
> >>> bin/mailwatcher: 77: bin/mailwatcher: [[: not found
> >>
> >> dash isn't the same as bash, as it has a limited set of
> >> instructions or commands it can do.
> >>
> >> But I too would be interested to know if it is possible to get it
> >> to work in dash, I don't believe it is, but I am happy to be
> >> corrected or proved wrong.
> >>
> >>> And finally, once its working with either shell, how do I shut it
> >>> up totally?  Even the above command line launch fails as it
> >>> outputs to that shell, a newline for every incoming mail which
> >>> gradually scrolls any output that was on-screen, offscreen without
> >>> leaving a prompt until I tap the return key to restore it.
> >>
> >> Also isn't the command you are running supposed to be as follows ?
> >>
> >>> bin/mailwatcher 2>&1 > /dev/null &
> >
> > Is the space you inserted into my line between the > and the
> > /dev/null a game changer? In either bash or dash?  Its been a while
> > since I last read the bash docs, but I don't recall there was any
> > emphasis on that.
>
> I'm sorry I was a bit too eager to reply and neglected to change what
> I had pasted in.
>
> I meant to say could you try this
>
> > bin/mailwatcher > /dev/null 2>&1 &
>
Now that is a re-arrangement I have not tried.  But will.  Thank you Aero 
Maxx.

> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus


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 



Beginning of the End for Wheezy [sigh!]

2016-04-16 Thread Patrick Bartek

Much to my regret (and others, too, I'm sure), yesterday, on 15 April 2016, the 
beginning of the end began for Wheezy. Google, as announced months ago, finally 
ceased support for its browser on Wheezy.  I double checked just to be sure, 
and in the course of that check also discovered "official" Debian support for 
Wheezy will cease in a little over a week on 26 April 2016 -- just 3 years 
after its release.  However, it will automatically enter LTS until 2018 at 
which time all support ceases and EOL "officially" occurs. 

Well, at least I have time to look for an alternative. Maybe, Devuan will be 
viable by then, but I doubt it.  Or Debian will offer a choice of inits as a 
standard option during installs on future releases, but I very much doubt it.

B



Pressing ` on Macbook in Debian produces §

2016-04-16 Thread Eric Andrew Lewis
Hi,

I notice that when I press the backtick key, the section symbol (§) is
produced instead.

This bug has been reported on Ubuntu (#1245081
).

I've found a workaround by placing this in ~/.Xmodmap

keycode  94 = grave asciitilde grave asciitilde grave asciitilde grave
asciitilde

But I wonder, what package is this bug in? Can I help fix it?

Eric Andrew Lewis
ericandrewlewis.com
+1 610 715 8560


Re: Repository Problem

2016-04-16 Thread Jeremy Nicoll
On Sat, 16 Apr 2016, at 22:42, Stephen P. Molnar wrote:
> 
> On 04/16/2016 10:12 AM, Sven Hartge wrote:

> >> All of his sources.list lines are using http://http.us.debian.org.
> >> The issue is that
> >> http://http.us.debian.org/debian/dists/wheezy/updates does not exist.
> >> A casual look with a browser reveals this.
> > Exactly.
> >
> > S°
> >
> Just how doers this contribute to a solution of the problem?

Because it's an easy way for you to have seen that the URLs you defined
for
Debian to use must have been wrong.  Didn't someone further up this
thread
point out a very subtle difference between the URLs you were using and
the
ones you should have been using?  I have a feeling you didn't get the
subtlety.

OTOH if those wrong URLs were installed by Debian itself, I agree that
that is
a problem in itself.

-- 
Jeremy Nicoll - my opinions are my own.



Re: Repository Problem

2016-04-16 Thread Stephen P. Molnar



On 04/16/2016 10:12 AM, Sven Hartge wrote:

Michael Milliman  wrote:

On 04/15/2016 03:18 PM, Sven Hartge wrote:

Dan Ritter  wrote:

On Fri, Apr 15, 2016 at 01:06:18PM -0400, Stephen P. Molnar wrote:

I just had a catastrophic crash which necessitated reinstalling
Debian.  I had been running v-7.2,but decided to upgrade to v-7.10
with a complete install.

Now when I update the repositories, regardless of the tool, Synaptic
or Aptitude, I get the following errors:

W: Failed to fetch 
http://http.us.debian.org/debian/dists/wheezy/updates/main/source/Sources: 404  
Not Found [IP: 2610:148:1f10:3::89 80]
I do not get these errors if I comment out the deb-src lines in the
sources.list.

Those are IPv6 addresses. I would guess that you don't have an
IPv6 connection available to you, or it's misconfigured.

He then would get a timeout or host unreachable and not a 404 HTTP error
code.

What it looks like is this: he has URLs for the sources of security
updates (wheezy/updates) configured for the wrong host, because
debian.gtisc.gatech.edu does not carry those.

debian.gtisc.gatech.edu??? None of the information in the OPs query
mentions this host.

2610:148:1f10:3::89 -> debian.gtisc.gatech.edu


All of his sources.list lines are using http://http.us.debian.org.
The issue is that
http://http.us.debian.org/debian/dists/wheezy/updates does not exist.
A casual look with a browser reveals this.

Exactly.

S°


Just how doers this contribute to a solution of the problem?

--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.Molecular-Modeling.net  Stochastic and multivariate
(614)312-7528 (c)
Shyoe:  smolnar1



Re: cannot use debian because of too many problems...

2016-04-16 Thread Floris
The change from Windows to Debian is not always easy. You have to learn  
how to use it. When I have to explain what Debian is, I often compare it  
with LEGO. There are a lot of "bricks" which make your OS. And you can/  
must decide which "bricks" (packages) you use. So in time you build an OS,  
your OS!


You mentioned a "cannot connect to..." error. This sounds like a issue  
with /etc/apt/sources.list. Now it is time to see a big difference between  
Windows and Debian. Debian shows you what is going wrong in clear text,  
instead of a weird error code. How to see the error? Before I can answer  
that question I need more information, because my Debian OS is not your  
Debian OS. I *think* you are running a Gnome Desktop, because that is the  
default choice of Debian. Try this: press ALT+F2 and type (without the  
quotes) "gnome-terminal" A new window pop-ups and type:  cat  
/etc/apt/sources.list


Copy and paste the output in a mail to this mailing list

In the same window type
sudo apt-get update
and
sudo apt-get -f install

And copy and paste the output in a mail

I hope to see your mail soon,

Floris

PS. Aan je naam te zien kom je uit Nederland, je mag me ook persoonlijk  
mailen in het nederlands.




Re: What happened to the info tutorial?

2016-04-16 Thread Stephen Powell


On Sat, Apr 16, 2016, at 17:31, Stephen Powell wrote:
> The "info" command in jessie has a tutorial which can be accessed by pressing
> the "H" key.

Oops!, I meant to say the "h" key, not the "H" key.  Otherwise, the question
remains as written.

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



What happened to the info tutorial?

2016-04-16 Thread Stephen Powell
The "info" command in jessie has a tutorial which can be accessed by pressing 
the "H"
key.  You must have the texinfo-doc-nonfree package installed for this to work; 
but
if this package is installed, it works.  But under stretch, it does not work, 
even
if the texinfo-doc-nonfree package is installed.  From the changelogs, it 
appears
that info.info has been removed from the texinfo-doc-nonfree package.  Is the
tutorial still available in another package?  Has upstream deleted the tutorial
entirely?  Are there any options for those who want to keep the tutorial?
What's the scoop on this?

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



Weekly and daily builds are not working

2016-04-16 Thread amd amd

Weekly and daily builds are not working . You do check that release ? The last 
working test builds released on 14.03.2016 . All of the following - do not work!


Voir et écouter en streaming la conférence de RMS

2016-04-16 Thread andre_debian
Voici l'adresses pour voir et écouter en streaming la conférence de RMS
d'aujourd'hui, 16 avril  :

http://stream.tmplab.org:8000/stream.html

Ça vaut le coup.

Bonne conférence.

André



Re: Fwd: Re: [debian-ve] el 1º de mayo Venezuela cambiará huso horario

2016-04-16 Thread Jhon Prada
El 15/04/2016 14:52, "Juan Lavieri"  escribió:
>
> Para la información de los interesados.
>
>
>  Mensaje reenviado 
> Asunto: Re: [debian-ve] el 1º de mayo Venezuela cambiará huso
horario
> Fecha:  Fri, 15 Apr 2016 13:07:27 -0430
> De: Damian Fossi 
> Responder a:debian...@lists.riseup.net
> Para:   debian...@lists.riseup.net
>
>
>
>
> Por las declaciones de Jorge Arreaza de hace minutos, el cambio será a
partir de las 2:30 am del día 1 de mayo, lo cual el modificación en el
fuente en tzdata-2016c/southamerica quedaría asi:
>
> # Venezuela
> #
> # From Paul Eggert (2015-07-28):
> # For the 1965 transition see Gaceta Oficial No. 27.619 (1964-12-15), p
205.533
> # http://www.pgr.gob.ve/dmdocuments/1964/27619.pdf
> #
> # From John Stainforth (2007-11-28):
> # ... the change for Venezuela originally expected for 2007-12-31 has
> # been brought forward to 2007-12-09.  The official announcement was
> # published today in the "Gaceta Oficial de la República Bolivariana
> # de Venezuela, número 38.819" (official document for all laws or
> # resolution publication)
> # http://www.globovision.com/news.php?nid=72208
>
> # Zone  NAMEGMTOFF  RULES   FORMAT  [UNTIL]
> ZoneAmerica/Caracas -4:27:44 -  LMT 1890
> -4:27:40 -  CMT 1912 Feb 12 # Caracas
Mean Time?
> -4:30   -   VET 1965 Jan  1  0:00 #
Venezuela T.
> -4:00   -   VET 2007 Dec  9  3:00
> -4:30   -   VET 2016 May 1 2:30 #Until
-xx-xx
> -4:00   -   VET
>
>
> Seguro en los comentarios se recomendará agregar la nueva gaceta oficial
en la descripción inicial.
>
>
> Saludos,
>
>
> 2016-04-15 10:06 GMT-04:30 Raul Odria :
>
>Si se hace de la forma que explico en mi blog, se puede adelantar,
>total, solo afectará en el supuesto caso que se coloque -04:00 a
>partir del 01/05/2016; mientras tanto, hasta no llegar al 01/05/2016
>seguirá usando -04:30 :D
>
># zdump -v /root/tztest/America/Caracas | grep 2016
>
>/root/tztest/America/Caracas  Sun May  1 04:29:59 2016 UT = Sat Apr
>30 23:59:59 2016 VET isdst=0 gmtoff=-16200
>/root/tztest/America/Caracas  Sun May  1 04:30:00 2016 UT = Sun May
>  1 00:30:00 2016 VET isdst=0 gmtoff=-14400
>
>Enjoy
>
>2016-04-15 9:05 GMT-04:30 Luigino Bracci >:
>
>Maduro dijo que la explicación se iba a dar hoy. Supongo que
>también habrá una publicación en Gaceta Oficial. Aunque todos
>suponemos que el cambio será de UTC-0430 a UTC-400, se necesita
>que alguien del gobierno lo diga formalmente para poder actuar :(
>
>El 15 de abril de 2016, 8:22, Damian Fossi
>> escribió:
>
>Saludos Aníbal, también he estado pendiente del cambio de
>huso horario.
>
>Lo que se dió ayer fue solo un anuncio, los detalles del
>cambio de huso de horario se dará durante estos días
>(realmente no han dicho el día), habrá que estar pendiente.
>La medida fue tomada por el ejecutivo por los embates de la
>crisis de generación de electricidad que existe
>actuallmente, por lo tanto este cambio de huso horario no
>puede ser tomado como un DST (Horadio de verano), esto es
>excepcional. Habrá que esperar hasta cuando será tomada la
>medida.
>
>El cambio será de UTC-0430 a UTC-400, eso quedó
>completamente claro. A Nivel de sistemas, desconozco si hay
>alguna decisión tomada, intentaré preguntarle a alguien en
>el CNTI u otro organismo competente.
>
>¿No es posible tener un contacto con los que mantienen
>tzdata en Debian y así el cambio se hace automático?
>
>Saludos,
>
>
>
>
>--Ing. Raúl Odria
>User GNU/Linux Debian on kernel 4.4.0
>User Linux 395647
>Itil V3 Certification:
>http://www.apmg-international.com/SCRQuery.aspx?exam=it
>
>
 

>Omnis enim res qvae dando non deficit, dvm habetvr et non datvr,
>nondvm habetvr qvomodo habenda est.
>
>
>
>
> --
> Damián D. Fossi Salas > ¡Software Libre hasta el 2 mil siempre!
> http://www.damianfossi.com
>
> Uso:
> Debian GNU/Linux con Kernel 3.16.4-libre
>
> Linux User: 188464
> Jabber ID: dam1an en jabberes.org 
> damianfossi en jabberes.org 
> SIP: merovingio en ekiga.org 
> Twitter.com > http://twitter.com/dam1an
>
>

Yo les recomendaria que se esperen a gaceta y pronunciamiento de la agencia
internacional. Si de algo se caracteriza el gobierno venezolano es en

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Jeremy Nicoll
On Sat, 16 Apr 2016, at 16:33, Gene Heskett wrote:

> And I still miss ARexx. 
> Even bash cannot do the intimate to the os things that ARexx could do.

Have you considered using Regina REXX or ooREXX instead?

-- 
Jeremy Nicoll - my opinions are my own.



Re: Adresse IPv6 auto-configurée et /etc/rsolv.conf inhabituel dans Jessie [RESOLU]

2016-04-16 Thread Pascal Hambourg

Le 06/04/2016 09:50, Olivier a écrit :


En effet, j'ai un daemon rdnssd qui tourne sur ma machine.
Dans ses antécédents judiciaires, je vois qu'il a l'habitude de modifier
/etc/resolv.conf .


Comme la plupart des programmes qui reçoivent des configurations DNS 
(pppd, clients DHCP...). En l'absence de juge de paix comme resolvconf 
pour centraliser, c'est le dernier qui écrit dans /etc/resolv.conf qui 
gagne.



J'ignore pourquoi, l'installeur m'a cette fois ci installé ce daemon (pour
mon bien, sans doute) et ajouté de l'IPv6.


Probablement parce qu'il a détecté des annonces de routeur IPv6 (RA).
Cette action est nécessaire dans le cas où seule une connectivité IPv6 
serait disponible.



Pour bien faire, il faudrait que je sache comment revenir à une situation
antérieure (suppression de paquets et configurations inutiles) et que je me
documente sur les gains apportés par ces deux nouveautés.


Oui, il faudrait.


Pour ma part, j'ai:
- arrêté rdnssd et supprimé son paquet,
- supprimé l'autoconfiguration IPv6
- re-démarré


Alors qu'il suffisait d'installer resolvconf.



Re: cannot use debian because of too many problems...

2016-04-16 Thread Aero Maxx

On 16/04/2016 20:49, Bob Holtzman wrote:

On Sat, Apr 16, 2016 at 09:22:24AM +, Arnoud van der Veer wrote:


Too many problems for me I must say! For a normal pc user this is not a good
alternative for using Windows. Windows costs money, yes, but I have never, ever
encountered so many problems on a pc running on Windows in comparison to a pc
running on Debian! This is more for a programmer; not for a user who has to get
some work done in a reliable manner!

How would you account for the many thousands of users who are
successfully using debian and getting "work done in a reliable
manner"? Believe me they're not all programmers. I'm a living example.



Debian is not all that bad, if your finding it so hard why noy give 
ubuntu a try, it's still debian based and perhaps you can come

back to debian when you are a bit more clued up on how it works and so on.

Also I'm in the processing of switching from fedora to debian, but not 
because I don't like fedora as I do I just find that I seem
to need to upgrade between version quite often and debian seems to 
support their versions a lot longer, and don't release new
versions that often, this is purely based on the fact that debian is 
still in single digits.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: cannot use debian because of too many problems...

2016-04-16 Thread Bob Holtzman
On Sat, Apr 16, 2016 at 09:22:24AM +, Arnoud van der Veer wrote:

> Too many problems for me I must say! For a normal pc user this is not a good
> alternative for using Windows. Windows costs money, yes, but I have never, 
> ever
> encountered so many problems on a pc running on Windows in comparison to a pc
> running on Debian! This is more for a programmer; not for a user who has to 
> get
> some work done in a reliable manner! 

How would you account for the many thousands of users who are
successfully using debian and getting "work done in a reliable
manner"? Believe me they're not all programmers. I'm a living example.

-- 
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: [OFF TOPIC] Oportunidade de trabalho salário R$3.392

2016-04-16 Thread Alexandre

Boa tarde;

Acho que está se contradizendo, onde diz:

 "Explico: sistemas proprietários precisam de muitos operadores de baixa 
produtividade, portanto baratos, enquanto sistemas livres podem ser operados, geridos, 
desenvolvidos porpoucos bons profissionais,  de alta produtividade, portanto caros"

Culpar a incompetência do sistema livre de atender os usuários em 
sua plenitude, depreciado sistemas proprietários para justificar é 
absurdo! E uma forma de cercear a liberdade, ser livre também significar 
aderir software proprietário.


Se o mercado fosse imundado pelos "sobrinhos do cunhado", como diz, 
não existiria mercado. A maioria sendo incompetente não seria produtivo, 
como empreendedor , eu afirmo categoricamente busco maximizar meu ganhos 
e acredito que os demais colegas empreendedores e empresários pensem o 
mesmo.


O pseudo-profissional de T.I. é realente profissional? Veja ele vai 
cumprir horários, datas, prazos, cronograma, vai atuar de forma 
profissional sendo responsável, detém formação técnica, modos, educação, 
cultura?


O "formatador" não é profissional de T.I. e se perde mercado para 
ele deve repensar se você o é, pois se os "sobrinhos o afetam" reveja 
seus conceitos de profissional.


Sobre salário também é um equivoco, instrutor Microsoft que 
Gnu/Linux,   a hora aula paga é maior para o software proprietário que 
para o software livre(acredito que seja assim no país inteiro)


Quem prostitui o mercado, é o empregador que paga o quanto pode ou 
acha que vale ou pseudo-profissional que aceita uma ninharia? Se vou 
fazer uma obra em minha residência faço um orçamento, ambos sendo 
indicados, faço com o mais barato, caso eu argumente que não tenho 
dinheiro e resolvam dar desconto isso não é prostituição?


Recentemente orcei a pintura de minha residência, Rio de Janeiro 
Capital, Méier, apartamento de 2 quartos 57m² em agosto de 2015.


Recebi duas propostas: R$ 4000,00 e R$ 3900,00 respectivamente eu 
dando os materiais, agradeci e informei que não teria como arcar com as 
despesas, os mesmo desligaram na minha cara, dizendo quando tiver liga 
(Eu entendi não me faça perder meu tempo)


O tempo passou, esse ano um deles em ligou falo que por gentileza 
(Caridade não? 50% off) faria por R$ 2000,00, eu agradeci e disse que 
não dispunha do dinheiro no momento.


 Eu mesmo já tinha pintado, gastei  R$ 1200,00 de material, com tintas, 
para porta, teto, rodapé, paredes, e todos os outros insumos e 
ajudante), ele ficou nervoso(Deu para notar no telefone, não falou nada 
e desligou) em Março me ligou dizendo que queira fazer o serviço (Um 
doce, se fosse mulher eu sendo solteiro eu cantaria),


 Eu disse que sim (Ok, sou filho da puta, mas detesto gente grosseira, 
isso é jeito de tratar o cliente? Sou pobre filho de pai torneiro 
mecânico e mãe dona de casa (Tenho muito orgulho disso) ,me fudi muito 
para chegar onde estou e meu complexo de inferioridade pesa aqui)


 Ele falou no ato R$ 1000,00 e depois de tudo pronto outros R$ 1000,00, 
quando ele poderia começar, eu repeti, não tenho o dinheiro no momento, 
infelizmente disponho de recursos para pagar seus honorários, ele foi e 
falou quanto pode pagar? Eu disse que não tinha entendido direito , ele 
repetiu quanto pode pagar,


Disse que R$ 500,00, ele falou não que era pouco e desligou.

No final de março ele ligou e disse que faria por R$ 500,00 que ia 
começar segunda de manhã, eu disse que não tinha mais o dinheiro que 
devido a crise que precisei fazer um aporte em um do meus investimentos 
(O plano de saúde do meu pais aumentaram) e gastei metade do valor, eu 
me despedi e quando fui desligar ele falou eu faço!


Eu faço por R$ 250,00, isso quase chorando no telefone (Fiquei com pena 
admito).


Dei o endereço de um amigo em que ele pintou sozinho por R$ 250,00 (Eu 
coloquei R$ 250,00 mais passagem, ficou melhor que o meu, se soubesse 
tinha pago para ele repintar o meu).


Conversando com ele descobri que era da COMPERJ e que fora demitido, 
pela crise da Petrobras, que lá tirava mais de R$ 3000,00 por mês.


Disse que esta desesperado com dívidas para pagar e bla, bla bla..

Onde quero chegar com isso? Eu fui mal, opressor de pagar míseros R$ 
250,00 ?


Ou ele prostitui a profissão dele por ofertar esse valor?

Ele que foi irresponsável com o dinheiro, ganhando muito mais do que o 
mercado paga(Como autônomo raro alguém ganhar mais de R$ 2000,00) E ao 
invés de economizar e investir, gastou de forma irresponsável (Detalhe 
ele foi de carro, um Corsa)?


Eu que a vida todo fui ajuizado, passei privações para poder ter algo, 
mas resolvi converter todo o capital em um empreendimento e correr todos 
os riscos, sou o culpado de querer ter o retorno o mais rápido possível, 
pagando o menos possível?


Software proprietário é mais fácil de usar e mais convidativo e em 
alguns casos mais escalar, em poucos cliques eu monto um servidor com AD 
+ DHCP + DNS, ainda amarro o DNS ao 

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Andy Smith
Hi Matthias,

On Sat, Apr 16, 2016 at 08:15:43PM +0200, Matthias Bodenbinder wrote:
> I am using Mint LMDE2 with debian backports. So I do have kernel 
> 4.4+71~bpo8+1 running.
> btrfs tools are from debian stable, which has version 3.17. I am wondering if 
> it would make sense to also get the tools from the backports repo which has 
> version 4.4-1~bpo8+1. 
> 
> I understand from your message that I should do that. Right?

You definitely need btrfs-tools newer than 3.17 owing to a number of
bugs that have been fixed. In your position if I was running a
kernel from backports then I would also want btrfs-tools from
backports, yes.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread listascor...@msjs.co

El 16/04/16 a las 12:49, fernando sainz escribió:

El día 16 de abril de 2016, 16:22, Debia Linux  escribió:

Listeros:

Como les he comentado, ahora tengo mucho trabajo y tengo que ir
solucionando todo "al mismo tiempo".

Les explico... Ahora me trajeron una maquina con Windows 10, de esas
maquinas que te piden el derecho de espiarte mediante la cam y todo lo
que escribes en el teclado, pero que por negligencia las personas "NO
LEEN".

Bien, no habia tenido la oportunidad de trabajar con sistemas de 64
bits, de hecho funcionan a la perfeccion todas las de 32 bits que
tenemos en el trabajo (todas excepto una en windows 7 y que es de 32
bits).

Me trajeron una Lenovo Ideapad 100 , con arquitectura x86 a 64 b.

Lo primero que pense es que no podia funcionar con una arquitectura
i386 (supongo) asi que descargue Debian para arquitectura amd64 y no
pude instalar nada, despues trate de instalar Debian para arquitectura
i386 pense que el error era mio, pero tampoco lo logre.

[OFF TOPIC] A breviario cultural (para quienes quieren usar una Lenovo
del mismo modelo) puedo decir que para cambiar el boot de arranque
solo tienen que presionar la tecla FN+F2.

Regresando al tema, esto nunca me habia pasado, sin embargo mi mente
prehistorica me recordo que Microsoft habia hecho algo un acuerdo con
los fabricantes de hardware (algunos) para que solo su sistema
funcionara y ninguno mas.

Asi que comence a buscar y encontre que efectivamente tiene que ver
con el sistema de particiones UEFI o EFI. Que usan una particion de
200Mb para bootear solo con Windows y no reconocer ningun otro sistema
operativo.

Y como ya es costumbre... ¡¡¡Eliminaremos Windows!!! y lo vamos a hacer.

Ahora vienen las preguntas.

¿Que arquitectura Debian uso? ¿La arquitectura x86 es lo mismo que
Debian amd64? ¿Puedo instalar Debian i386?.

¿Como hago para formatear y eliminar todas las particiones del disco
duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
la USB?.

Agradezco siempre sus finas atenciones.

Gracias

Debianeromx



Todavía no me he topado con equipos UEFI, pero para instalar no vale
cualquier imagen.
Mira en :https://wiki.debian.org/UEFI

UEFI support in live images

At this point, UEFI support exists only in Debian's installation
images. The accompanying live images do not have support for UEFI
boot, as the live-build software used to generate them still does not
include it. Hopefully the debian-live developers will add this
important feature soon.


S2.



Por descarte, pon todas las opciones de la bios por defecto y luego haz 
los cambios.
o si tienes los conocimientos, saca el DD del portatil. ponlo en otro e 
instala.


Saludos;



Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
Hello Andy,

I am trying to stay with newest versions as long as it does not jeopardize 
stability.

I am using Mint LMDE2 with debian backports. So I do have kernel 4.4+71~bpo8+1 
running.
btrfs tools are from debian stable, which has version 3.17. I am wondering if 
it would make sense to also get the tools from the backports repo which has 
version 4.4-1~bpo8+1. 

I understand from your message that I should do that. Right?

Matthias


4.4+71~bpo8+1

Am 16.04.2016 um 19:57 schrieb Andy Smith:
> Hello,
> 
> On Sat, Apr 16, 2016 at 01:35:20PM +0200, Luis Felipe Tabera Alonso wrote:
>> Still btrfs is quite young, I am not sure if there are serious issues in 
>> 3.17, 
>> I would make some experiments before actual use.
> 
> If you are going to use btrfs I would consider it essential to be
> subscribed to the linux-btrfs mailing list. You will also need to
> use a much newer kernel than 3.17, and you will need to commit to
> continuing to use newer kernels for some time yet.
> 
> I mention this because you need to be aware that you may still hit
> issues where you need the help of linux-btrfs and that there is a
> need to use newer kernels than you will find packaged in Debian
> stable.
> 
> I do myself run btrfs at home and I thought I had a stable
> combination of kernel version and userland tools (btrfs-tools), but
> when I came to need to replace a dead device I found that subsequent
> developments in btrfs meant I needed a newer btrfs-tools, and that
> in turn meant I needed a newer kernel.
> 
> If the idea of having to upgrade kernel and some userland tools in
> order to recover from a simple situation of a dead device does not
> appeal to you then btrfs may not yet be for you. Things like this
> are why I do not yet run it in production.
> 
> Cheers,
> Andy
> 




Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
You are right. I did the same test with dd. It took a while ;-)

23# dd if=/dev/zero of=file.zero
dd: Schreiben in „file.zero“: Auf dem Gerät ist kein Speicherplatz mehr 
verfügbar
1462670786+0 Datensätze ein
1462670785+0 Datensätze aus
748887441920 Bytes (749 GB) kopiert, 14831,9 s, 50,5 MB/s

24# ll -h
insgesamt 698G
-rw-r--r-- 1 root root 698G Apr 16 20:03 file.zero

Thank you for helping me!

Matthias



Am 16.04.2016 um 13:35 schrieb Luis Felipe Tabera Alonso:
> On sábado, 16 de abril de 2016 12:05:05 (CEST) Matthias Bodenbinder wrote:
>  
>> 38# df -h /mnt/test/
>> Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
>> /dev/sdg 699G 17M 466G 1% /mnt/test
> 
> df is not reliable for btrfs raids, it is better to use btrfs fi df to check 
> actual used space.
> 
> Using btrfs-tools and kernel from sid (4.4):
> 
> root@mychabol:/mnt/temporal# dd if=/dev/zero of=disk1 bs=1 count=0 seek=750M
> root@mychabol:/mnt/temporal# dd if=/dev/zero of=disk2 bs=1 count=0 seek=500M
> root@mychabol:/mnt/temporal# dd if=/dev/zero of=disk3 bs=1 count=0 seek=250M
> 
> root@mychabol:/mnt/temporal# mkfs.btrfs -f -draid1 -mraid1 disk1 disk2 disk3
> btrfs-progs v4.4
> See http://btrfs.wiki.kernel.org for more information.
> 
> Label:  (null)
> UUID:   4fbfda48-3a10-4e1b-92d8-96be759c2a8c
> Node size:  16384
> Sector size:4096
> Filesystem size:1.46GiB
> Block group profiles:
>   Data: RAID183.00MiB
>   Metadata: RAID183.00MiB
>   System:   RAID112.00MiB
> SSD detected:   no
> Incompat features:  extref, skinny-metadata
> Number of devices:  3
> Devices:
>IDSIZE  PATH
> 1   750.00MiB  disk1
> 2   500.00MiB  disk2
> 3   250.00MiB  disk3
> 
> root@mychabol:/mnt/temporal# losetup /dev/loop0 disk1
> root@mychabol:/mnt/temporal# losetup /dev/loop1 disk2
> root@mychabol:/mnt/temporal# losetup /dev/loop2 disk3
> 
> root@mychabol:/mnt/temporal# mkdir test
> root@mychabol:/mnt/temporal# mount /dev/loop0 test
> 
> root@mychabol:/mnt/temporal# btrfs fi df test/
> Data, RAID1: total=75.00MiB, used=0.00B
> System, RAID1: total=8.00MiB, used=16.00KiB
> Metadata, RAID1: total=75.00MiB, used=112.00KiB
> GlobalReserve, single: total=16.00MiB, used=0.00B
> 
> root@mychabol:/mnt/temporal# df -h test/
> S.ficheros Tamaño Usados  Disp Uso% Montado en
> /dev/loop0   750M17M  491M   4% /mnt/temporal/test
> 
> Like in your case, df thinks that there are only 491M usable. However, if I 
> try to fill the volume
> 
> root@mychabol:/mnt/temporal# cd test/
> root@mychabol:/mnt/temporal/test# dd if=/dev/zero of=file.zero
> dd: escribiendo en 'file.zero': No queda espacio en el dispositivo
> 1345402+0 registros leídos
> 1345401+0 registros escritos
> 688845312 bytes (689 MB, 657 MiB) copied, 3,10508 s, 222 MB/s
> 
> root@mychabol:/mnt/temporal/test# ls -lh
> total 657M
> -rw-r--r-- 1 root root 657M abr 16 13:24 file.zero
> root@mychabol:/mnt/temporal/test# df -h .
> S.ficheros Tamaño Usados  Disp Uso% Montado en
> /dev/loop0   750M   674M   64K 100% /mnt/temporal/test
> 
> With the 75M of metadata, you can check that this fills the three devices. 
> Moreover
> 
> root@mychabol:/mnt/temporal/test# rm file.zero 
> root@mychabol:/mnt/temporal/test# df -h .
> S.ficheros Tamaño Usados  Disp Uso% Montado en
> /dev/loop0   750M17M  657M   3% /mnt/temporal/test
> 
> Try to do the same to see if df gets more accurate.
> 
> Still btrfs is quite young, I am not sure if there are serious issues in 
> 3.17, 
> I would make some experiments before actual use.
> 
> Bests
> 
> Luis
> 
> 




Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Thomas Schmitt
Hi,

Gene Heskett wrote:
> if [[ ${InMail} = 'gene' ]]

test(1) is supposed to be portable

  if test "${InMail}" = 'gene'


> There are too many places where a conditional would be needed

The classic way is to use only gestures which are supported by the
Bourne shell and to avoid certain peculiarities of some shells.
In ./configure scripts of source packages one can see gestures
like

  if test "x${InMail}" = xgene

which avoids to compare empty variable content.

See also
  
https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Portable-Shell.html


Have a nice day :)

Thomas



Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread David Christensen

On 04/16/2016 12:00 AM, Matthias Bodenbinder wrote:

I have 3 hard drive with 750 GB, 500 GB and 250 GB. I want to use btrfs as 
filesystem. This will be my first test installation of btrfs.

My target is to get redundancy as well as a 750 GB data capacity. So I was 
thinking to create a raid0 with the 500 and 250 GB drive. This would result in 
a raid0 with 750 GB capacity. I want to add this raid0 as a mirror in a raid1 
with the other 750 GB drive.

But how do I do that?


250 GB HDD + 500 GB HDD can yield:
- 250 GB RAID0,
- 250 GB RAID1, or
- 750 GB JBOD.

To get 750 GB RAID0 or 750 GB RAID1, you need two 750 GB devices.


As other posters have mentioned, btrfs is fairly new on Linux and 
Debian.  I run Oldstable (Wheezy), and btrfs seems to mostly work as a 
file system (OOTB, btrfs root works, but GRUB can't read btrfs /boot). 
You may have to run a newer Debian and/or a newer kernel to get a btrfs 
with volume management and/or better Debian integration.



LVM has been stable on Debian for many years.  I used it in the past to 
create a 250 GB HDD + 250 GB HDD + 300 GB HDD => 800 GB JBOD, so LVM can 
certainly create a 250 GB HDD + 500 GB HDD => 750 GB JBOD.  I assume LVM 
can also create a 750 GB HDD + 750 GB JBOD => 750 GB RAID1.  The 
challenge would be setting everything up so that the 750 GB RAID1 comes 
up automagically at boot and tears down cleanly at shutdown.



mdadm is another stable technology that could work in your case.


David



Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Andy Smith
Hello,

On Sat, Apr 16, 2016 at 01:35:20PM +0200, Luis Felipe Tabera Alonso wrote:
> Still btrfs is quite young, I am not sure if there are serious issues in 
> 3.17, 
> I would make some experiments before actual use.

If you are going to use btrfs I would consider it essential to be
subscribed to the linux-btrfs mailing list. You will also need to
use a much newer kernel than 3.17, and you will need to commit to
continuing to use newer kernels for some time yet.

I mention this because you need to be aware that you may still hit
issues where you need the help of linux-btrfs and that there is a
need to use newer kernels than you will find packaged in Debian
stable.

I do myself run btrfs at home and I thought I had a stable
combination of kernel version and userland tools (btrfs-tools), but
when I came to need to replace a dead device I found that subsequent
developments in btrfs meant I needed a newer btrfs-tools, and that
in turn meant I needed a newer kernel.

If the idea of having to upgrade kernel and some userland tools in
order to recover from a simple situation of a dead device does not
appeal to you then btrfs may not yet be for you. Things like this
are why I do not yet run it in production.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread fernando sainz
El día 16 de abril de 2016, 16:22, Debia Linux  escribió:
> Listeros:
>
> Como les he comentado, ahora tengo mucho trabajo y tengo que ir
> solucionando todo "al mismo tiempo".
>
> Les explico... Ahora me trajeron una maquina con Windows 10, de esas
> maquinas que te piden el derecho de espiarte mediante la cam y todo lo
> que escribes en el teclado, pero que por negligencia las personas "NO
> LEEN".
>
> Bien, no habia tenido la oportunidad de trabajar con sistemas de 64
> bits, de hecho funcionan a la perfeccion todas las de 32 bits que
> tenemos en el trabajo (todas excepto una en windows 7 y que es de 32
> bits).
>
> Me trajeron una Lenovo Ideapad 100 , con arquitectura x86 a 64 b.
>
> Lo primero que pense es que no podia funcionar con una arquitectura
> i386 (supongo) asi que descargue Debian para arquitectura amd64 y no
> pude instalar nada, despues trate de instalar Debian para arquitectura
> i386 pense que el error era mio, pero tampoco lo logre.
>
> [OFF TOPIC] A breviario cultural (para quienes quieren usar una Lenovo
> del mismo modelo) puedo decir que para cambiar el boot de arranque
> solo tienen que presionar la tecla FN+F2.
>
> Regresando al tema, esto nunca me habia pasado, sin embargo mi mente
> prehistorica me recordo que Microsoft habia hecho algo un acuerdo con
> los fabricantes de hardware (algunos) para que solo su sistema
> funcionara y ninguno mas.
>
> Asi que comence a buscar y encontre que efectivamente tiene que ver
> con el sistema de particiones UEFI o EFI. Que usan una particion de
> 200Mb para bootear solo con Windows y no reconocer ningun otro sistema
> operativo.
>
> Y como ya es costumbre... ¡¡¡Eliminaremos Windows!!! y lo vamos a hacer.
>
> Ahora vienen las preguntas.
>
> ¿Que arquitectura Debian uso? ¿La arquitectura x86 es lo mismo que
> Debian amd64? ¿Puedo instalar Debian i386?.
>
> ¿Como hago para formatear y eliminar todas las particiones del disco
> duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
> la USB?.
>
> Agradezco siempre sus finas atenciones.
>
> Gracias
>
> Debianeromx
>

Todavía no me he topado con equipos UEFI, pero para instalar no vale
cualquier imagen.
Mira en :https://wiki.debian.org/UEFI

UEFI support in live images

At this point, UEFI support exists only in Debian's installation
images. The accompanying live images do not have support for UEFI
boot, as the live-build software used to generate them still does not
include it. Hopefully the debian-live developers will add this
important feature soon.


S2.



Re: Installing tt-rss

2016-04-16 Thread Jochen Spieker
Rainer Dorsch:
> Hi,
> 
> I tried to install tt-rss on a stretch system. During the configuration of tt-
> rss, debconf asks for a username and a password confirmation for the tt-rss 
> database ... but it never asked for the password itself.
> 
> /usr/share/doc/tt-rss/README.* does also not give more insight.
> 
> Did anybody manage to setup tt-rss using the debconf and dbconfig-common ?

I am running the Git version, but used the Debian package previously as
well. I think what you are looking for can be found in
/etc/tt-rss*/database.php. Why debconf didn't ask for it in the first
place, I don't know. You can retry using 'dpkg-reconfigure tt-rss'.

J.
-- 
All participation is a myth.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Linux-Fan
[Sat, 16 Apr 2016 13:07:38 -0400] Gene Heskett 
wrote:
> On Saturday 16 April 2016 12:44:55 Sven Joachim wrote:
> >
> > https://wiki.ubuntu.com/DashAsBinSh has some information how to make
> > scripts portable.  The checkbashisms command in the devscripts
> > package can help you detect common non-portable constructions in
> > your scripts.
> >
> > Cheers,
> >Sven
> 
> A bookmarked now, much better explanatory link, thank you Sven.

In addition, I recommend consulting the standard whenever doubt arises:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html

... because there is a lot of outdated information on what is POSIX and
what is not. Fortunately, The Ubuntu Wiki link given above seems to be
OK.

> I think for my stuff, I should export the value of /bin/sh, write a 
> wrapper script to determine what /bin/sh is, and run the correct
> script to get the identical wanted functionality based on the value
> of the export.  There are too many places where a conditional would
> be needed so it would use command A or command B, and thats going to
> slow it down much more than just re-writing it into 2 scripts and
> running the correct one w/o all that gingerbread & bloat.

[...]

As far as I understand, just about all scripts which work under dash
also work under bash without changes. If your script is compatible
with dash, it does not need to check if it is running under bash,
because that will ``just work''. This means: If you do the work to port
the scripts to dash, you will likely not have to maintain a separate
version for bash.

HTH
Linux-Fan

-- 
http://masysma.lima-city.de/


pgpwdcEL3xOBz.pgp
Description: OpenPGP digital signature


Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
2016-04-16 12:15 GMT-05:00 listascor...@msjs.co :
> El 16/04/16 a las 09:22, Debia Linux escribió:
>
>> Listeros:
>>
>> Como les he comentado, ahora tengo mucho trabajo y tengo que ir
>> solucionando todo "al mismo tiempo".
>>
>> Les explico... Ahora me trajeron una maquina con Windows 10, de esas
>> maquinas que te piden el derecho de espiarte mediante la cam y todo lo
>> que escribes en el teclado, pero que por negligencia las personas "NO
>> LEEN".
>>
>> Bien, no habia tenido la oportunidad de trabajar con sistemas de 64
>> bits, de hecho funcionan a la perfeccion todas las de 32 bits que
>> tenemos en el trabajo (todas excepto una en windows 7 y que es de 32
>> bits).
>>
>> Me trajeron una Lenovo Ideapad 100 , con arquitectura x86 a 64 b.
>>
>> Lo primero que pense es que no podia funcionar con una arquitectura
>> i386 (supongo) asi que descargue Debian para arquitectura amd64 y no
>> pude instalar nada, despues trate de instalar Debian para arquitectura
>> i386 pense que el error era mio, pero tampoco lo logre.
>>
>> [OFF TOPIC] A breviario cultural (para quienes quieren usar una Lenovo
>> del mismo modelo) puedo decir que para cambiar el boot de arranque
>> solo tienen que presionar la tecla FN+F2.
>>
>> Regresando al tema, esto nunca me habia pasado, sin embargo mi mente
>> prehistorica me recordo que Microsoft habia hecho algo un acuerdo con
>> los fabricantes de hardware (algunos) para que solo su sistema
>> funcionara y ninguno mas.
>>
>> Asi que comence a buscar y encontre que efectivamente tiene que ver
>> con el sistema de particiones UEFI o EFI. Que usan una particion de
>> 200Mb para bootear solo con Windows y no reconocer ningun otro sistema
>> operativo.
>>
>> Y como ya es costumbre... ¡¡¡Eliminaremos Windows!!! y lo vamos a hacer.
>>
>> Ahora vienen las preguntas.
>>
>> ¿Que arquitectura Debian uso? ¿La arquitectura x86 es lo mismo que
>> Debian amd64? ¿Puedo instalar Debian i386?.
>>
> descarga
> http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-netinst.iso
>
>> ¿Como hago para formatear y eliminar todas las particiones del disco
>> duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
>> la USB?.
>>
> para formatear y eliminar todas las particiones del disco hazlo desde la
> instalación iso.
> para  la USB, en la Bios ponlo en legacy y en el orden de boteo pon usb
> primero.

Eso estoy haciendo, pero no he podido. Deberia ser una tarea por demas
sencilla, pero se me esta complicando.

He bajado varias distros y las hago ejecutables en una memoria USB
para que se booteen, he bajado Knoppix, gparted (en Knoppix) ahora
estoy intentado con Xubuntu para tener un USB-Live y eliminar las
particiones y pasarlas a MBR y posteriormente meter otra USB y
comenzar a instalar DEBIAN.

En la Bios tengo la opcion Legacy como primera opcion para leer la
memoria, pero aun asi no logro hacer que funcione.



>
>
>> Agradezco siempre sus finas atenciones.
>>
>> Gracias
>>
>> Debianeromx
>>
>>
> 6
>



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
2016-04-16 11:56 GMT-05:00 Debia Linux :
> 2016-04-16 11:27 GMT-05:00 Santiago José López Borrazás :
>> El 16/04/16 a las 18:24, Debia Linux escribió:
>>> Si, ya lo hice, de hecho si arranca knopixx pero se queda en modo
>>> consola e intente ejecutar el comando cfdisk y gparted y me lanza
>>> mensaje NOT FOUND
>>
>> Cuando te dice eso, ¿has hecho 'su -' y luego 'apt-get install cfdisk'?
>
> De hecho todos los comandos me dice NOT FOUND
> Cuando quiero ingresar como root ejecuto su y UNKNOWN ID: root

De hecho cuando comienza a "cargar" comienza a aparecer rapidamente

Buscando sistema Knoppix /dev/sda1
Buscando sistema Knoppix /dev/sda2
Buscando sistema Knoppix /dev/sda3
Buscando sistema Knoppix /dev/sda4

Y lo repite como 10 veces y entonces aparece la consola...


>
>>
>> --
>> Saludos de Santiago José López Borrazás.
>>



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread listascor...@msjs.co

El 16/04/16 a las 09:22, Debia Linux escribió:

Listeros:

Como les he comentado, ahora tengo mucho trabajo y tengo que ir
solucionando todo "al mismo tiempo".

Les explico... Ahora me trajeron una maquina con Windows 10, de esas
maquinas que te piden el derecho de espiarte mediante la cam y todo lo
que escribes en el teclado, pero que por negligencia las personas "NO
LEEN".

Bien, no habia tenido la oportunidad de trabajar con sistemas de 64
bits, de hecho funcionan a la perfeccion todas las de 32 bits que
tenemos en el trabajo (todas excepto una en windows 7 y que es de 32
bits).

Me trajeron una Lenovo Ideapad 100 , con arquitectura x86 a 64 b.

Lo primero que pense es que no podia funcionar con una arquitectura
i386 (supongo) asi que descargue Debian para arquitectura amd64 y no
pude instalar nada, despues trate de instalar Debian para arquitectura
i386 pense que el error era mio, pero tampoco lo logre.

[OFF TOPIC] A breviario cultural (para quienes quieren usar una Lenovo
del mismo modelo) puedo decir que para cambiar el boot de arranque
solo tienen que presionar la tecla FN+F2.

Regresando al tema, esto nunca me habia pasado, sin embargo mi mente
prehistorica me recordo que Microsoft habia hecho algo un acuerdo con
los fabricantes de hardware (algunos) para que solo su sistema
funcionara y ninguno mas.

Asi que comence a buscar y encontre que efectivamente tiene que ver
con el sistema de particiones UEFI o EFI. Que usan una particion de
200Mb para bootear solo con Windows y no reconocer ningun otro sistema
operativo.

Y como ya es costumbre... ¡¡¡Eliminaremos Windows!!! y lo vamos a hacer.

Ahora vienen las preguntas.

¿Que arquitectura Debian uso? ¿La arquitectura x86 es lo mismo que
Debian amd64? ¿Puedo instalar Debian i386?.

descarga 
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-netinst.iso



¿Como hago para formatear y eliminar todas las particiones del disco
duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
la USB?.

para formatear y eliminar todas las particiones del disco hazlo desde la 
instalación iso.
para  la USB, en la Bios ponlo en legacy y en el orden de boteo pon usb 
primero.




Agradezco siempre sus finas atenciones.

Gracias

Debianeromx



6



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Aero Maxx

On 16/04/2016 17:45, Gene Heskett wrote:

On Saturday 16 April 2016 12:01:28 Aero Maxx wrote:


On 16/04/2016 16:23, Gene Heskett wrote:

But when I run it with dash, it doesn't seem to work right, and
spams the terminal with its error messages.  One that appears to
kill its function is the bashism of using [[ ]] to surround string
variables, reported like this:
bin/mailwatcher: 64: bin/mailwatcher: [[: not found
bin/mailwatcher: 70: bin/mailwatcher: [[: not found
bin/mailwatcher: 77: bin/mailwatcher: [[: not found

dash isn't the same as bash, as it has a limited set of instructions
or commands it can do.

But I too would be interested to know if it is possible to get it to
work in dash, I don't believe it is, but I am happy to be corrected
or proved wrong.


And finally, once its working with either shell, how do I shut it up
totally?  Even the above command line launch fails as it outputs to
that shell, a newline for every incoming mail which gradually
scrolls any output that was on-screen, offscreen without leaving a
prompt until I tap the return key to restore it.

Also isn't the command you are running supposed to be as follows ?


bin/mailwatcher 2>&1 > /dev/null &


Is the space you inserted into my line between the > and the /dev/null a
game changer? In either bash or dash?  Its been a while since I last
read the bash docs, but I don't recall there was any emphasis on that.

I'm sorry I was a bit too eager to reply and neglected to change what I 
had pasted in.


I meant to say could you try this


bin/mailwatcher > /dev/null 2>&1 &


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: leitor de pdf

2016-04-16 Thread Thiago
Ok.
> por exemplo, ele gostaria de marcar texto no pdf. sugestões?
> Por favor, evitem responder no topo.

Eu deixo para os usuários o Atril, é simples e bastante funcional. Leve
e rápido, com . Mas não sei se tem recurso de marcar texto, acho que não.

Você, sendo o mantenedor dele, ou ele mesmo, poderia fazer o comando no
terminal
$ sudo apt-cache search pdf reader

Ou
$ sudo apt-cache search pdf read

Tem um programa chamado LateX que pode colocar caracteres diferentes? Eu
não conheço, mas se ele faz algumas coisa, pode fazer outras e nós aqui
técnicos não sabemos, porque não utilizamos o LateX.

Marca-texto? É um recurso interessante para implementar. Basta que mais
de nós saibamos fazer isso, esforço há, talvez a maior dificuldade de
usuários seja ter alguém próximo para compartilhar conhecimentos, como
faço, mas os vídeos do Eriberto tem sido úteis para isso.



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 12:44:55 Sven Joachim wrote:
>
> https://wiki.ubuntu.com/DashAsBinSh has some information how to make
> scripts portable.  The checkbashisms command in the devscripts package
> can help you detect common non-portable constructions in your scripts.
>
> Cheers,
>Sven

A bookmarked now, much better explanatory link, thank you Sven.

I think for my stuff, I should export the value of /bin/sh, write a 
wrapper script to determine what /bin/sh is, and run the correct script 
to get the identical wanted functionality based on the value of the 
export.  There are too many places where a conditional would be needed 
so it would use command A or command B, and thats going to slow it down 
much more than just re-writing it into 2 scripts and running the correct 
one w/o all that gingerbread & bloat.

I have at least 3 background helper scripts, all of which would need to 
be fixed for the diffs.

However, I'll go on record as opposing any motions to remove bash, the 
old man on the mountain of cli shells still gets the job done.

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 



Re: [OFF TOPIC] Oportunidade de trabalho salário R$3.392

2016-04-16 Thread Leandro Guimarães Faria Corcete DUTRA
Le 16 avril 2016 08:49:46 GMT-03:00, Paulo  a écrit :
>
>Quando se tem que ir todos os dias e cumprir horário isto chama-se CLT
>e cabe processo com alta chance de ganhar.

O problema é que poucos de nós o fazemos.

Agora, para tentar melhorar o nível e trazer de volta para sistemas livres, o 
problema é típico de uma mentalidade de sistemas proprietários.  Explico: 
sistemas proprietários precisam de muitos operadores de baixa produtividade, 
portanto baratos, enquanto sistemas livres podem ser operados, geridos, 
desenvolvidos por poucos bons profissionais, de alta produtividade, portanto 
caros.   O mau profissional não tem muita vez com sistemas livres, porque o 
usuário pode ele mesmo fazer trabalho meia-boca.  Além disso, desde a época dos 
sistemas de grande porte da IBM e similares, os sistemas proprietários 
favorecem a dinâmica de rede (conceito econômico, não tecnológico), em que o 
uso de algo ruim, mas popular, desloca e até previne o uso de algo melhor.

Se tivéssemos uma formação melhor, a começar pela cultura familiar, passando 
por todo o sistemas escolar até chegar aos cursos técnicos e superiores, não 
haveria essa verdadeira prostituição onde se contrata o sobrinho do cunhado 
para dar um tapa, o que acaba deprimindo o mercado em todos os sentidos, desde 
o valor recebido pelos usuários até os salários oferecidos pelos empregadores.  
E sistemas livres seriam uma opção mais fácil, possivelmente hegemônica.



-- 
skype:leandro.gfc.dutra?chat  Yahoo!: ymsgr:sendIM?lgcdutra
+55 (61) 3546 7191 (Net)gTalk: xmpp:leand...@jabber.org
+55 (61) 9302 2691 (Vivo) ICQ/AIM: aim:GoIM?screenname=61287803
BRAZIL GMT−3  MSN: msnim:chat?contact=lean...@dutra.fastmail.fm



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
2016-04-16 11:27 GMT-05:00 Santiago José López Borrazás :
> El 16/04/16 a las 18:24, Debia Linux escribió:
>> Si, ya lo hice, de hecho si arranca knopixx pero se queda en modo
>> consola e intente ejecutar el comando cfdisk y gparted y me lanza
>> mensaje NOT FOUND
>
> Cuando te dice eso, ¿has hecho 'su -' y luego 'apt-get install cfdisk'?

De hecho todos los comandos me dice NOT FOUND
Cuando quiero ingresar como root ejecuto su y UNKNOWN ID: root

>
> --
> Saludos de Santiago José López Borrazás.
>



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 12:01:28 Aero Maxx wrote:

> On 16/04/2016 16:23, Gene Heskett wrote:
> > But when I run it with dash, it doesn't seem to work right, and
> > spams the terminal with its error messages.  One that appears to
> > kill its function is the bashism of using [[ ]] to surround string
> > variables, reported like this:
> > bin/mailwatcher: 64: bin/mailwatcher: [[: not found
> > bin/mailwatcher: 70: bin/mailwatcher: [[: not found
> > bin/mailwatcher: 77: bin/mailwatcher: [[: not found
>
> dash isn't the same as bash, as it has a limited set of instructions
> or commands it can do.
>
> But I too would be interested to know if it is possible to get it to
> work in dash, I don't believe it is, but I am happy to be corrected
> or proved wrong.
>
> > And finally, once its working with either shell, how do I shut it up
> > totally?  Even the above command line launch fails as it outputs to
> > that shell, a newline for every incoming mail which gradually
> > scrolls any output that was on-screen, offscreen without leaving a
> > prompt until I tap the return key to restore it.
>
> Also isn't the command you are running supposed to be as follows ?
>
> > bin/mailwatcher 2>&1 > /dev/null &
>
Is the space you inserted into my line between the > and the /dev/null a 
game changer? In either bash or dash?  Its been a while since I last 
read the bash docs, but I don't recall there was any emphasis on that.

Looking at man bash, I see this:
   The general format for redirecting output is:

  [n]>word

Dash lists the same syntax as one of several variations.

So if either has changed to require a space there, it apparently hasn't 
made it into the manpage.  I dare say that such a change, breaking a 
good share of our scripts, might lead to a search party carrying buckets 
of verbal hot tar and big bags of verbal abuse feathers. ;-)

Me, goes off scratching whats left of a thinning head of hair.

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 



Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Sven Joachim
On 2016-04-16 11:23 -0400, Gene Heskett wrote:

> This bash script has lived in ~/bin for years, but the mention of dash as 
> a replacement for bash made me want to test it with dash by changing the 
> bang line to #!/bin/sh, which is of course (this is wheezy) a softlink 
> to /bin/dash.

FWIW, dash is not a replacement for bash, nor does it aim to be one.

> I am launching it with this command as I don't want it to make any noise 
> at all when its running, just do its job:
>
> bin/mailwatcher 2>&1 >/dev/null &
>
> But when I run it with dash, it doesn't seem to work right, and spams the 
> terminal with its error messages.  One that appears to kill its function 
> is the bashism of using [[ ]] to surround string variables, reported 
> like this:
> bin/mailwatcher: 64: bin/mailwatcher: [[: not found
> bin/mailwatcher: 70: bin/mailwatcher: [[: not found
> bin/mailwatcher: 77: bin/mailwatcher: [[: not found
>
> Which is nice, as I am seeing the reason it fails. Line 64 to illuminate 
> that is:
>   if [[ ${InMail} = 'gene' ]]
> The other 2 lines are similar except for 'gene'
> The return from inotifywait is what sets the value of ${InMail}
> Can these lines be re-constructed to be valid for either bash or dash?
> If so how?

https://wiki.ubuntu.com/DashAsBinSh has some information how to make
scripts portable.  The checkbashisms command in the devscripts package
can help you detect common non-portable constructions in your scripts.

Cheers,
   Sven



Re: leitor de pdf

2016-04-16 Thread Leandro Guimarães Faria Corcete DUTRA
Le 16 avril 2016 10:06:18 GMT-03:00, Felipe Duque  a 
écrit :
>Se quiser um bem lightweight, sugiro o zathura. Abandonei okular +
>evince.
[…]
>Contras: não dá pra anotar ou fazer highlight de texto.

Então não faz o que o consulente original pediu:


>> Em 16/04/2016 09:03, "Fred Maranhão" > > escreveu:
[…]
>> por exemplo, ele gostaria de marcar texto no pdf. sugestões?

Por favor, evitem responder no topo.



-- 
skype:leandro.gfc.dutra?chat  Yahoo!: ymsgr:sendIM?lgcdutra
+55 (61) 3546 7191 (Net)gTalk: xmpp:leand...@jabber.org
+55 (61) 9302 2691 (Vivo) ICQ/AIM: aim:GoIM?screenname=61287803
BRAZIL GMT−3  MSN: msnim:chat?contact=lean...@dutra.fastmail.fm



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Santiago José López Borrazás
El 16/04/16 a las 18:27, Santiago José López Borrazás escribió:
> Cuando te dice eso, ¿has hecho 'su -' y luego 'apt-get install cfdisk'?

Otra cosa, el Knoppix ya lo lleva integrado el cfdisk, sólo llámalo después
de haber hecho 'su -'.

-- 
Saludos de Santiago José López Borrazás.



signature.asc
Description: OpenPGP digital signature


Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Santiago José López Borrazás
El 16/04/16 a las 18:24, Debia Linux escribió:
> Si, ya lo hice, de hecho si arranca knopixx pero se queda en modo
> consola e intente ejecutar el comando cfdisk y gparted y me lanza
> mensaje NOT FOUND

Cuando te dice eso, ¿has hecho 'su -' y luego 'apt-get install cfdisk'?

-- 
Saludos de Santiago José López Borrazás.



signature.asc
Description: OpenPGP digital signature


Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
2016-04-16 10:38 GMT-05:00 Roberto Quiñones :
> A modo de consulta, en la BIOS probaste cambiando de uefi a legacy y ahí
> bootear con los cd de debían o knoppix?

Si, ya lo hice, de hecho si arranca knopixx pero se queda en modo
consola e intente ejecutar el comando cfdisk y gparted y me lanza
mensaje NOT FOUND


>
> Saludos.
>
> El 16 abr. 2016 12:30 PM, "Santiago José López Borrazás"
>  escribió:
>>
>> El 16/04/16 a las 17:22, Santiago José López Borrazás escribió:
>> > Pues entonces, existe incompatibilidad de tarjeta de vídeo. O al menos,
>> > es
>> > lo que supone, pero puedes hacer estas cosas con parted, que aunque sea
>> > en
>> > consola, se pueden retocar las particiones del mismo, borrarlas y demás
>> > trabajo.
>>
>> Hablando del parted, también existe cfdisk, que es a consola y es más
>> fácil.
>>
>> --
>> Saludos de Santiago José López Borrazás.
>>
>



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
2016-04-16 10:38 GMT-05:00 Roberto Quiñones :
> A modo de consulta, en la BIOS probaste cambiando de uefi a legacy y ahí
> bootear con los cd de debían o knoppix?
>
> Saludos.
>
> El 16 abr. 2016 12:30 PM, "Santiago José López Borrazás"
>  escribió:
>>
>> El 16/04/16 a las 17:22, Santiago José López Borrazás escribió:
>> > Pues entonces, existe incompatibilidad de tarjeta de vídeo. O al menos,
>> > es
>> > lo que supone, pero puedes hacer estas cosas con parted, que aunque sea
>> > en
>> > consola, se pueden retocar las particiones del mismo, borrarlas y demás
>> > trabajo.
>>
>> Hablando del parted, también existe cfdisk, que es a consola y es más
>> fácil.


Ya intente lo que comentas, pero me lanza el error NOT FOUND en ambos
cfdisk y parted

>>
>> --
>> Saludos de Santiago José López Borrazás.
>>
>



Re: Problema arrancando Debian 8.3 en laptop

2016-04-16 Thread Angel Vicente
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

El Sat, 16 Apr 2016 14:28:53 + (UTC)
Camaleón  escribió:
> El Sat, 16 Apr 2016 12:01:32 +0200, Angel Vicente escribió:
> 
> >> > Debe tratarse de un bug del kernel, quizá sería conveniente que
> >> > informaras en el BTS¹ de Debian apuntando al informe de Ubuntu
> >> > para que hagan un seguimiento del mismo o te den alguna pista de
> >> > cómo evitarlo.
> >> > 
> >> > >> Podrías probar el kernel de los backports "linux-image-686-pae
> >> > >> (4.4 +71~bpo8+1)", a ver si funciona con normalidad.  
> >> > > 
> >> > > Con las fotos que me ha enviado el propietario, sigue haciendo
> >> > > lo mismo con la versión 4.4  
> >> > 
> >> > Pues eso ya es más problemático e importante. Si te animas a
> >> > hacer el informe conviene que indiques que ese kernel de los
> >> > backports también falla.  
> >> 
> >> Gracias por la ayuda, trataré de todas formas de poner las manos
> >> encima del portátil...  
> > 
> > Bueno, un cambio que creo importante: la sintaxis
> > modulo.blacklist=1 o modulo.blacklist=yes, no parece hacer nada.   
> 
> ¿Estás seguro de que ese es el parámetro correcto? :-?

Estoy seguro que es incorrecto

> 
> > He probado (está documentado en man modprobe) con
> > modprobe.blacklist=yenta_socket y arranca hasta el
> > final, he pedido al usuario que pruebe todo y parece que va todo
> > bien;  
> 
> Sí, es lo que dicen en el informe del bug de Ubuntu, por eso debe 
> tratarse de un error del kernel, algún problema con ese módulo de la 
> PCMCIA que impide la carga del sistema y al desactivarlo se obra la
> magia.

Claro, pero lo que yo estaba probando (en diferido) era
yenta_socket.blacklist=1 y eso no hace nada.

> 
> > hay alguna cosilla como que en el arranque se aconseja usar
> > pcie_asmp=force, pero no me preocupa mucho.  
> 
> Saludos,
> 



- -- 
Key fingerprint 01DC 0386 2B28 0A02 A270 E243 008B AABF 1822 9851
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlcSYtAACgkQAIuqvxgimFFGwgD/a9UDRr0WvNNeAwOhpq6jg7ya
Mi3UoFNb3yfkpylsTy4A/jjPgeUo9u8QFI2/XC4TIYTwIw4eR4ZPTM8FMsCNa85g
=kjYc
-END PGP SIGNATURE-


Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Aero Maxx

On 16/04/2016 16:23, Gene Heskett wrote:

But when I run it with dash, it doesn't seem to work right, and spams the
terminal with its error messages.  One that appears to kill its function
is the bashism of using [[ ]] to surround string variables, reported
like this:
bin/mailwatcher: 64: bin/mailwatcher: [[: not found
bin/mailwatcher: 70: bin/mailwatcher: [[: not found
bin/mailwatcher: 77: bin/mailwatcher: [[: not found


dash isn't the same as bash, as it has a limited set of instructions or 
commands it can do.


But I too would be interested to know if it is possible to get it to 
work in dash, I don't believe it is, but I am happy to be corrected

or proved wrong.


And finally, once its working with either shell, how do I shut it up
totally?  Even the above command line launch fails as it outputs to that
shell, a newline for every incoming mail which gradually scrolls any
output that was on-screen, offscreen without leaving a prompt until I
tap the return key to restore it.


Also isn't the command you are running supposed to be as follows ?


bin/mailwatcher 2>&1 > /dev/null &



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: cannot use debian because of too many problems...

2016-04-16 Thread Patrick Bartek
On Sat, 16 Apr 2016, Arnoud van der Veer wrote:

> Hello, 
> 
> I am running into many problems unfortunately while using Debian.I
> wish I knew how to solve them, but I don't.I tried to install DEVEDE
> as a new package yesterday in order to be able to burn dvd's.I do not
> succeed in this, since the process of installing is not finished:
> cannot connect to etc. I understand that the packages cannot be
> retrieved from the debian server. (I have been trying this since
> yesterday evening and it still does not work, so it does not seem to
> be a temporarily problem) So that's one thing. But it does not stop
> at that! Ever since I tried to install new packages in order to be
> able to use DEVEDE, I cannot use Flowblade nor Openshot anymore since
> now all of a sudden, these programs are not able anymore to open
> my .mov files. And I have been using these programs several times
> before with this same .mov files! These is the situation ever since I
> tried to install these mentioned new packages, hoping this would
> ofcourse augment my possibilities within Debian instead of
> diminishing my possibilities! As a result I can now do less within
> DebianSo I though: well, lets save my .mov files unto a usb stick
> and in so doing put these files unto another computer with Windows
> running onto it, and finish what I want to do with these files.
> (which is making a movie out of it)No, this is also not possible!
> Simply because Debian is not able to save these files unto a usb
> stick: files is too large and someting wrong with dividing the files.
> So i cannot get the files unto another computerThe Synaptic
> package manager is also giving problems: it says, since the failed
> attempt to install new packages, that some packages are defect. So I
> gave the command to repair them. This seems to work, but it does not:
> it says that " problems with dependencies are solved succesfully" . I
> do not think so! As soon as I leave the synaptic package manager,
> packages are defect again...Well, all of this leaves me confused: a
> failure to download/install new packages should in my honest opinion
> not lead to greater problems and making it impossible to use programs
> one used before! In this way it means that you better stay away from
> trying to install new packages! This should not be the case!I would
> have liked to use my computers with Debian as an OS instead of
> Windows, but it does not seem to be a good alternative for that; not
> stable and trustworthy enough for a user; maybe for a programmer, but
> not for a user who relies on a computer to get work done.I am lost
> now and do not know how to get Debian to work properly. Brasero also
> fails in burning dvd's for standalone dvd players: it simply does not
> do it; nothing in fact after having given the command. It states that
> it is busy making a mpeg2 files for burning on a dvd, but nothing
> happens...no error mentioned at all, but after hours and hours of
> waiting, no progress whatsoever. (that's why I wanted to install
> DEVEDE, which now brought me in greater difficulties...) Too many
> problems for me I must say! For a normal pc user this is not a good
> alternative for using Windows. Windows costs money, yes, but I have
> never, ever encountered so many problems on a pc running on Windows
> in comparison to a pc running on Debian! This is more for a
> programmer; not for a user who has to get some work done in a
> reliable manner! Regards, Arnoud

Do you want help solving your problems?  Or do you just want to vent?
If the former, post details of your hardware, Debian version installed
and were there any problems with that, what you did exactly, etc.  If
the latter ... 

B



Re: What boot manager do use for an OSX/Debian Dual Boot?

2016-04-16 Thread Eric Andrew Lewis
Thanks for your notes!

> If you want to multiple boot, put grub on the blessed partition on your
next install.

I found that this is the default behavior after install, so perhaps after
Debian installs Grub, it interacts with the system's firmware to use GRUB
as a boot manager. And you can always boot into OS X by holding option as
you mentioned.


Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Roberto Quiñones
A modo de consulta, en la BIOS probaste cambiando de uefi a legacy y ahí
bootear con los cd de debían o knoppix?

Saludos.
El 16 abr. 2016 12:30 PM, "Santiago José López Borrazás" 
escribió:

> El 16/04/16 a las 17:22, Santiago José López Borrazás escribió:
> > Pues entonces, existe incompatibilidad de tarjeta de vídeo. O al menos,
> es
> > lo que supone, pero puedes hacer estas cosas con parted, que aunque sea
> en
> > consola, se pueden retocar las particiones del mismo, borrarlas y demás
> trabajo.
>
> Hablando del parted, también existe cfdisk, que es a consola y es más
> fácil.
>
> --
> Saludos de Santiago José López Borrazás.
>
>


Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 10:47:24 Aero Maxx wrote:

> On 16/04/2016 14:08, to...@tuxteam.de wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote:
> >> I have a number of bash scripts that work perfectly fine on fedora
> >> 23, but do not work on debian 8.  I've tried to sort it out myself,
> >> but am a little stuck now hopefully someone is able to give me a
> >> nudge in the right direction.
> >> The output I get from the above script is
> >>
> >>> wordpress_beta.sh: 8: bashtest.sh: [[: not found
> >>> wordpress_beta.sh: 8: bashtest.sh: web: not found
> >>> wordpress_beta.sh: 8: bashtest.sh: web: not found
> >>>
> >>> Setting current directory to 'web' web public folder.
> >
> > The [[ is correct bash syntax. To try to pinpoint the problem, try
> > running the script with "bash 

Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Santiago José López Borrazás
El 16/04/16 a las 17:22, Santiago José López Borrazás escribió:
> Pues entonces, existe incompatibilidad de tarjeta de vídeo. O al menos, es
> lo que supone, pero puedes hacer estas cosas con parted, que aunque sea en
> consola, se pueden retocar las particiones del mismo, borrarlas y demás 
> trabajo.

Hablando del parted, también existe cfdisk, que es a consola y es más fácil.

-- 
Saludos de Santiago José López Borrazás.



signature.asc
Description: OpenPGP digital signature


My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
Greetings;

This bash script has lived in ~/bin for years, but the mention of dash as 
a replacement for bash made me want to test it with dash by changing the 
bang line to #!/bin/sh, which is of course (this is wheezy) a softlink 
to /bin/dash.

I am launching it with this command as I don't want it to make any noise 
at all when its running, just do its job:

bin/mailwatcher 2>&1 >/dev/null &

But when I run it with dash, it doesn't seem to work right, and spams the 
terminal with its error messages.  One that appears to kill its function 
is the bashism of using [[ ]] to surround string variables, reported 
like this:
bin/mailwatcher: 64: bin/mailwatcher: [[: not found
bin/mailwatcher: 70: bin/mailwatcher: [[: not found
bin/mailwatcher: 77: bin/mailwatcher: [[: not found

Which is nice, as I am seeing the reason it fails. Line 64 to illuminate 
that is:
if [[ ${InMail} = 'gene' ]]
The other 2 lines are similar except for 'gene'
The return from inotifywait is what sets the value of ${InMail}
Can these lines be re-constructed to be valid for either bash or dash?
If so how?

And finally, once its working with either shell, how do I shut it up 
totally?  Even the above command line launch fails as it outputs to that 
shell, a newline for every incoming mail which gradually scrolls any 
output that was on-screen, offscreen without leaving a prompt until I 
tap the return key to restore it.

Thank you for any insight on this.

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 



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Santiago José López Borrazás
El 16/04/16 a las 17:05, Debia Linux escribió:
> De hecho ya lo hice, pero no carga knoppix, solo se queda en modo consola.

Pues entonces, existe incompatibilidad de tarjeta de vídeo. O al menos, es
lo que supone, pero puedes hacer estas cosas con parted, que aunque sea en
consola, se pueden retocar las particiones del mismo, borrarlas y demás trabajo.

-- 
Saludos de Santiago José López Borrazás.



signature.asc
Description: OpenPGP digital signature


Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
2016-04-16 9:40 GMT-05:00 Santiago José López Borrazás :
> El 16/04/16 a las 16:22, Debia Linux escribió:
> (...)
>> ¿Como hago para formatear y eliminar todas las particiones del disco
>> duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
>> la USB?.
>
> La forma más rápida y segura sobre el UEFI:
>
> https://wiki.debian.org/UEFI
>
> En cuanto al formateo y eliminación de las particiones del disco, lo puedes
> hacer con un LiveCD o LiveDVD de Knoppix. ;-)
>
> Y...bajo arranque desde USB, depende:
>
> Si es para memoria USB:
>
> https://www.debian.org/releases/jessie/amd64/ch04s03.html.en

De hecho ya lo hice, pero no carga knoppix, solo se queda en modo consola.

>
> En todo caso, si lo haces en un lector DVD, también es fácil, con tal de
> pasarlo directamente y arrancando el portátil, debería darte la entrada para
> poder 'jugar'.
>
> --
> Saludos de Santiago José López Borrazás.
>



Re: leitor de pdf

2016-04-16 Thread isaac filho

Em 2016-04-16 10:47, Luís Cláudio A. Gama escreveu:
Eu uso o Okular ou Chrome/Chromium para visualizar PDF, sendo que a 
dupla

Chrom* permite a seleção de textos.


Mesmo em instalações gnome eu instalo o okular. É bem mais completo para 
marcar os PDFS. O legal é que leio no tablet e mesmo assim o okular me 
permite editar as notas feitas nele.


abs

--
Isaac Filho @yzakius
..:: yzakius.eu
  _
 ___-(o) ___
\_|_/
  |
 '|`



Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Aero Maxx

On 16/04/2016 14:08, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote:

I have a number of bash scripts that work perfectly fine on fedora
23, but do not work on debian 8.  I've tried to sort it out myself,
but am a little stuck now hopefully someone is able to give me a
nudge in the right direction.
The output I get from the above script is

wordpress_beta.sh: 8: bashtest.sh: [[: not found
wordpress_beta.sh: 8: bashtest.sh: web: not found
wordpress_beta.sh: 8: bashtest.sh: web: not found

Setting current directory to 'web' web public folder.

The [[ is correct bash syntax. To try to pinpoint the problem, try
running the script with "bash 

Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Camaleón
El Sat, 16 Apr 2016 09:22:20 -0500, Debia Linux escribió:

> Me trajeron una Lenovo Ideapad 100 , con arquitectura x86 a 64 b.
> 
> Lo primero que pense es que no podia funcionar con una arquitectura i386
> (supongo) asi que descargue Debian para arquitectura amd64 y no pude
> instalar nada, despues trate de instalar Debian para arquitectura i386
> pense que el error era mio, pero tampoco lo logre.

(...)

Pero qué líos te montas tú solo :-)

Un micro de 64 bits admite sistemas operativos de 32 y 64 bits. Más allá 
de eso, la elección de uno u otro es cosa del usuario. Y si no te 
funciona el problema es, obviamente, otro.

> Ahora vienen las preguntas.
> 
> ¿Que arquitectura Debian uso? ¿La arquitectura x86 es lo mismo que
> Debian amd64? ¿Puedo instalar Debian i386?.

Mi recomendación:

<4 GiB de RAM → 32 bits (i386)
>4GiB de RAM → 64 bits (amd64)

En cuanto a si i386 es igual que amd64, sí y no.

Sí porque ambas forman parte del mismo conjunto de instrucciones (x86) y 
no porque una es de registros para 32 bits (i386) y la otra es de 64 bits 
(amd64).

> ¿Como hago para formatear y eliminar todas las particiones del disco
> duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde la
> USB?.

Pues hombre, para no reinventar la rueda yo empezaría por leer lo que 
otros han hecho ;-)

Lenovo Ideapad 100 debian
https://www.google.com/webhp?complete=0=en_rd=cr,ssl#complete=0=en=Lenovo+Ideapad+100+debian

Saludos,

-- 
Camaleón



Re: Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Santiago José López Borrazás
El 16/04/16 a las 16:22, Debia Linux escribió:
(...)
> ¿Como hago para formatear y eliminar todas las particiones del disco
> duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
> la USB?.

La forma más rápida y segura sobre el UEFI:

https://wiki.debian.org/UEFI

En cuanto al formateo y eliminación de las particiones del disco, lo puedes
hacer con un LiveCD o LiveDVD de Knoppix. ;-)

Y...bajo arranque desde USB, depende:

Si es para memoria USB:

https://www.debian.org/releases/jessie/amd64/ch04s03.html.en

En todo caso, si lo haces en un lector DVD, también es fácil, con tal de
pasarlo directamente y arrancando el portátil, debería darte la entrada para
poder 'jugar'.

-- 
Saludos de Santiago José López Borrazás.



signature.asc
Description: OpenPGP digital signature


Re: Fwd: Re: [debian-ve] el 1º de mayo Venezuela cambiará huso horario

2016-04-16 Thread Camaleón
El Fri, 15 Apr 2016 22:37:21 +0200, Alberto Luaces escribió:

> Juan Lavieri writes:
> 
>>¿No es posible tener un contacto con los que mantienen
>>tzdata en Debian y así el cambio se hace automático?
> 
> Ya están en ello :)
> 
> http://thread.gmane.org/gmane.comp.time.tz/10779
> 
> es increíble lo rápido que se mueve esta gente, y eso que son pocos.

Ahora sólo falta que los calendarios se actualicen para indicar que los 
viernes no son laborables >;-P

Saludos,

-- 
Camaleón



Re: Question wget

2016-04-16 Thread mahashakti89

On Sat, Apr 16, 2016 at 02:27:56PM +0200, Belaïd wrote:

Bonjour,
Je suis sur une version 1.16-1 de wget, et l'option -c fonctionne très bien.
Quelle est ta version ?


Bonjour,

Je suis en Sid , version 1.17.1-1+b1. Histoire de voir j'ai essayé sur
une Ubuntu - sensiblement la même version de wget - et là ça fonctionne.


Cordialement




Le 16 avril 2016 à 10:04,  a écrit :

   Bonjour,

   Auparavant on pouvait passer l'option -c à wget pour continuer un
   téléchargement interrompu. Avec la version actuelle cela ne marche plus on
   obtient la réponse : file not modified on server. Omitting download. 
   Est-ce un bogue ou une option à rajouter?
   Cordialement





Res: [OFF TOPIC] Oportunidade de trabalho salário R$3.392

2016-04-16 Thread Carlos Donizete
  Sinto muito em informar, mas aqui na lista. Até onde é sei aqui não é um classificado de emprego.Quero ajudar e ser ajudado, tirar dúvidas e informar e ser informado sobre o "Debian".Se é para colocar este tipo de informações recomendo colocar em sites de oportunidades de emprego ou em classificados de jornal. Esta é minha opinião, obrigado!Enviado do meu smartphone BlackBerry 10.De: PauloEnviada: sábado, 16 de abril de 2016 08:50Para: debian-user-portuguese@lists.debian.orgAssunto: Re: Fwd: Re: [OFF TOPIC] Oportunidade de trabalho salário R$3.392
  

  
  
Pessoal,

Desculpe meu desabafo.

Eu ainda acredito que é uma gracinha dos empresários a contratação
PJ que tem que ir todo o dia na empresa e cumprir horário.
Quando se tem que ir todos os dias e cumprir horário isto chama-se
CLT e cabe processo com alta chance de ganhar.
Toda a vez que ofertei HOME WORK o entrevistador correu, é tudo para
Empresa e nada para o colaborador.
Ou seja tenho que eu arrumar um contador, pagar taxas, ... e ainda
trabalhar todo dia na empresa e cumprir horário, tem algo errado.
Sei que a CLT é muito cara ao Empresário, mas que tal Cooperativismo
?

Paulo


Em 13/04/2016 22:42, Alexandre
  escreveu:


  
  
  

Boa tarde a todos;
  
      Eu entendo o lado de ambos, mais como o colegas Thobias
  deixou muito bem colocado não podemos faltar com o respeito,
  ofensas não devem ser permitidas e se me permitem nem palavras
  de baixo calão.
  
      Sobre o tema vou deixar minha definição, e repondo em
  seguida, dessa forma , fica mais fácil a crítica.
  
      Estagiário  - Não sabe o que fazer, nem como fazer. Não
  sabe nada de nada, até porque convenhamos, a faculdade e ou
  curso técnico raramente ensina algo, voltado para o mercado,
  mais demostra disposição para aprender.
  
      Júnior  -  Sabe o que fazer, mais não como fazer. Ex: Sabe
  que precisa de um DHCP e DNS, mais não sabe como montar, se
  vai ter ou não slave etc.
  
      Pleno  e    Sênior - O que os difere é o tempo para
  determinada tarefa. Ex: Montar um servidor HA, o Sênior faz em
  4 semanas o Pleno em 6, 7 semanas.
  
  Óbvio que todos terão dúvidas, porém é isso que espero dos
  mesmos.
  
  Sobre a vaga:
  
  "
  Preciso de um profissional com curso superior em tecnologia
  (tencnólogo, poli técnico ou graduação)  concluído para ocupar
  uma vaga de gerente de servidores. é necessário vivencia em SO
  Linux (Debian e Ubuntu), experiência com serviços de rede
  BIND, DHCP, SAMBA 3 e 4, Samba 4 DC AD, IPTABLES e
  virtualização, conhecimento em rede de computadores e
  entusiasmo em agregar novos conhecimentos. Essa oportunidade é
  de regime extra quadro sem vínculo empregatício e contratação
  por tempo indeterminado. O ambiente oferece uma excelente
  oportunidade para o aprimoramento de conhecimento,
  interessados por favor me procurem neste mesmo e-mail enviando
  em anexo o seu Curriculo "
  
  Aqui consta o primeiro equívoco, gerente, gerencia não atua,
  quem faz isso é analista e técnico.
  
  Solicita vivência, logo ou é pleno ou sênior, acredito ser
  razoável para tal saber os requisitos.
  
  Aqui cabe um menção:
  
  A referida vaga não pede certificação e nem mesmo comprovação
  de experiência, logo um autônomo pode facilmente afirmar que
  te me entrar.
  
  Aqui também tem uma observação, a vaga não pede comprovação,
  logo você como autônomo pode er feito
  
  Aqui fiquei em dúvida: "Essa oportunidade é de regime extra
  quadro sem vínculo empregatício"
  
  Se refere ao tocante de ser uma universidade um entende
  federal cuja forma de egresso é via concurso público? Ou na
  modalidade PJ e por isso não fala em benefícios?
  
   Eu moro no Rio capital (No subúrbio Méier, classe média
  alta).

Re: Problema arrancando Debian 8.3 en laptop

2016-04-16 Thread Camaleón
El Sat, 16 Apr 2016 12:01:32 +0200, Angel Vicente escribió:

>> El Mon, 11 Apr 2016 17:48:05 + (UTC)
>> Camaleón  escribió:

(...)

>> > Debe tratarse de un bug del kernel, quizá sería conveniente que
>> > informaras en el BTS¹ de Debian apuntando al informe de Ubuntu para
>> > que hagan un seguimiento del mismo o te den alguna pista de cómo
>> > evitarlo.
>> >   
>> > >> Podrías probar el kernel de los backports "linux-image-686-pae
>> > >> (4.4 +71~bpo8+1)", a ver si funciona con normalidad.
>> > > 
>> > > Con las fotos que me ha enviado el propietario, sigue haciendo lo
>> > > mismo con la versión 4.4
>> > 
>> > Pues eso ya es más problemático e importante. Si te animas a hacer el
>> > informe conviene que indiques que ese kernel de los backports también
>> > falla.
>> 
>> Gracias por la ayuda, trataré de todas formas de poner las manos encima
>> del portátil...
> 
> Bueno, un cambio que creo importante: la sintaxis modulo.blacklist=1 o
> modulo.blacklist=yes, no parece hacer nada. 

¿Estás seguro de que ese es el parámetro correcto? :-?

> He probado (está documentado en man modprobe) con
> modprobe.blacklist=yenta_socket y arranca hasta el
> final, he pedido al usuario que pruebe todo y parece que va todo bien;

Sí, es lo que dicen en el informe del bug de Ubuntu, por eso debe 
tratarse de un error del kernel, algún problema con ese módulo de la 
PCMCIA que impide la carga del sistema y al desactivarlo se obra la magia.

> hay alguna cosilla como que en el arranque se aconseja usar
> pcie_asmp=force, pero no me preocupa mucho.

Saludos,

-- 
Camaleón



[SOLUCIONADO] Re: ¿AMD64 con i386? ¿Ya no se puede?

2016-04-16 Thread Santiago José López Borrazás
El 16/04/16 a las 15:49, sergiogo...@tostado.com.ar escribió:
> Buenísimo! Gracias por no compartir la solución...

Con gdebi.

Todo solucionado.

-- 
Saludos de Santiago José López Borrazás.



signature.asc
Description: OpenPGP digital signature


Debian en UEFI arquitectura X86 64b Lenovo Ideapad 100

2016-04-16 Thread Debia Linux
Listeros:

Como les he comentado, ahora tengo mucho trabajo y tengo que ir
solucionando todo "al mismo tiempo".

Les explico... Ahora me trajeron una maquina con Windows 10, de esas
maquinas que te piden el derecho de espiarte mediante la cam y todo lo
que escribes en el teclado, pero que por negligencia las personas "NO
LEEN".

Bien, no habia tenido la oportunidad de trabajar con sistemas de 64
bits, de hecho funcionan a la perfeccion todas las de 32 bits que
tenemos en el trabajo (todas excepto una en windows 7 y que es de 32
bits).

Me trajeron una Lenovo Ideapad 100 , con arquitectura x86 a 64 b.

Lo primero que pense es que no podia funcionar con una arquitectura
i386 (supongo) asi que descargue Debian para arquitectura amd64 y no
pude instalar nada, despues trate de instalar Debian para arquitectura
i386 pense que el error era mio, pero tampoco lo logre.

[OFF TOPIC] A breviario cultural (para quienes quieren usar una Lenovo
del mismo modelo) puedo decir que para cambiar el boot de arranque
solo tienen que presionar la tecla FN+F2.

Regresando al tema, esto nunca me habia pasado, sin embargo mi mente
prehistorica me recordo que Microsoft habia hecho algo un acuerdo con
los fabricantes de hardware (algunos) para que solo su sistema
funcionara y ninguno mas.

Asi que comence a buscar y encontre que efectivamente tiene que ver
con el sistema de particiones UEFI o EFI. Que usan una particion de
200Mb para bootear solo con Windows y no reconocer ningun otro sistema
operativo.

Y como ya es costumbre... ¡¡¡Eliminaremos Windows!!! y lo vamos a hacer.

Ahora vienen las preguntas.

¿Que arquitectura Debian uso? ¿La arquitectura x86 es lo mismo que
Debian amd64? ¿Puedo instalar Debian i386?.

¿Como hago para formatear y eliminar todas las particiones del disco
duro de 500 Gigas  e instalar Linux de modo "normal arrancando desde
la USB?.

Agradezco siempre sus finas atenciones.

Gracias

Debianeromx



Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Thomas Schmitt
Hi,

Aero Maxx wrote:
> >wordpress_beta.sh: 8: bashtest.sh: [[: not found

If it is called "bashtest.sh" then it is plausible that it wants
to be run by bash. Obviously it expects /bin/sh to be bash.


to...@tuxteam.de wrote:
> try running the script with "bash 

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread David Wright
On Sat 16 Apr 2016 at 15:08:58 (+0200), to...@tuxteam.de wrote:
> On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote:
> > I have a number of bash scripts that work perfectly fine on fedora
> > 23, but do not work on debian 8.  I've tried to sort it out myself,
> > but am a little stuck now hopefully someone is able to give me a
> > nudge in the right direction.
> 
> > The output I get from the above script is
> > >wordpress_beta.sh: 8: bashtest.sh: [[: not found
> > >wordpress_beta.sh: 8: bashtest.sh: web: not found
> > >wordpress_beta.sh: 8: bashtest.sh: web: not found
> > >
> > >Setting current directory to 'web' web public folder.
> 
> The [[ is correct bash syntax. To try to pinpoint the problem, try
> running the script with "bash 

Re: Repository Problem

2016-04-16 Thread Sven Hartge
Michael Milliman  wrote:
> On 04/15/2016 03:18 PM, Sven Hartge wrote:
>> Dan Ritter  wrote:
>>> On Fri, Apr 15, 2016 at 01:06:18PM -0400, Stephen P. Molnar wrote:

 I just had a catastrophic crash which necessitated reinstalling
 Debian.  I had been running v-7.2,but decided to upgrade to v-7.10
 with a complete install.

 Now when I update the repositories, regardless of the tool, Synaptic
 or Aptitude, I get the following errors:

 W: Failed to fetch 
 http://http.us.debian.org/debian/dists/wheezy/updates/main/source/Sources: 
 404  Not Found [IP: 2610:148:1f10:3::89 80]
 I do not get these errors if I comment out the deb-src lines in the
 sources.list.
>>> Those are IPv6 addresses. I would guess that you don't have an
>>> IPv6 connection available to you, or it's misconfigured.
>> He then would get a timeout or host unreachable and not a 404 HTTP error
>> code.
>>
>> What it looks like is this: he has URLs for the sources of security
>> updates (wheezy/updates) configured for the wrong host, because
>> debian.gtisc.gatech.edu does not carry those.
> debian.gtisc.gatech.edu??? None of the information in the OPs query 
> mentions this host.

2610:148:1f10:3::89 -> debian.gtisc.gatech.edu

> All of his sources.list lines are using http://http.us.debian.org.
> The issue is that
> http://http.us.debian.org/debian/dists/wheezy/updates does not exist.
> A casual look with a browser reveals this.

Exactly.

S°

-- 
Sigmentation fault. Core dumped.



KVM Qemu libvirtd virtual bridged with bond advanced-alb

2016-04-16 Thread Mimiko

Hello.

Recently I started to use qemu-kvm for virtualisation.

I've setup a bridged network and use it in virtual machine:


  default
  
  



  test
  
hvm


  
  

  
  
  
  function='0x0'/>


  



When the bond used in the bridge setup is set to 802.3ad, network in 
guests work ok. When I use bridge mode advanced-alb, network in guests 
works for some time then starts to timeout connections.


What could be the conflict of qemu with advanced-alb mode?

This is my specifications:
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u3 x86_64 GNU/Linux

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto bond0
iface bond0 inet manual
# load balancing and fault tolerance
bond-slaves eth0 eth1
bond-mode 802.3ad
#bond-mode balance-alb
bond-miimon 100
bond-downdelay 200
bond-updelay 200
up ip link set bond0 mtu 9000

auto br0
iface br0 inet static
bridge_ports bond0
bridge_stp off
bridge_fd 0
#bridge_maxage 0
bridge_ageing 0
bridge_maxwait 0
up ip link set br0 mtu 9000

I've skipped adress/mask specification.

I've tried to enable stp, change mtu, change delay. Nothing helps. Same 
configuration in interfaces, I change only `bond-mode`. With `bond-mode 
802.3ad` everything works ok. With `bond-mode advanced-alb` guest have 
network problems. The host system does not have any network problem in 
any mode.


Thank you



Re: ¿AMD64 con i386? ¿Ya no se puede?

2016-04-16 Thread sergiogomez

El 2016-04-16 10:46, Santiago José López Borrazás escribió:

El 16/04/16 a las 14:28, Santiago José López Borrazás escribió:

Vale, ya lo tengo solucionado todo. Ya he encontrado la manera de que
funcione. ;-)) ¡Ya está!


Buenísimo! Gracias por no compartir la solución...



Re: leitor de pdf

2016-04-16 Thread Luís Cláudio A . Gama
Eu uso o Okular ou Chrome/Chromium para visualizar PDF, sendo que a dupla
Chrom* permite a seleção de textos.

[]s


Sent with MailTrack


Luís Cláudio A. Gama
Fones: TIM:  11-9 8452-4087   Res: 11-4602-3400
Skype: luisclaudiogama   http://luisgama.googlepages.com

br.linkedin.com/in/luisclaudiogama



||\|_
|  Voto Distrital !|||"'|""\__
|__|||_||)
!(@)'(@)*!(@)(@)*!(@)

Em 16 de abril de 2016 09:03, Fred Maranhão 
escreveu:

> um usuário está usando o evince e gostaria de um leitor de pdf melhor.
> por exemplo, ele gostaria de marcar texto no pdf. sugestões?
>
>


Re: ¿AMD64 con i386? ¿Ya no se puede?

2016-04-16 Thread Santiago José López Borrazás
El 16/04/16 a las 14:28, Santiago José López Borrazás escribió:

Vale, ya lo tengo solucionado todo. Ya he encontrado la manera de que
funcione. ;-)) ¡Ya está!

-- 
Saludos de Santiago José López Borrazás.



signature.asc
Description: OpenPGP digital signature


Installing tt-rss

2016-04-16 Thread Rainer Dorsch
Hi,

I tried to install tt-rss on a stretch system. During the configuration of tt-
rss, debconf asks for a username and a password confirmation for the tt-rss 
database ... but it never asked for the password itself.

/usr/share/doc/tt-rss/README.* does also not give more insight.

Did anybody manage to setup tt-rss using the debconf and dbconfig-common ?

Many thanks
Rainer
-- 
Rainer Dorsch
http://bokomoko.de/



Re:

2016-04-16 Thread Lucas M. R.
Desculpe gente, deslize meu aqui.


De: Lucas M. R. 
Enviado: sábado, 16 de abril de 2016 10:13:40
Para: debian-user-portuguese@lists.debian.org
Assunto:


unsubscribe


Re: leitor de pdf

2016-04-16 Thread Felipe Duque

Se quiser um bem lightweight, sugiro o zathura. Abandonei okular + evince.

Prós: muito leve; navegação e comandos baseados no Vim; pode colocar 
bookmarks; não precisa do mouse.


Contras: não dá pra anotar ou fazer highlight de texto.

On 04/16/2016 09:09 AM, Antonio Novaes wrote:


A distribuição usada tem Gnome como interface? Caso sim A versão 
3.18 tem esse recurso. Caso não... Pode usar o okular


Att,
Antonio Novaes de C. Jr
Analista TIC - Sistema e Infraestrutura
Red Hat Certified Enginee (RHCE)
LPIC-1 - Linux Certified Professional Level 1
Novell Certified Linux Administrator (CLA)
Information Security (IFSF - 27002/ISO)
Especialista em Segurança de Redes de Computadores
By Phone

Em 16/04/2016 09:03, "Fred Maranhão" > escreveu:


um usuário está usando o evince e gostaria de um leitor de pdf melhor.
por exemplo, ele gostaria de marcar texto no pdf. sugestões?



--
*Felipe Duque Belfort*
/Mestrando em ciência da computação, UFPE/
_
"/It is a man's own mind, not his enemy or foe, that lures him to evil 
ways/" (The Buddha)
"/Quando a educação não é libertadora, o sonho do oprimido é ser o 
opressor/" (Paulo Freire)


[no subject]

2016-04-16 Thread Lucas M. R.
unsubscribe


Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote:
> I have a number of bash scripts that work perfectly fine on fedora
> 23, but do not work on debian 8.  I've tried to sort it out myself,
> but am a little stuck now hopefully someone is able to give me a
> nudge in the right direction.

> The output I get from the above script is
> >wordpress_beta.sh: 8: bashtest.sh: [[: not found
> >wordpress_beta.sh: 8: bashtest.sh: web: not found
> >wordpress_beta.sh: 8: bashtest.sh: web: not found
> >
> >Setting current directory to 'web' web public folder.

The [[ is correct bash syntax. To try to pinpoint the problem, try
running the script with "bash 

Re: cannot use debian because of too many problems...

2016-04-16 Thread Dan Ritter
On Sat, Apr 16, 2016 at 09:22:24AM +, Arnoud van der Veer wrote:
> Hello, 

I understand you are frustrated.

If you are interested in solving these problems with Debian, you
will need to lay out each problem individually.

Let's see what we can do. First, reformatting your text...

> I am running into many problems unfortunately while using Debian.I
> wish I knew how to solve them, but I don't.I tried to install DEVEDE
> as a new package yesterday in order to be able to burn dvd's.I do not
> succeed in this, since the process of installing is not finished:
> cannot connect to etc. I understand that the packages cannot be
> retrieved from the debian server. (I have been trying this since
> yesterday evening and it still does not work, so it does not seem to
> be a temporarily problem) So that's one thing.

What did you type?

What message did you receive?

In all cases, please copy and paste. Don't summarize.


> But it does not stop
> at that! Ever since I tried to install new packages in order to be
> able to use DEVEDE, I cannot use Flowblade nor Openshot anymore since
> now all of a sudden, these programs are not able anymore to open my
> .mov files.

What new packages did you install?

What errors are you getting from Flowblade and Openshot?

> though: well, lets save my .mov files unto a usb stick and in so
> doing put these files unto another computer with Windows running onto
> it, and finish what I want to do with these files. (which is making
> a movie out of it)No, this is also not possible! Simply because
> Debian is not able to save these files unto a usb stick: files is too
> large and someting wrong with dividing the files. So i cannot get

What did you type?

What errors did you get?

> the files unto another computerThe Synaptic package manager is
> also giving problems: it says, since the failed attempt to install
> new packages, that some packages are defect. So I gave the command
> to repair them. This seems to work, but it does not: it says that "
> problems with dependencies are solved succesfully" . I do not think

What command did you give?

> so! As soon as I leave the synaptic package manager, packages are
> defect again...

What error did you get?


-dsr-



¿AMD64 con i386? ¿Ya no se puede?

2016-04-16 Thread Santiago José López Borrazás
Muy buenas:

Estuve intentando ahora, que estoy bajo Debian Sid (unstable), no puedo ya
instalar paquetes i386 como siempre procedía al hacer lo siguiente:

dpkg --add-architecture

apt-get update

No me da ningún problema.

Y luego, con gdebi para instalar los paquetes, cosa que, unos se 'mezclan'
en otros y el sistema quiere desinstalarlos. Y ahora, ya no los quiere
mezclar. :-/

El ejemplo es, instalar skype.

¿Ya no hay otra forma para instalar estos paquetes como antes? ¿O es que,
hay documentación al respecto? ¿O esto ya no se puede y he de ir
directamente a otra rama? Antes podía y ahora ya no.

Como dato, tengo el paquete multiarch-support instalado.

Gracias de antemano.

-- 
Saludos de Santiago José López Borrazás.



Re: Question wget

2016-04-16 Thread Belaïd
Bonjour,
Je suis sur une version 1.16-1 de wget, et l'option -c fonctionne très bien.
Quelle est ta version ?

Le 16 avril 2016 à 10:04,  a écrit :

> Bonjour,
>
> Auparavant on pouvait passer l'option -c à wget pour continuer un
> téléchargement interrompu. Avec la version actuelle cela ne marche plus on
> obtient la réponse : file not modified on server. Omitting download.
> Est-ce un bogue ou une option à rajouter?
> Cordialement
>
> Envoyé depuis l'application Mail Orange
>
>


-- 
< Belaid >


Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Aero Maxx
I have a number of bash scripts that work perfectly fine on fedora 23, 
but do not work on debian 8.  I've tried to sort it out myself, but am a 
little stuck now hopefully someone is able to give me a nudge in the 
right direction.


Ideally I would like them to work on both.

On Fedora 23

$ ls -l /bin/sh
lrwxrwxrwx. 1 root root 4 Jan 11 11:02 /bin/sh -> bash
$ echo ${BASH_VERSION%%[^0-9.]*}
4.3.42


On Debian 8

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Nov  8  2014 /bin/sh -> dash
$ echo ${BASH_VERSION%%[^0-9.]*}
4.3.30


As I discovered they weren't using the same bash, so I changed over my 
scripts to use #!/bin/bash and thought my problem would be solved, this 
doesn't seem to be the case, some errors have gone but some still remain.


I have shortened the script and pasted it below, its the IF part which 
is failing on debian 8.



#!/bin/bash

clear;
devSite="/home/admin/web/";

for domainDir in $(find ${devSite} -maxdepth 1 -type d); do

if [[ $domainDir == $devSite || $(basename ${domainDir}) == 
'site1' || $(basename ${domainDir}) == 'site2' ]]; then continue; fi;


echo "";
echo "Setting current directory to '$(basename ${domainDir})' web 
public folder.";

cd ${domainDir}/web/public;

done;


The output I get from the above script is

wordpress_beta.sh: 8: bashtest.sh: [[: not found
wordpress_beta.sh: 8: bashtest.sh: web: not found
wordpress_beta.sh: 8: bashtest.sh: web: not found

Setting current directory to 'web' web public folder.



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: leitor de pdf

2016-04-16 Thread Antonio Novaes
A distribuição usada tem Gnome como interface? Caso sim A versão 3.18
tem esse recurso. Caso não... Pode usar o okular

Att,
Antonio Novaes de C. Jr
Analista TIC - Sistema e Infraestrutura
Red Hat Certified Enginee (RHCE)
LPIC-1 - Linux Certified Professional Level 1
Novell Certified Linux Administrator (CLA)
Information Security (IFSF - 27002/ISO)
Especialista em Segurança de Redes de Computadores
By Phone
Em 16/04/2016 09:03, "Fred Maranhão"  escreveu:

um usuário está usando o evince e gostaria de um leitor de pdf melhor.
por exemplo, ele gostaria de marcar texto no pdf. sugestões?


leitor de pdf

2016-04-16 Thread Fred Maranhão
um usuário está usando o evince e gostaria de um leitor de pdf melhor.
por exemplo, ele gostaria de marcar texto no pdf. sugestões?



Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Luis Felipe Tabera Alonso
On sábado, 16 de abril de 2016 12:05:05 (CEST) Matthias Bodenbinder wrote:
 
> 38# df -h /mnt/test/
> Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
> /dev/sdg 699G 17M 466G 1% /mnt/test

df is not reliable for btrfs raids, it is better to use btrfs fi df to check 
actual used space.

Using btrfs-tools and kernel from sid (4.4):

root@mychabol:/mnt/temporal# dd if=/dev/zero of=disk1 bs=1 count=0 seek=750M
root@mychabol:/mnt/temporal# dd if=/dev/zero of=disk2 bs=1 count=0 seek=500M
root@mychabol:/mnt/temporal# dd if=/dev/zero of=disk3 bs=1 count=0 seek=250M

root@mychabol:/mnt/temporal# mkfs.btrfs -f -draid1 -mraid1 disk1 disk2 disk3
btrfs-progs v4.4
See http://btrfs.wiki.kernel.org for more information.

Label:  (null)
UUID:   4fbfda48-3a10-4e1b-92d8-96be759c2a8c
Node size:  16384
Sector size:4096
Filesystem size:1.46GiB
Block group profiles:
  Data: RAID183.00MiB
  Metadata: RAID183.00MiB
  System:   RAID112.00MiB
SSD detected:   no
Incompat features:  extref, skinny-metadata
Number of devices:  3
Devices:
   IDSIZE  PATH
1   750.00MiB  disk1
2   500.00MiB  disk2
3   250.00MiB  disk3

root@mychabol:/mnt/temporal# losetup /dev/loop0 disk1
root@mychabol:/mnt/temporal# losetup /dev/loop1 disk2
root@mychabol:/mnt/temporal# losetup /dev/loop2 disk3

root@mychabol:/mnt/temporal# mkdir test
root@mychabol:/mnt/temporal# mount /dev/loop0 test

root@mychabol:/mnt/temporal# btrfs fi df test/
Data, RAID1: total=75.00MiB, used=0.00B
System, RAID1: total=8.00MiB, used=16.00KiB
Metadata, RAID1: total=75.00MiB, used=112.00KiB
GlobalReserve, single: total=16.00MiB, used=0.00B

root@mychabol:/mnt/temporal# df -h test/
S.ficheros Tamaño Usados  Disp Uso% Montado en
/dev/loop0   750M17M  491M   4% /mnt/temporal/test

Like in your case, df thinks that there are only 491M usable. However, if I 
try to fill the volume

root@mychabol:/mnt/temporal# cd test/
root@mychabol:/mnt/temporal/test# dd if=/dev/zero of=file.zero
dd: escribiendo en 'file.zero': No queda espacio en el dispositivo
1345402+0 registros leídos
1345401+0 registros escritos
688845312 bytes (689 MB, 657 MiB) copied, 3,10508 s, 222 MB/s

root@mychabol:/mnt/temporal/test# ls -lh
total 657M
-rw-r--r-- 1 root root 657M abr 16 13:24 file.zero
root@mychabol:/mnt/temporal/test# df -h .
S.ficheros Tamaño Usados  Disp Uso% Montado en
/dev/loop0   750M   674M   64K 100% /mnt/temporal/test

With the 75M of metadata, you can check that this fills the three devices. 
Moreover

root@mychabol:/mnt/temporal/test# rm file.zero 
root@mychabol:/mnt/temporal/test# df -h .
S.ficheros Tamaño Usados  Disp Uso% Montado en
/dev/loop0   750M17M  657M   3% /mnt/temporal/test

Try to do the same to see if df gets more accurate.

Still btrfs is quite young, I am not sure if there are serious issues in 3.17, 
I would make some experiments before actual use.

Bests

Luis



Re: Call for testing: upcoming samba security update

2016-04-16 Thread cbannister

[please don't top post]

On Thu, Apr 14, 2016 at 06:25:01PM +0100, Birgit Berger (UV Wien) wrote:
> is it better to wait to update samba 4.1.17 to 4.2.10 on jessie?

There aren't any new packages in the stable release, or has this changed
for some reason?

-- 
The media's the most powerful entity on earth. 
They have the power to make the innocent guilty 
and to make the guilty innocent, and that's power.
 -- Malcolm X



RE: Repository Problem - SOLVED

2016-04-16 Thread Stephen P. Molnar
 

 

From: Stephen P. Molnar [mailto:s.mol...@sbcglobal.net] 
Sent: Saturday, April 16, 2016 6:37 AM
To: 'Michael Milliman'; debian-user@lists.debian.org
Subject: RE: Repository Problem

 

 

 

From: Michael Milliman [mailto:michael.e.milli...@gmail.com] 
Sent: Friday, April 15, 2016 11:27 PM
To: debian-user@lists.debian.org
Subject: Re: Repository Problem

 

 

On 04/15/2016 12:06 PM, Stephen P. Molnar wrote:

I just had a catastrophic crash which necessitated reinstalling Debian.  I had 
been running v-7.2,but decided to upgrade to v-7.10 with a complete install.

Now when I update the repositories, regardless of the tool, Synaptic or 
Aptitude, I get the following errors:

W: Failed to fetch 
http://http.us.debian.org/debian/dists/wheezy/updates/main/source/Sources: 404  
Not Found [IP: 2610:148:1f10:3::89 80]
W: Failed to fetch 
http://http.us.debian.org/debian/dists/wheezy/updates/contrib/source/Sources: 
404  Not Found [IP: 2610:148:1f10:3::89 80]
W: Failed to fetch 
http://http.us.debian.org/debian/dists/wheezy/updates/non-free/source/Sources: 
404  Not Found [IP: 2610:148:1f10:3::89 80]
E: Some index files failed to download. They have been ignored, or old ones 
used instead.
E: Couldn't rebuild package cache

Your deb-src lines should read as follows:

deb-src 
http://http.us.debian.org/debian/dists/wheezy-updates/main/source/Sources
deb-src 
http://http.us.debian.org/debian/dists/wheezy-updates/contrib/source/Sources
deb-src 
http://http.us.debian.org/debian/dists/wheezy-updates/non-free/source/Sources

Note that you have .../dists/wheezy/updates/... in your sources.list file 
instead of the correct .../dists/wheezy-updates/...



I do not get these errors if I comment out the deb-src lines in the 
sources.list.

Now, I know that it has to be a problem with the new install as I have 
installed v-7.10 in a VMware Workstation 12 Player on my laptop as a test bed 
and do not get any errors.

I would greatly appreciate help resolving this issue,.

Thanks in  advance.

-- 
Stephen P. Molnar, Ph.D.   Life is a fuzzy set
www.Molecular-Modeling.net Stochastic and multivariate
(614)312-7528 (c)
Shyoe:  smolnar1

 

-- 
Mike
 
Thanks for the suggestion.
 
The new error message is a malformation at the first line f the suggested 
solution.
 
There are several additional points to be made:
 
1.I get the same error when the repository is “devbain.uchicago.edu’
And, most  importantly,
 
2.   The errors arise from sources.list entries made by the Debian 
installer, not by my editing the file.
 
I am, however, most appreciative of the support that I am receiving from the 
members of the mailing list.
 

 

Stephen P. Molnar, Ph.D.   Life is a fuzzy set

www.molecular-modeling.net Stochastic and Multivariate

s.mol...@sbcglobal.net

(614)312-7528(c)

Skype:  smolnar1

 

Still don’t know why the problem, but a field expedient has made the problem 
redundant.
 
I am running the same version of Debian n my laptop in a VM as a test bed.  
There is no problem with the sources. List on that computer.  I ported the file 
over to the computer with the problem is gone.
 
Many thanks to the members of the list who responded to my cry in the 
wilderness.

 

Stephen P. Molnar, Ph.D.   Life is a fuzzy set

www.molecular-modeling.net Stochastic and Multivariate

s.mol...@sbcglobal.net

(614)312-7528(c)

Skype:  smolnar1

 

 
 


RE: Repository Problem

2016-04-16 Thread Stephen P. Molnar
 

 

From: Michael Milliman [mailto:michael.e.milli...@gmail.com] 
Sent: Friday, April 15, 2016 11:27 PM
To: debian-user@lists.debian.org
Subject: Re: Repository Problem

 

 

On 04/15/2016 12:06 PM, Stephen P. Molnar wrote:

I just had a catastrophic crash which necessitated reinstalling Debian.  I had 
been running v-7.2,but decided to upgrade to v-7.10 with a complete install.

Now when I update the repositories, regardless of the tool, Synaptic or 
Aptitude, I get the following errors:

W: Failed to fetch 
http://http.us.debian.org/debian/dists/wheezy/updates/main/source/Sources: 404  
Not Found [IP: 2610:148:1f10:3::89 80]
W: Failed to fetch 
http://http.us.debian.org/debian/dists/wheezy/updates/contrib/source/Sources: 
404  Not Found [IP: 2610:148:1f10:3::89 80]
W: Failed to fetch 
http://http.us.debian.org/debian/dists/wheezy/updates/non-free/source/Sources: 
404  Not Found [IP: 2610:148:1f10:3::89 80]
E: Some index files failed to download. They have been ignored, or old ones 
used instead.
E: Couldn't rebuild package cache

Your deb-src lines should read as follows:

deb-src 
http://http.us.debian.org/debian/dists/wheezy-updates/main/source/Sources
deb-src 
http://http.us.debian.org/debian/dists/wheezy-updates/contrib/source/Sources
deb-src 
http://http.us.debian.org/debian/dists/wheezy-updates/non-free/source/Sources

Note that you have .../dists/wheezy/updates/... in your sources.list file 
instead of the correct .../dists/wheezy-updates/...




I do not get these errors if I comment out the deb-src lines in the 
sources.list.

Now, I know that it has to be a problem with the new install as I have 
installed v-7.10 in a VMware Workstation 12 Player on my laptop as a test bed 
and do not get any errors.

I would greatly appreciate help resolving this issue,.

Thanks in  advance.



-- 
Stephen P. Molnar, Ph.D.   Life is a fuzzy set
www.Molecular-Modeling.net Stochastic and multivariate
(614)312-7528 (c)
Shyoe:  smolnar1





-- 
Mike
 
Thanks for the suggestion.
 
The new error message is a malformation at the first line f the suggested 
solution.
 
There are several additional points to be made:
 
1.I get the same error when the repository is “devbain.uchicago.edu’
And, most  importantly,
 
2.   The errors arise from sources.list entries made by the Debian 
installer, not by my editing the file.
 
I am, however, most appreciative of the support that I am receiving from the 
members of the mailing list.
 

 

Stephen P. Molnar, Ph.D.   Life is a fuzzy set

www.molecular-modeling.net Stochastic and Multivariate

s.mol...@sbcglobal.net

(614)312-7528(c)

Skype:  smolnar1

 

 
 
 


Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
And:

39# btrfs filesystem show
Label: none  uuid: 35db7af4-a116-45fa-8611-97aeb5d4a8d3
Total devices 3 FS bytes used 640.00KiB
devid1 size 698.64GiB used 2.02GiB path /dev/sdg
devid2 size 465.76GiB used 1.01GiB path /dev/sdh
devid3 size 232.88GiB used 1.01GiB path /dev/sdi


Am 16.04.2016 um 12:05 schrieb Matthias Bodenbinder:
> Hello Luis,
> 
> I followed that link which confirms that a btrfs raid1 out of these three 
> devices should give 750 GB of data capacity. But his is not what I get.
> 
> This is what I have:
> 
> Disk /dev/sdg: 698,7 GiB, 750156374016 bytes, 1465149168 sectors
> Disk /dev/sdh: 465,8 GiB, 500107862016 bytes, 976773168 sectors
> Disk /dev/sdi: 232,9 GiB, 250058268160 bytes, 488395055 sectors
> 
> So it is actually not 750 GB but 700. Anyways...
> 
> This is what I did:
> 
> ###
> 35#  mkfs.btrfs -f -d raid1 -m raid1 /dev/sdg /dev/sdh /dev/sdi
> Btrfs v3.17
> See http://btrfs.wiki.kernel.org for more information.
> 
> Turning ON incompat feature 'extref': increased hardlink limit per file to 
> 65536
> adding device /dev/sdh id 2
> adding device /dev/sdi id 3
> fs created label (null) on /dev/sdg
>   nodesize 16384 leafsize 16384 sectorsize 4096 size 1.36TiB
> 
> 36# mount /dev/sdg /mnt/test/
> 
> 37# btrfs fi df /mnt/test/
> Data, RAID1: total=1.00GiB, used=512.00KiB
> Data, single: total=8.00MiB, used=0.00B
> System, RAID1: total=8.00MiB, used=16.00KiB
> System, single: total=4.00MiB, used=0.00B
> Metadata, RAID1: total=1.00GiB, used=112.00KiB
> Metadata, single: total=8.00MiB, used=0.00B
> GlobalReserve, single: total=16.00MiB, used=0.00B
> 
> 38# df -h /mnt/test/
> Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
> /dev/sdg 699G 17M 466G 1% /mnt/test
> 
> ###
> 
> This leaves me with just 466 GB of free disc space. 
> Something is wrong. Either what I am doing is wrong or the web page is wrong.
> 
> Matthias
> 
> 
> Am 16.04.2016 um 10:20 schrieb Luis Felipe Tabera Alonso:
>> On sábado, 16 de abril de 2016 9:00:00 (CEST) Matthias Bodenbinder wrote:
>>> Hello,
>>>
>>> I have 3 hard drive with 750 GB, 500 GB and 250 GB. I want to use btrfs as
>>> filesystem. This will be my first test installation of btrfs.
>>>
>>> My target is to get redundancy as well as a 750 GB data capacity. So I was
>>> thinking to create a raid0 with the 500 and 250 GB drive. This would result
>>> in a raid0 with 750 GB capacity. I want to add this raid0 as a mirror in a
>>> raid1 with the other 750 GB drive.
>>>
>>> But how do I do that?
>>>
>>> Thanks
>>> Matthias
>>
>> Disclaimer: I have necer made anything further than a btrfs raid1 with two 
>> equally sized devices.
>>
>>
>> If you create a raid1 with the three devices you will get 750GB with 
>> redundancy. Current Btrfs raid1 means "data and metadata is copied twice in 
>> different devices". And btrfs is smart enough to not copy the data in the 
>> two 
>> smaller disks. I am not sure if this web page is accurate http://
>> carfax.org.uk/btrfs-usage/ but you can take a look.
>>
>> You can also create a single virtual device from the 250 and 500 devices 
>> using 
>> mdadm or lvm and then create a btrfs raid1 out of the 750GB device and the 
>> virtual device.
>>
>> With the "pure" btrfs setup, if you lose a single device you will be able to 
>> mount the device as "degraded".
>>
>> With the mixed setting, you can lose a single device and read the data. 
>> Moreover, you can lose the two small devices and still be able to mount the 
>> volume.
>>
>> luis
>>
>>
>>
> 
> 
> 




Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
Hello Luis,

I followed that link which confirms that a btrfs raid1 out of these three 
devices should give 750 GB of data capacity. But his is not what I get.

This is what I have:

Disk /dev/sdg: 698,7 GiB, 750156374016 bytes, 1465149168 sectors
Disk /dev/sdh: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Disk /dev/sdi: 232,9 GiB, 250058268160 bytes, 488395055 sectors

So it is actually not 750 GB but 700. Anyways...

This is what I did:

###
35#  mkfs.btrfs -f -d raid1 -m raid1 /dev/sdg /dev/sdh /dev/sdi
Btrfs v3.17
See http://btrfs.wiki.kernel.org for more information.

Turning ON incompat feature 'extref': increased hardlink limit per file to 65536
adding device /dev/sdh id 2
adding device /dev/sdi id 3
fs created label (null) on /dev/sdg
nodesize 16384 leafsize 16384 sectorsize 4096 size 1.36TiB

36# mount /dev/sdg /mnt/test/

37# btrfs fi df /mnt/test/
Data, RAID1: total=1.00GiB, used=512.00KiB
Data, single: total=8.00MiB, used=0.00B
System, RAID1: total=8.00MiB, used=16.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, RAID1: total=1.00GiB, used=112.00KiB
Metadata, single: total=8.00MiB, used=0.00B
GlobalReserve, single: total=16.00MiB, used=0.00B

38# df -h /mnt/test/
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sdg 699G 17M 466G 1% /mnt/test

###

This leaves me with just 466 GB of free disc space. 
Something is wrong. Either what I am doing is wrong or the web page is wrong.

Matthias


Am 16.04.2016 um 10:20 schrieb Luis Felipe Tabera Alonso:
> On sábado, 16 de abril de 2016 9:00:00 (CEST) Matthias Bodenbinder wrote:
>> Hello,
>>
>> I have 3 hard drive with 750 GB, 500 GB and 250 GB. I want to use btrfs as
>> filesystem. This will be my first test installation of btrfs.
>>
>> My target is to get redundancy as well as a 750 GB data capacity. So I was
>> thinking to create a raid0 with the 500 and 250 GB drive. This would result
>> in a raid0 with 750 GB capacity. I want to add this raid0 as a mirror in a
>> raid1 with the other 750 GB drive.
>>
>> But how do I do that?
>>
>> Thanks
>> Matthias
> 
> Disclaimer: I have necer made anything further than a btrfs raid1 with two 
> equally sized devices.
> 
> 
> If you create a raid1 with the three devices you will get 750GB with 
> redundancy. Current Btrfs raid1 means "data and metadata is copied twice in 
> different devices". And btrfs is smart enough to not copy the data in the two 
> smaller disks. I am not sure if this web page is accurate http://
> carfax.org.uk/btrfs-usage/ but you can take a look.
> 
> You can also create a single virtual device from the 250 and 500 devices 
> using 
> mdadm or lvm and then create a btrfs raid1 out of the 750GB device and the 
> virtual device.
> 
> With the "pure" btrfs setup, if you lose a single device you will be able to 
> mount the device as "degraded".
> 
> With the mixed setting, you can lose a single device and read the data. 
> Moreover, you can lose the two small devices and still be able to mount the 
> volume.
> 
> luis
> 
> 
> 




Re: Conseils sur la sécurisation de ses accès par SSH

2016-04-16 Thread Grégory Reinbold



Le 16/04/2016 02:27, Gabriel Philippe a écrit :

2016-04-14 11:18 GMT+02:00 Vincent Lefevre :

Pour ma part, ça arrive tellement souvent, que je choisis juste
de bannir (pendant plusieurs semaines). Après, il y a toujours
les logs de fail2ban pour voir les adresses IP bannies.

Mais pourquoi s'embêter à bannir? Si les mots de passe sont fiables,
ce ne sont pas quelques tentatives par seconde qui vont les trouver.
Si les mots de passe ne sont pas fiables, c'est un problème qui doit
être résolu de toute façon et on retourne au point précédent.

L'utilisation de bande passante est négligeable. Quelques Mo de plus
dans les logs ne changent pas grand chose non plus.

Et puis d'ailleurs, les cas où l'on doit autoriser la connexion par
mot de passe ne sont pas très nombreux, et je crois bien que si on
exige une authentification par clé il n'y a même pas de demande de mot
de passe. Et donc sûrement pas de bruteforce.

Très juste, avec l'authentification par clé uniquement le serveur ne 
demande pas de pass et si vous ne possédez pas la clé privée, il vous 
envoi gentillement bouler. :D




  1   2   >