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: /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: 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: 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: 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: 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: 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!



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: 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: 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: 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