Re: IPv6 addresses

2019-02-07 Thread Richard Hector
On 8/02/19 8:30 AM, Dan Ritter wrote:
>> Huh ? Isn't it the autoconfigured address you expect to get from an "auto"
>> stanza ?
> I bet there's at least a little confusion between
> 
> auto ens3
> 
> and
> 
> iface ens3 inet6 auto
> 
> the first one tells the system to bring ens3 up at boot time;
> the second one tells the system what to do with ens3.

In general, perhaps. Not on my part, I don't think.

Though I concede I should have included 'auto ens3' in my example.

Richard




signature.asc
Description: OpenPGP digital signature


Re: IPv6 addresses

2019-02-07 Thread Richard Hector
On 8/02/19 8:08 AM, Pascal Hambourg wrote:
> Le 07/02/2019 à 10:15, Richard Hector a écrit :
>>>
>>> # this one should hopefully configure via SLAAC
>>> iface ens3 inet6 auto
>>>
>>> # this one is for my static stuff (using a ULA prefix)
>>> iface ens3 inet6 static
>>>    address 2001:db8::1/64
>>>    up ip -6 route add ...
>>>    up ip -6 route add ...
>>>    up ip -6 route add ...
>>>
>>> But I don't get the SLAAC address. The only way I've managed to get the
>>> SLAAC address plus the static, is to have a single auto stanza like
>>> this:
>>>
>>> iface ens3 inet6 auto
>>>    up ip -6 addr add 2001:db8::1/64 dev ens3
>>>    up ip -6 route add ...
>>>    up ip -6 route add ...
>>>    up ip -6 route add ...
>>>
>>> Incidentally, that also gives me an autoconfigured address (based on the
>>> MAC) in the 2001:db8::/64 prefix, which I don't think I need.
> 
> Huh ? Isn't it the autoconfigured address you expect to get from an
> "auto" stanza ?

Sorry for the confusion. I expected to get a autoconfigured address in
the prefix the router got from the isp, not in a ULA one I created
myself. However, it's starting to look like the router actually does
advertise the ULA as well (I thought it didn't), so that's probably
correct behaviour.

>>> Does that suggest a bug in ifupdown? Or am I interpreting something
>>> wrong?
> 
> I would call it more an unforeseen consequence.
> 
>> Actually, if I put the 'auto' stanza after the 'static' one, it does
>> work (I still get the autogenerated address in the ULA prefix).
>>
>> Is it supposed to be order-sensitive?
> 
> Yes. "auto" sets autoconf=1 to enable SLAAC, and "static" sets
> autoconf=0 by default, which disables SLAAC and removes any
> autoconfigured address.

I didn't find anywhere in the man page that said the order of my stanzas
was important - I assumed they were entirely independent of each other.

>> I can also make it work by adding 'autoconf 1' to the static stanza, and
>> omitting the auto stanza.
> 
> This is the right way to go.

And it's the way I'm going.

It just appears that the idea of using one stanza per ip address (or at
least per prefix) doesn't seem to work consistently.

Cheers,
Richard




signature.asc
Description: OpenPGP digital signature


Re: Dependências desencontradas ao instalar o openscad

2019-02-07 Thread Hiure Queiroz
Olá Antonio, mas uma vez eu agradeço a ajuda,

Quando eu rodo pelo terminal ele simplesmente não acontece nada, fica o
terminal suspenso e não aparece nenhuma mensagem.

Mas ai o que eu fiz aqui que resolveu antes de tentar criar uma conta foi
colocar o meu usuario no grupo root

sudo usermod -a -G root hiure

Será que isso é uma coisa ruim de se fazer? Sera que seria melhor criar a
nova conta como você sugeriu?


Em qua, 6 de fev de 2019 às 10:36, Antonio Terceiro 
escreveu:

> On Tue, Feb 05, 2019 at 06:09:51PM -0200, Hiure Queiroz wrote:
> > Opa tudo bem?
> >
> > Cara eu queria reviver um pouco esse tópico, porque me aconteceu algo
> > curioso que me parece um efeito colateral dessas mudanças.
> >
> > Depois que eu fiz aquela alteração eu comecei a ter um problema com a
> > interface gráfica e alguns programas pararam de abrir. Um deles eu removi
> > para instalar de novo e ele me levou a interface gráfica inteira.
>
> Como eu te disse, instalar pedaços do testing num sistema stable costuma
> causar problemas, incluindo erros aleatórios. Isso acontece pelo simples
> fato de que essa combinação de componentes provavelmente nunca foi
> testada.
>
> Eu posso tentar dar algumas dicas com relação a alguns problems
> específicos, mas a solução definitiva muito provavelmente seria
> reinstalar o sistema. Ou, se você não puder fazer isso por algum motivo,
> ao menos remover todos os pacotes que vieram do testing, e depois
> reinstalar o que você precisa com pacotes do stable.
>
> > Depois eu instalei tudo de novo e agora estou tendo problema com o
> > libreoffice quando tento abir ele normalmente ele não abre,
> > simplesmente não aparece nada. Mas se eu vou no terminal e abro ele
> > com sudo libreoffice ele abre. Eu sou péssimo no assunto permissões no
> > debian e me parece que é só dar permissão para meu usuário abrir a
> > interface gráfica do libreoffice, mas também eu não consigo buscar
> > sobre esse assunto por ai, não to conseguindo perguntar sobre esse
> > problema, pode me dar mais uma ajudinha?
>
> Isso não está com cara de problema de permissão. O fato de funcionar com
> sudo pode estar relacionado a estar rodando com uma conta de usuário
> diferente. pode ser que um componente vindo do testing atualizou os
> arquivos no seu $HOME (e.g. ~/.config/libreoffice/) pra um formato novo,
> e ai quando vc volta pra versão anterior que não suporta aquele formato,
> o libreoffice quebra.
>
> Tente o seguinte:
>
> - rode o libreoffice pelo terminal, sem sudo, e manda aqui a mensagem de
>   erro que aperece
>
> - tente criar uma conta de usuário limpa, logue nela, e abra o
>   libreoffice pra ver se funciona.
>
>   - se funcionar, significa que alguma coisa no seu usuário está
> causando o problema. nesse caso, tente apagar o
> ~/.config/libreoffice da sua conta original pra ver se funciona.
> faça um backup desse diretório antes pro caso de ter alguma
> configuração importante.
>
>   - se não funcionar, tente rodar o libreoffice pelo terminal também, e
> veja se a mensagem de erro ainda é a mesma.
>


-- 
_
Hiure Queiroz
hiurequeiroz.github.io 
Sítio do Astronauta 
  
__


Re: /boot full (of old-dkms)

2019-02-07 Thread Erik Josefsson

Den 2019-02-07 kl. 10:31, skrev john doe:

On 2/7/2019 8:14 AM, Erik Josefsson wrote:

Hello,

I happen to have a couple of quite large old-dkms* files in my /boot
directory.

Apparently they are not removed by aptitude autoclean (which I use
regularly).


Can I safely remove those files manually with rm?

Or should I use another tool or command?

Thanks!


//Erik


*)

/boot$ ls -al | grep old
-rw-r--r--  1 root root 26018518 jul 26  2018
initrd.img-4.16.0-1-amd64.old-dkms
-rw-r--r--  1 root root  3538944 jul 26  2018
initrd.img-4.16.0-2-amd64.old-dkms
-rw-r--r--  1 root root 28866434 jan 16 18:06
initrd.img-4.19.0-1-amd64.old-dkms


According to (1), you should be fine removing '.old-dkms' files in '/boot'.
However, I would do a backup of those files before removing them.

1)  https://askubuntu.com/questions/863380/can-i-remove-old-dkms-files


Thank you!

Apparently there is also a new way of rid of old kernels coming up:

kthresher - Purge Unused Kernels

https://tracker.debian.org/pkg/kthresher

Best regards.

//Erik



Re: [caliu-info] install-parties a escoles, qui s'anima?!

2019-02-07 Thread j
Ostia que gran!
Aquesta idea s'assembla molt a un somni que vaig tenir.
La idea és fer-ho extensiu a tot Catalunya?
Com ho fem?
Julio


On 2019-02-06 14:21, Aniol Marti wrote:
> On 2/6/19 12:35 PM, Àlex wrote:
>> Bon dia a tothom,
>>
>> us volia proposar una cosa que potser és una anada d'olla meva:
>>
>>    (-si algú creu que no és una anada d'olla, ho pot reenviar a la
>> llista de Caliu?-)
>>
>>
>> Tinc peques que van a preescolar i primaria. A les escoles, quan arriba
>> la primavera, sempre hi ha algun divendres tarda o dissabte especial en
>> que es fa alguna festa a l'escola amb activitats per nens i famílies als
>> patis.
>>
>> He proposat a l'AMPA i Direcció de l'escola dels meus peques afegir una
>> activitat que serà:
>>
>>
>>    "Porta el teu vell portàtil que potser no uses, i li tornem a donar vida
>>     omplint-lo de programari educatiu pels teus peques"
>>
>>
>> Fer una install-party a una escola és fàcil: hi ha infraestructura, hi
>> ha mares i pares amb ganes de donar un cop de mà, i l'idea és ben
>> rebuda. Als pares i mares els engresca formatejar un portàtil que no
>> emprin per omplir-lo de programes per que els seus fills/es practiquin
>> matemàtiques, lecto-escriptura, etc.
>>
>>
>> Si hi ha algú més que trobi bé proposar installs-party a les escoles
>> dels seus peques o a les escoles del seu districte podriem crear un grup
>> per treballar plegats: compartir disseny de cartell, wiki amb calendari
>> d'install-partys, etc.
>>
>>
>> Potser si la cosa va molt bé ens trobem d'aquí uns anys que consolidem
>> una data oficial d'install-partys a escoles de Catalunya, o que més d'un
>> pare o mare han descobert que el vell portàtil amb Linux del seu nen
>> funciona més estable i ràpid que el seu nou portàtil amb sistema
>> operatiu propietari.
>>
>>
>> Jo per l'install-party faré servir Linkat, basada en Ubuntu, alhora
>> basada en Debian. Per què és la distribució que aquests nens/nenes tenen
>> a les aules, i per què és una distribució de molt bona qualitat i la
>> gent darrere de Linkat fa una feina impecable.
>>
>>   
>> http://linkat.xtec.cat/portal/index.php?module=Pages=display=6
>>
>>
>> Salut,
>>
>>
>>     Àlex
>>
>>
>>
>>
> 
> Em sembla bona idea.
> 
> Ho reenvio a Caliu. La llista de la CPL on ho ha reenviat en Joan ja no
> existeix, ara és caliu-i...@lists.riseup.net.
> 
> 
> Salut!

-- 
“No hay puerta de atrás. Punto final. […] Si hubiera una puerta de
atrás, entonces entiendo que no podría decirlo por que es parte del
secretismo, de las normas que tengo que respetar para no hablar, pero le
digo que no hay puerta de atrás”
Dorothee Belz, vicepresidenta de Microsoft



Re: le panneau d'annonce planté en suède

2019-02-07 Thread Belaïd
Je viens de m'apercevoir que Pôle emploi (les ordinateurs à l'acceuil pour
s'inscrire)  utilise Linux également !  Sympas !

Le mar. 29 janv. 2019 12:31, Erwan David  a écrit :

> On Tue, Jan 29, 2019 at 11:21:17AM CET, Belaïd 
> said:
> > Bonjour,
> >
> > Un peu dans la continuité du sujet,  J'ai remarqué aussi que les bornes
> de
> > commandes et de paiement de grosbill sont sur Linux !  Une variante
> > d'ubuntu il me semble...
>
> Chez Fly c'est du CentOS
>
> --
> Erwan
>
>


Re: IPv6 addresses

2019-02-07 Thread Dan Ritter
Pascal Hambourg wrote: 
> Le 07/02/2019 à 10:15, Richard Hector a écrit :
> > > 
> > > # this one should hopefully configure via SLAAC
> > > iface ens3 inet6 auto
> > > 
> > > # this one is for my static stuff (using a ULA prefix)
> > > iface ens3 inet6 static
> > >address 2001:db8::1/64
> > >up ip -6 route add ...
> > >up ip -6 route add ...
> > >up ip -6 route add ...
> > > 
> > > But I don't get the SLAAC address. The only way I've managed to get the
> > > SLAAC address plus the static, is to have a single auto stanza like this:
> > > 
> > > iface ens3 inet6 auto
> > >up ip -6 addr add 2001:db8::1/64 dev ens3
> > >up ip -6 route add ...
> > >up ip -6 route add ...
> > >up ip -6 route add ...
> > > 
> > > Incidentally, that also gives me an autoconfigured address (based on the
> > > MAC) in the 2001:db8::/64 prefix, which I don't think I need.
> 
> Huh ? Isn't it the autoconfigured address you expect to get from an "auto"
> stanza ?

I bet there's at least a little confusion between

auto ens3

and

iface ens3 inet6 auto

the first one tells the system to bring ens3 up at boot time;
the second one tells the system what to do with ens3.


-dsr-



Re: IPv6 addresses

2019-02-07 Thread Pascal Hambourg

Le 07/02/2019 à 10:15, Richard Hector a écrit :


# this one should hopefully configure via SLAAC
iface ens3 inet6 auto

# this one is for my static stuff (using a ULA prefix)
iface ens3 inet6 static
   address 2001:db8::1/64
   up ip -6 route add ...
   up ip -6 route add ...
   up ip -6 route add ...

But I don't get the SLAAC address. The only way I've managed to get the
SLAAC address plus the static, is to have a single auto stanza like this:

iface ens3 inet6 auto
   up ip -6 addr add 2001:db8::1/64 dev ens3
   up ip -6 route add ...
   up ip -6 route add ...
   up ip -6 route add ...

Incidentally, that also gives me an autoconfigured address (based on the
MAC) in the 2001:db8::/64 prefix, which I don't think I need.


Huh ? Isn't it the autoconfigured address you expect to get from an 
"auto" stanza ?



Does that suggest a bug in ifupdown? Or am I interpreting something wrong?


I would call it more an unforeseen consequence.


Actually, if I put the 'auto' stanza after the 'static' one, it does
work (I still get the autogenerated address in the ULA prefix).

Is it supposed to be order-sensitive?


Yes. "auto" sets autoconf=1 to enable SLAAC, and "static" sets 
autoconf=0 by default, which disables SLAAC and removes any 
autoconfigured address.



I can also make it work by adding 'autoconf 1' to the static stanza, and
omitting the auto stanza.


This is the right way to go.



Re: Dependências desencontradas ao instalar o openscad

2019-02-07 Thread Antonio Carlos Padoan Junior
Vejam se este link pode ajudar:

 https://www.maketecheasier.com/run-bleeding-edge-software-debian-ubuntu/

Atenciosamente,
-- 
Antonio Carlos PADOAN JUNIOR
Phone: +33(0)6 5035 1196
GPG fingerprint:
243F 237F 2DD3 4DCA 4EA3  1341 2481 90F9 B421 A6C9


signature.asc
Description: PGP signature


Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread Gene Heskett
On Thursday 07 February 2019 12:57:15 Ric Moore wrote:

> On 2/6/19 8:30 PM, Gene Heskett wrote:
> > On Wednesday 06 February 2019 20:15:48 John Hasler wrote:
> >> Gene writes:
> >>> I have had to write 2 checks for the last 2 vehicles I've
> >>> bought. Writing a single check for close to $20k for a good used
> >>> car/truck doesn't fly, some sort of a rule that 10k and over has
> >>> to be reported so the irs can watch for laundering, so I write one
> >>> for $ one day, and the balance the next day. As long as the
> >>> account is good for it, what business is it I buy a new truck to
> >>> replace a 20 yo rust bucket that getting dangerous to drive.
> >>
> >> People have been prosecuted for evading the controls in that way. 
> >> The government doesn't need to prove that any other illegal
> >> activity was involved or intended: evading the reporting
> >> requirements is a crime in itself.
> >
> > Maybe, but if they jailed everybody that did it, we'd need at least
> > 20x more beds in the jails.+
>
> No kidding. Gene, I'm finally getting my dream sailboat, at almost 70
> years old, and I'll be spending a lot more than 10k. But, it will be
> up to my bank to report the transaction, not me.
>
Bruce has one he'd like to sell. Older, cuddy cabin, towable by even a 
small car. Probably needs more than a paint job by now. But likely less 
than 10k too.  if interested.

> "Do what you want because a pirate is free, you are a pirate!"
> https://www.youtube.com/watch?v=i8ju_10NkGY
> Yo ho Ric


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 : Re: carte ethernet non reconnue

2019-02-07 Thread k6dedijon
Bonjour Stéphane,
Il faudrait peut-être regarder du coté des utilitaires ou outils de 
diagnostique.
Certains outils peuvent s'installer sur un support bootable et ainsi donner des 
informations sur le matériel sans trop de couches intermédiaires.
Voir :
https://doc.ubuntu-fr.org/diagnostic_outil
Ultimate Boot CD - http://www.ultimatebootcd.com/
Outils de diagnostics matériel pour Linux - 
https://envrac.tahikoi.net/systmes/nixlinux/outils_de_diagnostics_materiel_pour_linu/
etc.

Bon courage
Cassis




- Mail d'origine -
De: Stephane Ascoet 
À: debian-user-french@lists.debian.org
Envoyé: Wed, 06 Feb 2019 08:48:56 +0100 (CET)
Objet: Re: carte ethernet non reconnue

Le 05/02/2019 à 14:34, michael a écrit :
> C'est quoi que tu appelle "les consoles texte" ? Si tu parle d'un
> terminal, quelle commande avait-tu utilisée ? De mon coté j'ai essayé
> htop, lspci et dmesg sans trouver trace de cette carte réseau ethernet.

Bonjour, a l'epoque(Debian Squeeze), il y avait une console dans 
laquelle passaient tous les messages techniques du programme 
d'installation. En basculant vers celle-ci au bon moment, on voyait 
passer le message disant quelque chose comme "carte bidule detectee, 
microprogramme truc necessaire". Mais dans ton cas il semble qu'elle ne 
soit vraiment pas du tout detectee... au pire, je sais que ca salit les 
doigts, mais juste pour essayer, voir s'il elle est detectee sous Ubuntu 
ou m$...
-- 
Cordialement, Stephane Ascoet




Re: Widevine werkt niet meer in Firefox-esr

2019-02-07 Thread Paul van der Vlis
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921654



-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: Widevine werkt niet meer in Firefox-esr

2019-02-07 Thread Paul van der Vlis
Op 07-02-19 om 17:07 schreef Jan van Gemert:
> Op 06-02-19 om 09:46 schreef Paul van der Vlis:
>> Hoi,
>>
>> Onlangs melde ik dat npostart.nl niet meer functioneerde.
>>
>> In de tussentijd is er een nieuwe versie van Firefox-esr gekomen in
>> Debian, en er is wat veranderd. Nu wordt er een poging gedaan Widevine
>> te installeren (gele balk boven), maar dit duurt eindeloos en lukt niet.
>>
>> Ik heb de .mozilla directory hernoemd en het op die manier nog een keer
>> "schoon" geprobeerd, maar het ook dat werkt niet.
>>
>> Deze site geeft hetzelfde probleem, het probleem is dus niet NPO
>> specifiek:https://bitmovin.com/demos/drm
>>
>> Ik had nog antwoord gekregen van npostart.nl, ze vertelden dat voor de
>> tijd dat de problemen begonnen, er niets gewijzigd is bij hen. Er was
>> toen ook geen update van de browser in Debian.
>>
>> Groeten,
>> Paul
> Twee computers met debian 9.7 , firefox 60.5.0esr geven de hierboven
> verschijnselen met npostart. 't Werkte voorheen prima. Idem op deze
> computers met Chromium en Opera. Merkwaardig.
> Op 2 andere pc's met Ubuntu respectievelijk Lubunu, en Firefox 65.0
> werkte en werkt npostart probleemloos.

Met Firefox 65.0 van mozilla.org werkt het bij mij ook probleemloos
onder Debian. En wat interessant is, daarna werkt firefox-esr ook weer.

Firefox-esr 60.5.0esr-1~deb9u1 probeert een oude versie van Widevine te
installeren, namelijk versie 1.4.8.1008, dit gaat niet goed.

Firefox 65 installeert een nieuwere versie van Widevine, namelijk versie
4.10.1196.0,  in ~/.mozilla, en daarna doet ook firefox-esr het.
Want dat gebruikt ook die ~/.mozilla.

De enige manier waarop ik dit tot nu toe kan realiseren is door toch
Firefox 65 van mozilla.org eenmalig op te starten...

Groet,
Paul

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread Ric Moore

On 2/6/19 8:30 PM, Gene Heskett wrote:

On Wednesday 06 February 2019 20:15:48 John Hasler wrote:


Gene writes:

I have had to write 2 checks for the last 2 vehicles I've
bought. Writing a single check for close to $20k for a good used
car/truck doesn't fly, some sort of a rule that 10k and over has to
be reported so the irs can watch for laundering, so I write one for
$ one day, and the balance the next day. As long as the account
is good for it, what business is it I buy a new truck to replace a
20 yo rust bucket that getting dangerous to drive.


People have been prosecuted for evading the controls in that way.  The
government doesn't need to prove that any other illegal activity was
involved or intended: evading the reporting requirements is a crime in
itself.


Maybe, but if they jailed everybody that did it, we'd need at least 20x
more beds in the jails.+



No kidding. Gene, I'm finally getting my dream sailboat, at almost 70 
years old, and I'll be spending a lot more than 10k. But, it will be up 
to my bank to report the transaction, not me.


"Do what you want because a pirate is free, you are a pirate!"
https://www.youtube.com/watch?v=i8ju_10NkGY
Yo ho Ric



Re: how to select part of old mp3 and create new one

2019-02-07 Thread Jude DaShiell
On Thu, 7 Feb 2019, to...@tuxteam.de wrote:

> Date: Thu, 7 Feb 2019 12:45:45
> From: to...@tuxteam.de
> To: Jude DaShiell 
> Cc: debian-user@lists.debian.org
> Subject: Re: how to select part of old mp3 and create new one
>
> On Thu, Feb 07, 2019 at 12:30:48PM -0500, Jude DaShiell wrote:
> > I wonder, would recoding the file put a proper header on any new file
> > created?  If not, do any tools exist capable of syntax checking an mp3
> > file with a missing header and then adding a proper header to that mp3
> > file?
>
> Depending on what you (or your software) considers to be a "header":
> If it's the ID3 stuff, then something like exiftool might do the
> trick. If you mean /strictly/ MP3 headers, then MP3 seems to be
> a multi-headed monster (each frame has a header [1], and I doubt any
> frame would really make sense without one)
>
> Cheers
>
> [1] https://en.wikipedia.org/wiki/Mp3#File_structure
> -- t
>
I wonder what file (1) has to say about longwind's old mp3 file?  Is file
more capable than that package longwind used and got no header error?


--



Re: how to select part of old mp3 and create new one

2019-02-07 Thread tomas
On Thu, Feb 07, 2019 at 12:30:48PM -0500, Jude DaShiell wrote:
> I wonder, would recoding the file put a proper header on any new file
> created?  If not, do any tools exist capable of syntax checking an mp3
> file with a missing header and then adding a proper header to that mp3
> file?

Depending on what you (or your software) considers to be a "header":
If it's the ID3 stuff, then something like exiftool might do the
trick. If you mean /strictly/ MP3 headers, then MP3 seems to be
a multi-headed monster (each frame has a header [1], and I doubt any
frame would really make sense without one)

Cheers

[1] https://en.wikipedia.org/wiki/Mp3#File_structure
-- t


signature.asc
Description: Digital signature


Re: how to select part of old mp3 and create new one

2019-02-07 Thread Jude DaShiell
I wonder, would recoding the file put a proper header on any new file
created?  If not, do any tools exist capable of syntax checking an mp3
file with a missing header and then adding a proper header to that mp3
file?



--



Re: C, automake, testing change for compiling old c program

2019-02-07 Thread songbird
Thomas Schmitt wrote:
> Hi,

  hello,  :)


> songbird's autotools wrote:

 ^

 *snicker*


>> configure: WARNING: sys/ioctl.h: see the Autoconf documentation
>> configure: WARNING: sys/ioctl.h: section "Present But Cannot Be
>
> According to
>   
> https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Present-But-Cannot-Be-Compiled.html
> you will have to find out where your auto-empire (starting at your
> configure.ac) has a test which matches this grep expression:
>
>   AC_CHECK_HEADER[S]*(.*sys/ioctl.h.*
>
> and either fix it by giving the necessary helper headers or by just
> throwing it out.
>
> The helper headers would have to be determined by try and error and
> then included in the fourth argument code snippet like "number.h" in
> the autoconf documentation example.
>
> Throwing out the test might suppress early failure on systems which have
> no sys/ioctl.h or might prevent workarounds if it is missing. This depends
> much on the second and third argument of the macro: [action-if-found],
> [action-if-not-found].
> See also
>   
> https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Generic-Headers.html#Generic-Headers
> A quick look into my own code shows that i happily include 
> but never check for its existence. Works on all contemporary Unixes and
> with Cygwin.
>
>
> Have a nice day :)
>
> Thomas

  i tried removing the check for the autotools and then 
purged all the i386 stuff that multiarch added to see if 
it would compile anyways.

  no, it would not.

  but at least i could get it to compile the other way
so thanks for looking into it.

  i did look around on-line before asking, and did try
a few of the suggestions, but none of them dealt with
multiarch.

  thanks again,


  songbird



[SOLVED] C, automake, testing change for compiling old c program

2019-02-07 Thread songbird
 wrote:
> On Thu, Feb 07, 2019 at 06:06:01AM -0500, songbird wrote:

>>   i used to be able to compile my program=20
>> using Debian testing/unstable by setting the -m32
>> in CFLAGS and regenerating my environment.
>>=20
>>   now i'm picking up a warning from the auto stuff=20
>> like:
>>=20
>> =3D=3D=3D=3D=3D
>> checking sys/ioctl.h usability... no
>> checking sys/ioctl.h presence... yes
>> configure: WARNING: sys/ioctl.h: present but cannot be compiled
>> configure: WARNING: sys/ioctl.h: check for missing prerequisite heade=
> rs?
>> configure: WARNING: sys/ioctl.h: see the Autoconf documentation
>> configure: WARNING: sys/ioctl.h: section "Present But Cannot Be Compi=
> led"
>> configure: WARNING: sys/ioctl.h: proceeding with the compiler's result
>> configure: WARNING: ## -- ##
>> configure: WARNING: ## Report this to blahblahblah##
>> configure: WARNING: ## -- ##
>> checking for sys/ioctl.h... no
>> =3D=3D=3D=3D=3D
>
> It could be that your sys/ioctl.h is the 64 bit one. Some questions:
>
>   - you're on Debian, are you?

  yes (see above :) ) .


>   - what is the exact path to sys/ioctl.h?
>   - have you enabled multiarch?
>
> That said, cross building isn't that hard these days (and Debian
> rocks at that). Some -dev packages aren't (yet) multi-arch capable,
> so in those cases you'll have to bite the bullet anyway.
>
> (Yes, in your case above, sys/ioctl.h is (I guess) in linux-libc-dev,
> which is multi-arch capable).

  i did end up doing that.

  i used the debian multiarch wiki web page:
https://wiki.debian.org/Multiarch/HOWTO

  the program compiles and runs so at least i know
it will work.

  for a once or twice a year compile/run test this is
ok, but i'll probably purge all this extra stuff in
between tests because i don't need these packages 
around otherwise...

  thanks, :)


  songbird



Re: Widevine werkt niet meer in Firefox-esr

2019-02-07 Thread Jan van Gemert

Op 06-02-19 om 09:46 schreef Paul van der Vlis:

Hoi,

Onlangs melde ik dat npostart.nl niet meer functioneerde.

In de tussentijd is er een nieuwe versie van Firefox-esr gekomen in
Debian, en er is wat veranderd. Nu wordt er een poging gedaan Widevine
te installeren (gele balk boven), maar dit duurt eindeloos en lukt niet.

Ik heb de .mozilla directory hernoemd en het op die manier nog een keer
"schoon" geprobeerd, maar het ook dat werkt niet.

Deze site geeft hetzelfde probleem, het probleem is dus niet NPO
specifiek:https://bitmovin.com/demos/drm

Ik had nog antwoord gekregen van npostart.nl, ze vertelden dat voor de
tijd dat de problemen begonnen, er niets gewijzigd is bij hen. Er was
toen ook geen update van de browser in Debian.

Groeten,
Paul
Twee computers met debian 9.7 , firefox 60.5.0esr geven de hierboven 
verschijnselen met npostart. 't Werkte voorheen prima. Idem op deze 
computers met Chromium en Opera. Merkwaardig.
Op 2 andere pc's met Ubuntu respectievelijk Lubunu, en Firefox 65.0 
werkte en werkt npostart probleemloos.

--
Groeten, Jan van Gemert




Re: C, automake, testing change for compiling old c program

2019-02-07 Thread Thomas Schmitt
Hi,

songbird's autotools wrote:
> configure: WARNING: sys/ioctl.h: see the Autoconf documentation
> configure: WARNING: sys/ioctl.h: section "Present But Cannot Be

According to
  
https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Present-But-Cannot-Be-Compiled.html
you will have to find out where your auto-empire (starting at your
configure.ac) has a test which matches this grep expression:

  AC_CHECK_HEADER[S]*(.*sys/ioctl.h.*

and either fix it by giving the necessary helper headers or by just
throwing it out.

The helper headers would have to be determined by try and error and
then included in the fourth argument code snippet like "number.h" in
the autoconf documentation example.

Throwing out the test might suppress early failure on systems which have
no sys/ioctl.h or might prevent workarounds if it is missing. This depends
much on the second and third argument of the macro: [action-if-found],
[action-if-not-found].
See also
  
https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Generic-Headers.html#Generic-Headers
A quick look into my own code shows that i happily include 
but never check for its existence. Works on all contemporary Unixes and
with Cygwin.


Have a nice day :)

Thomas



Re: linguagem c;forum iniciante

2019-02-07 Thread Albino Biasutti Neto
On Thu, Feb 7, 2019 at 12:12 PM Daniel Roma
 wrote:
> alguem indica algum forum de linguagem c pra iniciantes,como eu?

https://osprogramadores.com/

-- 
You must be the change you wish to see in the world. -- Gandhi



Re: Install Report: Buster Weekly Build on Intel NUC (NUC8I5BEK1)

2019-02-07 Thread Carl Fink
On Thu, Feb 07, 2019 at 02:56:23PM +0100, Thomas Schmitt wrote:

> This should be reported to projects debian-cd or debian-live, depending
> on the ISO image used.

I submitted a bug against installation-report. I have to assume that team
will refer it.

> You mentioned "netinst". Something like debian-9.3.0-amd64-netinst.iso ?
> That would be a debian-cd ISO.
> A debian-live ISO would be named like debian-live-9.4.0-amd64-xfce.iso.

As I said, this was for Buster's weekly build. Not a livecd.
-- 
Carl Fink   nitpick...@nitpicking.com 

Read John Grant's book, Corrupted Science: http://a.co/9UsUoGu 
Dedicated to ... Carl Fink!



linguagem c;forum iniciante

2019-02-07 Thread Daniel Roma
ola pessoal.
alguem indica algum forum de linguagem c pra iniciantes,como eu?
obrigado


Re: Install Report: Buster Weekly Build on Intel NUC (NUC8I5BEK1)

2019-02-07 Thread Thomas Schmitt
Hi,

i wrote:
> > The FAQ proposes
>cp  

Carl Fink wrote:
> I did that too

So it does not fail due to inappropriate copying to USB stick.


> > > You also have to turn on legacy boot, of course, to boot from the USB
> > > drive.

> Happened with every way of making the install drive, though.

Maybe EFI did not like the GRUB bootloader in the EFI System Partition of
the ISO image.
Or maybe EFI insists in Secure Boot if not switched to legacy mode.

This should be reported to projects debian-cd or debian-live, depending
on the ISO image used.
You mentioned "netinst". Something like debian-9.3.0-amd64-netinst.iso ?
That would be a debian-cd ISO.
A debian-live ISO would be named like debian-live-9.4.0-amd64-xfce.iso.


Have a nice day :)

Thomas



Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread Curt
On 2019-02-07, Gene Heskett  wrote:
>
> I think we've about worn this off topic thread out. The $10,000 rule is 
> what it is wherever you are doing business.
> Cheers, Gene Heskett

For me the rule is defined by the IRS and the FinCEN. The very heading
of IRS form 8300--"Report of Cash Payments Over $10,000 Received in a
Trade or Business"--appears to leave little wiggle room for subjective
interpretation in the matter.

The perversity of the thing is, Gene, as I've pointed out elsewhere, for
certain monetary instruments which normally would not fall foul of the
reporting requirement when used in good faith, attempting to use those
same instruments in such a manner as to avoid triggering the reporting
requirement results in the triggering of the reporting requirement.

As those monetary instruments do not comprise the personal check, however,
both you and your used car salesman can breathe easy.



Re: C, automake, testing change for compiling old c program

2019-02-07 Thread tomas
On Thu, Feb 07, 2019 at 06:06:01AM -0500, songbird wrote:
>   i used to be able to compile my program 
> using Debian testing/unstable by setting the -m32
> in CFLAGS and regenerating my environment.
> 
>   now i'm picking up a warning from the auto stuff 
> like:
> 
> =
> checking sys/ioctl.h usability... no
> checking sys/ioctl.h presence... yes
> configure: WARNING: sys/ioctl.h: present but cannot be compiled
> configure: WARNING: sys/ioctl.h: check for missing prerequisite headers?
> configure: WARNING: sys/ioctl.h: see the Autoconf documentation
> configure: WARNING: sys/ioctl.h: section "Present But Cannot Be Compiled"
> configure: WARNING: sys/ioctl.h: proceeding with the compiler's result
> configure: WARNING: ## -- ##
> configure: WARNING: ## Report this to blahblahblah##
> configure: WARNING: ## -- ##
> checking for sys/ioctl.h... no
> =

It could be that your sys/ioctl.h is the 64 bit one. Some questions:

  - you're on Debian, are you?
  - what is the exact path to sys/ioctl.h?
  - have you enabled multiarch?

That said, cross building isn't that hard these days (and Debian
rocks at that). Some -dev packages aren't (yet) multi-arch capable,
so in those cases you'll have to bite the bullet anyway.

(Yes, in your case above, sys/ioctl.h is (I guess) in linux-libc-dev,
which is multi-arch capable).

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: PARTIAL success - was [Re: Adding/modifying users under MATE DE]

2019-02-07 Thread Richard Owlett

On 02/06/2019 03:29 PM, to...@tuxteam.de wrote:

On Wed, Feb 06, 2019 at 01:47:26PM -0600, Richard Owlett wrote:

On 02/04/2019 12:29 PM, Richard Owlett wrote:


[...]


If [as root] I do   > export EDITOR=/usr/bin/pluma
before
   > visudo
things *approximately* work ;/

Pluma, not nano, is invoked.


Not bad :-)


$EDITOR is not preserved across sessions.


This is to be expected: this "export... " is only good for this
one shell session.


I've seen mention of a remedy, but the reference is missing at moment.


Most probably you should add

   export EDITOR=/usr/bin/pluma

to your /etc/profile (for all users) or to $HOME/.xsession (for one
specific user). Don't know for sure whether MATE picks that up there
(others might chime in).


My attempt at that failed :{

HOWEVER *GRIN*
I came across galternatives {A front-end to the update-alternatives}.
Related links include:> https://wiki.debian.org/TextEditor
   > https://wiki.debian.org/DebianAlternatives
   > 
https://debian-administration.org/article/91/Using_the_Debian_alternatives_system

   > https://lists.debian.org/debian-user/2002/08/msg02808.html
   > https://packages.debian.org/stretch/galternatives
   > 
https://manpages.debian.org/stretch/galternatives/galternatives.1.en.html

   > https://ubuntuforums.org/showthread.php?t=1451141

Now to explore "What can sudo do for me".




Re: how to select part of old mp3 and create new one

2019-02-07 Thread songbird
Long Wind wrote:
...
> Thank songbird, i think mp3 is popular and supported by many devices, and i=
> t satisfy me, i've never heard flac before.

  mhwaveedit also works on mp3's...  i just checked.  :)


  songbird



Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread Gene Heskett
On Thursday 07 February 2019 05:19:54 Curt wrote:

> On 2019-02-07, Gene Heskett  wrote:
> > On Wednesday 06 February 2019 20:15:48 John Hasler wrote:
> >> Gene writes:
> >> > I have had to write 2 checks for the last 2 vehicles I've
> >> > bought. Writing a single check for close to $20k for a good used
> >> > car/truck doesn't fly, some sort of a rule that 10k and over has
> >> > to be reported so the irs can watch for laundering, so I write
> >> > one for $ one day, and the balance the next day. As long as
> >> > the account is good for it, what business is it I buy a new truck
> >> > to replace a 20 yo rust bucket that getting dangerous to drive.
> >>
> >> People have been prosecuted for evading the controls in that way. 
> >> The government doesn't need to prove that any other illegal
> >> activity was involved or intended: evading the reporting
> >> requirements is a crime in itself.
> >
> > Maybe, but if they jailed everybody that did it, we'd need at least
> > 20x more beds in the jails.+
> >
> >
> > Cheers, Gene Heskett
>
> I thought the $10,000 rule had to do with *cash*.
>
>  Cash does not include:
>
>   • Personal checks drawn on the account of the writer.
>   • A cashier’s check, bank draft, traveler’s check or money order
> with a face value of more than $10,000.
>
> https://www.irs.gov/pub/irs-utl/irsform8300referenceguide.pdf
>
> Maybe I'm missing something here.

Or my fav used car dealer, a good member of our church, who's sold me the 
last 5 vehicles we've worn out, running a 2 site business his 
grandfather started about the end of WW-II. And that's how he's done it 
since that $10,000 rule went into effect. Anytime I feel the need to 
refresh my driveway, I've alway found what I wanted, for a decent price.
Driveway occupants currently include a 2007 RAV4 that had 21,000 miles on 
it when I wrote 2 checks for it in 2011, now has 62k on it, and hasn't 
turned a wheel in months, but its sitting there with a charger on its 
battery because its computer will kill a battery in a week if its not 
moving.

Then a year back my 99 gmc pickup decided to rust thru its brake lines 
and start leaking axle grease at the spring hanger bolts, about a year 
after I'd put a new long block in it because the head gaskets failed and 
the old one had a pan full of antifreeze at 112k miles, I got it up to 
116k before rust was the ultimate enemy.  So now I'm in a 2011 Ford, 
ecoboost v6 that looked showroom when I got behind the wheel a year ago. 
Had 139k on it already, but I've not been very far with it so its at 
142,300 about now. Worst complaint is its poor mileage around town when 
using it for the daily driver. Way too easy to spool up the blowers and 
get some serious giddyup out of it.  Crew cab, full topper, first class 
all the way. But that giddyup has to move over 7000 lbs, so the mileage 
hovers at about 14.  Reset and go 435 one way to the nieces Dairy farm 
in NY and it will be showing just shy of 18 when it next pulls into the 
driveway.  I'd sell the toy, but I can't get the missus up into this 
cab, so it sits until I have to take her, her oxygen tank and her 
wheelchair someplace. Which hasn't happened since last summer.

I think we've about worn this off topic thread out. The $10,000 rule is 
what it is wherever you are doing business.
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: how to select part of old mp3 and create new one

2019-02-07 Thread Curt
On 2019-02-07, songbird  wrote:
> Long Wind wrote:
> ...
>> i want to copy part of old mp3 file and create a new oneat first, i install 
>> lame, but it doesn't seem to have such abilityi try mencoder, it doesn't 
>> eitherthen i try qmp3cut, it says "no valid header found"though i can play 
>> the mp3 file and it's OK
>> what should i do next? Thanks!
>
>   not post in html...  :(
>
>
>   that aside...
>
>   does it have to be mp3 ?

It already is an old one.

>   i convert all audios to flac before i do anything else
> with them.
>
>   pacpl will do conversions.
>
>   once i have flac then i can edit with any audio editor
> that does flac.  i like mhwaveedit.

Another way to get from here to Rome:

'mpgtx'.

http://mpgtx.sourceforge.net/#Usage






Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread deloptes
Curt wrote:

> I thought the $10,000 rule had to do with *cash*.
> 
> Cash does not include:
> 
> • Personal checks drawn on the account of the writer.
> • A cashier’s check, bank draft, traveler’s check or money order with a
> face value of more than $10,000.
> 
> https://www.irs.gov/pub/irs-utl/irsform8300referenceguide.pdf
> 
> Maybe I'm missing something here.

Don't know how it is in US - here if you want to withdraw more than 5000,-
cash from the local bank office, you have to request it upfront




Re: Install Report: Buster Weekly Build on Intel NUC (NUC8I5BEK1)

2019-02-07 Thread Carl

On 2/7/19 1:34 AM, Thomas Schmitt wrote:

Hi,

Carl Fink wrote:

First I used unetbootin to create a Testing (Buster) netinstall USB drive.

This is deprecated by
   https://www.debian.org/CD/faq/#write-usb

"Please note, that Debian advises not using "unetbootin" for this task.
  It can cause difficult-to-diagnose problems with booting and installing,
  so is not recommended."

Rather copy the ISO image flatly to the base device file of the USB stick.
The FAQ proposes

   cp  

or

   dd if= of= bs=4M; sync

( has to be e.g. /dev/sdc, not a partition device like /dev/sdc1.)


Hi, Thomas,

Actually, I did that too (the cp version, and also tried catting the image
to the device). I didn't put every detail in the original message because,
well, I have a bad memory and I was tired.



You also have to turn on legacy boot, of course, to boot from the USB drive.

The ISOs do have boot entries for EFI from DVD and from USB stick.
Probably unetbootin did not copy the EFI System Partition from the ISO.


Happened with every way of making the install drive, though.

Have a nice day :)


Same to you!

--

Carl Fink
c...@finknetwork.com



Re: how to select part of old mp3 and create new one

2019-02-07 Thread songbird
Long Wind wrote:
...
> i want to copy part of old mp3 file and create a new oneat first, i install 
> lame, but it doesn't seem to have such abilityi try mencoder, it doesn't 
> eitherthen i try qmp3cut, it says "no valid header found"though i can play 
> the mp3 file and it's OK
> what should i do next? Thanks!

  not post in html...  :(


  that aside...

  does it have to be mp3 ?

  i convert all audios to flac before i do anything else
with them.

  pacpl will do conversions.

  once i have flac then i can edit with any audio editor
that does flac.  i like mhwaveedit.


  songbird



C, automake, testing change for compiling old c program

2019-02-07 Thread songbird
  i used to be able to compile my program 
using Debian testing/unstable by setting the -m32
in CFLAGS and regenerating my environment.

  now i'm picking up a warning from the auto stuff 
like:

=
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... yes
configure: WARNING: sys/ioctl.h: present but cannot be compiled
configure: WARNING: sys/ioctl.h: check for missing prerequisite headers?
configure: WARNING: sys/ioctl.h: see the Autoconf documentation
configure: WARNING: sys/ioctl.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/ioctl.h: proceeding with the compiler's result
configure: WARNING: ## -- ##
configure: WARNING: ## Report this to blahblahblah##
configure: WARNING: ## -- ##
checking for sys/ioctl.h... no
=


  if i ignore the warning the program will not compile:

=
In file included from /usr/include/sys/ioctl.h:26,
 from io.c:34:
/usr/include/bits/ioctls.h:23:10: fatal error: asm/ioctls.h: No such file or 
directory
 #include 
  ^~
=


  if i don't set the CFLAGS it won't give me
errors from the auto stuff and the program will
compile but then segfault when run because it 
isn't 64 bit sane (and no i'm not going to go 
through and fix it, it's an ancient program 
with a lot of issues).

  i was hoping i wouldn't have to do a cross-
build setup for this to get it working.  that
drags in a lot of extra dependencies...

  any ideas/hints?

  it being old code if i can get it to compile
and run that is all i wish to do as simple as 
possible.


  songbird



Re: GRUB, GPT, RAID1 + UEFI

2019-02-07 Thread Narcis Garcia
Lluís,

Si agafes un equipet d'aquests amb UEFI (aparentment només), amb la
unitat interna en blanc, prova a instal·lar-hi un sistema operatiu sense
UEFI possible. T'haurà de funcionar.



__
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 7/2/19 a les 11:17, Lluís Gras ha escrit:
> Hola Alex i companyia,
> 
> A l'escola tinc un servidor que bàsicament allotja els homes dels
> usuaris (, en el seu moment el vaig muntar sobre MBR, RAID1 + LVM amb
> discs de 2 TB i una Stretch.
> Com que ens estem quedant sense espai, hi ha algun profe que acumula
> materials del cretàcic, he decidit firar uns discs de 6 TB i la meva
> qüestió inicial, anava més de cara a l'esquema de particions recomanat,
> precaucions "clonant" la partició EFI i assegurar l'arrencada des de
> qualsevol disc, etc ...
> 
> Penso que això de l'EFI ha vingut per quedar-se i tinc la lleugera
> sospita que l'opció d'arrencada CSM anirà desapareixen dels equips nous,
> així doncs, la idea és incorporar-ho amb l'ànim d'estalviar-me problemes
> futurs. De fet, fa molts anys que em preparo distribucions en viu i en
> usb, basades en Debian per facilitar-me les instal·lacions puntuals, als
> equips de l'escola i les darreres setmanes he migrat de extlinux a grub
> amb arrencada UEFI perquè m'estava trobant que tots els equipets de baix
> cost ( Tipus Beelink AP34 Pro) que tinc previst emprar a partir d'ara,
> em venien amb bios uefi sense el mòdul de compatibilitat.
>  
> 
> 
> 
> Missatge de Alex Muntada mailto:al...@debian.org>>
> del dia dc., 6 de febr. 2019 a les 23:13:
> 
> Hola Lluís,
> 
> > Alguna experiència reeixida, recomanació assenyada o consell
> > imperdible amb la configuració de l'assumpte.
> 
> A la feina tenim servidors amb discos de 5 TB en RAID1 corrent
> Ubuntu 16 que ja tenen uns quants anys (posaria la mà al foc
> que també havien tingut la 14).
> 
> No recordo que ens hagin donat cap problema en la instal·lació
> però no els vam instal·lar amb UEFI perquè ja venien de sèrie
> en mode legacy i sense S.O.
> 
> Estic força segur que amb Debian hauria de funcionar també sense
> problemes perquè jo tinc el portàtil amb GRUB, GPT, LVM + UEFI,
> corrent Debian stretch.
> 
> Salut i records!
> Alex
> 
> --
>   ⢀⣴⠾⠻⢶⣦⠀
>   ⣾⠁⢠⠒⠀⣿⡁  Alex Muntada mailto:al...@debian.org>>
>   ⢿⡄⠘⠷⠚⠋   Debian Developer - log.alexm.org 
>   ⠈⠳⣄
> 



Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread Curt
On 2019-02-07, deloptes  wrote:
>
> Same here, same here - limit is €1,-, so we do the same split all into
> work packages below 1,-
>

Le plafond concerne des paiements *en liquide* uniquement.

He's writing *checks*.

https://droit-finances.commentcamarche.com/faq/7183-paiement-en-especes-et-liquide-plafonds

The IRS is rather sly in its thinking, it seems, because if you pay for
your $12,000 truck with a $12,000 cashier's check, you do not trigger
the reporting requirement; however, if you pay for your truck with two
cashier's checks of $6,000 each, you do trigger the reporting
requirement, as in this latter case they figure you're attempting to
avert it.



Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread Curt
On 2019-02-07, Gene Heskett  wrote:
> On Wednesday 06 February 2019 20:15:48 John Hasler wrote:
>
>> Gene writes:
>> > I have had to write 2 checks for the last 2 vehicles I've
>> > bought. Writing a single check for close to $20k for a good used
>> > car/truck doesn't fly, some sort of a rule that 10k and over has to
>> > be reported so the irs can watch for laundering, so I write one for
>> > $ one day, and the balance the next day. As long as the account
>> > is good for it, what business is it I buy a new truck to replace a
>> > 20 yo rust bucket that getting dangerous to drive.
>>
>> People have been prosecuted for evading the controls in that way.  The
>> government doesn't need to prove that any other illegal activity was
>> involved or intended: evading the reporting requirements is a crime in
>> itself.
>
> Maybe, but if they jailed everybody that did it, we'd need at least 20x 
> more beds in the jails.+
>
>
> Cheers, Gene Heskett

I thought the $10,000 rule had to do with *cash*.

 Cash does not include:

  • Personal checks drawn on the account of the writer.
  • A cashier’s check, bank draft, traveler’s check or money order with a
face value of more than $10,000.

https://www.irs.gov/pub/irs-utl/irsform8300referenceguide.pdf

Maybe I'm missing something here.




Re: GRUB, GPT, RAID1 + UEFI

2019-02-07 Thread Lluís Gras
Hola Alex i companyia,

A l'escola tinc un servidor que bàsicament allotja els homes dels usuaris
(, en el seu moment el vaig muntar sobre MBR, RAID1 + LVM amb discs de 2 TB
i una Stretch.
Com que ens estem quedant sense espai, hi ha algun profe que acumula
materials del cretàcic, he decidit firar uns discs de 6 TB i la meva
qüestió inicial, anava més de cara a l'esquema de particions recomanat,
precaucions "clonant" la partició EFI i assegurar l'arrencada des de
qualsevol disc, etc ...

Penso que això de l'EFI ha vingut per quedar-se i tinc la lleugera sospita
que l'opció d'arrencada CSM anirà desapareixen dels equips nous, així
doncs, la idea és incorporar-ho amb l'ànim d'estalviar-me problemes futurs.
De fet, fa molts anys que em preparo distribucions en viu i en usb, basades
en Debian per facilitar-me les instal·lacions puntuals, als equips de
l'escola i les darreres setmanes he migrat de extlinux a grub amb arrencada
UEFI perquè m'estava trobant que tots els equipets de baix cost ( Tipus
Beelink AP34 Pro) que tinc previst emprar a partir d'ara, em venien amb
bios uefi sense el mòdul de compatibilitat.




Missatge de Alex Muntada  del dia dc., 6 de febr. 2019 a
les 23:13:

> Hola Lluís,
>
> > Alguna experiència reeixida, recomanació assenyada o consell
> > imperdible amb la configuració de l'assumpte.
>
> A la feina tenim servidors amb discos de 5 TB en RAID1 corrent
> Ubuntu 16 que ja tenen uns quants anys (posaria la mà al foc
> que també havien tingut la 14).
>
> No recordo que ens hagin donat cap problema en la instal·lació
> però no els vam instal·lar amb UEFI perquè ja venien de sèrie
> en mode legacy i sense S.O.
>
> Estic força segur que amb Debian hauria de funcionar també sense
> problemes perquè jo tinc el portàtil amb GRUB, GPT, LVM + UEFI,
> corrent Debian stretch.
>
> Salut i records!
> Alex
>
> --
>   ⢀⣴⠾⠻⢶⣦⠀
>   ⣾⠁⢠⠒⠀⣿⡁  Alex Muntada 
>   ⢿⡄⠘⠷⠚⠋   Debian Developer - log.alexm.org
>   ⠈⠳⣄
>
>


Re: how to select part of old mp3 and create new one

2019-02-07 Thread tomas
On Thu, Feb 07, 2019 at 10:19:39AM +0100, Nicolas George wrote:
> to...@tuxteam.de (12019-02-07):
> >   ffmpeg -i input.mp3 -ss 10 -t 20 -acodec mp3 output.mp3
> 
> Since the original is already in MP3, -acodec copy (or -c:a copy, more
> modern) will avoid re-encoding the file, and thus having the MP3
> artifacts twice.

Yes, this is a very important point. More speed at more quality,
this is an offer one can't decline :-)

> But if you want to recode, then do not put just a codec: you would get
> the default quality parameters, and they probably do not suit you.
> Specify the quality you want. RTFM for that.

Yes. I just wanted to present a somewhat minimalist command line
to grow from.

> Last: usually better to put -ss before -i, because it avoids decoding
> the whole beginning of the file.

Nice little optimization, right. With videos and not-that-fast
hardware it'll make a noticeable difference, I guess.

> > This is assuming you want to have your result as .mp3 too (consider
> > a free codec like vorbis or flac, if you want lossless).
> 
> Nowadays, Opus beats Vorbis easily.

Thanks for the heads-up. I'm not that deep in codec land these days.

Thanks for your comments!

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: how to select part of old mp3 and create new one

2019-02-07 Thread tomas
On Thu, Feb 07, 2019 at 09:14:50AM +, Long Wind wrote:
> Thank tomas!i've just tested your command, it's OK

Thanks :-)

But see Nicolas's reply too: his version is probably faster
and its result will have better quality.

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: /boot full (of old-dkms)

2019-02-07 Thread john doe
On 2/7/2019 8:14 AM, Erik Josefsson wrote:
> Hello,
>
> I happen to have a couple of quite large old-dkms* files in my /boot
> directory.
>
> Apparently they are not removed by aptitude autoclean (which I use
> regularly).
>
>
> Can I safely remove those files manually with rm?
>
> Or should I use another tool or command?
>
> Thanks!
>
>
> //Erik
>
>
> *)
>
> /boot$ ls -al | grep old
> -rw-r--r--  1 root root 26018518 jul 26  2018
> initrd.img-4.16.0-1-amd64.old-dkms
> -rw-r--r--  1 root root  3538944 jul 26  2018
> initrd.img-4.16.0-2-amd64.old-dkms
> -rw-r--r--  1 root root 28866434 jan 16 18:06
> initrd.img-4.19.0-1-amd64.old-dkms
>

According to (1), you should be fine removing '.old-dkms' files in '/boot'.
However, I would do a backup of those files before removing them.

1)  https://askubuntu.com/questions/863380/can-i-remove-old-dkms-files

--
John Doe



Four new mailing lists of possible interest

2019-02-07 Thread Rich Kulawiec
Use the email addresses/URLs to subscribe, if you wish.

mint-users  Discussion of the Mint Linux distribution
mint-users-requ...@firemountain.net
http://www.firemountain.net/mailman/listinfo/mint-users
(independent, not affiliated with the Mint Linux project)

dumpsterfireDiscussion of security and privacy issues in the IoT
dumpsterfire-requ...@firemountain.net
http://www.firemountain.net/mailman/listinfo/dumpsterfire

nosql   Discussion of nosql and related technologies
nosql-requ...@firemountain.net
http://www.firemountain.net/mailman/listinfo/nosql
(Quasi-replacement for the nosql-discussion mailing
list hosted by Google, which has apparently been
abandonded by its owner and is now overrun with abuse.)

openvas-users   Discussion of the OpenVAS intrusion detection system
openvas-users-requ...@firemountain.net
http://www.firemountain.net/mailman/listinfo/openvas-users
(independent, not affiliated with the OpenVAS project)

---rsk



Re: GRUB, GPT, RAID1 + UEFI

2019-02-07 Thread Orestes Mas
(Perdó pel top-posting. El mòbil...)

Hola Lluís. Jo fa temps que instal·lo sempre amb gpt i uefi, i en general no he 
tingut cap problema. Només fa anys, amb les primeres plaques uefi vaig haber-me 
de barallar amb un portàtil i ho vaig haver de solventar amb el "refit".

Només en alguna ocasió semblava que l'arrencada se'm resistia, però vaig 
descobrir les variables efi i el paquet "efivar", i oli en un llum.

Quant al raid, a casa tinc això mateix que dius tu, i no he tingut problemes. 
Bé, si que n'he tingut: de tant en tant el RAID se'm desincronitza però ja vaig 
descobrir que és perquè, en la meva ignorància, vaig emprar discs western 
digital "green", no pensats per raid perquè es posen en standby al cap d'una 
estona i com que triguen uns segons en tornar a despertar-se, el raid es pensa 
que no responen. Estic en procés gradual de substitució pels "red", i ara el 
problema és molt més esooràdic. Res a veure amb uefi.

Records,
Orestes.

El 5 de febrer de 2019 22.42.42 CET, "Lluís Gras"  ha 
escrit:
>Bones,
>
>Alguna experiència reeixida, recomanació assenyada o consell imperdible
>amb
>la configuració de l'assumpte.
>
>La veritat és que encara no ho he provat però ho faré aviat i amb certa
>urgència. Juraria que el darrer cop que vaig intentar instal·lar un
>raid1
>sobre discs amb taula gpt, l'instal·lador em va donar problemes i vaig
>acabar fent-ho amb taula msdos.
>
>Algú ho ha provat amb "Buster"?

-- 
Enviat des del meu dispositiu Android amb el K-9 Mail. Disculpeu la brevetat.

Re: What am I missing that causes this error response from the wheezy mozilla?

2019-02-07 Thread deloptes
Gene Heskett wrote:

> You are just playing in a bigger rodeo.  I have had to write 2 checks for
> the last 2 vehicles I've bought. Writing a single check for close to
> $20k for a good used car/truck doesn't fly, some sort of a rule that 10k
> and over has to be reported so the irs can watch for laundering, so I
> write one for $ one day, and the balance the next day. As long as
> the account is good for it, what business is it I buy a new truck to
> replace a 20 yo rust bucket that getting dangerous to drive.

Same here, same here - limit is €1,-, so we do the same split all into
work packages below 1,-

However I think they are watching if the wrong people are doing the
laundering :D. I just heard a story how civil border patrol in US caught 2
CIA employes with 100 pounds of white powder near the border and they
explained this belongs to CIA :D

Another option are the fees they collect - but I am not sure if it is per
transaction or %charge on the total.

regards



Re: how to select part of old mp3 and create new one

2019-02-07 Thread Nicolas George
to...@tuxteam.de (12019-02-07):
>   ffmpeg -i input.mp3 -ss 10 -t 20 -acodec mp3 output.mp3

Since the original is already in MP3, -acodec copy (or -c:a copy, more
modern) will avoid re-encoding the file, and thus having the MP3
artifacts twice.

But if you want to recode, then do not put just a codec: you would get
the default quality parameters, and they probably do not suit you.
Specify the quality you want. RTFM for that.

Last: usually better to put -ss before -i, because it avoids decoding
the whole beginning of the file.

> This is assuming you want to have your result as .mp3 too (consider
> a free codec like vorbis or flac, if you want lossless).

Nowadays, Opus beats Vorbis easily.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: how to select part of old mp3 and create new one

2019-02-07 Thread Long Wind
Thank tomas!i've just tested your command, it's OK
Thank crane and Michael too! 

On Thursday, February 7, 2019 4:55 PM, "to...@tuxteam.de" 
 wrote:
 

 On Thu, Feb 07, 2019 at 08:33:15AM +, mick crane wrote:
> On 2019-02-07 07:08, Long Wind wrote:
> >i want to copy part of old mp3 file and create a new oneat first, i
> >install lame, but it doesn't seem to have such abilityi try mencoder,
> >it doesn't eitherthen i try qmp3cut, it says "no valid header
> >found"though i can play the mp3 file and it's OK
> >what should i do next? Thanks!
> 
> ffmpeg
> 
> don't have exact syntax to hand

ffmpeg's man page is pretty complete, but pretty daunting too. Here's
a command line to help jump-start things (corrections/enhancements
welcome):

  ffmpeg -i input.mp3 -ss 10 -t 20 -acodec mp3 output.mp3

This is assuming you want to have your result as .mp3 too (consider
a free codec like vorbis or flac, if you want lossless).

Here's a rundown of the above command line:

  -i input.mp3  -- the input file. Replace by "your" name

  -ss 10        -- the start time (in seconds). You can use a
                  duration in the hh:mm:ss. format (cf.
                  man page ffmpeg-utils(1)

  -t 20        -- the duration (just leave it out if you want
                  copy all to the end). Format as above.

  -acodec mp3  -- the audio codec for output. See ffmpeg man
                  page for possibilities (audio & video codecs
                  have options of their own, lots of fun for
                  long winter afternoons :-)

  output.mp3    -- your desired output file name

Cheers
-- t

   

Re: IPv6 addresses

2019-02-07 Thread Richard Hector
On 7/02/19 10:05 PM, Richard Hector wrote:
> Hi all,
> 
> Tipped off by a comment on here, and confirmed I think by reading the
> manpage, it seems I should be able to set multiple addresses on an
> interface by using multiple iface stanzas for the same interface in
> /etc/network/interfaces.
> 
> So I have something like this:
> 
> iface ens3 inet static
>   
> 
> # this one should hopefully configure via SLAAC
> iface ens3 inet6 auto
> 
> # this one is for my static stuff (using a ULA prefix)
> iface ens3 inet6 static
>   address 2001:db8::1/64
>   up ip -6 route add ...
>   up ip -6 route add ...
>   up ip -6 route add ...
> 
> But I don't get the SLAAC address. The only way I've managed to get the
> SLAAC address plus the static, is to have a single auto stanza like this:
> 
> iface ens3 inet6 auto
>   up ip -6 addr add 2001:db8::1/64 dev ens3
>   up ip -6 route add ...
>   up ip -6 route add ...
>   up ip -6 route add ...
> 
> Incidentally, that also gives me an autoconfigured address (based on the
> MAC) in the 2001:db8::/64 prefix, which I don't think I need.
> 
> Does that suggest a bug in ifupdown? Or am I interpreting something wrong?

Actually, if I put the 'auto' stanza after the 'static' one, it does
work (I still get the autogenerated address in the ULA prefix).

Is it supposed to be order-sensitive?

I can also make it work by adding 'autoconf 1' to the static stanza, and
omitting the auto stanza.

Richard




signature.asc
Description: OpenPGP digital signature


IPv6 addresses

2019-02-07 Thread Richard Hector
Hi all,

Tipped off by a comment on here, and confirmed I think by reading the
manpage, it seems I should be able to set multiple addresses on an
interface by using multiple iface stanzas for the same interface in
/etc/network/interfaces.

So I have something like this:

iface ens3 inet static
  

# this one should hopefully configure via SLAAC
iface ens3 inet6 auto

# this one is for my static stuff (using a ULA prefix)
iface ens3 inet6 static
  address 2001:db8::1/64
  up ip -6 route add ...
  up ip -6 route add ...
  up ip -6 route add ...

But I don't get the SLAAC address. The only way I've managed to get the
SLAAC address plus the static, is to have a single auto stanza like this:

iface ens3 inet6 auto
  up ip -6 addr add 2001:db8::1/64 dev ens3
  up ip -6 route add ...
  up ip -6 route add ...
  up ip -6 route add ...

Incidentally, that also gives me an autoconfigured address (based on the
MAC) in the 2001:db8::/64 prefix, which I don't think I need.

Does that suggest a bug in ifupdown? Or am I interpreting something wrong?

Cheers,
Richard



signature.asc
Description: OpenPGP digital signature


Re: Re: dip + slirp -P (ppp) working?

2019-02-07 Thread Colin Howlett
D

Sent from my iPhone



Re: Re: dip + slirp -P (ppp) working?

2019-02-07 Thread Colin Howlett
D

Sent from my iPhone



Re: how to select part of old mp3 and create new one

2019-02-07 Thread tomas
On Thu, Feb 07, 2019 at 08:33:15AM +, mick crane wrote:
> On 2019-02-07 07:08, Long Wind wrote:
> >i want to copy part of old mp3 file and create a new oneat first, i
> >install lame, but it doesn't seem to have such abilityi try mencoder,
> >it doesn't eitherthen i try qmp3cut, it says "no valid header
> >found"though i can play the mp3 file and it's OK
> >what should i do next? Thanks!
> 
> ffmpeg
> 
> don't have exact syntax to hand

ffmpeg's man page is pretty complete, but pretty daunting too. Here's
a command line to help jump-start things (corrections/enhancements
welcome):

  ffmpeg -i input.mp3 -ss 10 -t 20 -acodec mp3 output.mp3

This is assuming you want to have your result as .mp3 too (consider
a free codec like vorbis or flac, if you want lossless).

Here's a rundown of the above command line:

  -i input.mp3  -- the input file. Replace by "your" name

  -ss 10-- the start time (in seconds). You can use a
   duration in the hh:mm:ss. format (cf.
   man page ffmpeg-utils(1)

  -t 20 -- the duration (just leave it out if you want
   copy all to the end). Format as above.

  -acodec mp3   -- the audio codec for output. See ffmpeg man
   page for possibilities (audio & video codecs
   have options of their own, lots of fun for
   long winter afternoons :-)

  output.mp3-- your desired output file name

Cheers
-- t


signature.asc
Description: Digital signature


Re: how to select part of old mp3 and create new one

2019-02-07 Thread Michael Lange
Hi,

On Thu, 7 Feb 2019 07:08:26 + (UTC)
Long Wind  wrote:

> i want to copy part of old mp3 file and create a new oneat first, i
> install lame, but it doesn't seem to have such abilityi try mencoder,
> it doesn't eitherthen i try qmp3cut, it says "no valid header
> found"though i can play the mp3 file and it's OK what should i do next?
> Thanks!
> 

as Mick pointed out ffmpeg should be able to do this if you figure out
the suitable command line. If you prefer a gui, I think audacity should
be able to do this, and it might be easier to determine the desired start
and end points from a gui.

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Most legends have their basis in facts.
-- Kirk, "And The Children Shall Lead", stardate 5029.5



Re: how to select part of old mp3 and create new one

2019-02-07 Thread mick crane

On 2019-02-07 07:08, Long Wind wrote:

i want to copy part of old mp3 file and create a new oneat first, i
install lame, but it doesn't seem to have such abilityi try mencoder,
it doesn't eitherthen i try qmp3cut, it says "no valid header
found"though i can play the mp3 file and it's OK
what should i do next? Thanks!


ffmpeg

don't have exact syntax to hand

--
Key ID4BFEBB31